Hi everybody! I have SAN (Fujitsu Eternus DX80) which supports SNMP monitoring. I can read few basic values via SNMP like unit status and system uptime but I have though time to get any performance data. Reason is that the performance data is in octet strings and I do not know how to deal with octet strings in Zabbix items.
I.e. if I try to read cpu-utilization of the controller module 0 (object id .1.3.6.1.4.1.211.1.21.1.60.5.6.2.1.2.0) I get long string in hexadecimal format: 00 b0 f1 24 ff 4a 9b c7 00 00 00 00 00 00 00 00
There is an description of the octet string structure in the MIB description:
"The value of this object indicates the CM performance data.
byte 0 byte 1 byte 2 byte 3 +------------+------------+------------+------------+ 0x00| Total CPU Time |
+------------+------------+------------+------------+ 0x04| Idle CPU
So the value I'm interested in is at the offset 0x04 of the octet string. But what is the way to parse only that value from the string in Zabbix?
Any tips to help me on my journey to get my SAN monitored? Thank you in advance!
I.e. if I try to read cpu-utilization of the controller module 0 (object id .1.3.6.1.4.1.211.1.21.1.60.5.6.2.1.2.0) I get long string in hexadecimal format: 00 b0 f1 24 ff 4a 9b c7 00 00 00 00 00 00 00 00
There is an description of the octet string structure in the MIB description:
"The value of this object indicates the CM performance data.
byte 0 byte 1 byte 2 byte 3 +------------+------------+------------+------------+ 0x00| Total CPU Time |
+------------+------------+------------+------------+ 0x04| Idle CPU
So the value I'm interested in is at the offset 0x04 of the octet string. But what is the way to parse only that value from the string in Zabbix?
Any tips to help me on my journey to get my SAN monitored? Thank you in advance!
Comment