From: Alex Dehnert Date: Wed, 31 Jul 2013 06:26:18 +0000 (-0400) Subject: Check the jabber server X-Git-Url: https://dehnerts.com/gitweb/?a=commitdiff_plain;h=dedbdf28acc062381b57ffc9e85ba095cbea5657;p=sysconfig%2Fnagios3.git Check the jabber server --- diff --git a/commands.cfg b/commands.cfg index 6b23217..8726eba 100644 --- a/commands.cfg +++ b/commands.cfg @@ -50,3 +50,9 @@ define command{ } +define command{ + command_name check_jabber + # Sadly, check_tcp.c / check_jabber has no starttls support, so we can't check the cert + command_line /usr/lib/nagios/plugins/check_jabber -H '$HOSTADDRESS$' + } + diff --git a/local.d/olinda.cfg b/local.d/olinda.cfg index b9270f8..9c18510 100644 --- a/local.d/olinda.cfg +++ b/local.d/olinda.cfg @@ -54,6 +54,14 @@ define service { host_name olinda } +define service { + name olinda-jabber + use adehnert-service + service_description Jabber + check_command check_jabber + host_name olinda +} + define command{ command_name check_mysql_home command_line env HOME=/var/lib/nagios/ /usr/lib/nagios/plugins/check_mysql -H '$HOSTADDRESS$'