Hello everyone,
I'm trying to monitor a cluster of firewalls (fw 0 and fw 1)
In each fw, there's 2 CPUs (cpu 0 and cpu 1). I want to monitor temperature of each CPU.
So I created a discovery rule, wich have to create 4 items :
- FW 0 CPU 0
- FW 0 CPU 1
- FW 1 CPU 0
- FW 1 CPU 1
In my discovery rule, I have set this SNMP OID :
And in my discovery item, I have set those settings :
- Name : Firewall {#FWINDEX} CPU {#CPUINDEX} Temp
- Key : fw.cpu.temp.[{#FWINDEX},{#CPUINDEX}]
- OID : 1.3.6.1.4.1.11256.1.11.12.1.2.{#FWINDEX}.{#CPUINDE X}
And I get those results in "Lastest data" :

With the following errors :
- snmp_parse_oid(): cannot parse OID "1.3.6.1.4.1.11256.1.11.12.1.0.{#CPUINDEX}". For the line 1,
- snmp_parse_oid(): cannot parse OID "1.3.6.1.4.1.11256.1.11.12.1.1.{#CPUINDEX}". For the line 2,
- snmp_parse_oid(): cannot parse OID "1.3.6.1.4.1.11256.1.11.12.1.{#FWINDEX}.0". For the line 3,
- snmp_parse_oid(): cannot parse OID "1.3.6.1.4.1.11256.1.11.12.1.{#FWINDEX}.1". For the line 4.
It seems it's not possible to have 2 (or maybe more) macros in a SNMP OID. Is it right ?
If so, how can I do to monitor CPU temps ?
Thanks
Nicolas
I'm trying to monitor a cluster of firewalls (fw 0 and fw 1)
In each fw, there's 2 CPUs (cpu 0 and cpu 1). I want to monitor temperature of each CPU.
So I created a discovery rule, wich have to create 4 items :
- FW 0 CPU 0
- FW 0 CPU 1
- FW 1 CPU 0
- FW 1 CPU 1
In my discovery rule, I have set this SNMP OID :
Code:
discovery[{#FWINDEX},1.3.6.1.4.1.11256.1.16.2.1.1,{#CPUINDEX},1.3.6.1.4.1.11256.1.11.12.1.1]
- Name : Firewall {#FWINDEX} CPU {#CPUINDEX} Temp
- Key : fw.cpu.temp.[{#FWINDEX},{#CPUINDEX}]
- OID : 1.3.6.1.4.1.11256.1.11.12.1.2.{#FWINDEX}.{#CPUINDE X}
And I get those results in "Lastest data" :
With the following errors :
- snmp_parse_oid(): cannot parse OID "1.3.6.1.4.1.11256.1.11.12.1.0.{#CPUINDEX}". For the line 1,
- snmp_parse_oid(): cannot parse OID "1.3.6.1.4.1.11256.1.11.12.1.1.{#CPUINDEX}". For the line 2,
- snmp_parse_oid(): cannot parse OID "1.3.6.1.4.1.11256.1.11.12.1.{#FWINDEX}.0". For the line 3,
- snmp_parse_oid(): cannot parse OID "1.3.6.1.4.1.11256.1.11.12.1.{#FWINDEX}.1". For the line 4.
It seems it's not possible to have 2 (or maybe more) macros in a SNMP OID. Is it right ?
If so, how can I do to monitor CPU temps ?
Thanks
Nicolas

Comment