Re: [Nagios-users] not receiving the nagios notifications

2006-07-23 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Felipe Tocchetto
> Sent: Friday, July 21, 2006 1:28 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] not receiving the nagios notifications
> 
> Hi All
> 
> I have a nagios 2.4 here, I already insert some hosts to it monitor.
> But when a host goes down, the nagios system do not send me the
> notifications by email.

You've told it not to. See below.

> define contact{
>contact_namefelipe
>alias   Felipe Tocchetto
>host_notification_period24x7
>service_notification_period 24x7
>host_notification_options   d,u,r,n
>service_notification_optionsw,u,c,r,n
>host_notification_commands  host-notify-by-email
>service_notification_commands   notify-by-email
>email   [EMAIL PROTECTED]
>}

http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#contact

For host_notification_options and service_notification_options, 'n'
means don't send _any_ notifications. Remove it and restart nagios.

host_notification_options:  This directive is used to define the
host states for which notifications can be sent out to this contact.
Valid options are a combination of one or more of the following: d =
notify on DOWN host states, u = notify on UNREACHABLE host states, and r
= notify on host recoveries (UP states). *If you specify n (none) as
an option, the contact will not receive any type of host
notifications.*

service_notification_options:   This directive is used to define the
service states for which notifications can be sent out to this contact.
Valid options are a combination of one or more of the following: w =
notify on WARNING service states, u = notify on UNKNOWN service states,
c = notify on CRITICAL service states, and r = notify on service
recoveries (OK states). *If you specify n (none) as an option, the
contact will not receive any type of service notifications.*

(emphasis mine)

--
Marc



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
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


Re: [Nagios-users] Need documention for hosts configuration

2006-07-23 Thread Denny Schierz
hi,

Hugo van der Kooij schrieb:

> How about: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html

thanks. Seems, that there are everything, what i need :-)

Thanks

cu denny




signature.asc
Description: OpenPGP digital signature
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
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