These graphs are OK after upgrade:
Graph templates:
Host MIB - Logged in Users (standard)
Host MIB - Processes (standard)
ucd/net - CPU Usage (standard)
ucd/net - Load Average (standard)
ucd/net - Memory Usage (standard)
Data queries:
Linux - hddtemp - disk temperature (custom)
SNMP - Get Processor Information (standard)
SNMP - Interface Statistics (standard)
This one is showing empty graph:
SNMP - Get Mounted Partitions
Even though the debug seems to be OK
Verbose query
Code: Select all
+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at '/srv/www/htdocs/cacti/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /srv/www/htdocs/cacti/scripts/ss_host_disk.php 192.168.3.6 9 2:161:2000:public:::::: index'
+ Executing script query '/usr/bin/php -q /srv/www/htdocs/cacti/scripts/ss_host_disk.php 192.168.3.6 9 2:161:2000:public:::::: query index'
+ Found item [hrStorageIndex='1'] index: 1
+ Found item [hrStorageIndex='3'] index: 3
+ Found item [hrStorageIndex='6'] index: 6
+ Found item [hrStorageIndex='7'] index: 7
+ Found item [hrStorageIndex='8'] index: 8
+ Found item [hrStorageIndex='10'] index: 10
+ Found item [hrStorageIndex='31'] index: 31
+ Found item [hrStorageIndex='32'] index: 32
+ Found item [hrStorageIndex='33'] index: 33
+ Found item [hrStorageIndex='34'] index: 34
+ Found item [hrStorageIndex='35'] index: 35
+ Found item [hrStorageIndex='36'] index: 36
+ Executing script query '/usr/bin/php -q /srv/www/htdocs/cacti/scripts/ss_host_disk.php 192.168.3.6 9 2:161:2000:public:::::: query description'
+ Found item [hrStorageDescr='Physical memory'] index: 1
+ Found item [hrStorageDescr='Virtual memory'] index: 3
+ Found item [hrStorageDescr='Memory buffers'] index: 6
+ Found item [hrStorageDescr='Cached memory'] index: 7
+ Found item [hrStorageDescr='Shared memory'] index: 8
+ Found item [hrStorageDescr='Swap space'] index: 10
+ Found item [hrStorageDescr='/'] index: 31
+ Found item [hrStorageDescr='/sys'] index: 32
+ Found item [hrStorageDescr='/sys/kernel/debug'] index: 33
+ Found item [hrStorageDescr='/media/RAID5'] index: 34
+ Found item [hrStorageDescr='/proc/sys/fs/binfmt_misc'] index: 35
+ Found item [hrStorageDescr='/proc/fs/nfsd'] index: 36
+ Executing script query '/usr/bin/php -q /srv/www/htdocs/cacti/scripts/ss_host_disk.php 192.168.3.6 9 2:161:2000:public:::::: query sau'
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 1
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 3
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 6
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 7
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 8
+ Found item [hrStorageAllocationUnits='1024 Bytes'] index: 10
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 31
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 32
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 33
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 34
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 35
+ Found item [hrStorageAllocationUnits='4096 Bytes'] index: 36
+ Found data query XML file at '/srv/www/htdocs/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/srv/www/htdocs/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/srv/www/htdocs/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/srv/www/htdocs/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/srv/www/htdocs/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/srv/www/htdocs/cacti/resource/script_server/host_disk.xml'
+ Found data query XML file at '/srv/www/htdocs/cacti/resource/script_server/host_disk.xml'
Code: Select all
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="tekux2 - Used Space - /" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:10: \
--font AXIS:8: \
--font LEGEND:8: \
--font UNIT:8: \
DEF:a="/srv/www/htdocs/cacti/rra/tekux2_hdd_total_108.rrd":hdd_total:AVERAGE \
DEF:b="/srv/www/htdocs/cacti/rra/tekux2_hdd_total_108.rrd":hdd_used:AVERAGE \
AREA:a#002A97:"Total" \
GPRINT:a:LAST:"Current\:%8.2lf%s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:a:MAX:"Maximum\:%8.2lf%s\n" \
AREA:b#F51D30:"Used" \
GPRINT:b:LAST:" Current\:%8.2lf%s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf%s" \
GPRINT:b:MAX:"Maximum\:%8.2lf%s\n"
RRDTool Says:
OK
I've tried deleting the graphs, all data sources and recreating but nothing helped.
I've made sure that none of the scripts from 0.8.7 were not overwritten with from the old version.
Any idea what went wrong?
thanks