contact settings error notify-by-epager

Bit Takeshi vuhung16duong at yahoo.co.jp
Fri Feb 18 10:58:23 CET 2005


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.
-------------

Here is my contacts.cfg

--------------
define contact{
        contact_name                    nagios
        alias                           Nagios Admin
        service_notification_period     24x7
        host_notification_period        24x7
        service_notification_options    w,u,c,r
        host_notification_options       d,u,r
        service_notification_commands  
notify-by-email,notify-by-epager
        host_notification_commands     
host-notify-by-email,host-notify-by-epager
        email                           system at xxx.com
        pager                           system at xxx.com
        }

--------------

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





More information about the Users mailing list