What do you mean missing the hostname for the Linux servers?
Well, it looks like the Perl script doesn't extract it, I placed
some comments in the script to be written out as it constructs the
debug log and sure enough, some needed values are left unset. Windows
hosts seem to output snmp commands
Both solutions require installing some agent software on the monitored
system.
Ironically, that is what I am trying to get away from. It's a pain in the
a$$ to have to manage the installation of software on multiple platforms
when snmp does most of what I need.
I hope there is soon something
I am using
http://www.frank4dd.com/howto/nagios/windows-reboot-monitoring-nagios.htm
for monitoring windows reboots. It works perfect for Windows, but is missing
the hostname
for the Linux servers.
Looking quickly at the Perl code hasn't gotten me anyway (I'm super weak w/
Perl anyhow).
On Thu, 20 Aug 2009 21:54:58 +, Joseph L. Casale
jcas...@activenetwerx.com wrote:
I am using
http://www.frank4dd.com/howto/nagios/windows-reboot-monitoring-nagios.htm
for monitoring windows reboots. It works perfect for Windows, but is missing
the hostname
for the Linux servers.
What do
Since Windows works for you, my solution is not likely to help you much.
But I'm using a WMI query to determine the uptime. I then set the plugin
status to CRITICAL for uptimes less than 30 minutes, WARNING for uptimes
less than 30 minutes.
You should be able to do something very similar in