lausser / check_nwc_health

nwc = network component. This plugin checks lots of aspects of routers, switches, wlan controllers, firewalls,.....
http://labs.consol.de/nagios/check_nwc_health
GNU General Public License v2.0
147 stars 87 forks source link

Add Checkpoint disk-usage check #223

Open om617 opened 4 years ago

om617 commented 4 years ago

Hi,

Currently the disk-usage check says that it's unimplemented.

Please add the following MIBs for the check: CheckPoint MIBs: https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk90470 Disk entries: https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk90860#Common%20used%20SNMP%20OIDs%20-%20System%20counters%20-%20Disk

The partition indexes are: 1: / (root) 2: /boot 3: /var/log At least on the management server and 4800 appliances on R77.30 and R80.20 software levels.

In my case I'm directly checking the free space OIDs:

root@mgmt:/etc/snmp# snmpwalk -v2c -ccommunity security_mgmt .1.3.6.1.4.1.2620.1.6.7.6.1.2
CHECKPOINT-MIB::multiDiskName.1.0 = STRING: /
CHECKPOINT-MIB::multiDiskName.2.0 = STRING: /boot
CHECKPOINT-MIB::multiDiskName.3.0 = STRING: /var/log
root@mgmt:/etc/snmp# snmpwalk -v2c -ccommunity security_mgmt .1.3.6.1.4.1.2620.1.6.7.6.1.8
CHECKPOINT-MIB::multiDiskFreeAvailablePercent.1.0 = Wrong Type (should be Gauge32 or Unsigned32): INTEGER: 72
CHECKPOINT-MIB::multiDiskFreeAvailablePercent.2.0 = Wrong Type (should be Gauge32 or Unsigned32): INTEGER: 86
CHECKPOINT-MIB::multiDiskFreeAvailablePercent.3.0 = Wrong Type (should be Gauge32 or Unsigned32): INTEGER: 95
root@mgmt:/etc/snmp#

Thanks for the great checking plugin!