notifications

curt at chilitech.net curt at chilitech.net
Thu Nov 6 02:20:12 CET 2003


I am a new user to nagios and currently I am trying to incorperate nagios
to our wireless network at an ISP that I work for. After days of messing
with configurations, all is well....except for the fact that after messing
with some of the notification intervals and dependencies...I no longer
recieve messages for services that are down. I have changed them back and
still nothing. I am testing it by using the check-host-alive command and I
change the ip to the testing host to something that I know returns as
unreachable, then forcing an update. I do not receive an alert that it is
down but when I change the ip back I get an alert that it is back up. The
folloing is my hosts.cfg for this host:
#template

define host{
        name                            au
        notifications_enabled           1
        event_handler_enabled           1
        flap_detection_enabled          1
        process_perf_data               1
        retain_status_information       1
        retain_nonstatus_information    1
        register                        0
        }

# 'tower_center' host definition
define host{
        use                     au
        host_name               tower_center
        alias                   Tower Center AU
        parents                 traffic
        address                 192.168.X.X
        check_command           check-host-alive
        max_check_attempts      3
        notifications_enabled   1
        notification_interval   120
        notification_period     24x7
        notification_options    d,r
        }

and the services.cfg is:

define service{

        host_name               tower_center
        service_description     Center Sector
        check_command           check-host-alive
        max_check_attempts      3
        normal_check_interval   1
        retry_check_interval    1
        check_period            24x7
        notification_interval   120
        notification_period     24x7
        notification_options    c,r
        notifications_enabled   1
        contact_groups          test
        }

And the dependencies.cfg for the service is:


define servicedependency{
        dependent_host_name                     tower_center
        dependent_service_description           Center Sector
        host_name                               traffic
        service_description                     Traffic Shaper for Wireless
        execution_failure_criteria              c
        notification_failure_criteria           o,w,u
        }
I want to be alerted when just the service tower_right is down when
traffic is not down and when traffic is down I don't want to be alerted
that the tower_center is down.....and help on what is wrong here? Thanks
alot!!!


Curt
Wireless Specialist
Chilitech Internet Solutions



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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