Host notifications not being sent out

Ray La Peyre ray.lapeyre at itng.com.au
Wed Sep 21 08:39:42 CEST 2005


All of my settings are defined like that except for in host groups,
contact_groups is not set here. I read the changes for 2.0 (which I am
running) and it says that contact groups are not defined in this cfg file
and if I do attempt to put it in the service will not start due to a
configuration error. Everything else is the same as yours though



-----Original Message-----
From: VINAY_SHARMA at advanex.co.jp [mailto:VINAY_SHARMA at advanex.co.jp]
Sent: Wednesday, 21 September 2005 3:50 PM
To: Ray La Peyre
Subject: Re: [Nagios-users] Host notifications not being sent out




Use ...

1.


define contact{
contact_name yourcontactname
alias kapos 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
host_notification_commands host-notify-by-email
email reciver at email.com
}

2.


define contactgroup{
contactgroup_name  diskcheck
alias Domino Administrators
members yourcontactname
}


3.

define hostgroup{
hostgroup_name    diskcheck
      alias       Disk Check
      contact_groups    diskcheck
      members           yourserver
}


4.


define service{
host_name  NTS02
service_description Disk Space
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups diskcheck
notification_interval 10
notification_period 24x7
notification_options w,u,c,r
check_command      check_nt_disk!D -w 80 -c 95

}



Enjoy...



Thanks & regards
**************************************
Vinay Sharma
Information Systems and Solutions-Associates
Advanex Inc (www.advanex.co.jp)
Phone : 813-3822-5863
Fax         : 813-5815-7881
Email       : vinay_sharma at advanex.co.jp




                      "Ray La Peyre"

                      <ray.lapeyre at itng.com.au>            宛先:
<nagios-users at lists.sourceforge.net>

                      送信者:                              cc:

                      nagios-users-admin at lists.sour        件名:
[Nagios-users] Host notifications not being sent out

                      ceforge.net





                      2005/09/21 14:43









Thanks again for the help before.

My latest (and hopefully last) problem is that host notifications are not
send out to me. Service notifications work fine eg check_http but if I
unplug the network cable then I get no notification. The relevant contact
information is:

Host notification options = d,u,r
Host notification commands = host_notify_by_email

Notification_enabled  1
And contact_groups is set to admins (which I am a member of)

admins is the contact group in the hosts.cfg.

The interface notices that it is down but no notifications are sent. I also
have a check_ping service on the host but as I understand it if a host is
down it does not look at the service’s so this would not change anything.

Not sure where to go from here

Any ideas will be appreciated





 (Embedded image     Ray La Peyre
 moved to file:      Jnr Support Engineer
 pic09741.jpg)       IT Next Generation
                     Suite 102, 330 Wattle
                     Street
                     Ultimo NSW 2007
                     T: 02 9212 0811
                     F: 02 9212 0833
                     M: 0410 229 216
                     E:
                     ray.lapeyre at itng.com.au

                     W: www.itng.com.au









-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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