Missing "HOST UP" notifications after host recovery but Nagios seeing host as UP
Mauch Gerold IT10
gerold.mauch at seag.de
Tue Jun 5 11:45:46 CEST 2007
> Hi all,
>
> I'm using nagios to monitor ~300 hosts and ~3000 services.
> When I host goes down, it often recovers without a nagios
> notification. Nagios sees the host as up, but does send a recovery
> notification. Notification history doesn't even show a "HOST UP"
> notification.
> Sometimes, I see a HOST UP. I'm working with a 24x7 interval, so it's
> not an interval issue.
>
> myhost.mydomain.local N/A HOST DOWN 31-05-2007 07:30:57
> admins host-notify
> <http://nagios/nagios/cgi-bin/config.cgi?type=commands#host-notify>
> FPING CRITICAL - Myhost.mydomain.local (loss=100% )
> myhost.mydomain.local N/A HOST DOWN 31-05-2007 06:13:01
> admins host-notify
> <http://nagios/nagios/cgi-bin/config.cgi?type=commands#host-notify>
> FPING CRITICAL - Myhost.mydomain.local (loss=100% )
> myhost.mydomain.local N/A HOST DOWN 31-05-2007 06:12:09
> admins host-notify
> <http://nagios/nagios/cgi-bin/config.cgi?type=commands#host-notify>
> FPING CRITICAL - Myhost.mydomain.local (loss=100% )
>
> As I don't see a HOST UP notification in nagios history I believe that
> it is a bug or configuration issue.
> HOST DOWN-Notifications are sent, so I don't believe it to be an error
> calling the host-notify command.
>
> Pls can anybody help?
>
> define host {
> name generic-host ; The name of this
> host template
> notifications_enabled 1 ; Host notifications
> are enabled
> event_handler_enabled 0 ; Host event handler
> is enabled
> flap_detection_enabled 0 ; Flap detection is
> enabled
> failure_prediction_enabled 0 ; Failure prediction
> is enabled
> process_perf_data 0 ; Process performance
> data
> retain_status_information 1 ; Retain status
> information across program restarts
> retain_nonstatus_information 1 ; Retain non-status
> information across program restarts
> max_check_attempts 4
> notification_interval 0
> notification_period 24x7
> notification_options d,r
> check_command check-host-alive
> register 0 ; DONT REGISTER THIS
> DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
> }
>
>
> define host {
> use generic-host ; Name of host template to use
> host_name myhost.mydomain.local
> alias myhost
> address myhost.mydomain.local
> contact_groups admins
> }
>
> define contactgroup {
> contactgroup_name admins
> alias Nagios Administrators
> members admin1
> }
>
> define contact {
> contact_name admin1
> alias admin1
> service_notification_period 24x7
> host_notification_period 24x7
> service_notification_options w,c,r
> host_notification_options d,r
> service_notification_commands service-notify
> host_notification_commands host-notify
> email admin at mydomain.local
> pager 0123456789
> }
>
> Cheers,
> Gerold
>
>
>
Schweizer Electronic Aktiengesellschaft
Vorsitzender des Aufsichtsrates: Dipl.-Ing. Christoph Schweizer
Vorstand: Rainer Hartel (Vorsitzender),
Rudolf Schmider, Dr. Marc Schweizer
Sitz der Gesellschaft: Schramberg
Registergericht: Amtsgericht Stuttgart, HRB 480540
UST-Idnr.: DE 142650000
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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