Page 1 of 2

Notification problems

Posted: Tue Nov 20, 2018 3:04 am
by ChCDL
Hi,

I use the default template "generic-service" for my services, I have removed the notifications for the warning state in this template, but I continue to receive them, I don't understand why.

Of course I relaunch the nagios service but always worry. Do you have any idea ?
1.png
2.jpg

Re: Notification problems

Posted: Tue Nov 20, 2018 9:47 am
by scottwilkerson
Can we confirm we do not have an old nagios process still running

Code: Select all

ps -ef|grep nagios.cfg

Re: Notification problems

Posted: Wed Nov 21, 2018 2:16 am
by ChCDL
the result of the command :

Code: Select all

root      4115  4100  0 08:13 pts/0    00:00:00 grep nagios.cfg
nagios    9117     1  0 nov.07 ?       00:13:10 /opt/nagios/bin/nagios -d /etc/nagios/nagios.cfg
nagios    9128  9117  0 nov.07 ?       00:01:43 /opt/nagios/bin/nagios -d /etc/nagios/nagios.cfg

Re: Notification problems

Posted: Wed Nov 21, 2018 9:53 am
by scottwilkerson
So you are receiving an email notification for this service? Is that correct?

Can you share a screenshot of the notification?

Do you have any escalations defined?

Re: Notification problems

Posted: Wed Nov 21, 2018 10:44 am
by ChCDL
So you are receiving an email notification for this service? Is that correct?
Yes, the screenshot :
notif.png
Else, no escalations defined

Re: Notification problems

Posted: Wed Nov 21, 2018 11:06 am
by scottwilkerson
This isn't the same host/service...

The host in your first screenshot of the object definition is srv-test-median

Re: Notification problems

Posted: Thu Nov 22, 2018 2:17 am
by ChCDL
The notification is about the service, not the host. This is indicated in the mail's object "Verification espace utilisé sur C". Srv-test-median is the one concerned.
In the mail what is written in host, is just the alias I defined in the host's file, see below :
notif.png
notif.png (11.05 KiB) Viewed 2687 times

Re: Notification problems

Posted: Mon Nov 26, 2018 1:32 pm
by scottwilkerson
Can you find this service in the nagios status.dat and objects.cache files and post the output?

Re: Notification problems

Posted: Tue Nov 27, 2018 2:33 am
by ChCDL
Finaly, it's ok now, I had still a warning notif in my contact files.

Re: Notification problems

Posted: Tue Nov 27, 2018 8:55 am
by scottwilkerson
ChCDL wrote:Finaly, it's ok now, I had still a warning notif in my contact files.
Good to hear it is ok now, not sure what you mean by you contact files