diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2010-01-09 22:16:55 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2010-01-09 22:16:55 +0000 |
commit | 3d5581a2c8ef459cecf72db4e856d43abe220552 (patch) | |
tree | a554b304934f1f81f683570122087c1c14d37b42 /nagios-templates.cfg | |
parent | a5155ba94805976af4df3194614c2e2244dd0a8a (diff) | |
download | sitesummary-3d5581a2c8ef459cecf72db4e856d43abe220552.tar.gz sitesummary-3d5581a2c8ef459cecf72db4e856d43abe220552.tar.bz2 sitesummary-3d5581a2c8ef459cecf72db4e856d43abe220552.tar.xz |
Generate checks for number of users, processes and apt upgrades too.
Diffstat (limited to 'nagios-templates.cfg')
-rw-r--r-- | nagios-templates.cfg | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/nagios-templates.cfg b/nagios-templates.cfg index 766cee6..6edd5ad 100644 --- a/nagios-templates.cfg +++ b/nagios-templates.cfg @@ -143,6 +143,11 @@ define command{ } define command{ + command_name check_procs + command_line /usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ +} + +define command{ command_name check_procs_zombie command_line /usr/lib/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -s Z } @@ -153,6 +158,16 @@ define command{ } define command{ + command_name check_users + command_line /usr/lib/nagios/plugins/check_users -w $ARG1$ -c $ARG2$ +} + +define command{ + command_name check_apt + command_line /usr/lib/nagios/plugins/check_apt +} + +define command{ command_name check-host-alive command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 } |