[Nagios-users] Check_Doomsday plugin

2012-04-27 Thread FTL Nagios
Hi all, I am using the check_doomsday plugin to alert me to licence expiry dates of software. I have the need though to have a check for a recurring day but of each month - I don't think check_doomsday can do this? I need to monitor the 27th of each month automatically without having

Re: [Nagios-users] Check_Doomsday plugin

2012-04-27 Thread Alex Griffin
I haven't come across any plugins that do this by default but it would be an incredibly easy plugin to write. If you or anyone you know have some programming ability you could make it yourself. Otherwise Nagios Enterprises offers custom plugin development. Alex Griffin --- Tech Team

Re: [Nagios-users] puzzling no output from nrpe run of check_load

2012-04-27 Thread Peter N. Steinmetz
Yes, ls -l /proc/loadavg shows: -r--r--r-- 1 root root which I believe mean any user can read it. Yet, sudo su - nagios more /proc/loadavg returns nothing when the nagios user has /bin/false for a shell, and returns the expected output when the nagios user has /bin/bash for a shell.

Re: [Nagios-users] puzzling no output from nrpe run of check_load

2012-04-27 Thread David Harbaugh
'su -' makes the shell a login shell ... which requires a real shell, not /bin/false. What if you do this? sudo su nagios more /proc/loadavg Skip the -, which should run more directly, which should work even with /bin/false listed as the shell. If that works, then you should be able to

Re: [Nagios-users] Check_Doomsday plugin

2012-04-27 Thread Richard Clark
On 27 April 2012 11:25, FTL Nagios ftlnag...@gmail.com wrote: Hi all, ** ** I am using the check_doomsday plugin to alert me to licence expiry dates of software. ** ** I have the need though to have a check for a recurring day but of each month – I don’t think check_doomsday

[Nagios-users] how can an NRPE script know the remote server's IP?

2012-04-27 Thread Morty
Is there a way for an NRPE script to know the remote server's IP? I'm not seeing anything in the environment for NRPE 2.12. getpeername on STDIN doesn't seem to help; presumably nrpe doesn't connect the script directly to the sockets. Detailed scenario: I have two nagios servers running in an