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.
User avatar
JohnFLi
Posts: 511
Joined: Mon Jun 17, 2013 3:11 pm

Re: Random emails

Post by JohnFLi »

[root@g1vpnag01 libexec]# cd /usr/local/nagios
[root@g1vpnag01 nagios]# tar cj /tmp/configs.tar.xz etc/
tar: Removing leading `/' from member names
tar: /tmp/configs.tar.xz: Cannot stat: No such file or directory
bzip2: I won't write compressed data to a terminal.
bzip2: For help, type: `bzip2 --help'.


I do have Host escalation for my servers........ I checked an made sure that its email address is correct.
Everybody is somebody else’s weirdo
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Random emails

Post by sreinhardt »

I'd like to be 100% just for safetys sake. Let's try that one more time but slighly different.

Code: Select all

cd /usr/local/nagios
tar cjf /tmp/configs.tar.bz2 etc/
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 »

ok, I have the file.....where would you like me to send it to?
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 »

JohnFLi wrote:ok, I have the file.....where would you like me to send it to?
Send it to me via private message. You might need to append .txt to the end of the file.
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 »

PM has been sent
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've had a good look through your configurations, specifically at the host G1POSTAGE01 as that is the one you provided an example for. I couldn't find anything out of place, it all looks as it should.

I did notice in your nagios.cfg file you have:

Code: Select all

debug_level=1
Can you please set this to -1

Code: Select all

debug_level=-1
Restart Nagios and see if it catches anything now when these strange emails are sent.
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 »

ok, it has been set to -1
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 »

ok, after setting debug to -1, I got a couple of rejection emails concerning my machine G1PCWEBSERV02. (oddly enough, 2 emails saying it is up, 1 second part.
Below is from the debug log

Code: Select all

[1407344585] SERVICE ALERT: G1PCWEBSERV02;Web_Disk_Idle;CRITICAL;SOFT;1;0.00
[1407344585] SERVICE EVENT HANDLER: G1PCWEBSERV02;Web_Disk_Idle;CRITICAL;SOFT;1;notify-host-by-email
[1407344645] SERVICE ALERT: G1PCWEBSERV02;Web_Disk_Idle;OK;SOFT;2;91.56
[1407344645] SERVICE EVENT HANDLER: G1PCWEBSERV02;Web_Disk_Idle;OK;SOFT;2;notify-host-by-email
[1407344673] wproc: Core Worker 17747: job 756 (pid=21424) timed out. Killing it
[1407344673] wproc: CHECK job 756 from worker Core Worker 17747 timed out after 30.01s
[1407344673] wproc:   host=G1VPSQL15; service=(null);
[1407344673] wproc:   early_timeout=1; exited_ok=0; wait_status=0; error_code=62;
[1407344673] Warning: Check of host 'G1VPSQL15' timed out after 30.01 seconds
[1407344673] wproc: Core Worker 17747: job 756 (pid=21424): Dormant child reaped
[1407344690] wproc: Core Worker 17744: job 768 (pid=21490) timed out. Killing it
[1407344690] wproc: CHECK job 768 from worker Core Worker 17744 timed out after 30.01s
[1407344690] wproc:   host=G1VPSPS01; service=(null);
[1407344690] wproc:   early_timeout=1; exited_ok=0; wait_status=0; error_code=62;
[1407344690] Warning: Check of host 'G1VPSPS01' timed out after 30.01 seconds
[1407344690] wproc: Core Worker 17744: job 768 (pid=21490): Dormant child reaped
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 »

Can you please provide some more log output if possible.
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 »

as requested
Attachments
debug.txt
(96.32 KiB) Downloaded 273 times
Everybody is somebody else’s weirdo
Locked