contact settings error notify-by-epager

Werner Flamme Werner.Flamme at ufz.de
Fri Feb 18 12:03:03 CET 2005


Bit Takeshi schrieb am 18.02.2005 10:58:
> Greetings,
> 
> I think I am getting close to the goal.
> 
> Latest nagios-2.0b2.tar.gz downloaded from sf.net, redhat
> 9, kernel, 2.4.20-8smp and nagios was installed in
> /usr/local/nagios.
> 
> When I check nagios with -v option:
> 
> [root at ns1
> /usr/local/nagios/etc]#/usr/local/nagios/bin/nagios -v
> /usr/local/nagios/etc/nagios.cfg
> 
> I got error:
> 
> -------------
> Checking contacts...
> Error: Service notification command 'notify-by-epager'
> specified for contact 'nagios' is not defined anywhere!
> Error: Service notification command 'notify-by-email'
> specified for contact 'nagios' is not defined anywhere!
> Error: Host notification command 'host-notify-by-epager'
> specified for contact 'nagios' is not defined anywhere!
> Error: Host notification command 'host-notify-by-email'
> specified for contact 'nagios' is not defined anywhere!
>         Checked 1 contacts.
> -------------
> 
[snip]
> 
> I dont know what was wrong ...
> 
> http://www.fedu.uec.ac.jp/~vuhung/
> http://chuiyang.org
> 
> __________________________________
> Let's Celebrate Together!
> Yahoo! JAPAN
> http://pr.mail.yahoo.co.jp/so2005/
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> 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
> 

Hi Bit Takeshi,

you should have a line like

cfg_file=/usr/local/nagios/etc/misccommands.cfg

in your nagios.cfg. In the lot of files I just sent you you will find
misccommands.cfg where all these commands are defined.

HTH,
Werner

-- 
Werner Flamme, Abt. WKDV
UFZ Umweltforschungszentrum Leipzig-Halle GmbH,
Permoserstr. 15, 04318 Leipzig - http://www.ufz.de
eMail: werner.flamme at ufz.de, Tel.: (0341) 235-2500






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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