aboutsummaryrefslogtreecommitdiffstats
path: root/nagios-templates.cfg
diff options
context:
space:
mode:
authorPetter Reinholdtsen <pere@hungry.com>2010-01-09 22:16:55 +0000
committerPetter Reinholdtsen <pere@hungry.com>2010-01-09 22:16:55 +0000
commit3d5581a2c8ef459cecf72db4e856d43abe220552 (patch)
treea554b304934f1f81f683570122087c1c14d37b42 /nagios-templates.cfg
parenta5155ba94805976af4df3194614c2e2244dd0a8a (diff)
downloadsitesummary-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.cfg15
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
}