check_snmp with Emc SourceOne

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bvzm71
Posts: 14
Joined: Mon May 12, 2014 9:10 am

check_snmp with Emc SourceOne

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: check_snmp with Emc SourceOne

Post 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
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
bvzm71
Posts: 14
Joined: Mon May 12, 2014 9:10 am

Re: check_snmp with Emc SourceOne

Post 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 ?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: check_snmp with Emc SourceOne

Post 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).
bvzm71
Posts: 14
Joined: Mon May 12, 2014 9:10 am

Re: check_snmp with Emc SourceOne

Post 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)
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: check_snmp with Emc SourceOne

Post 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]
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
bvzm71
Posts: 14
Joined: Mon May 12, 2014 9:10 am

Re: check_snmp with Emc SourceOne

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: check_snmp with Emc SourceOne

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
bvzm71
Posts: 14
Joined: Mon May 12, 2014 9:10 am

Re: check_snmp with Emc SourceOne

Post 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
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: check_snmp with Emc SourceOne

Post 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.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked