SNMPTRAP DATADOMAIN

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Said
Posts: 1
Joined: Tue Oct 13, 2015 10:56 am

SNMPTRAP DATADOMAIN

Post 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
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: SNMPTRAP DATADOMAIN

Post 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
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: SNMPTRAP DATADOMAIN

Post 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!
Locked