Random emails

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.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Random emails

Post by sreinhardt »

You're welcome! tlea should be back with you in the morning with more details!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
User avatar
JohnFLi
Posts: 511
Joined: Mon Jun 17, 2013 3:11 pm

Re: Random emails

Post by JohnFLi »

any luck?
Everybody is somebody else’s weirdo
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Random emails

Post by Box293 »

Sorry I've been busy. I did manage to download it and get it up and running so if I get enough time tomorrow I'll spend some time looking into it.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Random emails

Post by Box293 »

Hi John,
I spent some time looking at this today and I think your problem is related to your contact definitions. Specifically you have host and service commands assigned to "host commands" and host and service commands assigned to "service commands".

All of your contacts should be updated so they ONLY have host commands assigned to "host commands" and service commands assigned to "service commands".

This screenshot from your VM shows what I am explaining:
dual contacts.png
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
JohnFLi
Posts: 511
Joined: Mon Jun 17, 2013 3:11 pm

Re: Random emails

Post by JohnFLi »

Gotcha, I will go through the contacts and verify.


What do you think of the gui Interface for configuring Nagios?
Everybody is somebody else’s weirdo
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Random emails

Post by Box293 »

The GUI makes things much, much easier :)

I'm used to Nagios XI which implements a similar version of this.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
JohnFLi
Posts: 511
Joined: Mon Jun 17, 2013 3:11 pm

Re: Random emails

Post by JohnFLi »

I went through all the active contacts and corrected them

I will watch to see if the issue still happens
Everybody is somebody else’s weirdo
User avatar
JohnFLi
Posts: 511
Joined: Mon Jun 17, 2013 3:11 pm

Re: Random emails

Post by JohnFLi »

it still happens.
As a test, I restarted the machine G1VTENF01 and the emails started.
Everybody is somebody else’s weirdo
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Random emails

Post by Box293 »

I would also confirm in /usr/local/nagios/nagiosql/contacts.cfg to make sure they are set correctly.

Make sure nagios was restarted.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
JohnFLi
Posts: 511
Joined: Mon Jun 17, 2013 3:11 pm

Re: Random emails

Post by JohnFLi »

yup....confirmed.

And I have added a server since i cleaned the contacts... so yup, its been restarted
Everybody is somebody else’s weirdo
Locked