Page 1 of 1
check_snmp with Emc SourceOne
Posted: Mon May 19, 2014 7:59 am
by bvzm71
hi all
I am tring to monitor EMC SourceOne product with check_snmp, but I met some problems..
I install its MIB file with command:
snmpwalk localhost -v 1 -c XXXXXXXXXXXX -m +EVNTAGENT-MIB
where EVNTAGENT-MIB is the string at the beginning of the MIB file (EVNTAGENT-MIB DEFINITIONS ::= BEGIN)
when I run the check_snmp command :
./check_snmp -H xxx.xxx.xxx.xxx -C XXXXXXXXXXX -o 1.3.6.1.4.1.311.1.13.1.13.69.77.67.32.83.111.117.114.99.101.79.110.101.0.13320 -P 2c
I receive following message:
SNMP OK - Such Object available on this agent at this OID |
Any ideas?
Regards
Marco
Re: check_snmp with Emc SourceOne
Posted: Mon May 19, 2014 12:28 pm
by sreinhardt
Just an FYI, but the snmpwalk command does not install the mib, it simply instructs snmpwalk to use it for that run. As for your response from the system, have you tried running an snmpget against the system?
Code: Select all
snmpget -v 2c -C XXXXXXXXXXX [host address\name] 1.3.6.1.4.1.311.1.13.1.13.69.77.67.32.83.111.117.114.99.101.79.110.101.0.13320
Re: check_snmp with Emc SourceOne
Posted: Tue May 20, 2014 3:17 am
by bvzm71
yes I did it... same message
How should I install new MIB file if I can't use snmpwalk command with -m option ?
Re: check_snmp with Emc SourceOne
Posted: Tue May 20, 2014 1:07 pm
by slansing
Are you using Nagios Core or XI? Looks like you are just trying to run active GETS against your device, you posted in the NSTI forum which is completely different. Based on what you are using we can give you the recommended way of adding MIBS, if that is indeed what you are trying to do (used for translating, and deciphering traps).
Re: check_snmp with Emc SourceOne
Posted: Wed May 21, 2014 2:25 am
by bvzm71
I am using Nagios core.
I'd like to get some specific informations from my EMC appliance using check_snmp plugin.
If I can't do it, I will try to optain those information capturing the traps...but I don't like it very much and I am not sure how to obtain exactly what I need (not all the traps sent from the EMC appliance and show ALL in the nagios web interface)
Re: check_snmp with Emc SourceOne
Posted: Wed May 21, 2014 2:50 pm
by sreinhardt
The reason I asked for the output of the snmpget command, was to validate that the snmp service was active and available to the nagios system. Could you run it and send back the output please? Also please run and return the output of:
Code: Select all
nmap -sU -p 161 [host address\name]
Re: check_snmp with Emc SourceOne
Posted: Thu May 22, 2014 9:55 am
by bvzm71
nmap -sU -p 161 XXX.XXX.XXX.XXX
Starting Nmap 5.51 (
http://nmap.org ) at 2014-05-22 16:54 CEST
Nmap scan report for <hostname> (<IP>)
Host is up (0.00035s latency).
PORT STATE SERVICE
161/udp open|filtered snmp
MAC Address: xx:xx:xx:xx:xx:xx (VMware)
Nmap done: 1 IP address (1 host up) scanned in 0.28 seconds
Re: check_snmp with Emc SourceOne
Posted: Thu May 22, 2014 4:55 pm
by sreinhardt
OK, open|filtered is better than closed, but still not an absolute that it is responding. It may be that the service accepts your initial request and then closes the connection due to this system not being allowed access. Please run the snmpget command and respond with the output.
Re: check_snmp with Emc SourceOne
Posted: Fri May 23, 2014 2:31 am
by bvzm71
#> snmpget -c XXXXXX -mall XXX.XXX.XXX.XXX 1.3.6.1.4.1.311.1.13.1.13.69.77.67.32.83.111.117.114.99.101.79.110.101.0.256 -v 2c
EVNTAGENT-MIB::exExShortcutJBS = No Such Object available on this agent at this OID
Re: check_snmp with Emc SourceOne
Posted: Fri May 23, 2014 2:02 pm
by sreinhardt
No Such Object available on this agent at this OID
This is saying your device does not have the requested information for the plugin. You will either need to find what oid the same information is at on your device and modify the plugin to work with that, or find a different plugin to try.
edit moved to general\XI as this is not an nsti question.