Last active
December 14, 2015 12:49
-
-
Save oranie/5089503 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach my $host(@host_list){ | |
$pm->start and next; | |
my @all_status = get_jmx_value($host,$jolokia_port,$threshold); | |
print "$host" . "\n"; | |
foreach my $status(@all_status){ | |
print $status . "\n"; | |
} | |
$pm->finish(0, { 'host' => $host, 'all_status' => \@all_status}); | |
} | |
$ perl cassandra_pending_jolokia.monitor -t 1 -h 10.172.105.1 10.172.105.2 | |
10.172.105.1 | |
10.172.105.1 ReplicateOnWriteStage pending threshold over!!1->5 | |
10.172.105.1 ReplicateOnWriteStage pending threshold over!!1->5 | |
10.172.105.2 | |
Pending is NG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment