check_om_storage.pl and nagios question
Chase Bolt
cbolt at datinggold.com
Wed Oct 15 11:41:46 CDT 2008
Read up on Nagios NRPE. It lets you run commands locally on machines by
connecting through the NRPE Plugin.
http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf
-----Original Message-----
From: linux-poweredge-bounces at dell.com
[mailto:linux-poweredge-bounces at dell.com] On Behalf Of Adam Williams
Sent: Wednesday, October 15, 2008 9:24 AM
To: linux-poweredge
Subject: check_om_storage.pl and nagios question
I have a server with nagios installed and working on it. I want to use
check_om_storage.pl to monitor the RAID arrays in my servers. Since
check_om_storage.pl uses omreport, check_om_storage.pl has to run
locally on each server. So how do I tell nagios to run
check_om_storage.pl on each server? Is there a better way to run it
then the only way I can think of? The only way I can think of is to use
SSH host key authentication and in nagios.cfg have:
# 'check_om_storage.pl' command definition
define command{
command_name check_omsa
command_line ssh root@$HOSTADDRESS$
/usr/lib64/nagios/plugins/check_om_storage.pl
}
_______________________________________________
Linux-PowerEdge mailing list
Linux-PowerEdge at dell.com
http://lists.us.dell.com/mailman/listinfo/linux-poweredge
Please read the FAQ at http://lists.us.dell.com/faq
More information about the Linux-PowerEdge
mailing list