I get this error message:
"Illegal division by zero at /home/dgadm/check_fortigate.pl line 363."
while checking the type disk on one of our 600E (v 6.2.4). With my pathetic Perl knowledge, I've tried to print out the values for $value_usage and $value_cap and I get always a zero. Same with a snmpwalk on the OIDs:
SNMPv2-SMI::enterprises.12356.101.4.1.7.0 = Gauge32: 0
SNMPv2-SMI::enterprises.12356.101.4.1.6.0 = Gauge32: 0
This explains the error message. But I wonder why I it's always zero, the 600E should have SSDs.
Other types like ses, mem and hw are working. CPU gives me 0% though, but at least not an error :)
Hi everyone,
I get this error message: "Illegal division by zero at /home/dgadm/check_fortigate.pl line 363."
while checking the type disk on one of our 600E (v 6.2.4). With my pathetic Perl knowledge, I've tried to print out the values for $value_usage and $value_cap and I get always a zero. Same with a snmpwalk on the OIDs: SNMPv2-SMI::enterprises.12356.101.4.1.7.0 = Gauge32: 0 SNMPv2-SMI::enterprises.12356.101.4.1.6.0 = Gauge32: 0 This explains the error message. But I wonder why I it's always zero, the 600E should have SSDs.
Other types like ses, mem and hw are working. CPU gives me 0% though, but at least not an error :)
Any ideas?
Greetings
René