Alerting of Host

Hendrik Baecker b00mer at gmx.net
Fri Apr 22 10:38:29 CEST 2005


Jack A. Kanimea schrieb:

>Hi, 
>
>Might sound like a funny question but am having difficulties with the alert for nagios. At the moment we also have another alerting program that we would like to migrate to nagios. THe alerting in other program can be set in term of downtime. For example I set if there no ping request for 15min continously please alert me. This take care of the problem of flapping as well as false alarms alert on host actually going down. Am trying to configure nagios to do the same requirment but I think I may done something wrong. The alert am getting from nagios is either to late or if I get a down alert I can still ping the host and a reply is coming. 
>All I want to know if nagios can alert us base on if host is down for XXX minutes then alert. The closet I found on doc to do this was on flapping of hosts. But I think my configuration may be wrong I must be doing something wrong
>
>  
>
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host

Set your max_check_attempts higher. To get your 15mins.

>Any advise or suggestion would be greatly appreciated.
>
>My configuration are as follow:- Please correct if I am wrong
>
>In hosts.cfg a typical hosts configuration appears as
>__________________________________
>define host{
>host_name r_itc_pc
>alias Suva_Test_PC
>address 10.1.87.60
>parents s_itc_gigswitch
>check_command check-host-alive
>max_check_attempts 5
>check_interval 1
>check_period 24x7
>active_checks_enabled 1
>passive_checks_enabled 0
>check_freshness 1
>freshness_threshold 10
>process_perf_data 0
>retain_status_information 0
>retain_nonstatus_information 0
>contact_groups network-admin
>notification_interval 0
>notification_period 24x7
>notification_options d,r
>________________________________________
>
>In my nagios.cfg I read some doc on flapping and so I enable this 
>  
>
Please read in the docs about Nagios and Flapping, it might be that 
Nagios Flapping is not a feature you're expecting in Nagios...

>___________________________________________________
># FLAP DETECTION OPTION
># This option determines whether or not Nagios will try
># and detect hosts and services that are "flapping".
># Flapping occurs when a host or service changes between
># states too frequently.  When Nagios detects that a
># host or service is flapping, it will temporarily supress
># notifications for that host/service until it stops
># flapping.  Flap detection is very experimental, so read
># the HTML documentation before enabling this feature!
># Values: 1 = enable flap detection
>#         0 = disable flap detection (default)
>
>enable_flap_detection=1
>
># FLAP DETECTION THRESHOLDS FOR HOSTS AND SERVICES
># Read the HTML documentation on flap detection for
># an explanation of what this option does.  This option
># has no effect if flap detection is disabled.
>
>low_service_flap_threshold=5.0
>high_service_flap_threshold=20.0
>low_host_flap_threshold=25.0
>high_host_flap_threshold=25.0
>_______________________________________________________
>
>I also read something on freshness so I enable option in nagiios as follows 
>
>_______________________________________-
># HOST FRESHNESS CHECK OPTION
># This option determines whether or not Nagios will periodically
># check the "freshness" of host results.  Enabling this option
># is useful for ensuring passive checks are received in a timely
># manner.
># Values: 1 = enabled freshness checking, 0 = disable freshness checking
>
>check_host_freshness=1
>
>
>
># HOST FRESHNESS CHECK INTERVAL
># This setting determines how often (in seconds) Nagios will
># check the "freshness" of host check results.  If you have
># disabled host freshness checking, this option has no effect.
>
>host_freshness_check_interval=60
>
>------------------------___________________
>
>Any advise or suggestion would be greatly appreciated.
>
>thanks in advance,
>jk
>
>
>
>
>-------------------------------------------------------
>SF email is sponsored by - The IT Product Guide
>Read honest & candid reviews on hundreds of IT Products from real users.
>Discover which products truly live up to the hype. Start reading now.
>http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
>_______________________________________________
>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
>
>
>  
>



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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