Archie L. Cobbs
ccf4ed25f9
check_by_ssh: Add "-U" flag ( #1123 ). ( #1774 )
...
This causes a 255 exit value from ssh(1), which indicates a connection failure,
to return UNKNOWN instead of CRITICAL; similar to check_nrpe's "-u" flag.
2022-07-14 08:47:54 +02:00
Lorenz
175e43133c
Update CodeQL and update runner before installing ( #1775 )
2022-07-03 15:57:55 +02:00
CDMIUB
d63bb62e5d
Cdmiub ( #1770 )
...
* added timout option to check_disk_smb
2022-06-18 09:15:58 +02:00
Andreas Baumann
2430d54084
Merge pull request #1762 from monitoring-plugins/continue_after_certificate
...
check_http/checkcurl: added --continue-after-certificate (backport from nagios-plugins)
2022-04-10 18:03:53 +02:00
Andreas Baumann
a96bdd7349
check_curl: added option --continue-after-certificate ( #1761 )
2022-04-10 16:31:53 +02:00
Andreas Baumann
455fdc1072
check_http: added option --continue-after-certificate ( #1761 )
2022-04-10 16:31:47 +02:00
Tobias Fiebig
066b6e6824
remove duplicate W=i/C=i args ( #1755 )
...
Co-authored-by: Tobias Fiebig <t.fiebig@tudelft.nl>
2022-03-26 12:55:23 +01:00
Claudio Kuenzler
9a659f46ff
Add configfile feature to check_disk_smb ( #1402 )
2022-03-17 10:01:50 +01:00
Lorenz
6054055571
check_icmp: buffer offerflow ( #1733 )
...
* Fix different overflows
* Less includes
* Add testcases
* Remove unused variable
* Remove unused and commented includes
2022-03-15 22:00:55 +01:00
Andreas Motl
6c8b45a169
check_uptime: Fix lowercase typo in plugin output
2022-02-15 16:31:23 +01:00
Andreas Motl
c99a166a43
check_uptime: Add option to report uptime in days instead of seconds
...
Currently, the plugin output is:
CRITICAL: Uptime is 38829029 seconds.
When using the proposed `--days|-d` option, it will be:
CRITICAL: Uptime is 449 days.
2022-02-15 16:09:47 +01:00
Lorenz
5943528121
Use silent automake by default ( #1747 )
2022-02-01 09:57:50 +01:00
Lorenz
d485b64ef0
Description for -M was the wrong way around ( #1746 )
...
Using -M should show the mountpoint instead of the device the
file system originated from.
Seems like this was not the case for a long time and now
the default is to show the mount point. Using `-M` reverts
to showing the (block) device instead.
The usage Description was adjusted with this commit.
2022-01-30 19:41:36 +01:00
Lorenz
e781e0d101
Fix double percentage sign in usage ( #1743 )
2022-01-30 12:44:02 +01:00
Tobias Wiese
31bdbfce92
sslutils: use chain from client certificates
...
sslutils used to load only the first certificate when it was given a
client certificate file.
Added tests for check_http to connect to a http server that expects a
client certificate (simple and with chain).
Signed-off-by: Tobias Wiese <tobias@tobiaswiese.com>
2022-01-30 12:25:56 +01:00
ghciv6
986b247946
- delay set_source_ip() until address_family is detected
...
- add a test to check '-s'
2022-01-29 12:19:23 +01:00
Andreas Baumann
ee2a60fc4e
fixed -ffollow for HTTP/2.0 ( Fixes #1685 ): added major_version parsing to PicoHTTPParser
2022-01-29 12:17:37 +01:00
Andreas Baumann
737412f739
check_http and check_curl: added --max-redirs=N option (feature #1684 )
2022-01-29 12:15:12 +01:00
datamuc
e2397167c7
add --queryname parameter to check_pgsql ( #1741 )
...
This is used in the long output instead of the actual query.
So instead of
OK - 'select stuff from various, tables where some_stuff is null and other_stuff is not null' returned 42
one can use --queryname=check_greatest_basket and it will print
OK - check_greatest_basket returned 42
That's nicer for alerting purposes, at least in our use case.
2022-01-25 10:57:02 +01:00
Lorenz
49bf8b3e61
Point to Icinga Exchange instead of dead Monitoring Exchange ( #1737 )
2022-01-23 14:41:16 +01:00
RincewindsHat
3bcc64396d
Fixes the positioning of the code and some other changes
2022-01-22 22:25:21 +01:00
Jan Wagner
b14e251d0f
Implements 'host-alive' mode (Closes. #1027 )
...
To reduce the check-duration, it addes a host-alive flag which stops testing
after the first successful reply.
2022-01-22 22:25:21 +01:00
Lorenz
cf669f5ff5
Trivial printf fix and a little bit of code style ( #1695 )
...
* Fix several warnings (and some downright bugs probably) with formating in check_disk
Update to master
* Fix merge error, I forgot the last time
* Fix indentation
Co-authored-by: rincewind <rincewind@vulgrim.de>
2022-01-22 22:23:13 +01:00
Mark A. Ziesemer
3b252b9ae6
Trivial source code formatting only: Use tabs consistently for source code indentation (whitespace), as per https://github.com/monitoring-plugins/monitoring-plugins/blob/master/CODING . ( #1424 )
...
Looks good, thank you very much.
2022-01-22 15:58:59 +01:00
Lorenz
c255656a4c
Rebase to master ( #1731 )
2022-01-21 15:12:35 +01:00
Lorenz
85c8dcddfa
Merge pull request #1412 from glensc/pld/nagios-plugins-ping.patch
...
[check_ping] understang ping6 output from iputils package
2022-01-14 16:28:24 +01:00
Lorenz
54a3a5ea62
Merge pull request #1496 from FracKenA/Add-NullOID-Exit
...
Added option for null zero length string exit codes
2022-01-14 16:04:36 +01:00
Ken D
69fed9d083
Updated int state to human readable
2022-01-14 15:52:00 +01:00
Ken D
a1f3289000
Added option for null zero length string exit codes
...
When using a large distributed network with the same group of checks used against a large number of devices, occationally there are missing cards in a few devices that are present in other devices. Rather than having a large number of unknown results, disable active checking on those large number of result or having to create a unique check configuration for those devices.
This option allows you to select an OK, WARNING, CRITICAL or UNKNOWN status while still retaining the default behavior when not present. This also allows a for the check to immediately start checks as intended should the hardware be added that the check is looking for.
2022-01-14 15:52:00 +01:00
Lorenz
d999db01c0
Merge pull request #1301 from nafets/exit_on_stderr
...
check_by_ssh: added option to exit with an warning, if there is output on STDERR
2022-01-14 15:44:05 +01:00
Lorenz
9899bc736f
Merge pull request #1642 from mdavranche/master
...
check_swap: Handle cached swap
2022-01-03 14:35:29 +01:00
Lorenz Kästle
d496d6523b
Rename tmp variable to get even with master
2022-01-03 14:07:54 +01:00
Lorenz
2714df42fd
Merge branch 'master' into master
2022-01-03 13:48:39 +01:00
Lorenz
78a999edd4
Merge pull request #1679 from RincewindsHat/shell_check_check_sensors.sh
...
check_sensors.sh: Make shellcheck happier
2021-12-21 10:57:53 +01:00
rincewind
763b7ab0c4
check_sensors.sh: Make shellcheck happier
2021-12-21 10:19:32 +01:00
Lorenz
ebf5cd2afe
Merge pull request #1732 from RincewindsHat/check_log_missing_oldlog_abort
...
Missing oldlog now aborts check_log
2021-12-20 15:57:11 +01:00
RincewindsHat
c1bf69c3a6
Apparently Dash is not Bash, so -v does not work
2021-12-20 00:08:24 +01:00
Lorenz
78801192cf
Merge pull request #1725 from monitoring-plugins/check_game_update_url
...
Update Url to qstat
2021-12-19 17:17:46 +01:00
RincewindsHat
5a81bd813e
Missing oldlog now aborts check_log
2021-12-02 17:10:57 +01:00
RincewindsHat
f5d22b4a56
Merge pull request #1459 from waja/fix/shellcheck
...
Several fixes shellcheck complaining about
2021-12-02 16:55:55 +01:00
RincewindsHat
911e44045d
Merge branch 'master' into fix/shellcheck
2021-12-02 16:42:05 +01:00
RincewindsHat
ed7cdf82a4
Merge pull request #1490 from leeclemens/mailq-add-config-dir
...
check_mailq: Add mailq -C option for config dir or config file
2021-12-02 16:16:57 +01:00
RincewindsHat
8df8460c6c
Fix syntax error resulting from merging
2021-12-02 15:26:31 +01:00
RincewindsHat
df1e9e975f
Merge branch 'master' into mailq-add-config-dir
2021-12-02 15:11:21 +01:00
RincewindsHat
1a3a715702
Merge pull request #1730 from RincewindsHat/check_file_age_more_explicit_help
...
Make size parameter a little bit more intelligible
2021-11-29 17:41:44 +01:00
RincewindsHat
5e2c399220
Make size parameter a little bit more intelligible
2021-11-29 17:27:57 +01:00
RincewindsHat
f589b7041f
Merge pull request #1493 from darksoul42/master
...
Fix regexp for nullmailer "mailq" output.
Looks good. Thank you very much.
2021-11-29 15:39:28 +01:00
RincewindsHat
d752c891f4
Merge pull request #1692 from RincewindsHat/modernize_check_log
...
Modernize check log
2021-11-28 14:30:22 +01:00
RincewindsHat
36415f0c3e
Merge pull request #1729 from RincewindsHat/fix_QL_problems
...
Fix some QL problems
2021-11-25 09:03:21 +01:00
RincewindsHat
c39de8869e
Merge pull request #1727 from phibos/fix_check_ups_1030
...
Fix possible overflow in check_ups.
Looks good to me too, thank you very much
2021-11-25 00:56:27 +01:00