From dedbdf28acc062381b57ffc9e85ba095cbea5657 Mon Sep 17 00:00:00 2001 From: Alex Dehnert Date: Wed, 31 Jul 2013 02:26:18 -0400 Subject: [PATCH] Check the jabber server --- commands.cfg | 6 ++++++ local.d/olinda.cfg | 8 ++++++++ 2 files changed, 14 insertions(+) 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$' -- 2.34.1