Hi,
I did some reading into how to enable SNMPv3 for our MSA 2040 SAN since it would be nice if we are warned when our storage is failing (we currently are out of support with HPE and I am looking into extending the support/warranty but it's taking some time). After configuring the MSA, Nagios seems to make a connection okay, but I have no clue if it is monitoring things correctly. I’ve sent a few test events from the storage device itself, but Nagios hasn’t noticed anything. Does what you see in the attached image look correct? How can I see if it is actually monitoring if any disks fail?
Configuration steps on SAN:
set protocols snmp enabled
create user interfaces snmpuser password [...] authentication-type MD5 privacytype AES privacy-password [...] trap-host [ip of nagios server] snmpnag
Then I enabled logging upto warning level via the web interface as "set snmp-parameters enable resolved add-trap-host [...] read-community [...] write-community [...]" gave me an error and I don't know what the correct command should look like.
Then I ran the Nagios snmp wizard and the results are in the attached file. Can someone tell me exactly what it is I'm looking at and if this is what it should look like and if not, what other steps I should take?
SNMP settings for HPE SAN
SNMP settings for HPE SAN
You do not have the required permissions to view the files attached to this post.
Re: SNMP settings for HPE SAN
Do you see the traps coming into Admin > SNMP Trap Interface?
You can generally watch the traps come into SNMPTT with this command:
If they show up in the snmpttunknown.log that means they are not matching a defined trap in Admin > SNMP Trap Interface > Defined Traps. If they are in snmptt.log that means you have the trap defined but if the host/servicename doesn't match it may be showing up in Admin > Unconfigured Objects.
See here if you haven't:
https://assets.nagios.com/downloads/nag ... h-NXTI.pdf
Please run this command as root and PM me the resulting /tmp/SNMPFILES.tar.gz file:
You can generally watch the traps come into SNMPTT with this command:
Code: Select all
tail -Fn0 /var/log/snmptt/*See here if you haven't:
https://assets.nagios.com/downloads/nag ... h-NXTI.pdf
Please run this command as root and PM me the resulting /tmp/SNMPFILES.tar.gz file:
Code: Select all
GZIP=-9 tar czvf /tmp/SNMPFILES.tar.gz /etc/snmp /usr/share/snmp/mibsRe: SNMP settings for HPE SAN
Hi ssax,
Sorry for the delay in responding. There were indeed snmpttunknown.log files (snmptt.log files too, but without any useful information in them and with an older timestamp) so I've tried adding MSA2000 mibs in the meantime and having Nagios use those, but I still can't quite figure out how to get it configured correctly -- please see attached image. I've tried to PM you the gzipped file, but it seems like I don't have enough site permissions for that kind of action. Please let me know how to share the file with you; thanks!
(BTW, I'm unable to use the SNMP trap interface you mentioned; looks like we don't have the enterprise license needed for that. We just have the regular license.)
(I've also found out in the meantime that the 4th entry in the first image I shared is the serial number of the SAN enclosure.)
Sorry for the delay in responding. There were indeed snmpttunknown.log files (snmptt.log files too, but without any useful information in them and with an older timestamp) so I've tried adding MSA2000 mibs in the meantime and having Nagios use those, but I still can't quite figure out how to get it configured correctly -- please see attached image. I've tried to PM you the gzipped file, but it seems like I don't have enough site permissions for that kind of action. Please let me know how to share the file with you; thanks!
(BTW, I'm unable to use the SNMP trap interface you mentioned; looks like we don't have the enterprise license needed for that. We just have the regular license.)
(I've also found out in the meantime that the 4th entry in the first image I shared is the serial number of the SAN enclosure.)
You do not have the required permissions to view the files attached to this post.
Re: SNMP settings for HPE SAN
Please PM me a copy of your profile, you can download it from Admin > System Profile by clicking the Download Profile button. Try running the check commands from the command line of the system and PM me the full output.
Okay, this is the doc you'd need to follow for SNMP traps if you don't have the Enterprise License add-on:
https://assets.nagios.com/downloads/nag ... ios_XI.pdf
Please see these as well as they can be helpful if you have any questions (the top one is really recommended to get a full understanding of the functionality):
https://support.nagios.com/kb/article/n ... al-77.html
https://support.nagios.com/kb/article/s ... s-558.html
https://support.nagios.com/kb/article/s ... p-493.html
https://support.nagios.com/kb/article/n ... re-73.html
And here for the SNMPTT docs which you'll reference for advanced SNMP trap stuff:
http://www.snmptt.org/docs/snmptt.shtml
Okay, this is the doc you'd need to follow for SNMP traps if you don't have the Enterprise License add-on:
https://assets.nagios.com/downloads/nag ... ios_XI.pdf
Please see these as well as they can be helpful if you have any questions (the top one is really recommended to get a full understanding of the functionality):
https://support.nagios.com/kb/article/n ... al-77.html
https://support.nagios.com/kb/article/s ... s-558.html
https://support.nagios.com/kb/article/s ... p-493.html
https://support.nagios.com/kb/article/n ... re-73.html
And here for the SNMPTT docs which you'll reference for advanced SNMP trap stuff:
http://www.snmptt.org/docs/snmptt.shtml