FW: Query
A F
a_faredi at hotmail.co.uk
Thu Mar 19 09:06:52 CET 2009
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: a_faredi at hotmail.co.uk
To: nagios-users at lists.sourceforge.net
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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090319/2d29c17c/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00000
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090319/2d29c17c/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090319/2d29c17c/attachment-0001.ksh>
-------------- next part --------------
------------------------------------------------------------------------------
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
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
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
More information about the Users
mailing list