1
0
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:
Páll Guðjón Sigurðsson
2010-03-14 00:14:12 +00:00
parent c8e00cc380
commit 061495fecb
9 changed files with 5527 additions and 2 deletions

View File

@@ -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);