When trying to get poller to work (to generate RRD databases and graphs), I am getting the following error:
Content-type: text/html
X-Powered-By: PHP/4.3.9
06/11/2007 03:36:21 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /var/www/html/cacti/cmd.php 0 2]
Waiting on 1/1 pollers.
06/11/2007 03:36:22 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.09' [map 1min->load_1min]
06/11/2007 03:36:22 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.04' [map 5min->load_5min]
06/11/2007 03:36:22 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.01' [map 10min->load_15min]
06/11/2007 03:36:22 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_users_6.rrd --template users 1181594181:6
06/11/2007 03:36:22 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_proc_7.rrd --template proc 1181594181:135
OK u:0.00 s:0.00 r:0.01
OK u:0.00 s:0.00 r:0.01
06/11/2007 03:36:22 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_load_1min_5.rrd --template load_1min:load_5min:load_15min 1181594181:0.09:0.04:0.01
OK u:0.00 s:0.00 r:0.01
06/11/2007 03:36:22 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_mem_swap_4.rrd --template mem_swap 1181594181:2040140
OK u:0.00 s:0.00 r:0.01
06/11/2007 03:36:22 PM - POLLER: Poller[0] CACTI2RRD: /usr/bin/rrdtool update /var/www/html/cacti/rra/localhost_mem_buffers_3.rrd --template mem_buffers 1181594181:130192
OK u:0.00 s:0.00 r:0.01
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
It appears that it is unable to create any graphs for external systems. I have downgraded to 0.8.6i and it works flawlessly. I would love to get this working with 0.8.6j. Has anyone else experienced similar problems?
Thanks,
JB
Cacti 0.8.6j Poller problem.
Moderators: Developers, Moderators
-
- Posts: 1
- Joined: Tue Jun 12, 2007 10:39 pm
I'm pretty much a n00b at running cacti but have gotten it 'almost' there.
When I run cmd.php from the command prompt, it prints out:
When I run poller.php without running cmd.php first all I get is:
until I hit the php script timeout limit around 293 seconds~.
If I run cmd.php first and then run poller.php I'll see:
In debug mode (poller.php):
But again, this is after running cmd.php first from the prompt.
Without running cmd.php first we get this:
I tried to use the cactid.exe dated 4/14/2007 but it just tries to read a /tmp/mysql.sock and dies on the mysql connection.
The October 2006 cactid.exe I had in there executed but just printed out the config file it used and the next line was simply a "#".
At this point I only have 2 graphs defined and enabled for a single host. When run manually with cmd.php then poller.php the graphs update themselves just fine.
Cacti 0.8.6j (and patched)
PHP version 5.12
MySQL 5.0.18
Winblows 2003 Server
Any help would be great. I've searched the forums and found variations but most of the solutions involved either running cactid.exe or making sure cacti itself was patched and up2date.
Thanks
-HM
When I run cmd.php from the command prompt, it prints out:
Code: Select all
C:\apache2triad\htdocs\cacti>cmd.php
06/12/2007 11:35:46 PM - CMDPHP: Poller[0] Host[2] PING: Host is alive
06/12/2007 11:35:46 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
06/12/2007 11:35:46 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 3 items i
n the auto reindex cache for 'localhost'.
06/12/2007 11:35:46 PM - CMDPHP: Poller[0] Host[2] DS[13] SNMP: v2: localhost, d
sname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 40
06/12/2007 11:35:46 PM - CMDPHP: Poller[0] Host[2] DS[15] SNMP: v2: localhost, d
sname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: 2
06/12/2007 11:35:46 PM - CMDPHP: Poller[0] Time: 0.0423 s, Theads: N/A, Hosts: 1
Code: Select all
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
If I run cmd.php first and then run poller.php I'll see:
Code: Select all
OK
OK
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
etc...
In debug mode (poller.php):
Code: Select all
C:\apache2triad\htdocs\cacti>php c:\apache2triad\htdocs\cacti\poller.php
06/12/2007 11:35:56 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/apache2triad/php/php.exe, ARGS: -q c:/apache2triad/htdocs/cacti/cmd.p
hp 0 2]
Waiting on 1/1 pollers.
06/12/2007 11:35:57 PM - POLLER: Poller[0] CACTI2RRD: c:/cactid/rrdtool.exe upda
te C:\apache2triad\htdocs\cacti\rra\my_windows_localhost_proc_13.rrd --template
proc 1181705746:40
06/12/2007 11:35:57 PM - POLLER: Poller[0] CACTI2RRD: c:/cactid/rrdtool.exe upda
te C:\apache2triad\htdocs\cacti\rra\my_windows_localhost_users_15.rrd --template
users 1181705746:2
OK
OK
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Without running cmd.php first we get this:
Code: Select all
C:\apache2triad\htdocs\cacti>php c:\apache2triad\htdocs\cacti\poller.php
06/12/2007 11:54:05 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/apache2triad/php/php.exe, ARGS: -q c:/apache2triad/htdocs/cacti/cmd.p
hp 0 2]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
The October 2006 cactid.exe I had in there executed but just printed out the config file it used and the next line was simply a "#".
At this point I only have 2 graphs defined and enabled for a single host. When run manually with cmd.php then poller.php the graphs update themselves just fine.
Cacti 0.8.6j (and patched)
PHP version 5.12
MySQL 5.0.18
Winblows 2003 Server
Any help would be great. I've searched the forums and found variations but most of the solutions involved either running cactid.exe or making sure cacti itself was patched and up2date.
Thanks
-HM
Who is online
Users browsing this forum: No registered users and 2 guests