rrd files problem

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

Moderators: Developers, Moderators

Post Reply
waxaw
Posts: 9
Joined: Mon Apr 24, 2006 9:01 am

rrd files problem

Post by waxaw »

Hi all,

1. I read The windows Installation Guide ( it's a good guide thx)
2. FAQ too
3. patch ok
4. Operating System:
Webserver: Apache-2.0.55
Cacti: cacti-0.8.6h
Cactid: cactid-0.8.6g
MySQL: mysql-essential-5.0.20
PHP: php-5.1.2
RRDTool: rrdtool-cygwin-1.2.9
Net-SNMP: net-snmp-5.1.4
Cygwin: nop

5. The installation is "good". I'll try to make : \cacti_root\php poller.php but it doesn't work. I've got this :
waxaw
Posts: 9
Joined: Mon Apr 24, 2006 9:01 am

Post by waxaw »

... Sorry i've got problem too with the forum. It's not a good day for me... :-? Can you delete these blank messages... Thx
Last edited by waxaw on Mon Apr 24, 2006 10:16 am, edited 1 time in total.
waxaw
Posts: 9
Joined: Mon Apr 24, 2006 9:01 am

Post by waxaw »

sorry
Last edited by waxaw on Mon Apr 24, 2006 10:13 am, edited 1 time in total.
waxaw
Posts: 9
Joined: Mon Apr 24, 2006 9:01 am

Post by waxaw »

C:\Apache Group\Apache2\htdocs\cacti>php c:\apache~1\apache2\htdocs\cacti\poller
.php
04/24/2006 04:15:35 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/cacti/cactid.exe, ARGS: 0 4]
'/start' n'est pas reconnu en tant que commande interne
ou externe, un programme ex?cutable ou un fichier de commandes.
Waiting on 1/1 pollers.
'/rrdtool.exe' n'est pas reconnu en tant que commande interne
ou externe, un programme ex?cutable ou un fichier de commandes.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
I'll try this because i'didn't know if Cacti is collecting valid data :
C:\Apache Group\Apache2\htdocs\cacti>php c:\apache~1\apache2\htdocs\cacti\cmd.ph
p
04/24/2006 04:17:29 PM - CMDPHP: Poller[0] Host[4] SNMP: Host responded to SNMP
04/24/2006 04:17:29 PM - CMDPHP: Poller[0] Host[4] RECACHE: Processing 1 items i
n the auto reindex cache for '10.181.2.1'.
04/24/2006 04:17:29 PM - CMDPHP: Poller[0] Host[4] DS[12] SNMP: v1: 10.181.2.1,
dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 3511817197
04/24/2006 04:17:29 PM - CMDPHP: Poller[0] Host[4] DS[12] SNMP: v1: 10.181.2.1,
dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 247396785
04/24/2006 04:17:29 PM - CMDPHP: Poller[0] Host[4] DS[13] SNMP: v1: 10.181.2.1,
dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 2825462537
04/24/2006 04:17:29 PM - CMDPHP: Poller[0] Host[4] DS[13] SNMP: v1: 10.181.2.1,
dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 2082228907
04/24/2006 04:17:29 PM - CMDPHP: Poller[0] Time: 0.2559 s, Theads: N/A, Hosts: 1


I received data from a switch In/out over 2 ports.

After i retry this :
C:\Apache Group\Apache2\htdocs\cacti>php c:\apache~1\apache2\htdocs\cacti\poller
.php
04/24/2006 04:19:11 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/cacti/cactid.exe, ARGS: 0 4]
'/start' n'est pas reconnu en tant que commande interne
ou externe, un programme ex?cutable ou un fichier de commandes.
Waiting on 1/1 pollers.
'/rrdtool.exe' n'est pas reconnu en tant que commande interne
ou externe, un programme ex?cutable ou un fichier de commandes.
04/24/2006 04:19:12 PM - POLLER: Poller[0] CACTI2RRD: c:/cacti/rrdtool.exe creat
e c:/Apache Group/Apache2/htdocs/cacti/rra/switch_hp_2524_test_traffic_in_12.rrd
--step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:60
0: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
04/24/2006 04:19:12 PM - POLLER: Poller[0] CACTI2RRD: c:/cacti/rrdtool.exe updat
e C:\Apache Group\Apache2\htdocs\cacti\rra\switch_hp_2524_test_traffic_in_12.rrd
--template traffic_out:traffic_in N:3511817197:247396785
04/24/2006 04:19:12 PM - POLLER: Poller[0] CACTI2RRD: c:/cacti/rrdtool.exe creat
e c:/Apache Group/Apache2/htdocs/cacti/rra/switch_hp_2524_test_traffic_in_13.rrd
--step 300 DS:traffic_in:COUNTER:600:0:100000000 DS:traffic_out:COUNTER:60
0: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
04/24/2006 04:19:12 PM - POLLER: Poller[0] CACTI2RRD: c:/cacti/rrdtool.exe updat
e C:\Apache Group\Apache2\htdocs\cacti\rra\switch_hp_2524_test_traffic_in_13.rrd
--template traffic_out:traffic_in N:2825462537:2082228907
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
I don't know where is the problem... I haven't got .rrd files in cacti_root/rra. (I checked permission with filemon. It's good.)

What is "'/start' n'est pas reconnu en tant que commande interne" and '/rrdtools.exe' n'est pas reconnu en tant que commande interne"

Have you got an idea ?

Thx for all... and sorry for my english. :wink:
Attachments
Cacti_debug Log File .txt
(11.69 KiB) Downloaded 320 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

waxaw wrote:What is "'/start' n'est pas reconnu en tant que commande interne" and '/rrdtools.exe' n'est pas reconnu en tant que commande interne"
I don't read french (or whatever it is) so I can't tell you exactly.

1) You cannot use cacti with a filepath that has spaces. 'c:/Apache Group/Apache2/htdocs/cacti' will not work.

2) Considering rrdtool is constantly trying to create the rrd files, it looks like you do not have permissions properly set up for the user running the scheduled task on your /cacti/log and /cacti/rrd folders.

3) Make sure you're using the FULL path to all the programs in Cacti -> Settings -> Paths.
waxaw
Posts: 9
Joined: Mon Apr 24, 2006 9:01 am

Post by waxaw »

1. I changed the apache's path. Now i use : 'c:/Apache2/htdocs/cacti'

2. I try to do this :
c:/cacti/rrdtool.exe creat
e c:/Apache2/htdocs/cacti/rra/switch_hp_2524_test_traffic_in_16.rrd --step 300
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:AVER
AGE:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:M
AX:0.5:288:797
I've got the file on the good directory with my account.

2.I checked permission, all is ok. I scheduled a task with my (admin)account but it doesn't work. I have always got :
04/24/2006 04:15:35 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/cacti/cactid.exe, ARGS: 0 4]
'/start' n'est pas reconnu en tant que commande interne
ou externe, un programme ex?cutable ou un fichier de commandes.
Waiting on 1/1 pollers.
'/rrdtool.exe' n'est pas reconnu en tant que commande interne
ou externe, un programme ex?cutable ou un fichier de commandes.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
In english:

' / start ' is not recognized as internal or external command, a feasible program or a file of commands.'
' / rrdtools.exe ' is not recognized as internal or external command, a feasible program or a file of commands.'

I moved all php DLL's to the c:\winnt\system32 directory.

3. I checked the path in cacti settings, they're good. There are the same path on the guide.

I try with cactid and cmd poller method, i've got the same thing.
waxaw
Posts: 9
Joined: Mon Apr 24, 2006 9:01 am

Post by waxaw »

Ok :P All is done !!

In fact, it's SAFE_MODE = ON (in php.ini) who makes this error. So i turned it OFF and i restarted my apache server. It's good now.

Thanx for your help !
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests