Notification problems

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
ChCDL
Posts: 11
Joined: Mon Jul 16, 2018 7:35 am

Notification problems

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notification problems

Post by scottwilkerson »

Can we confirm we do not have an old nagios process still running

Code: Select all

ps -ef|grep nagios.cfg
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
ChCDL
Posts: 11
Joined: Mon Jul 16, 2018 7:35 am

Re: Notification problems

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notification problems

Post 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?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
ChCDL
Posts: 11
Joined: Mon Jul 16, 2018 7:35 am

Re: Notification problems

Post by ChCDL »

So you are receiving an email notification for this service? Is that correct?
Yes, the screenshot :
notif.png
Else, no escalations defined
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notification problems

Post by scottwilkerson »

This isn't the same host/service...

The host in your first screenshot of the object definition is srv-test-median
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
ChCDL
Posts: 11
Joined: Mon Jul 16, 2018 7:35 am

Re: Notification problems

Post 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 2148 times
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notification problems

Post by scottwilkerson »

Can you find this service in the nagios status.dat and objects.cache files and post the output?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
ChCDL
Posts: 11
Joined: Mon Jul 16, 2018 7:35 am

Re: Notification problems

Post by ChCDL »

Finaly, it's ok now, I had still a warning notif in my contact files.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Notification problems

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked