Query

A F a_faredi at hotmail.co.uk
Tue Mar 17 16:37:15 CET 2009


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


_________________________________________________________________
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/20090317/058f777a/attachment.html>
-------------- 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