I'm trying to setup monitoring for our mail server to check that imap is running, here's how i've configured it so far;
Windows.cfg
Code: Select all
define service{
use generic-service
host_name MS2-V
service_description Is IMAP Running
check_command check_imap! -p 993
contact_groups admins
}
Code: Select all
# 'check_imap' command definition
define command{
command_name check_imap
command_line $USER1$/check_imap -H $HOSTADDRESS$ $ARG1$
}
Is IMAP Running Notifications for this service have been disabled CRITICAL 21-03-2016 15:27:45 0d 0h 29m 32s 3/3 CRITICAL - Socket timeout after 10 seconds
Have I missed something stupid, the server is being monitored for other things with NSClient++
