Sven Velt
4494a40822
Add README, new branch "main"
2020-12-27 13:41:45 +01:00
Sven Velt
da318db5ec
check_xbps.py: Hint to use "--sudo"
2017-11-09 12:29:07 +01:00
Sven Velt
2ad98cb81d
check_xbps.py: run commands with sudo only when necessary
2016-12-26 22:58:47 +01:00
Sven Velt
7d476d9109
check_xbps.py: added "configure" package state
2016-12-26 22:58:22 +01:00
Sven Velt
21b7b687a0
check_xbps.py: Added --sudo
...
- "--sudo": Prepend all commands
- Improved error handling
2016-12-09 13:31:01 +01:00
Sven Velt
18c70c0a12
commands.cfg: Add commands for check_xbps.py
2016-11-24 21:11:47 +01:00
Sven Velt
3fefe3383b
check_xbps: Catch "transaction aborted" error, return CRITICAL for updates
...
- Check return code of "xbps-install" call
- CRITICAL instead of WARNING when updates available
- Use return code from plugin class
2016-11-24 21:08:18 +01:00
Sven Velt
45f91ba985
check_xbps: add some verbose output
2016-11-24 21:08:09 +01:00
Sven Velt
95742e3d12
check_xbps: bugfix, re-add testmode switch
2016-11-24 21:07:59 +01:00
Sven Velt
6b8bd1c5eb
check_xbps.py: New plugin for Voidlinux' package manager
2016-11-24 21:07:41 +01:00
Sven Velt
03e09061a5
Update URLs and copyright
2016-11-24 20:49:33 +01:00
Sven Velt
bd5a2e6189
monitoringplugin.py: Update version string
2016-11-24 20:49:14 +01:00
Sven Velt
b757d548e8
Update commands.cfg for release
2016-11-24 20:29:25 +01:00
Sven Velt
c477c82587
check_cups: Add some verbose output
2016-11-24 19:55:36 +01:00
Sven Velt
2e4754e1ac
Fixed multiline bug introduced in 925cbb2297
(brown paper bag, please)
2016-11-24 11:46:03 +01:00
Sven Velt
e59b1a8c6e
monitoringplugin.py: Enhance verbose output function
...
- one space per verbose level at the begining
- optional prefix (for list output)
- output lists one item per line
2016-11-11 17:38:43 +01:00
Sven Velt
925cbb2297
monitoringplugins.py: two multiline output fixes
...
- typo: saved with wrong key
- list may be a list of lists
2016-11-11 17:38:37 +01:00
Sven Velt
16364832dd
check_cups.py: Correct timezone parsing
2016-10-12 12:23:21 +02:00
Sven Velt
ed17f572dc
New plugin: check_collectd (proof of concept)
2016-09-13 14:56:00 +02:00
Sven Velt
ba038dbba2
check_cups: small output bugfix
2016-09-13 14:54:10 +02:00
Sven Velt
4d24ecef73
New plugin check_cups.py
2016-09-13 14:44:40 +02:00
Sven Velt
23ed549cce
Hide plugin help when set to None
2016-09-13 14:42:09 +02:00
Sven Velt
31461b91b2
Initial commit of check_livestatus_latency.py
2016-09-08 11:43:37 +02:00
Sven Velt
6b146c728f
Remove old PERL plugins
...
I'm not able to support them
2016-06-02 21:05:53 +02:00
Rico Glöckner
c3786e5ae1
check_junos_bgp: small mistake in contexts..
2013-02-28 08:37:23 +01:00
Rico Glöckner
57f3eba575
check_junos_bgp: another typo
2013-02-28 08:34:35 +01:00
Rico Glöckner
be62f38997
check_junos_bgp: adding some sanity after last commit
2013-02-28 08:21:49 +01:00
Rico Glöckner
6f07e55372
check_junos_bgp.pl: added parms for logical-router and instance
2013-02-28 08:13:13 +01:00
Sebastian Harl
4ec874f21a
check_naf: Verify the index of (volume) snapshot filesystems.
...
For volumes with 'nosnap' and 'nosnapdir' options turned on, there is no
/vol/NAME/.snapshot filesystem. Rather, SNMP returns /vol/NAME/.. in place of
the snapshot filesystems, thus leading to incorrect vol_data (and possibly
other) values.
2012-10-23 11:41:57 +02:00
Sebastian Harl
883f446fe5
plugin_wrapper.pl: Added x-bit.
2012-10-11 13:47:37 +02:00
Sebastian Harl
18b043428c
check_junos_bgp: Fixed typo.
2012-10-01 11:34:44 +02:00
Sebastian Harl
deffe2eebe
check_junos_bgp: Increased verbosity level for debugging message.
2012-10-01 11:32:18 +02:00
Sebastian Harl
20214655e0
check_junos_bgp: Fixed check for non-existing attributes.
2012-10-01 11:29:24 +02:00
Sebastian Harl
2912192f3d
check_junos_bgp: Improved error handling when failing to retrieve attributes.
2012-10-01 10:23:28 +02:00
Sebastian Harl
bc30719a44
JUNOS plugins: Dump response if verbose >= 5.
2012-10-01 09:41:03 +02:00
Sebastian Harl
ed573d90a4
Merged branch 'master'.
2012-09-07 13:24:06 +02:00
Sebastian Harl
9f4663fefa
check_junos: Enabled JUNOS tracing if verbose > 3.
2012-09-07 13:18:34 +02:00
Sebastian Harl
9a4955d2e2
Added notify_{host,service}_by_email.sh.
...
These scripts are similar to, but a bit more flexible than, the original
notify-*-by-email commands shipped with Nagios.
2012-09-03 17:34:22 +02:00
Sebastian Harl
a7195e27ce
check_junos: Provide debugging output about interfaces in forward check.
2012-08-31 14:47:08 +02:00
Sebastian Harl
c559d48491
check_junos: Added support for the exclude feature to all checks.
2012-08-31 13:22:57 +02:00
Sebastian Harl
864a0e6dcd
Nagios::Plugin::JUNOS, check_junos: Added basic support for excluding targets.
...
This may be done by prefixing the target name with '~' rather than '+'. For
example, this may be combined with @with_description when checking interfaces
to exclude some specific interface(s): interfaces,@with_description~ge-0/0/0.
2012-08-31 12:09:32 +02:00
Sebastian Harl
a14dae1e62
check_junos: Include description of down interfaces in output.
2012-08-22 08:38:53 +02:00
Sebastian Harl
f4d9395adc
Ensure that the terminal is reset correctly after prompting for a password.
...
Thanks to Jonathan for reporting this!
Fixes #84
2012-07-19 08:54:47 +02:00
Sebastian Harl
0c44bdc599
monitoringplugin: Cache values as well when using cmdline tools.
...
This is even more important imho :-)
2012-07-13 12:45:58 +02:00
Sebastian Harl
ba0184341f
check_naf: Teach all vol_* checks target 'ALL'.
...
This target may be used to check all volumes against the specified thresholds.
This currently involves a lot of SNMP queries, so it's rather slow.
2012-07-13 11:52:32 +02:00
Sebastian Harl
3b0fa1b3d4
plugin_wrapper: Change return codes lt 0 or gt 3 to 3.
...
Else, Nagios will replace the plugin output with an hardcoded built-in value
to tell the user that the RC is out of range. However, when using the wrapper,
we're interested in the actual output.
2012-07-13 09:53:12 +02:00
Sebastian Harl
42f40c7c2b
Added plugin_wrapper.pl.
...
This is a small wrapper to execute plugins, catching any errors, signals, etc.
returned by the script. This is primarily meant for Perl, Python, etc. scripts
to catch execution errors.
2012-04-30 10:39:42 +02:00
Sebastian Harl
1cfdcd3667
check_junos: Added -C option to cache interface information.
...
If used, this option will let the interfaces check query *all* interface
information on the first API call. This will then be used when further
querying interfaces (e.g. physical interfaces of aggregates).
2012-04-03 16:35:27 +02:00
Sebastian Harl
e1da92dff9
check_naf_exports: Added check to compare /etc/exports to exportfs info.
2012-01-24 16:27:34 +01:00
Sebastian Harl
3f885a1a2b
Added Nagios::Plugin::NetApp perl module.
...
This module is a subclass of Nagios::Plugin providing additional functions
common to NetApp related plugins.
2012-01-24 15:44:46 +01:00