Hi
I'm using Nagios core 4.2.1
I disable notificaton in the services .cfg file but the cgi nagios interface doesn't show
the icon of notification disable
I attach the .cfg file and the printscreen of the web interface
Please could you help me to undertand where is the problem ?
Thanks for your help
Emilio
Nagios 4.2.1 - and notifications_enabled 0 is not show
Nagios 4.2.1 - and notifications_enabled 0 is not show
- Attachments
-
- SVZNOVOWEB001W8.cfg
- (21.07 KiB) Downloaded 442 times
Re: Nagios 4.2.1 - and notifications_enabled 0 is not show
My guess is that there's a status.dat entry which is enabling notifications.
There's 2 places you can enable/disable notifications: Within the object's status entry (**/nagios/var/status.dat), and within the object's configuration entry (**/nagios/etc/some_config.cfg). I forget the default behavior and I'm not sure which one wins.
There's 2 places you can enable/disable notifications: Within the object's status entry (**/nagios/var/status.dat), and within the object's configuration entry (**/nagios/etc/some_config.cfg). I forget the default behavior and I'm not sure which one wins.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Nagios 4.2.1 - and notifications_enabled 0 is not show
Thanks @mcapra,
@ emi65 , after disabling the notifications,did you run?
@ emi65 , after disabling the notifications,did you run
Code: Select all
service nagios restart
Re: Nagios 4.2.1 - and notifications_enabled 0 is not show
I did
rm status.dat objects.cache objects.precache retention.dat
I restarted nagios by command
service nagios restart
but the nagios cgi interface didn't show the notification disable icon
Please , do you have other suggestion
thanks
Emilio
rm status.dat objects.cache objects.precache retention.dat
I restarted nagios by command
service nagios restart
but the nagios cgi interface didn't show the notification disable icon
Please , do you have other suggestion
thanks
Emilio
Re: Nagios 4.2.1 - and notifications_enabled 0 is not show
Hi @ emi65,
Are you trying to turn off notifications for the host SVZNOVOWEB001W8 or its services?
Have you also tried disabling them through the web UI?
Are you trying to turn off notifications for the host SVZNOVOWEB001W8 or its services?
Have you also tried disabling them through the web UI?
Re: Nagios 4.2.1 - and notifications_enabled 0 is not show
Yes I try to disable notification to host and all his services from Web interface (Disable Notificaton for all services on this host)
and this operation works well (the disable notification icon appears and the notification are truely disabled)
Always I can re-enable the notification from the web interface and all works well
and this operation works well (the disable notification icon appears and the notification are truely disabled)
Always I can re-enable the notification from the web interface and all works well
Re: Nagios 4.2.1 - and notifications_enabled 0 is not show
Hi @ emi65 ,
When you disable notifications from the web UI to should run and apply those configurations.
So,my question is,if you did this in the web UI and its worked fine do now wish to do manually from the terminal?
When you disable notifications from the web UI to should run and apply those configurations.
So,my question is,if you did this in the web UI and its worked fine do now wish to do manually from the terminal?