Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Remote Monitoring using multi-threading

by rcaputo (Chaplain)
on Apr 03, 2010 at 04:20 UTC ( [id://832595]=note: print w/replies, xml ) Need Help??


in reply to Remote Monitoring using multi-threading

Concurrent SNMP? POE has a component for that. It might be more appropriate than pinging hosts.

In general, you will have issues if your polling period is shorter than the time SNMP::Multi takes to process the list. Your polling loop could trigger a new round of snmpget while the previous one is still in play. If you run into this problem, it will snowball until the program crashes: The second snmpget round will be slower than the first (because it's running concurrently with the first). The third will run slower than the second. Meanwhile, new rounds are accumulating.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-03-29 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found