Sebastian Harl
c001002a1f
check_junos: Improved OK output for interfaces,@with_description+<iface>.
2012-01-03 10:24:51 +01:00
Sebastian Harl
d051c32019
Nagios::Plugin::JUNOS: Added add_common_args().
2012-01-03 10:21:38 +01:00
Sebastian Harl
75c3337376
Nagios::Plugin::JUNOS: Overwrite nagios_exit and call $junos->disconnect().
...
(Then call SUPER::nagios_exit.)
2012-01-03 10:16:31 +01:00
Sebastian Harl
09bbfe7c82
check_junos, Nagios::Plugin::JUNOS: Moved get_query_object{,_value} to JUNOS.pm.
2012-01-03 10:11:12 +01:00
Sebastian Harl
7cdc9390aa
check_junos: Use get_object{,_value}_by_spec() wherever possible.
...
… rather than using dozens of specific functions.
2012-01-03 09:58:09 +01:00
Sebastian Harl
e0e3fea452
check_junos, Nagios::Plugin::JUNOS: Moved send_query() to the plugin.
2012-01-03 09:24:25 +01:00
Sebastian Harl
85c8c6d28f
check_junos, Nagios::Plugin::JUNOS: Pass $plugin and $junos to check subs.
2012-01-03 09:19:57 +01:00
Sebastian Harl
8e12d7e44c
check_junos, Nagios::Plugin::JUNOS: Call checks from the plugin.
2012-01-03 09:16:15 +01:00
Sebastian Harl
1ef30b92b6
check_junos: Moved all checks into a new sub for each.
2012-01-03 08:40:41 +01:00
Sebastian Harl
f4fdf36e4e
Nagios::Plugin::JUNOS: Check, if configure() has been called.
2012-01-03 08:05:21 +01:00
Sebastian Harl
39111edfe3
Nagios::Plugin::JUNOS: Renamed add_checks() to set_checks().
...
The former will be used for a different purpose later.
2012-01-03 07:58:05 +01:00
Sebastian Harl
121c2fbe64
Added Nagios::Plugin::JUNOS perl module.
...
This module is a subclass of Nagios::Plugin providing additional functions
common to all JUNOS plugins.
For now, check_junos.pl has been "ported" to use the new plugin.
2012-01-02 17:08:19 +01:00
Sebastian Harl
a99a7fb062
check_junos: Added 'system_storage' check.
...
This check may be used to check the amount of used space of any/all system
filesystems.
2012-01-02 15:04:35 +01:00
Sebastian Harl
cfa7416676
check_junos: chassis_environment: Include threshold in perf-data.
2012-01-02 14:22:49 +01:00
Sebastian Harl
25d39b821b
check_junos: chassis_environment: Check thresholds against temp of components.
2012-01-02 14:20:50 +01:00
Sebastian Harl
2614e18db7
check_junos: chassis_environment: Add temp values to perf-data.
2012-01-02 14:15:24 +01:00
Sebastian Harl
90915aa6a8
check_junos: chassis_environment: Support targets.
...
If a target has been specified, which is absent, this is treated as status
CRITICAL.
2012-01-02 14:08:47 +01:00
Sebastian Harl
0b0be0f9ea
check_junos: Initial version of the 'chassis_environment' check.
...
This is similar to the check_snmp_environment juniper check.
2012-01-02 14:01:50 +01:00
Sebastian Harl
c161956f0a
junos_dump.pl: Added -s command line option.
...
This option may be used to specify a subelement of the query result.
2012-01-02 11:59:36 +01:00
Sebastian Harl
cd2196ed75
junos_dump.pl: Initialize $outfile.
2012-01-02 11:40:19 +01:00
Sebastian Harl
fbefc782d3
Added tools/junos_dump.pl.
...
This is a small helper script to dump the output of a JUNOScript query.
2012-01-02 11:02:13 +01:00
Sebastian Harl
172b20ca43
check_junos: Include information about LAG interface status in all OK cases.
2011-12-23 14:22:50 +01:00
Sebastian Harl
fbfa6fa915
check_junos: Added special target '@with_description' to 'interfaces' check.
...
This target selects all interfaces with a non-empty description.
2011-12-23 14:15:40 +01:00
Sebastian Harl
46f1cbe20f
check_junos: Include query arguments in debug output as well.
2011-12-23 14:15:22 +01:00
Sebastian Harl
49a8f26d7d
check_junos: When encountering ae interfaces check their members as well.
2011-12-23 13:28:16 +01:00
Sebastian Harl
da6d311326
check_junos: Improved description.
2011-12-22 09:17:12 +01:00
Sebastian Harl
934135ba76
Added initial version of check_junos.pl.
...
For now, it supports basic interface monitoring only.
2011-12-15 16:16:00 +01:00
Sebastian Harl
8af2b997ad
check_junos_vc: Query the oper status rather than the admin status.
...
The latter indicates that the interface has been en-/disabled by the admin.
2011-12-15 15:18:12 +01:00
Sebastian Harl
bec437fffd
check_junos_vc: Added TODO note.
2011-12-15 11:38:25 +01:00
Sven Velt
06a5851098
WIP: check_nagiostats
2011-11-29 18:29:11 +01:00
Sven Velt
4a86187ab6
NAF: ADded Consistency Points statistics
...
Greets to Detlef! ;-)
Signed-off-by: Sven Velt <sven@velt.de>
2011-11-29 11:04:38 +01:00
Sven Velt
1ad2c11b17
mp: Test if SNMP command line tools/paths are executable
...
fixes #6
Signed-off-by: Sven Velt <sven@velt.de>
2011-08-30 15:49:38 +02:00
Sven Velt
2ee9428885
mp/naf: Allow units for warn/crit thresholds and ranges
...
Signed-off-by: Sven Velt <sven@velt.de>
2011-08-30 12:13:17 +02:00
Sven Velt
2a9c069e9d
naf: Fix copytright message
...
Signed-off-by: Sven Velt <sven@velt.de>
2011-08-30 11:44:09 +02:00
Sven Velt
b3d826a515
Zypper: Check if zypper is executable
...
Signed-off-by: Sven Velt <sven@velt.de>
2011-08-30 11:30:10 +02:00
Sven Velt
48300110fd
sensors: Bump timeout to 15 minutes
...
Signed-off-by: Sven Velt <sven@velt.de>
2011-07-25 17:59:25 +02:00
Sven Velt
e877ec4127
Add "commands.cfg" as sample command definitions
...
Signed-off-by: Sven Velt <sven@velt.de>
2011-07-15 13:50:54 +02:00
Sven Velt
5c0c5fbb66
netconnections: Count IPv4 *and* IPv6 as default
...
Signed-off-by: Sven Velt <sven@velt.de>
2011-07-15 12:22:23 +02:00
Sven Velt
c7bca97633
Add "check_iface-dns.py"
...
Check to get IP address from interface make sure that one or more DNS entries
point to this IP adress. Use it to check DynDNS services.
Signed-off-by: Sven Velt <sven@velt.de>
2011-07-15 11:58:21 +02:00
Sven Velt
d715b13e03
sensors: Show file age if sensor file is too old
...
Signed-off-by: Sven Velt <sven@velt.de>
2011-07-15 11:55:58 +02:00
Sven Velt
1a7b38f6f6
monitoringplugin: Add seconds_to_timedelta()
...
Signed-off-by: Sven Velt <sven@velt.de>
2011-07-15 11:55:33 +02:00
Sebastian Harl
9f17c3c838
Added example PNP piechart template for check_naf.
2011-07-12 14:44:48 +02:00
Sven Velt
067257f04a
check_zypper.sh: Initial commit
2011-07-11 14:59:17 +02:00
Sebastian Harl
6db7b3357f
check_junos_vc: Added 'version' check.
...
… which checks the version of all physically connected members to be equal.
2011-07-06 11:46:34 +02:00
Sebastian Harl
a2c2f4844e
Added initial version of check_junos_vc.pl.
...
The plugin connect to a Juniper Switch and checks Virtual Chassis information.
It supports the following checks:
* members_count: Number of Virtual Chassis members.
* master, backup: Number and assignment of master resp. backup members.
* interfaces: State and number of VCP interfaces.
Warning and critical ranges may be specified for each single check.
The format for specifying checks is:
checkname[,target[,warning[,critical]]]
2011-07-05 17:21:13 +02:00
Sebastian Harl
0aff58d0cc
check_junos_bgp.pl: Suppress 'wide character in print' warnings.
2011-06-30 11:41:18 +02:00
Sebastian Harl
ff970c8dc6
Added initial version of check_junos_bgp.pl.
...
The plugin connects to a Juniper Router and queries BGP routing information
using the 'show bgp neighbor' command. It then executes any of the following
checks:
* peers_count: Total number of peers.
* prefix_count: Number of active prefixes of single peers.
Each check may consider a subset of peers only. This is done by specifying a
"target" which may either be an IPv4/IPv6 address, a regex or a string. In the
latter two cases, the regex/string is compared with the peer description.
Warning and critical ranges may be specified for each single check.
The format for specifying checks is:
checkname[,target[,warning[,critical]]]
2011-06-30 11:28:28 +02:00
Sebastian Harl
2705a45384
check_naf PNP templ: Print nav* totals at bottom of the legend.
...
In the case of navi* (INodes), the total was not previously included in the
legend at all, making it easy to mix up the 'total' line with the 'used' value
in case a very small percentage was in use.
In general, printing the total at the bottom imho makes the graph easier to
read, as the legend now describes the graph from bottom to top.
2011-06-22 11:27:13 +02:00
Sven Velt
2121ccf5fc
Added CIFS users and stats checks
...
Signed-off-by: Sven Velt <sven@velt.de>
2011-06-16 13:45:41 +02:00
Sven Velt
8148cfafaa
Small change to fix encoding error on non-UTF-8 systems
...
Signed-off-by: Sven Velt <sven@velt.de>
2011-06-08 11:46:52 +02:00