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.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Perl script for capturing SNMP Alerts.
by hippo (Bishop) on Sep 12, 2020 at 10:34 UTC | |
Re: Perl script for capturing SNMP Alerts.
by Fletch (Bishop) on Sep 12, 2020 at 22:37 UTC | |
by pritesh_ugrankar (Monk) on Sep 13, 2020 at 11:14 UTC | |
Re: Perl script for capturing SNMP Alerts.
by pritesh_ugrankar (Monk) on Sep 13, 2020 at 11:08 UTC | |
Re: Perl script for capturing SNMP Alerts.
by perlfan (Vicar) on Sep 14, 2020 at 16:17 UTC | |
Re:Perl script for capturing SNMP Alerts.
by jahero (Pilgrim) on Sep 16, 2020 at 12:38 UTC |