check_om_storage.pl and nagios question

Adam Williams awilliam at mdah.state.ms.us
Wed Oct 15 11:23:35 CDT 2008


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
        }






More information about the Linux-PowerEdge mailing list