Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


CMDPHP: Poller[0] ERROR... This is a PHP Bug!!!
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions
Author Message
Pumpi
Cacti User


Joined: 14 Jan 2004
Posts: 256
Location: Germany

PostPosted: Thu Jul 29, 2004 8:04 am    Post subject: Reply with quote

Found rrd.php in \cacti\lib\

Running:

...\php\php-win ...\cacti\poller.php

I get:

Waiting on 1/1 pollers.
...
...
Waiting on 1/1 pollers.
07/29/2004 03:00 PM - CMDPHP: Poller[0] Maximum runtime of 300 seconds exceeded.
Exiting.


Log file in debug mode shows:

Code:
07/29/2004 03:00 PM - CMDPHP: Poller[0] Maximum runtime of 300 seconds exceeded. Exiting. 
07/29/2004 02:55 PM - CMDPHP: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Cacti 0.8.6 Beta - Available Disk Space" --rigid --base=1024 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes" DEF:a="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.rrd":hdd_total:AVERAGE DEF:b="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.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" 
07/29/2004 02:55 PM - CMDPHP: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Cacti 0.8.6 Beta - Available Disk Space" --rigid --base=1024 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes" DEF:a="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.rrd":hdd_total:AVERAGE DEF:b="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.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" 
 
07/29/2004 02:55 PM - CMDPHP: Poller[0] POLLER: About to Spawn a Remote Process 
07/29/2004 02:53 PM - CMDPHP: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Cacti 0.8.6 Beta - Traffic - 15.197.229.89 (Intel(R) PRO/10)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes per second" DEF:a="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_traffic_in_10.rrd":traffic_in:AVERAGE DEF:b="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_traffic_in_10.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s" 
07/29/2004 02:53 PM - CMDPHP: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Cacti 0.8.6 Beta - Traffic - 15.197.229.89 (Intel(R) PRO/10)" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes per second" DEF:a="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_traffic_in_10.rrd":traffic_in:AVERAGE DEF:b="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_traffic_in_10.rrd":traffic_out:AVERAGE AREA:a#00CF00:"Inbound" GPRINT:a:LAST:" Current\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\:%8.2lf %s" GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" LINE1:b#002A97:"Outbound" GPRINT:b:LAST:"Current\:%8.2lf %s" GPRINT:b:AVERAGE:"Average\:%8.2lf %s" GPRINT:b:MAX:"Maximum\:%8.2lf %s" 
07/29/2004 02:53 PM - CMDPHP: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Cacti 0.8.6 Beta - CPU Utilization - CPU0" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="percent" DEF:a="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_cpu_9.rrd":cpu:AVERAGE AREA:a#FF0000:"CPU Utilization" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf" 
07/29/2004 02:53 PM - CMDPHP: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Cacti 0.8.6 Beta - CPU Utilization - CPU0" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="percent" DEF:a="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_cpu_9.rrd":cpu:AVERAGE AREA:a#FF0000:"CPU Utilization" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf" 
07/29/2004 02:53 PM - CMDPHP: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Cacti 0.8.6 Beta - Available Disk Space" --rigid --base=1024 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes" DEF:a="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.rrd":hdd_total:AVERAGE DEF:b="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.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" 
07/29/2004 02:53 PM - CMDPHP: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Cacti 0.8.6 Beta - Available Disk Space" --rigid --base=1024 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes" DEF:a="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.rrd":hdd_total:AVERAGE DEF:b="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.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" 
07/29/2004 02:53 PM - CMDPHP: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Cacti 0.8.6 Beta - Available Disk Space" --rigid --base=1024 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes" DEF:a="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.rrd":hdd_total:AVERAGE DEF:b="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.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" 
07/29/2004 02:34 PM - CMDPHP: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Cacti 0.8.6 Beta - Available Disk Space" --rigid --base=1024 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes" DEF:a="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.rrd":hdd_total:AVERAGE DEF:b="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.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" 
07/29/2004 02:34 PM - CMDPHP: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Cacti 0.8.6 Beta - Available Disk Space" --rigid --base=1024 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes" DEF:a="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.rrd":hdd_total:AVERAGE DEF:b="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.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" 
07/29/2004 02:34 PM - CMDPHP: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --end=-300 --title="Cacti 0.8.6 Beta - Available Disk Space" --rigid --base=1024 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bytes" DEF:a="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.rrd":hdd_total:AVERAGE DEF:b="C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.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" 
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Sat Jul 31, 2004 7:26 pm    Post subject: Reply with quote

Pumpi,

Does anything in the following look odd to you? Would you be interested in a Netmeeting session to review you configuration. I will be on line on Sunday. Have both AIM and Microsoft IM. Send me a note.

Larry


C\:\xampplite\htdocs\cacti/rra/cacti_0_8_6_beta_hdd_total_8.rrd

AIM: PhyntmVygr
MIM: Larry
Back to top
phoenix



Joined: 19 Aug 2004
Posts: 27

PostPosted: Fri Aug 20, 2004 3:14 pm    Post subject: Reply with quote

Hi all

I'm new to using cacti and I've installed the 0.8.6 beta version and I'm also getting this problem.

If I go to a command prompt and run poller.php it just outputs the 'waiting on x/x pollers' message until it times out. For some reason I tried running the cmd.php in another command prompt and the 'poller' windows then completed and the graphs were created, if I didn't run cmd.php then poller just sits there doing nothing.

I'm running this on a WINXP SP2 system with Apache 2.0.50 and php5 (installed with xampp). Is there something I'm doing wrong or is it a bug in cacti or php? Is there any information you need to see to help resolve this problem?

Regards


Bill
Back to top
Guest






PostPosted: Fri Aug 20, 2004 4:14 pm    Post subject: Reply with quote

Hello,

You problem may be caused by the schedule task which is not working properly.
Make sure you WIndows Scheduled task is working and configured appriopriately

I have on my WIndows XP settled in the Schedule task

c:\php\php.exe c:\apache2\htdocs\cacti\poller.php

Also to run the schedule task you must create a user 'ccti for instance' that can access and executes a any scripts in cacti. Give a password to this user. In the schedule task set this account with its password. The password is absolutely mandatory on WIndows XP otherwise the scheduler doesn't work.

To look at the status of the schedule task in XP go to
Control Panel / Performance & Maintenance / Schedule Tasks
Then click on the explorer menu to display a detailed view and you will be able to see if the schedule task is working or not.

I had the same pb in WIndows and I have found that the schedule task was not working because the account I have set had no password.

Also check the options of the schedule task and uncheck options like "Sopt task if excute more than ...., uncheck --> if power management, ....


I hope this will help you

Didier
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Fri Aug 20, 2004 6:04 pm    Post subject: Reply with quote

Try setting up Cacti to use php-win.exe.

To do this goto Settings->Paths and change the PHP Path to be:

C:/PHP/PHP-WIN.EXE

This should fix your problem. For some reason PHP5 is wierd about that.

TheWitness

p.s. Didier is also correct. You need to schedule a task to run every 5 minutes.
Back to top
phoenix



Joined: 19 Aug 2004
Posts: 27

PostPosted: Fri Aug 20, 2004 9:06 pm    Post subject: Reply with quote

Hi

Thanks for the quick response.

I do have task scheduler set-up to run every five minutes and none of the settings that Didier suggests are checked. The poller task starts when it's supposed to but it does not update the graphs and just sits there with 'waiting on x/x pollers' message scrolling until it times out.

As for the other suggestion of using php-win.exe, I don't seem to have a copy of that in the php directories. I reset my system to use php 4 and tried the poller again with the same results - no graph updates and the 'waiting on x/x pollers' message scrolling.

I'm away until next Thursday so I won't be able to try anything with this problem but when I get back I'll do a clean install with the most recent version of 0.8.6

Regards


Bill
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Fri Aug 20, 2004 10:28 pm    Post subject: Reply with quote

Change logging to DEBUG and run from the command line one time. Use the following to test CMD.PHP

c:/php/php.exe <your_webroot>/cacti/cmd.php

You must specify the whole path. Post the results.

TheWitness
Back to top
phoenix



Joined: 19 Aug 2004
Posts: 27

PostPosted: Sat Aug 21, 2004 3:23 am    Post subject: Reply with quote

Hi

Here's a copy of the log from cacti after running cmd.php:

Code:
08/21/2004 09:18 AM - CMDPHP: Poller[0] Execution Time: 1.6607 s, Method: cmd.php Polled Hosts: 3 
08/21/2004 09:18 AM - PHPSVR: Poller[0] PHP Script Server Shutdown request received, exiting 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[4] SNMP: v1: 192.168.0.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 3162323299 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[4] SNMP: v1: 192.168.0.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 1821352930 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[4] SNMP: v1: 192.168.0.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 3291096271 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[4] SNMP: v1: 192.168.0.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 3206021221 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[4] RECACHE: Processing 1 items in the auto reindex cache for '192.168.0.1'. 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[4] SNMP: Host responded to SNMP 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: xp-pro-vm.phoenix-systems.uk.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 305102987 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: xp-pro-vm.phoenix-systems.uk.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 1161648473 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[3] SERVER: D:\xampp\htdocs\cacti\scripts\ss_host_cpu.php ss_host_cpu xp-pro-vm.phoenix-systems.uk.com public 1 get usage 0, output: 75 
08/21/2004 09:18 AM - PHPSVR: Poller[0] CMD: D:\xampp\htdocs\cacti\scripts\ss_host_cpu.php ss_host_cpu xp-pro-vm.phoenix-systems.uk.com public 1 get usage 0 output 75 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: ArgV->xp-pro-vm.phoenix-systems.uk.com-public-1-get<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Arguments->xp-pro-vm.phoenix-systems.uk.com public 1 get usage 0<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Command->ss_host_cpu<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Include->D:\xampp\htdocs\cacti\scripts\ss_host_cpu.php<- 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[3] SERVER: D:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1 3 get used 5, output: 245628928 
08/21/2004 09:18 AM - PHPSVR: Poller[0] CMD: D:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1 3 get used 5 output 245628928 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: ArgV->xp-pro-vm.phoenix-systems.uk.com-public-1-3<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Arguments->xp-pro-vm.phoenix-systems.uk.com public 1 3 get used 5<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Command->ss_host_disk<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Include->D:\xampp\htdocs\cacti\scripts\ss_host_disk.php<- 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[3] SERVER: D:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1 3 get total 5, output: 267845632 
08/21/2004 09:18 AM - PHPSVR: Poller[0] CMD: D:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1 3 get total 5 output 267845632 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: ArgV->xp-pro-vm.phoenix-systems.uk.com-public-1-3<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Arguments->xp-pro-vm.phoenix-systems.uk.com public 1 3 get total 5<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Command->ss_host_disk<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Include->D:\xampp\htdocs\cacti\scripts\ss_host_disk.php<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] CMD: D:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1 3 get used 4 output 175505408 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[3] SERVER: D:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1 3 get used 4, output: 175505408 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: ArgV->xp-pro-vm.phoenix-systems.uk.com-public-1-3<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Arguments->xp-pro-vm.phoenix-systems.uk.com public 1 3 get used 4<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Command->ss_host_disk<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Include->D:\xampp\htdocs\cacti\scripts\ss_host_disk.php<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] CMD: D:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1 3 get total 4 output 650838016 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[3] SERVER: D:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1 3 get total 4, output: 650838016 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: ArgV->xp-pro-vm.phoenix-systems.uk.com-public-1-3<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Arguments->xp-pro-vm.phoenix-systems.uk.com public 1 3 get total 4<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Command->ss_host_disk<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Include->D:\xampp\htdocs\cacti\scripts\ss_host_disk.php<- 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: xp-pro-vm.phoenix-systems.uk.com, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 24 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: xp-pro-vm.phoenix-systems.uk.com, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: 2 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[3] RECACHE: Processing 3 items in the auto reindex cache for 'xp-pro-vm.phoenix-systems.uk.com'. 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[3] SNMP: Host responded to SNMP 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: tornado.phoenix-systems.uk.com, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 50 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: tornado.phoenix-systems.uk.com, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: 2 
08/21/2004 09:18 AM - PHPSVR: Poller[0] CMD: D:\xampp\htdocs\cacti\scripts\ss_host_cpu.php ss_host_cpu tornado.phoenix-systems.uk.com public 1 get usage 0 output 11 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[2] SERVER: D:\xampp\htdocs\cacti\scripts\ss_host_cpu.php ss_host_cpu tornado.phoenix-systems.uk.com public 1 get usage 0, output: 11 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: ArgV->tornado.phoenix-systems.uk.com-public-1-get<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Arguments->tornado.phoenix-systems.uk.com public 1 get usage 0<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Command->ss_host_cpu<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Include->D:\xampp\htdocs\cacti\scripts\ss_host_cpu.php<- 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[2] SERVER: D:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk tornado.phoenix-systems.uk.com public 1 2 get total 7, output: 1093009408 
08/21/2004 09:18 AM - PHPSVR: Poller[0] CMD: D:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk tornado.phoenix-systems.uk.com public 1 2 get total 7 output 1093009408 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: ArgV->tornado.phoenix-systems.uk.com-public-1-2<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Arguments->tornado.phoenix-systems.uk.com public 1 2 get total 7<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Command->ss_host_disk<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Include->D:\xampp\htdocs\cacti\scripts\ss_host_disk.php<- 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[2] SERVER: D:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk tornado.phoenix-systems.uk.com public 1 2 get used 7, output: 350748672 
08/21/2004 09:18 AM - PHPSVR: Poller[0] CMD: D:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk tornado.phoenix-systems.uk.com public 1 2 get used 7 output 350748672 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: ArgV->tornado.phoenix-systems.uk.com-public-1-2<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Arguments->tornado.phoenix-systems.uk.com public 1 2 get used 7<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Command->ss_host_disk<- 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DEBUG: Include->D:\xampp\htdocs\cacti\scripts\ss_host_disk.php<- 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: tornado.phoenix-systems.uk.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.65539, output: 7011668 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[2] SNMP: v1: tornado.phoenix-systems.uk.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.65539, output: 61641386 
08/21/2004 09:18 AM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP 
08/21/2004 09:18 AM - CMDPHP: Poller[0] PHP Script Server Started Properly 
08/21/2004 09:18 AM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd 
08/21/2004 09:18 AM - PHPSVR: Poller[0] FILENM is->d:\xampp\htdocs\cacti\script_server.php 
08/21/2004 09:18 AM - PHPSVR: Poller[0] DIRNAM is->d:/xampp/htdocs/cacti 
08/21/2004 09:18 AM - PHPSVR: Poller[0] GETCWD is->c:/unfiled 
08/21/2004 09:18 AM - PHPSVR: Poller[0] SERVER is->cmd 


Regards

Bill
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Sat Aug 21, 2004 7:54 am    Post subject: Reply with quote

Bill,

I have posted a change on CVS. Could you please download poller.php from the main CVS directory and rerun.

Also, could you please verify that unders the PHP extensions, that php_socket.dll is being included.

Once you have done these two things, run poller.php from the command line and send me the output from stdout as well as the log. Rather, post them both.

Also, please avoid PHP 4.3.4. Both 4.3.7 and 4.3.8 appear to be ok.

Thanks,

TheWitness
Back to top
phoenix



Joined: 19 Aug 2004
Posts: 27

PostPosted: Wed Aug 25, 2004 12:19 pm    Post subject: Reply with quote

Hi

Thanks for looking at this. I downloaded the poller.php from the cvs and copied it to the correct directory in cacti and this is the outout I got:

cacti log (debug is on):
Quote:
08/25/2004 06:06 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.

08/25/2004 06:01 PM - CMDPHP: Poller[0] POLLER: About to Spawn a Remote Process


stdout:
Quote:
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.

repeated until it times out

08/25/2004 06:06 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.

I also checked that php_sockets.dll is in the php.ini file and uncommented (it is) and I'm using 4.3.8 of php for this test. The php.ini file is also in the Windows directory. Does that get you any further forward?

Regards


Bill
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Wed Aug 25, 2004 4:06 pm    Post subject: Reply with quote

Bill,

You are still using an old version of the code. I can tell this by the fact that the time/date format does not include seconds. My recommendation is that you download the latest Unix beta and simply copy it over your existing installation directory. Make sure you backup your "/include/config.php" before doing so.

Then retest and let me know. Sorry to have confused you relative to the content of what you should have downloaded in the first place.

TheWitness

http://www.raxnet.net/downloads
Back to top
phoenix



Joined: 19 Aug 2004
Posts: 27

PostPosted: Wed Aug 25, 2004 4:20 pm    Post subject: Reply with quote

OK, I'll do that and let you know the results. I may not be able to get back to you until the eweekend.

Regards

Bill
Back to top
phoenix



Joined: 19 Aug 2004
Posts: 27

PostPosted: Wed Aug 25, 2004 4:37 pm    Post subject: Reply with quote

Just one more thing, did you really mean the Unix beta as I'm using Windows?
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Wed Aug 25, 2004 4:41 pm    Post subject: Reply with quote

They are identical with the exception that the CACTID in the Windows version is way old.

TheWitness
Back to top
phoenix



Joined: 19 Aug 2004
Posts: 27

PostPosted: Sun Aug 29, 2004 3:39 pm    Post subject: Reply with quote

Hi

I've finally managed to get some time to try this problem again. I reinstalled cacti (the current pre20040829 release) as a clean install on a test system (this is with php 5.0.1 - if you want me to test this with php 4 I can do that as well) and I still get the poller timing out and not updating the graphs. The log is as follows:

Code:
08/29/2004 09:29:41 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting. 
08/29/2004 09:27:45 PM - WEBLOG: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1093724845 --end=1093811245 --title="xp-pro-vm - Used Space - Virtual Memory" --rigid --base=1024 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2004/08/28 21:27:25 To 2004/08/29 21:27:25\c" COMMENT:"\n" --vertical-label="bytes" DEF:a="C\:\xampp\htdocs\cacti/rra/xpprovm_hdd_total_13.rrd":hdd_total:AVERAGE DEF:b="C\:\xampp\htdocs\cacti/rra/xpprovm_hdd_total_13.rrd":hdd_used:AVERAGE AREA:a#002A97:"" AREA:b#F51D30:"" 
08/29/2004 09:27:44 PM - WEBLOG: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1093724845 --end=1093811245 --title="xp-pro-vm - Used Space - Physical Memory" --rigid --base=1024 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2004/08/28 21:27:25 To 2004/08/29 21:27:25\c" COMMENT:"\n" --vertical-label="bytes" DEF:a="C\:\xampp\htdocs\cacti/rra/xpprovm_hdd_total_14.rrd":hdd_total:AVERAGE DEF:b="C\:\xampp\htdocs\cacti/rra/xpprovm_hdd_total_14.rrd":hdd_used:AVERAGE AREA:a#002A97:"" AREA:b#F51D30:"" 
08/29/2004 09:27:42 PM - WEBLOG: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1093724845 --end=1093811245 --title="xp-pro-vm - Traffic - 192.168.0.54 (VMware PCI Ethe)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2004/08/28 21:27:25 To 2004/08/29 21:27:25\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="C\:\xampp\htdocs\cacti/rra/xpprovm_traffic_in_16.rrd":traffic_in:AVERAGE DEF:b="C\:\xampp\htdocs\cacti/rra/xpprovm_traffic_in_16.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"" LINE1:cdefe#002A97:"" 
08/29/2004 09:27:40 PM - WEBLOG: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1093724845 --end=1093811245 --title="xp-pro-vm - Processes" --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2004/08/28 21:27:25 To 2004/08/29 21:27:25\c" COMMENT:"\n" --vertical-label="processes" DEF:a="C\:\xampp\htdocs\cacti/rra/xpprovm_proc_10.rrd":proc:AVERAGE AREA:a#F51D30:"" 
08/29/2004 09:27:39 PM - WEBLOG: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1093724845 --end=1093811245 --title="xp-pro-vm - Logged in Users" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2004/08/28 21:27:25 To 2004/08/29 21:27:25\c" COMMENT:"\n" --vertical-label="users" DEF:a="C\:\xampp\htdocs\cacti/rra/xpprovm_users_9.rrd":users:AVERAGE AREA:a#4668E4:"" 
08/29/2004 09:27:37 PM - WEBLOG: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1093724845 --end=1093811245 --title="xp-pro-vm - CPU Utilization - CPU0" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2004/08/28 21:27:25 To 2004/08/29 21:27:25\c" COMMENT:"\n" --vertical-label="percent" DEF:a="C\:\xampp\htdocs\cacti/rra/xpprovm_cpu_15.rrd":cpu:AVERAGE AREA:a#FF0000:"" 
08/29/2004 09:27:35 PM - WEBLOG: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1093724845 --end=1093811245 --title="xp-pro-vm - Used Space - Virtual Memory" --rigid --base=1024 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2004/08/28 21:27:25 To 2004/08/29 21:27:25\c" COMMENT:"\n" --vertical-label="bytes" DEF:a="C\:\xampp\htdocs\cacti/rra/xpprovm_hdd_total_13.rrd":hdd_total:AVERAGE DEF:b="C\:\xampp\htdocs\cacti/rra/xpprovm_hdd_total_13.rrd":hdd_used:AVERAGE AREA:a#002A97:"" AREA:b#F51D30:"" 
08/29/2004 09:27:34 PM - WEBLOG: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1093724845 --end=1093811245 --title="xp-pro-vm - Used Space - Physical Memory" --rigid --base=1024 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2004/08/28 21:27:25 To 2004/08/29 21:27:25\c" COMMENT:"\n" --vertical-label="bytes" DEF:a="C\:\xampp\htdocs\cacti/rra/xpprovm_hdd_total_14.rrd":hdd_total:AVERAGE DEF:b="C\:\xampp\htdocs\cacti/rra/xpprovm_hdd_total_14.rrd":hdd_used:AVERAGE AREA:a#002A97:"" AREA:b#F51D30:"" 
08/29/2004 09:27:33 PM - WEBLOG: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1093724845 --end=1093811245 --title="xp-pro-vm - Traffic - 192.168.0.54 (VMware PCI Ethe)" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2004/08/28 21:27:25 To 2004/08/29 21:27:25\c" COMMENT:"\n" --vertical-label="bits per second" DEF:a="C\:\xampp\htdocs\cacti/rra/xpprovm_traffic_in_16.rrd":traffic_in:AVERAGE DEF:b="C\:\xampp\htdocs\cacti/rra/xpprovm_traffic_in_16.rrd":traffic_out:AVERAGE CDEF:cdefa=a,8,* CDEF:cdefe=b,8,* AREA:cdefa#00CF00:"" LINE1:cdefe#002A97:"" 
08/29/2004 09:27:31 PM - WEBLOG: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1093724845 --end=1093811245 --title="xp-pro-vm - Processes" --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2004/08/28 21:27:25 To 2004/08/29 21:27:25\c" COMMENT:"\n" --vertical-label="processes" DEF:a="C\:\xampp\htdocs\cacti/rra/xpprovm_proc_10.rrd":proc:AVERAGE AREA:a#F51D30:"" 
08/29/2004 09:27:29 PM - WEBLOG: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1093724845 --end=1093811245 --title="xp-pro-vm - Logged in Users" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2004/08/28 21:27:25 To 2004/08/29 21:27:25\c" COMMENT:"\n" --vertical-label="users" DEF:a="C\:\xampp\htdocs\cacti/rra/xpprovm_users_9.rrd":users:AVERAGE AREA:a#4668E4:"" 
08/29/2004 09:27:28 PM - WEBLOG: Poller[0] RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1093724845 --end=1093811245 --title="xp-pro-vm - CPU Utilization - CPU0" --rigid --base=1000 --height=100 --width=300 --alt-autoscale-max --lower-limit=0 --no-legend COMMENT:"From 2004/08/28 21:27:25 To 2004/08/29 21:27:25\c" COMMENT:"\n" --vertical-label="percent" DEF:a="C\:\xampp\htdocs\cacti/rra/xpprovm_cpu_15.rrd":cpu:AVERAGE AREA:a#FF0000:"" 
08/29/2004 09:24:44 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process 


and the output from stdout is:

Code:
08/29/2004 09:24:44 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.

repeated until it times out.

Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
08/29/2004 09:29:41 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.


If I run cmd.php from a command promt I get the following from the cacti log:

Code:
08/29/2004 09:36:43 PM - CMDPHP: Poller[0] Time: 26.8879 s, Theads: N/A, Hosts: 1 
08/29/2004 09:36:43 PM - PHPSVR: Poller[0] DEBUG: PHP Script Server Shutdown request received, exiting 
08/29/2004 09:36:43 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: xp-pro-vm.phoenix-systems.uk.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 1305400444 
08/29/2004 09:36:41 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: xp-pro-vm.phoenix-systems.uk.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 3347718339 
08/29/2004 09:36:39 PM - CMDPHP: Poller[0] Host[2] SERVER: C:\xampp\htdocs\cacti\scripts\ss_host_cpu.php ss_host_cpu xp-pro-vm.phoenix-systems.uk.com public 1 get usage 0, output: 94 
08/29/2004 09:36:39 PM - PHPSVR: Poller[0] SERVER: C:\xampp\htdocs\cacti\scripts\ss_host_cpu.php ss_host_cpu xp-pro-vm.phoenix-systems.uk.com public 1 get usage 0 output 94 
08/29/2004 09:36:36 PM - PHPSVR: Poller[0] DEBUG: ARGS: xp-pro-vm.phoenix-systems.uk.com-public-1-get 
08/29/2004 09:36:36 PM - PHPSVR: Poller[0] DEBUG: CMD: xp-pro-vm.phoenix-systems.uk.com public 1 get usage 0 
08/29/2004 09:36:36 PM - PHPSVR: Poller[0] DEBUG: SCRIPT: ss_host_cpu 
08/29/2004 09:36:36 PM - PHPSVR: Poller[0] DEBUG: INCLUDE: C:\xampp\htdocs\cacti\scripts\ss_host_cpu.php 
08/29/2004 09:36:36 PM - PHPSVR: Poller[0] SERVER: C:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1 2 get used 5 output 199622656 
08/29/2004 09:36:36 PM - CMDPHP: Poller[0] Host[2] SERVER: C:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1 2 get used 5, output: 199622656 
08/29/2004 09:36:34 PM - PHPSVR: Poller[0] DEBUG: ARGS: xp-pro-vm.phoenix-systems.uk.com-public-1-2 
08/29/2004 09:36:34 PM - PHPSVR: Poller[0] DEBUG: CMD: xp-pro-vm.phoenix-systems.uk.com public 1 2 get used 5 
08/29/2004 09:36:34 PM - PHPSVR: Poller[0] DEBUG: SCRIPT: ss_host_disk 
08/29/2004 09:36:34 PM - PHPSVR: Poller[0] DEBUG: INCLUDE: C:\xampp\htdocs\cacti\scripts\ss_host_disk.php 
08/29/2004 09:36:34 PM - CMDPHP: Poller[0] Host[2] SERVER: C:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1 2 get total 5, output: 267845632 
08/29/2004 09:36:34 PM - PHPSVR: Poller[0] SERVER: C:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1 2 get total 5 output 267845632 
08/29/2004 09:36:32 PM - PHPSVR: Poller[0] DEBUG: ARGS: xp-pro-vm.phoenix-systems.uk.com-public-1-2 
08/29/2004 09:36:32 PM - PHPSVR: Poller[0] DEBUG: CMD: xp-pro-vm.phoenix-systems.uk.com public 1 2 get total 5 
08/29/2004 09:36:32 PM - PHPSVR: Poller[0] DEBUG: SCRIPT: ss_host_disk 
08/29/2004 09:36:32 PM - PHPSVR: Poller[0] DEBUG: INCLUDE: C:\xampp\htdocs\cacti\scripts\ss_host_disk.php 
08/29/2004 09:36:32 PM - PHPSVR: Poller[0] SERVER: C:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1 2 get used 4 output 151453696 
08/29/2004 09:36:32 PM - CMDPHP: Poller[0] Host[2] SERVER: C:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1 2 get used 4, output: 151453696 
08/29/2004 09:36:30 PM - PHPSVR: Poller[0] DEBUG: ARGS: xp-pro-vm.phoenix-systems.uk.com-public-1-2 
08/29/2004 09:36:30 PM - PHPSVR: Poller[0] DEBUG: CMD: xp-pro-vm.phoenix-systems.uk.com public 1 2 get used 4 
08/29/2004 09:36:30 PM - PHPSVR: Poller[0] DEBUG: SCRIPT: ss_host_disk 
08/29/2004 09:36:30 PM - PHPSVR: Poller[0] DEBUG: INCLUDE: C:\xampp\htdocs\cacti\scripts\ss_host_disk.php 
08/29/2004 09:36:30 PM - CMDPHP: Poller[0] Host[2] SERVER: C:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1 2 get total 4, output: 650838016 
08/29/2004 09:36:30 PM - PHPSVR: Poller[0] SERVER: C:\xampp\htdocs\cacti\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1 2 get total 4 output 650838016 
08/29/2004 09:36:28 PM - PHPSVR: Poller[0] DEBUG: ARGS: xp-pro-vm.phoenix-systems.uk.com-public-1-2 
08/29/2004 09:36:28 PM - PHPSVR: Poller[0] DEBUG: CMD: xp-pro-vm.phoenix-systems.uk.com public 1 2 get total 4 
08/29/2004 09:36:28 PM - PHPSVR: Poller[0] DEBUG: SCRIPT: ss_host_disk 
08/29/2004 09:36:28 PM - PHPSVR: Poller[0] DEBUG: INCLUDE: C:\xampp\htdocs\cacti\scripts\ss_host_disk.php 
08/29/2004 09:36:28 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: xp-pro-vm.phoenix-systems.uk.com, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 21 
08/29/2004 09:36:26 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: xp-pro-vm.phoenix-systems.uk.com, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: 2 
08/29/2004 09:36:20 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 3 items in the auto reindex cache for 'xp-pro-vm.phoenix-systems.uk.com'. 
08/29/2004 09:36:20 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP 
08/29/2004 09:36:18 PM - CMDPHP: Poller[0] PHP Script Server Started Properly 
08/29/2004 09:36:18 PM - PHPSVR: Poller[0] PHP Script Server has Started - Parent is cmd 
08/29/2004 09:36:18 PM - PHPSVR: Poller[0] DEBUG: FILENM: c:\xampp\htdocs\cacti\script_server.php 
08/29/2004 09:36:18 PM - PHPSVR: Poller[0] DEBUG: DIRNAM: c:/xampp/htdocs/cacti 
08/29/2004 09:36:18 PM - PHPSVR: Poller[0] DEBUG: GETCWD: c:/unfiled 
08/29/2004 09:36:18 PM - PHPSVR: Poller[0] DEBUG: SERVER: cmd 


and this from stdout:

Code:
c:\unfiled>c:\xampp\php\php.exe c:\xampp\htdocs\cacti\cmd.php
#!/usr/bin/php -q
08/29/2004 09:36:18 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
08/29/2004 09:36:20 PM - CMDPHP: Poller[0] Host[2] SNMP: Host responded to SNMP
08/29/2004 09:36:20 PM - CMDPHP: Poller[0] Host[2] RECACHE: Processing 3 items i
n the auto reindex cache for 'xp-pro-vm.phoenix-systems.uk.com'.
08/29/2004 09:36:26 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: xp-pro-vm.phoenix-s
ystems.uk.com, dsname: users, oid: .1.3.6.1.2.1.25.1.5.0, output: 2
08/29/2004 09:36:28 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: xp-pro-vm.phoenix-s
ystems.uk.com, dsname: proc, oid: .1.3.6.1.2.1.25.1.6.0, output: 21
08/29/2004 09:36:30 PM - CMDPHP: Poller[0] Host[2] SERVER: C:\xampp\htdocs\cacti
\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1
 2 get total 4, output: 650838016
08/29/2004 09:36:32 PM - CMDPHP: Poller[0] Host[2] SERVER: C:\xampp\htdocs\cacti
\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1
 2 get used 4, output: 151453696
08/29/2004 09:36:34 PM - CMDPHP: Poller[0] Host[2] SERVER: C:\xampp\htdocs\cacti
\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1
 2 get total 5, output: 267845632
08/29/2004 09:36:36 PM - CMDPHP: Poller[0] Host[2] SERVER: C:\xampp\htdocs\cacti
\scripts\ss_host_disk.php ss_host_disk xp-pro-vm.phoenix-systems.uk.com public 1
 2 get used 5, output: 199622656
08/29/2004 09:36:39 PM - CMDPHP: Poller[0] Host[2] SERVER: C:\xampp\htdocs\cacti
\scripts\ss_host_cpu.php ss_host_cpu xp-pro-vm.phoenix-systems.uk.com public 1 g
et usage 0, output: 94
08/29/2004 09:36:41 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: xp-pro-vm.phoenix-s
ystems.uk.com, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 3347718
339
08/29/2004 09:36:43 PM - CMDPHP: Poller[0] Host[2] SNMP: v1: xp-pro-vm.phoenix-s
ystems.uk.com, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 130540
0444
08/29/2004 09:36:43 PM - CMDPHP: Poller[0] Time: 26.8879 s, Theads: N/A, Hosts:
1


Neither of those commands update the graphs. What next?

Regards

Bill
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Unstable Development Versions All times are GMT - 5 Hours
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 



Powered by phpBB © 2001, 2005 phpBB Group