No graph for CPU Utilization monitoring Windows 2000

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
rocco
Posts: 4
Joined: Wed May 11, 2005 7:35 am
Location: Germany

No graph for CPU Utilization monitoring Windows 2000

Post by rocco »

Hi,

I'm using Cacti Version 0.8.6c, after adding a Win2k machine to the devices using the Windows 2000/XP Host Template, I created some graphs for it:

Code: Select all

+ Created graph: SPYF01 - Logged in Users
+ Created graph: SPYF01 - Processes
+ Created graph: SPYF01 - Used Space - C: Label:Win2K
+ Created graph: SPYF01 - Used Space - D: Label:Swap
+ Created graph: SPYF01 - Used Space - Virtual Memory
+ Created graph: SPYF01 - CPU Utilization - CPU0
+ Created graph: SPYF01 - CPU Utilization - CPU1
+ Created graph: SPYF01 - CPU Utilization - CPU2
+ Created graph: SPYF01 - CPU Utilization - CPU3
SNMP seems to work for this machine:

Code: Select all

SNMP Information
System: Hardware: x86 Family 15 Model 2 Stepping 9 AT/AT COMPATIBLE - Software: Windows 2000 Version 5.0 (Build 2195 Multiprocessor Free)
Uptime: 18243626
Hostname: SPYF01
All created graphs show correct values, except the CPU Utilization graphs.
CPU Utilization doesn't even show an empty graph - no picture is being displayed.

A verbose query shows:

Code: Select all

+ Running data query [9].
+ Found type = '6 '[script query].
+ Found data query XML file at '/usr/local/share/cacti/resource/script_server/host_cpu.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/local/bin/php -q /usr/local/share/cacti/scripts/ss_host_cpu.php xxxx.uni-giessen.de public 1 161 500 index'
+ Executing script query '/usr/local/bin/php -q /usr/local/share/cacti/scripts/ss_host_cpu.php spyf01.med.uni-giessen.de public 1 161 500 query index'
+ Found item [hrProcessorFrwID='0'] index: 0
+ Found item [hrProcessorFrwID='1'] index: 1
+ Found item [hrProcessorFrwID='2'] index: 2
+ Found item [hrProcessorFrwID='3'] index: 3
+ Found data query XML file at '/usr/local/share/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/script_server/host_cpu.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/script_server/host_cpu.xml'
snmpwalk shows:

Code: Select all

# snmpwalk -c public -v 1 xxxx.uni-giessen.de .1.3.6.1.2.1.25.3.3.1
HOST-RESOURCES-MIB::hrProcessorFrwID.1 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.2 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.3 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorFrwID.4 = OID: SNMPv2-SMI::zeroDotZero
HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 99
HOST-RESOURCES-MIB::hrProcessorLoad.2 = INTEGER: 99
HOST-RESOURCES-MIB::hrProcessorLoad.3 = INTEGER: 99
HOST-RESOURCES-MIB::hrProcessorLoad.4 = INTEGER: 99
Don't worry about 99% load, that's correct :)

Any ideas?

rocco
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Looking at the graph template for cpu utilization, that cacti created. Which data source is it using? You'll have to create your own 4 cpu cpu utilization graph (or there might be one already created on the forum).

Turning on debugging in cacti, look at the log. Are values being returned for the CPU queries and the rra file updated?
rocco
Posts: 4
Joined: Wed May 11, 2005 7:35 am
Location: Germany

Post by rocco »

The graphs "SPYF01 - CPU Utilization - CPU0" - "SPYF01 - CPU Utilization - CPU3" are using the "Host MIB - CPU Utilization" template and a data source with "Get Script Server Data (Indexed)" input method:

Code: Select all

Data Source Debug

/usr/local/bin/rrdtool create \
/usr/local/share/cacti/rra/spyf01_cpu_237.rrd \
--step 300  \
DS:cpu:GAUGE:600:0:100 \
DS:cpu:GAUGE:600:0:100 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
The file spyf01_cpu_237.rrd doesn't exsist in /usr/local/share/cacti/rra/

And here's the cacti-log:

Code: Select all

05/12/2005 10:30:29 AM - CMDPHP: Poller[0] Host[13] SNMP: Host responded to SNMP
05/12/2005 10:30:29 AM - CMDPHP: Poller[0] Host[13] RECACHE: Processing 3 items in the auto reindex cache for 'xxxx.uni-giessen.de'.
05/12/2005 10:30:29 AM - PHPSVR: Poller[0] DEBUG: INCLUDE: '/usr/local/share/cacti/scripts/ss_host_cpu.php' SCRIPT: 'ss_host_cpu' CMD: 'xxxx.uni-giessen.de public 1 161 500 get usage 0'
05/12/2005 10:30:29 AM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_cpu.php ss_host_cpu xxxx.uni-giessen.de public 1 161 500 get usage 0, output: 97
05/12/2005 10:30:29 AM - PHPSVR: Poller[0] SERVER: /usr/local/share/cacti/scripts/ss_host_cpu.php ss_host_cpu xxxx.uni-giessen.de public 1 161 500 get usage 0 output 97
05/12/2005 10:30:29 AM - PHPSVR: Poller[0] DEBUG: INCLUDE: '/usr/local/share/cacti/scripts/ss_host_disk.php' SCRIPT: 'ss_host_disk' CMD: 'xxxx.uni-giessen.de public 1 13 161 500 get used 5'
05/12/2005 10:30:29 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool create /usr/local/share/cacti/rra/spyf01_cpu_237.rrd   --step 300   DS:cpu:GAUGE:600:0:100  DS:cpu:GAUGE:600:0:100  RRA:AVERAGE:0.5:1:600  RRA:AVERAGE:0.5:6:700  RRA:AVERAGE:0.5:24:775  RRA:AVERAGE:0.5:288:797  RRA:MAX:0.5:1:600  RRA:MAX:0.5:6:700  RRA:MAX:0.5:24:775  RRA:MAX:0.5:288:797  RRA:LAST:0.5:1:600  RRA:LAST:0.5:6:700  RRA:LAST:0.5:24:775  RRA:LAST:0.5:288:797  
05/12/2005 10:30:29 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_cpu_237.rrd --template cpu N:97
05/12/2005 10:30:29 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/flowf01_load_1min_218.rrd --template load_1min 1115886600:0.57
05/12/2005 10:30:29 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/flowf01_load_15min_219.rrd --template load_15min 1115886600:0.18
05/12/2005 10:30:29 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/flowf01_load_5min_220.rrd --template load_5min 1115886600:0.23
05/12/2005 10:30:29 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/flowf01_mem_buffers_221.rrd --template mem_buffers 1115886600:271880
05/12/2005 10:30:29 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/flowf01_cpu_nice_215.rrd --template cpu_nice 1115886600:136395
05/12/2005 10:30:31 AM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get used 5, output: 616890368
05/12/2005 10:30:31 AM - PHPSVR: Poller[0] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get used 5 output 616890368
05/12/2005 10:30:31 AM - PHPSVR: Poller[0] DEBUG: INCLUDE: '/usr/local/share/cacti/scripts/ss_host_disk.php' SCRIPT: 'ss_host_disk' CMD: 'xxxx.uni-giessen.de public 1 13 161 500 get total 5'
05/12/2005 10:30:31 AM - PHPSVR: Poller[0] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get total 5 output 6280839168
05/12/2005 10:30:31 AM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get total 5, output: 6280839168
05/12/2005 10:30:31 AM - PHPSVR: Poller[0] DEBUG: INCLUDE: '/usr/local/share/cacti/scripts/ss_host_disk.php' SCRIPT: 'ss_host_disk' CMD: 'xxxx.uni-giessen.de public 1 13 161 500 get total 3'
05/12/2005 10:30:31 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_hdd_total_236.rrd --template hdd_total:hdd_used 1115886600:6280839168:616890368
05/12/2005 10:30:31 AM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get total 3, output: 8801046528
05/12/2005 10:30:31 AM - PHPSVR: Poller[0] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get total 3 output 8801046528
05/12/2005 10:30:31 AM - PHPSVR: Poller[0] DEBUG: INCLUDE: '/usr/local/share/cacti/scripts/ss_host_disk.php' SCRIPT: 'ss_host_disk' CMD: 'xxxx.uni-giessen.de public 1 13 161 500 get total 2'
05/12/2005 10:30:31 AM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get total 2, output: 64428617728
05/12/2005 10:30:31 AM - PHPSVR: Poller[0] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get total 2 output 64428617728
05/12/2005 10:30:31 AM - CMDPHP: Poller[0] Host[13] SNMP: v1: xxxx.uni-giessen.de, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: 4
05/12/2005 10:30:31 AM - PHPSVR: Poller[0] DEBUG: INCLUDE: '/usr/local/share/cacti/scripts/ss_host_disk.php' SCRIPT: 'ss_host_disk' CMD: 'xxxx.uni-giessen.de public 1 13 161 500 get used 3'
05/12/2005 10:30:32 AM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get used 3, output: 4340776960
05/12/2005 10:30:32 AM - PHPSVR: Poller[0] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get used 3 output 4340776960
05/12/2005 10:30:32 AM - CMDPHP: Poller[0] Host[13] SNMP: v1: xxxx.uni-giessen.de, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 50
05/12/2005 10:30:32 AM - PHPSVR: Poller[0] DEBUG: INCLUDE: '/usr/local/share/cacti/scripts/ss_host_disk.php' SCRIPT: 'ss_host_disk' CMD: 'xxxx.uni-giessen.de public 1 13 161 500 get used 2'
05/12/2005 10:30:32 AM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get used 2, output: 32285922816
05/12/2005 10:30:32 AM - PHPSVR: Poller[0] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get used 2 output 32285922816
05/12/2005 10:30:32 AM - CMDPHP: Poller[0] Host[13] SNMP: v1: xxxx.uni-giessen.de, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 6596991
05/12/2005 10:30:32 AM - CMDPHP: Poller[0] Host[13] SNMP: v1: xxxx.uni-giessen.de, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 6596991
05/12/2005 10:30:32 AM - PHPSVR: Poller[0] DEBUG: INCLUDE: '/usr/local/share/cacti/scripts/ss_host_cpu.php' SCRIPT: 'ss_host_cpu' CMD: 'xxxx.uni-giessen.de public 1 161 500 get usage 3'
05/12/2005 10:30:32 AM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_cpu.php ss_host_cpu xxxx.uni-giessen.de public 1 161 500 get usage 3, output: 99
05/12/2005 10:30:32 AM - PHPSVR: Poller[0] SERVER: /usr/local/share/cacti/scripts/ss_host_cpu.php ss_host_cpu xxxx.uni-giessen.de public 1 161 500 get usage 3 output 99
05/12/2005 10:30:32 AM - CMDPHP: Poller[0] Host[13] SNMP: v1: xxxx.uni-giessen.de, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.16777219, output: 2904292769
05/12/2005 10:30:32 AM - CMDPHP: Poller[0] Host[13] SNMP: v1: xxxx.uni-giessen.de, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.16777219, output: 2442966733
05/12/2005 10:30:32 AM - PHPSVR: Poller[0] DEBUG: INCLUDE: '/usr/local/share/cacti/scripts/ss_host_cpu.php' SCRIPT: 'ss_host_cpu' CMD: 'xxxx.uni-giessen.de public 1 161 500 get usage 1'
05/12/2005 10:30:32 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_traffic_in_242.rrd --template traffic_out:traffic_in 1115886600:2442966733:2904292769
05/12/2005 10:30:32 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool create /usr/local/share/cacti/rra/spyf01_cpu_240.rrd   --step 300   DS:cpu:GAUGE:600:0:100  DS:cpu:GAUGE:600:0:100  RRA:AVERAGE:0.5:1:600  RRA:AVERAGE:0.5:6:700  RRA:AVERAGE:0.5:24:775  RRA:AVERAGE:0.5:288:797  RRA:MAX:0.5:1:600  RRA:MAX:0.5:6:700  RRA:MAX:0.5:24:775  RRA:MAX:0.5:288:797  RRA:LAST:0.5:1:600  RRA:LAST:0.5:6:700  RRA:LAST:0.5:24:775  RRA:LAST:0.5:288:797  
05/12/2005 10:30:32 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_cpu_240.rrd --template cpu N:99
05/12/2005 10:30:32 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_traffic_in_241.rrd --template traffic_out:traffic_in 1115886600:6596991:6596991
05/12/2005 10:30:32 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_proc_233.rrd --template proc 1115886600:50
05/12/2005 10:30:32 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_hdd_total_234.rrd --template hdd_used:hdd_total 1115886600:32285922816:64428617728
05/12/2005 10:30:32 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_hdd_total_235.rrd --template hdd_used:hdd_total 1115886600:4340776960:8801046528
05/12/2005 10:30:32 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_users_232.rrd --template users 1115886600:4
05/12/2005 10:30:32 AM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_cpu.php ss_host_cpu xxxx.uni-giessen.de public 1 161 500 get usage 1, output: 99
05/12/2005 10:30:32 AM - PHPSVR: Poller[0] SERVER: /usr/local/share/cacti/scripts/ss_host_cpu.php ss_host_cpu xxxx.uni-giessen.de public 1 161 500 get usage 1 output 99
05/12/2005 10:30:32 AM - PHPSVR: Poller[0] DEBUG: INCLUDE: '/usr/local/share/cacti/scripts/ss_host_cpu.php' SCRIPT: 'ss_host_cpu' CMD: 'xxxx.uni-giessen.de public 1 161 500 get usage 2'
05/12/2005 10:30:33 AM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_cpu.php ss_host_cpu xxxx.uni-giessen.de public 1 161 500 get usage 2, output: 98
05/12/2005 10:30:33 AM - PHPSVR: Poller[0] SERVER: /usr/local/share/cacti/scripts/ss_host_cpu.php ss_host_cpu xxxx.uni-giessen.de public 1 161 500 get usage 2 output 98
05/12/2005 10:30:33 AM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
05/12/2005 10:30:33 AM - CMDPHP: Poller[0] Time: 32.3486 s, Theads: N/A, Hosts: 7
05/12/2005 10:30:33 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool create /usr/local/share/cacti/rra/spyf01_cpu_239.rrd   --step 300   DS:cpu:GAUGE:600:0:100  DS:cpu:GAUGE:600:0:100  RRA:AVERAGE:0.5:1:600  RRA:AVERAGE:0.5:6:700  RRA:AVERAGE:0.5:24:775  RRA:AVERAGE:0.5:288:797  RRA:MAX:0.5:1:600  RRA:MAX:0.5:6:700  RRA:MAX:0.5:24:775  RRA:MAX:0.5:288:797  RRA:LAST:0.5:1:600  RRA:LAST:0.5:6:700  RRA:LAST:0.5:24:775  RRA:LAST:0.5:288:797  
05/12/2005 10:30:33 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_cpu_239.rrd --template cpu N:98
05/12/2005 10:30:33 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool create /usr/local/share/cacti/rra/spyf01_cpu_238.rrd   --step 300   DS:cpu:GAUGE:600:0:100  DS:cpu:GAUGE:600:0:100  RRA:AVERAGE:0.5:1:600  RRA:AVERAGE:0.5:6:700  RRA:AVERAGE:0.5:24:775  RRA:AVERAGE:0.5:288:797  RRA:MAX:0.5:1:600  RRA:MAX:0.5:6:700  RRA:MAX:0.5:24:775  RRA:MAX:0.5:288:797  RRA:LAST:0.5:1:600  RRA:LAST:0.5:6:700  RRA:LAST:0.5:24:775  RRA:LAST:0.5:288:797  
05/12/2005 10:30:33 AM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_cpu_238.rrd --template cpu N:99
05/12/2005 10:30:33 AM - SYSTEM STATS: Time: 33.3039 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 8, Hosts/Process: 8
The /usr/local/share/cacti/rra/spyf01_cpu_*.rrd files do not exist.
I changed the permissions of /usr/local/share/cacti/rra/ to read/write for all users, but no spyf01_cpu_* is created.
Cacti 0.8.6c on FreeBSD 3.5
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Please run cmd.php or Cactid directly from command line once in debug, and then do the same for poller.php. In addition, review your poller cache to determine if the entries exist. If you do these things you will get some sense of the problem.

TheWintess
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
rocco
Posts: 4
Joined: Wed May 11, 2005 7:35 am
Location: Germany

ERROR: Duplicate DS name: cpu

Post by rocco »

cmd.php

Code: Select all

05/12/2005 01:17:38 PM - CMDPHP: Poller[0] Host[13] SNMP: Host responded to SNMP
05/12/2005 01:17:38 PM - CMDPHP: Poller[0] Host[13] RECACHE: Processing 3 items in the auto reindex cache for 'xxxx.uni-giessen.de'.
05/12/2005 01:17:38 PM - CMDPHP: Poller[0] Host[13] SNMP: v1: xxxx.uni-giessen.de, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: 4
05/12/2005 01:17:38 PM - CMDPHP: Poller[0] Host[13] SNMP: v1: xxxx.uni-giessen.de, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 50
05/12/2005 01:17:41 PM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get used 2, output: 32313084416
05/12/2005 01:17:41 PM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get total 2, output: 64428617728
05/12/2005 01:17:41 PM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get total 3, output: 8801046528
05/12/2005 01:17:41 PM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get used 3, output: 4340776960
05/12/2005 01:17:41 PM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get used 5, output: 616300544
05/12/2005 01:17:41 PM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_disk.php ss_host_disk xxxx.uni-giessen.de public 1 13 161 500 get total 5, output: 6280839168
05/12/2005 01:17:41 PM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_cpu.php ss_host_cpu xxxx.uni-giessen.de public 1 161 500 get usage 0, output: 96
05/12/2005 01:17:41 PM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_cpu.php ss_host_cpu xxxx.uni-giessen.de public 1 161 500 get usage 1, output: 99
05/12/2005 01:17:42 PM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_cpu.php ss_host_cpu xxxx.uni-giessen.de public 1 161 500 get usage 2, output: 98
05/12/2005 01:17:42 PM - CMDPHP: Poller[0] Host[13] SERVER: /usr/local/share/cacti/scripts/ss_host_cpu.php ss_host_cpu xxxx.uni-giessen.de public 1 161 500 get usage 3, output: 99
05/12/2005 01:17:42 PM - CMDPHP: Poller[0] Host[13] SNMP: v1: xxxx.uni-giessen.de, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 6834510
05/12/2005 01:17:42 PM - CMDPHP: Poller[0] Host[13] SNMP: v1: xxxx.uni-giessen.de, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 6834510
05/12/2005 01:17:42 PM - CMDPHP: Poller[0] Host[13] SNMP: v1: xxxx.uni-giessen.de, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.16777219, output: 2981612757
05/12/2005 01:17:42 PM - CMDPHP: Poller[0] Host[13] SNMP: v1: xxxx.uni-giessen.de, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.16777219, output: 2502672923
poller.php

Code: Select all

05/12/2005 01:18:21 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_hdd_total_235.rrd --template hdd_total:hdd_used 1115896673:8801046528:4340776960
OK u:0.03 s:0.10 r:28.95
05/12/2005 01:18:21 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_traffic_in_241.rrd --template traffic_out:traffic_in 1115896673:6834966:6834966
OK u:0.03 s:0.10 r:28.95
05/12/2005 01:18:21 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool create /usr/local/share/cacti/rra/spyf01_cpu_240.rrd   --step 300   DS:cpu:GAUGE:600:0:100  DS:cpu:GAUGE:600:0:100  RRA:AVERAGE:0.5:1:600  RRA:AVERAGE:0.5:6:700  RRA:AVERAGE:0.5:24:775  RRA:AVERAGE:0.5:288:797  RRA:MAX:0.5:1:600  RRA:MAX:0.5:6:700  RRA:MAX:0.5:24:775  RRA:MAX:0.5:288:797  RRA:LAST:0.5:1:600  RRA:LAST:0.5:6:700  RRA:LAST:0.5:24:775  RRA:LAST:0.5:288:797  
ERROR: Duplicate DS name: cpu
OK u:0.03 s:0.10 r:28.96
05/12/2005 01:18:21 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_cpu_240.rrd --template cpu N:98
ERROR: opening '/usr/local/share/cacti/rra/spyf01_cpu_240.rrd': No such file or directory
OK u:0.03 s:0.10 r:28.96
05/12/2005 01:18:21 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool create /usr/local/share/cacti/rra/spyf01_cpu_239.rrd   --step 300   DS:cpu:GAUGE:600:0:100  DS:cpu:GAUGE:600:0:100  RRA:AVERAGE:0.5:1:600  RRA:AVERAGE:0.5:6:700  RRA:AVERAGE:0.5:24:775  RRA:AVERAGE:0.5:288:797  RRA:MAX:0.5:1:600  RRA:MAX:0.5:6:700  RRA:MAX:0.5:24:775  RRA:MAX:0.5:288:797  RRA:LAST:0.5:1:600  RRA:LAST:0.5:6:700  RRA:LAST:0.5:24:775  RRA:LAST:0.5:288:797  
ERROR: Duplicate DS name: cpu
OK u:0.03 s:0.10 r:28.97
05/12/2005 01:18:21 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_cpu_239.rrd --template cpu N:97
ERROR: opening '/usr/local/share/cacti/rra/spyf01_cpu_239.rrd': No such file or directory
OK u:0.03 s:0.10 r:28.98
05/12/2005 01:18:21 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool create /usr/local/share/cacti/rra/spyf01_cpu_238.rrd   --step 300   DS:cpu:GAUGE:600:0:100  DS:cpu:GAUGE:600:0:100  RRA:AVERAGE:0.5:1:600  RRA:AVERAGE:0.5:6:700  RRA:AVERAGE:0.5:24:775  RRA:AVERAGE:0.5:288:797  RRA:MAX:0.5:1:600  RRA:MAX:0.5:6:700  RRA:MAX:0.5:24:775  RRA:MAX:0.5:288:797  RRA:LAST:0.5:1:600  RRA:LAST:0.5:6:700  RRA:LAST:0.5:24:775  RRA:LAST:0.5:288:797  
ERROR: Duplicate DS name: cpu
OK u:0.03 s:0.10 r:28.99
05/12/2005 01:18:21 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_cpu_238.rrd --template cpu N:99
ERROR: opening '/usr/local/share/cacti/rra/spyf01_cpu_238.rrd': No such file or directory
OK u:0.03 s:0.10 r:28.99
05/12/2005 01:18:22 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool create /usr/local/share/cacti/rra/spyf01_cpu_237.rrd   --step 300   DS:cpu:GAUGE:600:0:100  DS:cpu:GAUGE:600:0:100  RRA:AVERAGE:0.5:1:600  RRA:AVERAGE:0.5:6:700  RRA:AVERAGE:0.5:24:775  RRA:AVERAGE:0.5:288:797  RRA:MAX:0.5:1:600  RRA:MAX:0.5:6:700  RRA:MAX:0.5:24:775  RRA:MAX:0.5:288:797  RRA:LAST:0.5:1:600  RRA:LAST:0.5:6:700  RRA:LAST:0.5:24:775  RRA:LAST:0.5:288:797  
ERROR: Duplicate DS name: cpu
OK u:0.03 s:0.10 r:29.00
05/12/2005 01:18:22 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_cpu_237.rrd --template cpu N:96
ERROR: opening '/usr/local/share/cacti/rra/spyf01_cpu_237.rrd': No such file or directory
OK u:0.03 s:0.10 r:29.00
05/12/2005 01:18:22 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_hdd_total_236.rrd --template hdd_total:hdd_used 1115896673:6280839168:616300544
OK u:0.03 s:0.10 r:29.00
05/12/2005 01:18:23 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool update /usr/local/share/cacti/rra/spyf01_traffic_in_242.rrd --template traffic_in:traffic_out 1115896673:2981762925:2502675697
OK u:0.03 s:0.10 r:30.01
"ERROR: Duplicate DS name: cpu" seems to be the reason why there is no file being created, right?

poller cache

Code: Select all

Data Source: SPYF01 - CPU Utilization - CPU2
RRD: /usr/local/share/cacti/rra/spyf01_cpu_239.rrd
Action: 2, Script: /usr/local/share/cacti/scripts/ss_host_cpu.php ss_host_cpu xxxx.uni-giessen.de public 1 161 500 get usage 2
Data Source: SPYF01 - CPU Utilization - CPU1
RRD: /usr/local/share/cacti/rra/spyf01_cpu_238.rrd
Action: 2, Script: /usr/local/share/cacti/scripts/ss_host_cpu.php ss_host_cpu xxxx.uni-giessen.de public 1 161 500 get usage 1
Data Source: SPYF01 - CPU Utilization - CPU3
RRD: /usr/local/share/cacti/rra/spyf01_cpu_240.rrd
Action: 2, Script: /usr/local/share/cacti/scripts/ss_host_cpu.php ss_host_cpu xxxx.uni-giessen.de public 1 161 500 get usage 3
Data Source: SPYF01 - CPU Utilization - CPU0
RRD: /usr/local/share/cacti/rra/spyf01_cpu_237.rrd
Action: 2, Script: /usr/local/share/cacti/scripts/ss_host_cpu.php ss_host_cpu xxxx.uni-giessen.de public 1 161 500 get usage 0
Cacti 0.8.6c on FreeBSD 3.5
rocco
Posts: 4
Joined: Wed May 11, 2005 7:35 am
Location: Germany

Hey, it's working now!

Post by rocco »

I checked the data template "Host MIB - CPU Utilization" again and discovered that there were two data source items, named both "cpu".

I deleted one of them, now rrdtool is working!

Why are there two items?
Any need for two?
Or maybe I added one accidently while making my first steps with cacti...

Nice! Many thanks for your help!
Cacti 0.8.6c on FreeBSD 3.5
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It's a nasty bug, that none of the developer have been able to track down. Our intent is to change the database structure in the next release to separate templates and data into separate table structures.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests