Page 1 of 1

Netapp solidfire monitoring

Posted: Thu Feb 20, 2020 5:07 am
by IT-OPS-SYS
i would like to monitor netapp solidfire cluster via snmp traps.

i got the below link from netapp to configure it:

https://kb.netapp.com/app/answers/answe ... nmp-traps-

in this above link i am not sure about the file "submit_check_result", do we need to create a new one and if yes then which location should i be creating it.

in the messages log, I can see that :

Feb 20 06:29:25 cvrmnagiosxi001 snmptrapd: There seems to be another SNMPTT process (pid 17813) running.
Feb 20 06:29:25 cvrmnagiosxi001 snmptrapd: You may want to kill it and delete the .pid file (/var/run/snmptt.pid). Aborting..

Re: Netapp solidfire monitoring

Posted: Thu Feb 20, 2020 5:58 pm
by mbellerue
I think part of the issue here is that the document is written assuming you're monitoring in Nagios Core, so when you do things like try to start snmptt, it's already running so you get log entries like the one you posted.

Let's see how far the document took us. Can you send in your /var/log/snmpttsystem.log and /var/log/snmpttunknown.log (you might include snmptt.log.1.gz and snmpttunknown.log.1.gz, since they may have rolled over)?

Also make sure to check Admin -> SNMP Trap Interface in case the traps are showing up there. You can also use the Advanced tab on the SNMP Trap Interface page to send a test trap just to make sure things are working as you'd expect.

Re: Netapp solidfire monitoring

Posted: Fri Feb 21, 2020 2:48 am
by IT-OPS-SYS
no trap received in the admin section.
sent test trap but could not received it.
attached is the system report.

Re: Netapp solidfire monitoring

Posted: Fri Feb 21, 2020 2:38 pm
by mbellerue
Ack, it looks like we don't include the snmp logs with the system profile. Can you get these files and send them in, please?

/var/log/snmptrapd.log
/var/log/snmptt/snmptt.log
/var/log/snmptt/snmptt.log.1.gz
/var/log/snmptt/snmpttsystem.log
/var/log/snmptt/snmpttsystem.log.1.gz
/var/log/snmpttunknown.log
/var/log/snmpttunknown.log.1.gz

Re: Netapp solidfire monitoring

Posted: Thu Feb 27, 2020 12:33 pm
by IT-OPS-SYS
here u go

Re: Netapp solidfire monitoring

Posted: Thu Feb 27, 2020 4:35 pm
by mbellerue
It looks like the traps from SolidFire are showing up in the snmpttunknown.log file. If they're showing up here, it's because there's no MIB file to translate the OID for snmptt. I did try searching for NetApp and SolidFire MIBs, but they may require that you contact them to download the MIBs. Manufacturers are sometimes weird that way.

Re: Netapp solidfire monitoring

Posted: Fri Feb 28, 2020 9:57 am
by IT-OPS-SYS
we have downloaded the mibs from the solidfire site and placed it in the required location /etc/snmp/snmptt.conf.solidfire :

https://kb.netapp.com/app/answers/answe ... nmp-traps-

Re: Netapp solidfire monitoring

Posted: Fri Feb 28, 2020 1:59 pm
by mbellerue
I'm not sure what the /etc/snmp/snmptt.conf.solidfire location should be. You can upload the MIB via the web interface at Admin -> Manage MIBs. This will make sure it gets to the right location, and has the correct permissions.

Re: Netapp solidfire monitoring

Posted: Tue Mar 03, 2020 4:27 am
by IT-OPS-SYS
unable to import the mibs and getting the below error:
MIB could not be installed.
Manage the MIBs installed on this server in /usr/share/snmp/mibs. There are hundreds of MIBs available at mibdepot and oidview.

Re: Netapp solidfire monitoring

Posted: Tue Mar 03, 2020 4:56 pm
by tgriep
I it probably a permission issue for the MIB folders so run this as root and see if you can upload the MIB file again using the Admin > Manage MIBs menu.

Code: Select all

chown root.nagios /usr/share/snmp/mibs/*
chmod 0664 ​/usr/share/snmp/mibs/*
FYI, all of the links you provided are for Nagios Core and Nagios XI uses different mechanisms to receive traps.
See this link for documentation on SNMP Traps in XI.
https://assets.nagios.com/downloads/nag ... h-NXTI.pdf