PDA

View Full Version : SNMP polling of CPU cores



mrbob
2017-12-01, 05:40
Hi,

I am trying to setup graphing of CPU usage of our Checkpoint firewalls, both the total average and pr core but running into some problems.

Setup
- Checkpoin R77.30 on OpenServer
- 1 CPU with 4 cores enabled
- Enabled SNMP in Gaia
- Enabled SNMP Extensions in cpconfig
- Using SNMP Tester from Paessler for testing

According to page 13 in SNMP - All Versions - Best Practices from Checkpoint, dated 18th may 2016, the CPU counters are:

Overall: procUsage
.1.3.6.1.4.1.2620.1.6.7.2.4
Per Core: multiProcUsage
.1.3.6.1.4.1.2620.1.6.7.5.1.5.x

From testing I got nothing from .1.3.6.1.4.1.2620.1.6.7.2.4 and .1.3.6.1.4.1.2620.1.6.7.5.1.5.0, but got a result from .1.3.6.1.4.1.2620.1.6.7.2.4.0!
Have I done something wrong, is the doc wrong? Is this cpu0? If so, what is the OID for overall CPU usage?



The result from testing:
Overall CPU usage:

01.12.2017 10:31:10 (1 ms) : Device: cp01
01.12.2017 10:31:10 (1 ms) : SNMP V2c
01.12.2017 10:31:10 (2 ms) : Custom OID 1.3.6.1.4.1.2620.1.6.7.2.4
01.12.2017 10:31:10 (5 ms) : SNMP Datatype: SNMP_EXCEPTION_NOSUCHINSTANCE
01.12.2017 10:31:10 (5 ms) : -------
01.12.2017 10:31:10 (6 ms) : Value: No such instance (SNMP error # 223)
01.12.2017 10:31:10 (7 ms) : Done

cpu0:

01.12.2017 10:31:33 (2 ms) : Device: cp01
01.12.2017 10:31:33 (4 ms) : SNMP V2c
01.12.2017 10:31:33 (5 ms) : Custom OID .1.3.6.1.4.1.2620.1.6.7.5.1.5.0
01.12.2017 10:31:33 (13 ms) : SNMP Datatype: SNMP_EXCEPTION_NOSUCHINSTANCE
01.12.2017 10:31:33 (14 ms) : -------
01.12.2017 10:31:33 (16 ms) : Value: No such instance (SNMP error # 223)
01.12.2017 10:31:33 (17 ms) : Done

But here I got a result:

01.12.2017 10:32:13 (4 ms) : Device: cp01
01.12.2017 10:32:13 (5 ms) : SNMP V2c
01.12.2017 10:32:13 (7 ms) : Custom OID 1.3.6.1.4.1.2620.1.6.7.2.4.0
01.12.2017 10:32:13 (31 ms) : SNMP Datatype: ASN_INTEGER
01.12.2017 10:32:13 (33 ms) : -------
01.12.2017 10:32:13 (35 ms) : Value: 24
01.12.2017 10:32:13 (37 ms) : Done