mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2026-02-05 22:55:17 +01:00
check_snmp* added. Support for cisco switches and ASA
This commit is contained in:
@@ -353,11 +353,12 @@ foreach my $f (keys %checkdisks) {
|
||||
$output .= "<br>" if ($opt_html);
|
||||
} else {
|
||||
if ($opt_v) {
|
||||
$output .= "[$f " . byte2human($checkdisks{$f}->{free}) .
|
||||
" (" . $checkdisks{$f}->{pfree} . '% free)] ';
|
||||
$output .= "\n[$f " . byte2human($checkdisks{$f}->{free}) .
|
||||
" (" . $checkdisks{$f}->{pfree} . '% free)] ' ;
|
||||
$output .= "<br>" if ($opt_html);
|
||||
}
|
||||
}
|
||||
$output .= "\n";
|
||||
|
||||
# Donnees de Perfs
|
||||
my $perfwarn=$alldisks{$f}->{somme}*((100-$checkdisks{$f}->{warning})/100);
|
||||
|
||||
Reference in New Issue
Block a user