notification command errors
David Rosenstrauch
darose at darose.net
Fri Jul 10 19:53:37 CEST 2009
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 at 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
More information about the Users
mailing list