EM 12c Illegal division by zero filesystems.pl line 96
I am receiving the Grid Alert error "Illegal division by zero filesystems.pl line 96" from EM12c version 12.1.0.5 OEM and agents and I cannot fine any reference to the exact issue.
The actual error is:
Illegal division by zero at
$AGENT_HOME/sysman/admin/scripts/filesystems.pl line 96.
em_result=/opt|/dev/hd10opt|1408.00|889.78|518.22|36.81
em_result=/usr|/dev/hd2|3840.00|2806.00|1034.00|26.93
em_result=/|/dev/hd4|1408.00|360.72|1047.28|74.38
Line 96 in the filesystems.pl
else
{
$usedkb =
$fields[2];
$availkb = $fields[3];
$usedpct =
$fields[4];
$usedpct =~
s/%//;
$availpct =
$availkb/($availkb+$usedkb)*100; <-- This is line 96.
Any assistance would be most helpful.
Thank you!!