Notification Problems

Bill Evans be.bethpage at gmail.com
Thu Nov 22 05:41:06 CET 2007


Steve, thank you for your reply.  My config is as follows:

*a. host template*
# critical host template
define host{
 name              crit-host
 use              base-host
 check_period       24x7
 check_interval       5
 retry_interval       1
 max_check_attempts      6
 check_command                check-host-alive
 notification_period      24x7
 notification_interval      240
 notification_options      d,r
 contact_groups       netadmins,ciptadmins
 register        0
 }

*b. host entry*
# 'backup1' host definition
define host{
 use    crit-host
 parents   bhs_mdf_msfc
 host_name   backup1
 alias    BACKUP1
 address   10.10.1.15
 notification_options d,r
 }

*c. contact template*
define contact{
        name                            standard-contact
        service_notification_period     24x7
        host_notification_period        24x7
        service_notification_options    w,u,c,r,f,s
        host_notification_options       d,u,r,f,s
        service_notification_commands   notify-service-by-email
        host_notification_commands      notify-host-by-email
        register                        0
        }

*d. contact info*
# 'bille' contact definition
define contact{
 contact_name   bille
 use     standard-contact
 alias     Bill E.
 email     bills_email at address.com
 }

That is pretty much it.  I basically took my config details from my
2.xinstall and mirrored them in my
3.x install.  I did recreate the files from scrach, but copied my logic
while factoring in the new version changes.

Any ideas based on this?  Thanks again.

- Bill E.


On 11/21/07, Steve Shipway <s.shipway at auckland.ac.nz> wrote:
>
>  Check the definitions for your contact.  Do you have
> host_notification_options d,r set in there as well as in the host
> definition?  If not, then the notifications will be filtered out by your
> contact definition.
>
>
>
> Steve
>
>
>
> notifications on Nagios 3.0a3.  I have all hosts configured for DOWN and
> RECOVERY (d,r) notification.  I would like to be emailed when a host goes
> down and then comes back up.  I have looked over the configuration many
> times and it looks fine.  However, I only receive DOWN messages, no UP
> messages.  When I look at the Nagios logs it does not appear that Nagios
> even tries to send them.  Also, I have been running Nagios since it was
> NetSaint… so I do know a bit about it.  I am just not sure what I am
> missing.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071121/5c9cc775/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-------------- next part --------------
_______________________________________________
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