Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Perl script for capturing SNMP Alerts.

by hippo (Bishop)
on Sep 12, 2020 at 10:34 UTC ( [id://11121659]=note: print w/replies, xml ) Need Help??


in reply to Perl script for capturing SNMP Alerts.

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?

For the purposes of the monitor/alert, the box where your script runs will be the SNMP client and the box you are monitoring will be the SNMP server. It is the SNMP server which must allow inbound UDP traffic on port 161 from the SNMP client.

If you are looking for some code for inspiration I would suggest MTRG which is widely used, written in Perl and runs over SNMP. You may even find you can just use MRTG to do all you need anyway.


🦛

  • Comment on Re: Perl script for capturing SNMP Alerts.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11121659]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-20 01:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found