Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Perl script for capturing SNMP Alerts.by pritesh_ugrankar (Monk) |
on Sep 12, 2020 at 09:26 UTC ( [id://11121655]=perlquestion: print w/replies, xml ) | Need Help?? |
pritesh_ugrankar has asked for the wisdom of the Perl Monks concerning the following question: Respected Monks, I have written perl scripts to automate some health check on various storage devices. To that end, I find Perl extremely flexible and sheer joy to code in. However, I am now planning to write a script that will monitor the storage device and if any failure occurs, it will send out an email. I have very basic idea of how SNMP works and I have been through the Net::SNMP documentation, but not sure how it will talk to the SNMP server, or will ports 161, 162 need to be opened from / to the server on which the script is running & the SNMP Server? Please note, I am not looking for ready made code. I just need pointers. I just realized that I need to read up on SNMP as well to really understand how it works, but in the interim, any pointers you provide will be a great help. I was here a long time ago and you folks had suggested some truly amazing modules and some great pointers...hoping for the same this time too.
Back to
Seekers of Perl Wisdom
|
|