notifications wont go enabled

Andre Schmidt andreschmidt76 at arcor.de
Thu Oct 28 16:03:05 CEST 2004


On Wednesday 27 October 2004 23:08, Tedman Eng wrote:
> Are they staying that way because of state retention?
> Try clearing status.sav before restarting

thanx for the tip, i had to:
stop nagios
remove status.sav
start nagios

and now it works

i assume nagios writes the status.sav file when it exists...

cheers,
andre


> 
> 
> -----Original Message-----
> From: Andre Schmidt [mailto:andreschmidt76 at arcor.de]
> Sent: Wednesday, October 27, 2004 10:56 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] notifications wont go enabled
> 
> 
> hi,
> 
> my OCD config looks something like this:
> ...
> define host{
>         checks_enabled                          1
>         notifications_enabled                   1
>         alias                                   blah
>         address                                xx.xx.xx.xx
>         parents                                 core01
>         host_name                               extcore01
>         check_command                           check-router-alive
>         max_check_attempts                      3
>         notification_interval                   300
>         notification_period                     24x7
>         notification_options                    d,u,r
>         retain_status_information               1
>         retain_nonstatus_information            1
>         event_handler_enabled                   0
>         flap_detection_enabled                  0
> }
> define service{
>         active_checks_enabled                   1
>         notifications_enabled                   1
>         host_name                               extcore01
>         service_description                     ping
>         contact_groups                          coreadmins
>         check_command                           check_ping!30,10%!100,100%
>         notification_options                    w,u,c,r
>         max_check_attempts                      10
>         normal_check_interval                   60
>         retry_check_interval                    15
>         check_period                            24x7
>         notification_interval                   120
>         notification_period                     24x7
>         retain_status_information               1
>         retain_nonstatus_information            1
>         passive_checks_enabled                  0
>         event_handler_enabled                   0
>         flap_detection_enabled                  0
> }
> ....
> 
> nagios.cfg has this "enable_notifications=1"
> 
> but when i start nagios, all host and services (that has notifications 
> enabled=1) are and stay disabled for notification in the webinterface...
> 
> is this a bug or am i doing something wrong ?
> 
> im using nagios-text with debian/sarge
> 
> nagios -v /etc/nagios/nagios.cfg gives no errors nor warnings
> 
> cheers,
> andre
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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
> 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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