Hello, everybody, who can help me to solve this problem?
I want to monitor the Huawei firewall and switch CPU, but can not get Item, the specific information is as follows:
Verbose Query:
+ Running data query [9].
+ Found type = '6' [Script Query - Script Server].
+ Found data query XML file at '/var/www/html/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for num of indexes '"/bin/php" -q /var/www/html/cacti/scripts/ss_host_cpu.php 192.168.10.2 28 3:161:500:1:10:public:public:!Publicdada:SHA:!Dadapublic:AES128: num_indexes'
+ Found number of indexes: 0
+ Executing script for list of indexes '"/bin/php" -q /var/www/html/cacti/scripts/ss_host_cpu.php 192.168.10.2 28 3:161:500:1:10:public:public:xxxxxxxxxx:SHA:xxxxxxxxxx:AES128: index' Index Count: 0
+ Executing script query '"/bin/php" -q /var/www/html/cacti/scripts/ss_host_cpu.php 192.168.10.2 28 3:161:500:1:10:public:public:xxxxxxxxxx:SHA:xxxxxxxxxx:AES128: query index'
RRDTool Command:
/bin/rrdtool graph - \
--imgformat=PNG \
--start='-86400' \
--end='-60' \
--title='Multi CPU Utilization on USG6390-sh' \
--base='1000' \
--height='120' \
--width='500' \
--alt-autoscale-max \
--lower-limit='0' \
--vertical-label='' \
--slope-mode \
--font TITLE:10: \
--font AXIS:7: \
--font LEGEND:8: \
--font UNIT:7: \
DEF:a='/var/www/html/cacti/rra/usg6390-sh_cpu0_1078.rrd':'cpu0':AVERAGE \
DEF:b='/var/www/html/cacti/rra/usg6390-sh_cpu2_1080.rrd':'cpu2':AVERAGE \
DEF:c='/var/www/html/cacti/rra/usg6390-sh_cpu1_1079.rrd':'cpu1':AVERAGE \
DEF:d='/var/www/html/cacti/rra/usg6390-sh_cpu3_1081.rrd':'cpu3':AVERAGE \
CDEF:cdefa='a,b,+,c,+,d,+,4,/' \
AREA:cdefa#FAFD9EFF:'Mean CPU' \
GPRINT:cdefa:LAST:'Current\:%8.2lf %%' \
GPRINT:cdefa:MIN:'Min\:%8.2lf %%' \
GPRINT:cdefa:MAX:'Max\:%8.2lf %%\n' \
LINE1:a#0000FFFF:'CPU0' \
GPRINTLAST:' Current\:%8.2lf %%' \
GPRINTMIN:'Min\:%8.2lf %%' \
GPRINTMAX:'Max\:%8.2lf %%\n' \
LINE1:b#00A348FF:'CPU1' \
GPRINTLAST:' Current\:%8.2lf %%' \
GPRINTMIN:'Min\:%8.2lf %%' \
GPRINTMAX:'Max\:%8.2lf %%\n' \
LINE1:c#C4FD3DFF:'CPU2' \
GPRINT:c:AVERAGE:' Current\:%8.2lf %%' \
GPRINT:c:MIN:'Min\:%8.2lf %%' \
GPRINT:c:MAX:'Max\:%8.2lf %%\n' \
LINE1:d#FF0000FF:'CPU3' \
GPRINT:d:AVERAGE:' Current\:%8.2lf %%' \
GPRINT:d:MIN:'Min\:%8.2lf %%' \
GPRINT:d:MAX:'Max\:%8.2lf %%'
RRDTool Says:
ERROR: opening '/var/www/html/cacti/rra/usg6390-sh_cpu0_1078.rrd': No such file or directory
centos7
cacti0.8.8f
net-snmp-libs-5.7.2-24.el7_2.1.i686
net-snmp-agent-libs-5.7.2-24.el7_2.1.x86_64
net-snmp-utils-5.7.2-24.el7_2.1.x86_64
net-snmp-libs-5.7.2-24.el7_2.1.x86_64
net-snmp-5.7.2-24.el7_2.1.x86_64
net-snmp-devel-5.7.2-24.el7_2.1.x86_64
rrdtool-1.4.8-9.el7.x86_64
Huawei firewall S5700 switch S2700
Would it be a template problem?
cacti_graph_template_multi_cpu_utilization_on_4_processor_box.xml
I found a lot of similar questions on the forum but no solution. . . .
Thank!
SNMP - Get Processor Information 0 Items
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 2 guests