shinken-monitoring / pack-linux-snmp

Configuration pack for Linux hosts
4 stars 16 forks source link

check_snmp_storage.pl : 0 bytes Disk Size #11

Open DessaiImrane opened 9 years ago

DessaiImrane commented 9 years ago

Hi,

Maybe we can automatically exclude 0 bytes sized Disk because it will alway return 100% used so CRITICAL

https://github.com/shinken-monitoring/pack-linux-snmp/blob/master/libexec/check_snmp_storage.pl#L529

  if (int($to) == 0){
        next;
  }

What do you think ?

gst commented 8 years ago

you mean some disks are returned with a disk (total) size of 0 ??

claneys commented 8 years ago

Still an issue ? In which situation you got those weirds disks ?