Natalie Aloi wrote: > I am getting this error: But I don't know where or how to define the service > notification or host notification - any body know where to point me? > > Checking contacts... > Error: Service notification command 'notify-by-email' specified for contact > 'grover' is not defined anywhere! > Error: Host notification command 'host-notify-by-email' specified for contact > 'grover' is not defined anywhere! > Error: Service notification command 'notify-by-email' specified for contact > 'nagiosadmin' is not defined anywhere! > Error: Host notification command 'host-notify-by-email' specified for contact > 'nagiosadmin' is not defined anywhere! > Error: Service notification command 'notify-by-email' specified for contact > 'nats_cell' is not defined anywhere! > Error: Host notification command 'host-notify-by-email' specified for contact > 'nats_cell' is not defined anywhere!
In my nagios installation those are defined in /etc/nagios/objects/commands.cfg, and the /etc/nagios/nagios.cfg file contains a line "cfg_file=/etc/nagios/objects/commands.cfg" which causes nagios to load that file as part of your configuration. You've probably inadvertently omitted that reference from the config file. HTH, DR ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null