NAGIOS Notifications Problems
Livio Zanol Puppim
livio.zanol.puppim at gmail.com
Fri Oct 5 19:14:33 CEST 2007
The Notifications are "HOST DOWN", not unreachable. Here is an example of
the configuration....
As you can see, UNREACHABLE Notifications aren't send
------------------------------------------------------------ CFG
-----------------------------------------------------------------
define host{
name generic-host
notifications_enabled 1
active_checks_enabled 1
event_handler_enabled 1
flap_detection_enabled 0
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
check_command check-host-alive
checks_enabled 1
max_check_attempts 1
notification_interval 0
notification_period 24x7
notification_options d
contact_groups cg-ServiceDesk
check_period 24x7
register 0 ; DONT REGISTER THIS
DEFINITION - ITS NOT A REAL
}
define host{
name generic-host-wans-passive
notifications_enabled 1
active_checks_enabled 0
passive_checks_enabled 1
event_handler_enabled 1
flap_detection_enabled 0
check_freshness 1
freshness_threshold 86400
process_perf_data 1
retain_status_information 1
retain_nonstatus_information 1
check_command check-host-alive
checks_enabled 1
max_check_attempts 1
notification_interval 0
notification_period 24x7
notification_options d
contact_groups cg-ServiceDesk
register 0 ; DONT REGISTER
THIS DEFINITION - ITS NOT A REAL
}
define host{
use generic-host
host_name PARENT
address 192.168.192.168
}
define host{
use generic-host
host_name RT1
address 192.168.192.167
parents PARENT
}
define host{
use generic-host
host_name RT2
address 192.168.192.166
parents PARENT
}
define host{
use generic-host-wans-passive
host_name RT3
address 192.168.192.165
parents RT1
}
------------------------------------------------------------ CFG
-----------------------------------------------------------------
Thx,
Lívio Zanol Puppim
2007/10/5, Marc Powell <marc at ena.com>:
>
>
>
> > -----Original Message-----
> > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> > bounces at lists.sourceforge.net] On Behalf Of Livio Zanol Puppim
> > Sent: Friday, October 05, 2007 9:45 AM
> > To: Nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] NAGIOS Notifications Problems
> >
> > Hello,
> >
> > I'm looking for help in notifications. If anyone could answer this i'd
> be
> > pleased.
> >
> > My Nagios has some hosts configured with parents settings, so when a
> host
> > is down, Nagios checks out his parent to see if it is down too.
> > OK, I think this is working. But When the notifications comes into
> place,
> > I receive notifications for parents and ALSO for his children like
> this:
> >
> > *PARENT* CRITICAL - Plugin Timed out after 3 seconds
> > *RT1* CRITICAL - Plugin Timed out after 3 seconds
> > *RT2* CRITICAL - Plugin Timed out after 3 seconds
> > *RT3* CRITICAL - Plugin Timed out after 3 seconds
> >
>
> Are the RT* notifications DOWN or UNREACHABLE notifications? There is a
> difference.
>
> > I want to receive a notification only for the parent host. How can
> this be
> > done?
> >
> > Is there something wrong?
>
> Sounds like it. Post a complete host definition for RT1 and PARENT so we
> can see if there is.
>
> --
> Marc
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071005/7513c101/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
-------------- 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