Hello, have you tried running them as the nagios user, or as root user
or both?

 

Sometimes it will not execute the same as nagios user, so you can test
using su - nagios -c "/usr/local/nagios/libexec/check_cmd -H <IP
ADDRESS>" etc etc... 

 

Also, this may help - 

 

http://support.nagios.com/knowledgebase/faqs/index.php?option=com_conten
t&view=article&id=52&catid=35&faq_id=17&expand=false&showdesc=true

 

Cheers,

James

 

From: Martin Hugo [mailto:[email protected]] 
Sent: Tuesday, April 19, 2011 11:24 AM
To: '[email protected]'
Subject: [Nagios-users] Monitoring HP Procurve Interfaces

 

Hello,

 

I am trying to monitor the interfaces on my HP Procurve 5400 series
switch.  I have tried both check_iftraffic3 and check_snmp_int.  The
commands work perfectly from the command line.  However the web
interface reports (return code of 255 is out of bounds) for
check_iftraffic3 and (return code of 127 is out of bounds) for
check_snmp_int .

 

I am able to monitor all other hardware on the switch through Nagios
just fine.

 

Any thoughts on this?

 

Thanks.

 

Martin T. Hugo

Network Administrator

Hilliard City Schools

614-921-7102 (Ph)

614-771-7243 (Fax)

 Think before you print

 

<<image001.gif>>

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
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

Reply via email to