<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Nagios server version: nagios-2.9-1.el4.rf<br>Platform: redhat 4ES x86_64<br>Hpasm version:hpasm-7.8.0-88.rhel4<br><br>I am trying to get the Nagios server to report on it's own health status as well as other servers using the check_hpasm plugin<br><br>The configuration for local monitoring is:<br><br>define service{<br> use local-service<br> host_name monitor<br> service_description HP Server Health<br> servicegroups server<br> check_command check_hpasm!public<br> }<br><br><br>define command{<br>command_name check_hpasm<br>command_line $USER1$/check_hpasm -H $HOSTADDRESS$ -C $ARG1$<br>}<br><br>This is working fine in Nagios so hpasm -v is working and parsing information. Now I am a bit confused with getting the remote monitoring to work.<br><br>Remote host hpasm version: hpasm-7.8.0-88.rhel4<br>nrpe daemon is installed as well as check_hpasm is installed<br>nrpe.config:<br>Added:<br><br>command[check_hpasm]=/usr/lib64/nagios/plugins/check_hpasm -H $HOSTADDRESS$ -C public<br><br><br><br>define command{<br> command_name check_remote_hpasm<br> command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_hpasm -C $ARG1$<br> }<br><br>define service{<br> use local-service<br> host_name remote<br> service_description HP Server Overall Health<br> servicegroups server<br> check_command check_remote_hpasm!public<br> }<br><br>Error from Nagios: No ouput from plugin.<br><br>From a command line:<br>./check_nrpe -H monitor -c check_hpasm -C public<br><br>./check_nrpe: invalid option -- C<br><br>Can someone help me. What am I doing wrong.<br><br>Regards<br><br><br /><hr />Beyond Hotmail — see what else you can do with Windows Live. <a href='http://clk.atdmt.com/UKM/go/134665375/direct/01/' target='_new'>Find out more!</a></body>
</html>