I have managed to resolve this now. I got rid of using nrpe to monitor the
remote hosts and just used the plugin on the remote server with snmp correctly
configured.
Regards
From: [email protected]
To: [email protected]
Date: Tue, 17 Mar 2009 15:37:15 +0000
Subject: [Nagios-users] Query
Nagios server version: nagios-2.9-1.el4.rf
Platform: redhat 4ES x86_64
Hpasm version:hpasm-7.8.0-88.rhel4
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
The configuration for local monitoring is:
define service{
use local-service
host_name monitor
service_description HP Server Health
servicegroups server
check_command check_hpasm!public
}
define command{
command_name check_hpasm
command_line $USER1$/check_hpasm -H $HOSTADDRESS$ -C $ARG1$
}
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.
Remote host hpasm version: hpasm-7.8.0-88.rhel4
nrpe daemon is installed as well as check_hpasm is installed
nrpe.config:
Added:
command[check_hpasm]=/usr/lib64/nagios/plugins/check_hpasm -H $HOSTADDRESS$ -C
public
define command{
command_name check_remote_hpasm
command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_hpasm -C
$ARG1$
}
define service{
use local-service
host_name remote
service_description HP Server Overall Health
servicegroups server
check_command check_remote_hpasm!public
}
Error from Nagios: No ouput from plugin.
>From a command line:
./check_nrpe -H monitor -c check_hpasm -C public
./check_nrpe: invalid option -- C
Can someone help me. What am I doing wrong.
Regards
Beyond Hotmail — see what else you can do with Windows Live. Find out more!
_________________________________________________________________
View your Twitter and Flickr updates from one place – Learn more!
http://clk.atdmt.com/UKM/go/137984870/direct/01/------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null