check_snmp_load and AIX

Andreas Ericsson ae at op5.se
Thu Oct 20 18:50:10 CEST 2005


Martin Møller Pedersen wrote:
> Hi,
>   I am configuration nagios on a linux machine for the first time. I
> am using version 1.2 of
> Nagios.
>   I want to have the cpuload from some AIX Servers and it works fine
> on the command-line
> with snmpwalk:
> 
> "
> $snmpwalk -c public -v 1 172.24.6.18 1.3.6.1.2.1.25.3.3.1.2
> HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 60
> "
> But how do use it in nagios ? I have tried:
> 
> $./check_snmp -C Public -H 172.24.6.18 -o 1.3.6.1.2.1.25.3.3.1.2
> SNMP problem - No data received from host
> CMD: /usr/bin/snmpget -t 1 -r 5 -m ALL -v 1 -c Public 172.24.6.18:161 
> 1.3.6.1.2.1.25.3.3.1.2
> 

Community name is case sensitive, so 'Public' isn't the same as 'public'.

> 
> Thanks you.
> 
> /Martin
> 
> 
> --
> "All general statements are false."
> "If atheism is a religion, then not collecting stamps is a hobby."
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads, discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> 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
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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