Page 1 of 1

SNMPTRAP DATADOMAIN

Posted: Sun Jan 29, 2017 3:03 pm
by Said
Hello Team Support,

I'm writing to you about a issue with SNMPTRAP, we have a Datadomain DD2500 and we want to monitor disk space and replication.
When I use this command for cheking the SNMP, I received this error :

Command : snmptrap -v 2c -c publicrsm host DATA-DOMAIN-MIB::ddboost 192.168.X.X

Error : No log handling enabled - turning on stderr logging

Thanks in advance for you help

Best regards

Re: SNMPTRAP DATADOMAIN

Posted: Mon Jan 30, 2017 11:41 am
by SteveBeauchemin
SNMP and SNMPTrap are 2 different things.

To use snmptrap, the remote host is setup to send data to a snmp trap listener somewhere. When the remote host detects something wrong, it calls for help.

To use snmp, from a central host you reach out to a remote host and ask it how it is doing.

Those are 2 different protocols, using 2 different ports to communicate. Look in /etc/services to find them and see.

If you want to reach out to your DataDomain device and see what it will tell you, try this syntax:
for numeric output only:

Code: Select all

snmpwalk -t 3 -v 2c -Cc -On -c publicrsm 192.168.X.X DATA-DOMAIN-MIB::ddboost
for full text output:

Code: Select all

snmpwalk -t 3 -v 2c -Cc -m ALL -c publicrsm 192.168.X.X DATA-DOMAIN-MIB::ddboost
I like to test first using the uptime oid just to prove I can get data - Up Time = .1.3.6.1.2.1.1.3.0
Once I see data, then I try for the specific information I want.
Also, you may want to redirect the data to a file so you can scan through and find the specific information that interests you.

Example of up time redirected to a file:

Code: Select all

snmpwalk -t 3 -v 2c -Cc -m ALL -c publicrsm 192.168.X.X .1.3.6.1.2.1.1.3.0 > /tmp/snmpwalk-192.168.X.X-full.txt
I once monitored datadomain, but only for a space issue. The Admin that supported the device sent to the nagios syslog, from there I used a log scrape to get what I needed. Very long time ago and I do not recall much about it.

Steve B

Re: SNMPTRAP DATADOMAIN

Posted: Mon Jan 30, 2017 12:06 pm
by dwhitfield
@Said was @SteveBeauchemin information enough for you?

If it was not, please post the output of all of the commands Steve gave you. Also cat /etc/services could be useful. Please wrap the output in a code block. Thanks!