Page 3 of 3

Re: Nagios takes days to retry a DOWN HOST

Posted: Tue Dec 15, 2015 12:28 pm
by tgriep
I see that you are using the temp filesystem /dev/shm for storing some files, is it running out of space?
Can you run the following as root and post the output?

Code: Select all

df -h
df -i
For a test, can you edit the nagios.cfg file and change the following from

Code: Select all

enable_environment_macros=1
to

Code: Select all

enable_environment_macros=0
Save the file and restart nagios

Code: Select all

service nagios restart
Post if this helps or not.

Re: Nagios takes days to retry a DOWN HOST

Posted: Wed Dec 16, 2015 8:03 am
by Johan159

Code: Select all

[jcorsini@vmwmon001 ~]$ df -h /dev/shm/
Filesystem            Size  Used Avail Use% Mounted on
tmpfs                 8.0G  7.0M  8.0G   1% /dev/shm
[jcorsini@vmwmon001 ~]$ df -i /dev/shm/
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
tmpfs                 193112       6  193106    1% /dev/shm
I adapted the parameter enable_environment_macros, but I'm not sure if I'll be able to leave it like this for a long time (I have to double check my event handlers). Anyway, we'll see how it behaves.

Re: Nagios takes days to retry a DOWN HOST

Posted: Wed Dec 16, 2015 10:42 am
by hsmith
Let us know what you come up with.

Re: Nagios takes days to retry a DOWN HOST

Posted: Thu Dec 31, 2015 3:55 am
by Johan159
For information, the change of the parameter enable_environment_macros solved the issue!

Re: Nagios takes days to retry a DOWN HOST

Posted: Mon Jan 04, 2016 10:41 am
by rkennedy
Thanks for letting us know @Johan159!

Can I mark this thread as resolved then?

Re: Nagios takes days to retry a DOWN HOST

Posted: Tue Jan 05, 2016 5:10 am
by Johan159
Yes, thanks a lot for your help everyone!

Re: Nagios takes days to retry a DOWN HOST

Posted: Tue Jan 05, 2016 10:30 am
by rkennedy
You're welcome. I'll close this out now, but if you ever need assistance in the future feel free to open a new thread.