Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: SSHing in multiple servers and execute command on each

by mr_mischief (Monsignor)
on Jun 27, 2018 at 21:37 UTC ( #1217547=note: print w/replies, xml ) Need Help??


in reply to SSHing in multiple servers and execute command on each

This is not Perl specific, but are you aware of GNU Parallel? It can be used with or without Perl. Also, a task like this is unnecessary if you're using statsd, collect, Prometheus, or a number of other statistics gathering tools. Also, good old NetSNMP and an SNMP monitoring system (potentially written in Perl) solves this problem nicely.

None of this is to say that your approach is the wrong wheel. It's just that there's a tire and rim shop next door already.

  • Comment on Re: SSHing in multiple servers and execute command on each

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2023-02-05 13:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (31 votes). Check out past polls.

    Notices?