Skip to main content
1 vote

Remotely collect server data using Net::OpenSSH

You should add indentation inside the loop: foreach $s (@servers) { my $ssh = Net::OpenSSH->new("$username\@$s", timeout=>30); Consider this ...
toolic's user avatar
  • 3,741
1 vote

Perl Nagios plugin to query an API, obtain date from JSON, and determine if the date is within thresholds

The code looks pretty good, but here are some suggestions. There is some unused code which can be deleted, specifically: ...
toolic's user avatar
  • 3,741

Only top scored, non community-wiki answers of a minimum length are eligible