more useful options | |
PerlMonks |
Re: SSHing in multiple servers and execute command on eachby mr_mischief (Monsignor) |
on Jun 27, 2018 at 21:37 UTC ( [id://1217547]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|