Check the jabber server
authorAlex Dehnert <alex@dehnerts.com>
Wed, 31 Jul 2013 06:26:18 +0000 (02:26 -0400)
committerAlex Dehnert <alex@dehnerts.com>
Wed, 31 Jul 2013 06:26:18 +0000 (02:26 -0400)
commands.cfg
local.d/olinda.cfg

index 6b232170739693b60f1c46fb747b626bb76e0166..8726ebadcb7a53e3e822dd96f369c0cbb289ce05 100644 (file)
@@ -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$'
+       }
+
index b9270f87339333e5de583a85fe5e2284a25b94f9..9c185107a707a04fe7f65a17151421c1689a05e9 100644 (file)
@@ -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$'