CPU Monitoring with Collectd
in System
Here is my collectd cfg to get cpu data of an ax. You can use it to graph it with graphite.
my_types.db:
a10_cpu lambda:GAUGE:0:100
a10-snmp.conf:
# A10 CPU SNMP Checks
#
Type "cpu"
Table false
Instance "mgmt"
Values "iso.3.6.1.4.1.22610.2.4.1.3.6.1.3.0.5"
Type "cpu"
Table false
Instance "data_1"
Values "iso.3.6.1.4.1.22610.2.4.1.3.6.1.3.1.5"
Type "cpu"
Table false
Instance "data_2"
Values "iso.3.6.1.4.1.22610.2.4.1.3.6.1.3.2.5"
Type "cpu"
Table false
Instance "data_3"
Values "iso.3.6.1.4.1.22610.2.4.1.3.6.1.3.3.5"
Type "cpu"
Table false
Instance "data_4"
Values "iso.3.6.1.4.1.22610.2.4.1.3.6.1.3.4.5"
Address "x.x.x.x"
Version 2
Community "public"
Collect "a10_cpu_mgmt" "a10_cpu_data_1" "a10_cpu_data_2" "a10_cpu_data_3" "a10_cpu_data_4"
Interval 60
################
my_types.db:
a10_cpu lambda:GAUGE:0:100
a10-snmp.conf:
# A10 CPU SNMP Checks
#
Type "cpu"
Table false
Instance "mgmt"
Values "iso.3.6.1.4.1.22610.2.4.1.3.6.1.3.0.5"
Type "cpu"
Table false
Instance "data_1"
Values "iso.3.6.1.4.1.22610.2.4.1.3.6.1.3.1.5"
Type "cpu"
Table false
Instance "data_2"
Values "iso.3.6.1.4.1.22610.2.4.1.3.6.1.3.2.5"
Type "cpu"
Table false
Instance "data_3"
Values "iso.3.6.1.4.1.22610.2.4.1.3.6.1.3.3.5"
Type "cpu"
Table false
Instance "data_4"
Values "iso.3.6.1.4.1.22610.2.4.1.3.6.1.3.4.5"
Address "x.x.x.x"
Version 2
Community "public"
Collect "a10_cpu_mgmt" "a10_cpu_data_1" "a10_cpu_data_2" "a10_cpu_data_3" "a10_cpu_data_4"
Interval 60
################
0