diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2010-01-21 18:28:50 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2010-01-21 18:28:50 +0000 |
commit | 8f02875a5f727b458c55f691bfb408942fba7364 (patch) | |
tree | 3cae077d69891f327a09b2287a88fc683d6bbdeb /nagios-templates.cfg | |
parent | a19f80ad6152f3afd1a41b0cb95b7f0e76808a04 (diff) | |
download | sitesummary-8f02875a5f727b458c55f691bfb408942fba7364.tar.gz sitesummary-8f02875a5f727b458c55f691bfb408942fba7364.tar.bz2 sitesummary-8f02875a5f727b458c55f691bfb408942fba7364.tar.xz |
Add SMTP check to Nagios configuration.
Diffstat (limited to 'nagios-templates.cfg')
-rw-r--r-- | nagios-templates.cfg | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nagios-templates.cfg b/nagios-templates.cfg index 36ab796..4fdd2fb 100644 --- a/nagios-templates.cfg +++ b/nagios-templates.cfg @@ -153,6 +153,11 @@ define command{ } define command{ + command_name check_smtp + command_line /usr/lib/nagios/plugins/check_smtp -H localhost +} + +define command{ command_name check_squid command_line /usr/lib/nagios/plugins/check_http -H $HOSTADDRESS$ -p $ARG1$ -u $ARG2$ -e 'HTTP/1.0 200 OK' } |