Possible Graphing Issues.

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

Moderators: Developers, Moderators

User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

for some reason the RRD's aren't getting created????
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Hmmm, weird the are not getting created. I now notice that that there was no cacti2rrd portion in that debug output. Not sure if thats simply becaues you only ran cmd.php though (though that did it).

It still bothers me that you're unable to get a real debug output straight from cacti. Meaning, no web events being spit out (rrdtool graph etc) and only events related to the cacti process running. That would be the sure fire way to make sure everything is working.

You have the path to rrdtool set up properly?

I'm still in college in oregon. Finals are next week, so it'd have to wait till the following weekend.
User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

All paths look good...

Any other ideas as to why I see this @ the cmd prompt?

Waiting on 1/1 pollers. (until the process terminates)

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

Post by BSOD2600 »

No idea on the cause or fix for the waiting pollers. I've gotten that simular problem before 2x (runaway cacti processes would kill the computer). They eventually went away after a while. TheWitness and myself could never track it down.

What extra non-cacti included scripts are you running?
Tried increasing cmd.php to 2 pollers?
User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

Does this help at all? (I'm noticing an ERROR?)

06/03/2005 03:12:15 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php-win.exe, ARGS: -q c:\http\cacti/cmd.php 0 3]
06/03/2005 03:12:15 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php-win.exe, ARGS: -q c:\http\cacti/cmd.php 4 5]
06/03/2005 03:12:17 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
06/03/2005 03:12:18 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
06/03/2005 03:12:18 PM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/php
06/03/2005 03:12:18 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/http/cacti
06/03/2005 03:12:18 PM - PHPSVR: Poller[0] DEBUG: FILENM: c:\HTTP\cacti\script_server.php
06/03/2005 03:12:18 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
06/03/2005 03:12:18 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
06/03/2005 03:12:18 PM - CMDPHP: Poller[0] Host[3] SNMP: Host responded to SNMP
06/03/2005 03:12:18 PM - CMDPHP: Poller[0] Host[3] RECACHE: Processing 1 items in the auto reindex cache for '192.168.1.1'.
06/03/2005 03:12:18 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 1432217718
06/03/2005 03:12:18 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 2024603329
06/03/2005 03:12:18 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 1491689850
06/03/2005 03:12:18 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 706916363
06/03/2005 03:12:18 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
06/03/2005 03:12:18 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe create C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_11.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 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
06/03/2005 03:12:18 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_11.rrd --template traffic_in:traffic_out N:1432217718:2024603329
06/03/2005 03:12:18 PM - CMDPHP: Poller[0] Time: 1.6717 s, Theads: N/A, Hosts: 1
06/03/2005 03:12:19 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe create C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_12.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 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
06/03/2005 03:12:19 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_12.rrd --template traffic_out:traffic_in N:706916363:1491689850
06/03/2005 03:12:19 PM - SYSTEM STATS: Time: 4.3082 s, Method: cmd.php, Processes: 2, Threads: N/A, Hosts: 4, Hosts/Process: 2
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

woohoo, finally the debug output I've been looking for :)

1) do you have polling disabled, like the error message says?
2) Looks like rrdtool tries to create the rrd files. But since the files do not exist, it sounds like there is a permission problem. Double checked the NTFS security?
3) I forgot, what rrdtool version are you using?
User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

nope... poller is enabled.

I've double-check my perms, and they look good.

I'm running rrdtool, which I grabed here under the win32 distro... the file / date stamp is 5.28.05.

I feel like I'm real close here.... :-?

Rob
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If you are talking of the Win32 distro on the rrdtool.org web site, it is not currently compatible with Cacti. It has issues with a certain form of the update syntax. Try the distribution under the following: http://www.cacti.net/downloads

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?
User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

I've got the distro to the link you provided...

Rob
User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

I enabled some object tracking / auditing on the cacti/rra folder... I can see where the scheduled task access this folder; however the process never tries to write, just read?

Rob
User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

Here's some additional data from FileMon (a sysinternal.com tool)

php-win never appears to write, just queries for files that don't exist?

Rob

1 1:11:05 PM php-win.exe:1980 QUERY INFORMATION C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_11.rrd NOT FOUND Attributes: Error
2 1:11:05 PM php-win.exe:1980 QUERY INFORMATION C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_11.rrd NOT FOUND Attributes: Error
3 1:11:05 PM php-win.exe:1980 OPEN C:\HTTP\cacti\rra\ SUCCESS Options: Open Directory Access: All
4 1:11:05 PM php-win.exe:1980 DIRECTORY C:\HTTP\cacti\rra\ NO SUCH FILE FileBothDirectoryInformation: stage_t1_netopia_traffic_in_11.rrd
5 1:11:05 PM php-win.exe:1980 CLOSE C:\HTTP\cacti\rra\ SUCCESS
6 1:11:05 PM php-win.exe:1980 QUERY INFORMATION C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_11.rrd NOT FOUND Attributes: Error
7 1:11:05 PM php-win.exe:1980 QUERY INFORMATION C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_11.rrd NOT FOUND Attributes: Error
8 1:11:05 PM php-win.exe:1980 OPEN C:\HTTP\cacti\rra\ SUCCESS Options: Open Directory Access: All
9 1:11:05 PM php-win.exe:1980 DIRECTORY C:\HTTP\cacti\rra\ NO SUCH FILE FileBothDirectoryInformation: stage_t1_netopia_traffic_in_11.rrd
10 1:11:05 PM php-win.exe:1980 CLOSE C:\HTTP\cacti\rra\ SUCCESS
11 1:11:05 PM rrdtool.exe:3832 QUERY INFORMATION C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_11.rrd NOT FOUND Attributes: Error
12 1:11:05 PM rrdtool.exe:3832 QUERY INFORMATION C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_11.rrd.lnk NOT FOUND Attributes: Error
13 1:11:05 PM rrdtool.exe:3832 QUERY INFORMATION C:\HTTP\cacti\rra SUCCESS Attributes: D
14 1:11:05 PM rrdtool.exe:3832 OPEN C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_11.rrd NOT FOUND Options: Open Access: All
15 1:11:05 PM php-win.exe:1980 QUERY INFORMATION C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_12.rrd NOT FOUND Attributes: Error
16 1:11:05 PM php-win.exe:1980 QUERY INFORMATION C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_12.rrd NOT FOUND Attributes: Error
17 1:11:05 PM php-win.exe:1980 OPEN C:\HTTP\cacti\rra\ SUCCESS Options: Open Directory Access: All
18 1:11:05 PM php-win.exe:1980 DIRECTORY C:\HTTP\cacti\rra\ NO SUCH FILE FileBothDirectoryInformation: stage_t1_netopia_traffic_in_12.rrd
19 1:11:05 PM php-win.exe:1980 CLOSE C:\HTTP\cacti\rra\ SUCCESS
20 1:11:05 PM php-win.exe:1980 QUERY INFORMATION C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_12.rrd NOT FOUND Attributes: Error
21 1:11:05 PM php-win.exe:1980 QUERY INFORMATION C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_12.rrd NOT FOUND Attributes: Error
22 1:11:05 PM php-win.exe:1980 OPEN C:\HTTP\cacti\rra\ SUCCESS Options: Open Directory Access: All
23 1:11:05 PM php-win.exe:1980 DIRECTORY C:\HTTP\cacti\rra\ NO SUCH FILE FileBothDirectoryInformation: stage_t1_netopia_traffic_in_12.rrd
24 1:11:05 PM php-win.exe:1980 CLOSE C:\HTTP\cacti\rra\ SUCCESS
25 1:11:05 PM rrdtool.exe:3832 QUERY INFORMATION C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_12.rrd NOT FOUND Attributes: Error
26 1:11:05 PM rrdtool.exe:3832 QUERY INFORMATION C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_12.rrd.lnk NOT FOUND Attributes: Error
27 1:11:05 PM rrdtool.exe:3832 QUERY INFORMATION C:\HTTP\cacti\rra SUCCESS Attributes: D
28 1:11:05 PM rrdtool.exe:3832 OPEN C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_12.rrd NOT FOUND Options: Open Access: All
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Rename your folder from upper case letters to lower case and see if that fixes it. So, instead of C:\HTTP\... make it c:\http\... I did this because of a PHP bug in 5.0.x. I may be able to remove that code, but has of yet not tested.

You also need to change the paths in Settings->Paths as well.

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?
User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

still no dice... see changes in the log:

06/04/2005 01:30:31 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php-win.exe, ARGS: -q c:\http\cacti/cmd.php 0 3]
06/04/2005 01:30:31 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: c:/php/php-win.exe, ARGS: -q c:\http\cacti/cmd.php 4 5]
06/04/2005 01:30:33 PM - CMDPHP: Poller[0] ERROR: Either there are no items in the cache or polling is disabled
06/04/2005 01:30:34 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd
06/04/2005 01:30:34 PM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/php
06/04/2005 01:30:34 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/http/cacti
06/04/2005 01:30:34 PM - PHPSVR: Poller[0] DEBUG: FILENM: c:\http\cacti\script_server.php
06/04/2005 01:30:34 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd
06/04/2005 01:30:34 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
06/04/2005 01:30:34 PM - CMDPHP: Poller[0] Host[3] SNMP: Host responded to SNMP
06/04/2005 01:30:34 PM - CMDPHP: Poller[0] Host[3] RECACHE: Processing 1 items in the auto reindex cache for '192.168.1.1'.
06/04/2005 01:30:34 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 643528031
06/04/2005 01:30:34 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 1835315131
06/04/2005 01:30:34 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.1.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 1098751699
06/04/2005 01:30:34 PM - CMDPHP: Poller[0] Host[3] SNMP: v1: 192.168.1.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 107454634
06/04/2005 01:30:34 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting
06/04/2005 01:30:35 PM - CMDPHP: Poller[0] Time: 1.6460 s, Theads: N/A, Hosts: 1
06/04/2005 01:30:35 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe create C:\http\cacti/rra/stage_t1_netopia_traffic_in_11.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 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
06/04/2005 01:30:35 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_11.rrd --template traffic_out:traffic_in N:643528031:1835315131
06/04/2005 01:30:35 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe create C:\http\cacti/rra/stage_t1_netopia_traffic_in_12.rrd --step 300 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_in:COUNTER:600:0:100000000 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
06/04/2005 01:30:35 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe update C:\HTTP\cacti\rra\stage_t1_netopia_traffic_in_12.rrd --template traffic_out:traffic_in N:1098751699:107454634
06/04/2005 01:30:35 PM - SYSTEM STATS: Time: 4.1851 s, Method: cmd.php, Processes: 2, Threads: N/A, Hosts: 4, Hosts/Process: 2

another possible find here is that I tried running one of the commands from the log above, manually @ a CMD prompt... this is what I got back.

C:\>c:/rrdtool/rrdtool.exe create C:\HTTP\cacti/rra/stage_t1_netopia_traffic_in_
11.rrd --step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUN
TER:600:0:100000000 DS:traffic_out:COUNTER:600:0:100000000 DS:traffic_in:COUNT
ER:600:0:100000000 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
ERROR: Duplicate DS name: traffic_out
User avatar
TheWitness
Developer
Posts: 17061
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Ahh, you have the infamous Duplate DS issue. You need to edit the Data Template "Interface - Traffic". There you will find a tabbed interface. You will find multiple "traffic_in" and "traffic_out" tabs.

To correct this situation, hover over each red X on the tabbed interface and note your status bar. In there, you will find "id=x". You need to delete all duplicate DS's with the exception of id=54 and id=55.

This will correct the problem. We are working searching on the source of this problem for some time and received a clue last week from a user. The author of Cacti is looking at that problem and likely providing a permanent fix for the 0.8.6 product line.

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?
User avatar
rsherrard
Posts: 34
Joined: Thu May 26, 2005 7:57 pm
Location: Seattle, WA

Post by rsherrard »

Where do I delete these items?

Rob
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests