Code: Select all
Nov 1 08:57:51 monitor nagios: HOST NOTIFICATION: sysadmins;server.com;DOWN;xi_host_notification_handler;CRITICAL - server.com: rta nan, lost 100%Code: Select all
define contact {
contact_name sysadmins
alias Sysadmins
host_notification_period my_notification_times
service_notification_period my_notification_times
host_notification_options d,u,r,f,s
service_notification_options w,u,c,r,f,s
email [email protected]
use xi_contact_generic
}1) moved a host.cfg file into the /static folder under a new "hosts" folder.
2) Moved a services.cfg file into the /static folder under a new "services" folder.
And of course the emails I should be getting are for the hosts that I moved. My goal was to manage this one server without updates overwritng the changes. Since the host notification is showing in the logs with the correct contact name what else can I do to check the server to see if the emails are actually going out?