[XML] successor to apachestats 0.4
Moderators: Developers, Moderators
sorry for the mistake:
D:\wwwroot\cacti>php poller.php
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
06/03/2006 04:36:30 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/php/php.exe, ARGS: -q d:/wwwroot/cacti/cmd.php 0 1]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'thread_O:0
' [map thread_O->thread_O]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadC:0'
[map threadC->threadC]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadD:0'
[map threadD->threadD]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadG:0'
[map threadG->threadG]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadI:0'
[map threadI->threadI]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadK:0'
[map threadK->threadK]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadL:0'
[map threadL->threadL]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadR:0'
[map threadR->threadR]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadS:0'
[map threadS->threadS]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadW:0'
[map threadW->threadW]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'thread_W:0
' [map thread_W->thread_W]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'thread_O:0
' [map thread_O->thread_O]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadC:0'
[map threadC->threadC]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadD:0'
[map threadD->threadD]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadG:0'
[map threadG->threadG]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadI:0'
[map threadI->threadI]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadK:0'
[map threadK->threadK]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadL:0'
[map threadL->threadL]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadR:0'
[map threadR->threadR]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadS:0'
[map threadS->threadS]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadW:0'
[map threadW->threadW]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'thread_W:0
' [map thread_W->thread_W]
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_users_8.rrd --template users 1149302190:2
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_proc_9.rrd --template proc 1149302190:46
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_hdd_total_10.rrd --template hdd_total:hdd_use
d 1149302190:60817686528:9048752128
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_hdd_total_11.rrd --template hdd_total:hdd_use
d 1149302190:62693048320:13708652544
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_hdd_total_12.rrd --template hdd_total:hdd_use
d 1149302190:203921108992:86885990400
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_hdd_total_13.rrd --template hdd_total:hdd_use
d 1149302190:2580021248:436207616
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_hdd_total_14.rrd --template hdd_total:hdd_use
d 1149302190:1073152000:261357568
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_traffic_in_16.rrd --template traffic_out:traf
fic_in 1149302190:1424476:1424476
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_traffic_in_17.rrd --template traffic_out:traf
fic_in 1149302190:53864:305935
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_cpuinformprivileged_19.rrd --template cpuinfo
rmUser:cpuinformProcessor:cpuinformPrivileged 1149302190:24:32:8
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_errors_in_20.rrd --template errors_out:discar
ds_in:discards_out:errors_in 1149302190:0:0:0:0
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_meminformavailable_22.rrd --template meminfor
mAvailable 1149302190:662028288
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_meminformcacheres_23.rrd --template meminform
CacheRes 1149302190:39907328
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_meminforminstalled_24.rrd --template meminfor
mInstalled 1149302190:1048048
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_meminformpagefaults_25.rrd --template meminfo
rmPageFaults 1149302190:1073
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_apache_cpuload_26.rrd --template thread_O:thr
eadC:threadD:threadG:threadI:threadK:threadL:threadR:threadS:threadW:thread_W 11
49302190:0:0:0:0:0:0:0:0:0:0:0
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_apache_cpuload_27.rrd --template thread_O:thr
eadC:threadD:threadG:threadI:threadK:threadL:threadR:threadS:threadW:thread_W 11
49302190:0:0:0:0:0:0:0:0:0:0:0
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_idle_28.rrd --template 1149302190:U
06/03/2006 04:36:31 AM - SYSTEM STATS: Time:1.2272 Method:cmd.php Processes:1 Th
reads:N/A Hosts:2 HostsPerProcess:2 DataSources:30 RRDsProcessed:18
OK u:0.01 s:0.01 r:0.00
OK u:0.01 s:0.01 r:0.00
OK u:0.01 s:0.01 r:0.00
OK u:0.01 s:0.01 r:0.00
OK u:0.01 s:0.01 r:0.00
OK u:0.01 s:0.01 r:0.03
OK u:0.01 s:0.01 r:0.03
OK u:0.01 s:0.01 r:0.03
OK u:0.01 s:0.01 r:0.03
OK u:0.01 s:0.01 r:0.03
OK u:0.01 s:0.01 r:0.03
OK u:0.01 s:0.01 r:0.04
OK u:0.01 s:0.01 r:0.04
OK u:0.01 s:0.01 r:0.04
OK u:0.01 s:0.01 r:0.04
OK u:0.01 s:0.01 r:0.04
OK u:0.01 s:0.01 r:0.04
ERROR: Not enough arguments
06/03/2006 04:36:31 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/php/php.exe, ARGS: -q D:/wwwroot/cacti/poller_export.php]
D:\wwwroot\cacti>
D:\wwwroot\cacti>php poller.php
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
06/03/2006 04:36:30 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/php/php.exe, ARGS: -q d:/wwwroot/cacti/cmd.php 0 1]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'thread_O:0
' [map thread_O->thread_O]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadC:0'
[map threadC->threadC]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadD:0'
[map threadD->threadD]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadG:0'
[map threadG->threadG]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadI:0'
[map threadI->threadI]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadK:0'
[map threadK->threadK]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadL:0'
[map threadL->threadL]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadR:0'
[map threadR->threadR]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadS:0'
[map threadS->threadS]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadW:0'
[map threadW->threadW]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'thread_W:0
' [map thread_W->thread_W]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'thread_O:0
' [map thread_O->thread_O]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadC:0'
[map threadC->threadC]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadD:0'
[map threadD->threadD]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadG:0'
[map threadG->threadG]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadI:0'
[map threadI->threadI]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadK:0'
[map threadK->threadK]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadL:0'
[map threadL->threadL]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadR:0'
[map threadR->threadR]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadS:0'
[map threadS->threadS]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'threadW:0'
[map threadW->threadW]
06/03/2006 04:36:31 AM - POLLER: Poller[0] Parsed MULTI output field 'thread_W:0
' [map thread_W->thread_W]
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_users_8.rrd --template users 1149302190:2
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_proc_9.rrd --template proc 1149302190:46
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_hdd_total_10.rrd --template hdd_total:hdd_use
d 1149302190:60817686528:9048752128
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_hdd_total_11.rrd --template hdd_total:hdd_use
d 1149302190:62693048320:13708652544
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_hdd_total_12.rrd --template hdd_total:hdd_use
d 1149302190:203921108992:86885990400
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_hdd_total_13.rrd --template hdd_total:hdd_use
d 1149302190:2580021248:436207616
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_hdd_total_14.rrd --template hdd_total:hdd_use
d 1149302190:1073152000:261357568
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_traffic_in_16.rrd --template traffic_out:traf
fic_in 1149302190:1424476:1424476
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_traffic_in_17.rrd --template traffic_out:traf
fic_in 1149302190:53864:305935
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_cpuinformprivileged_19.rrd --template cpuinfo
rmUser:cpuinformProcessor:cpuinformPrivileged 1149302190:24:32:8
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_errors_in_20.rrd --template errors_out:discar
ds_in:discards_out:errors_in 1149302190:0:0:0:0
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_meminformavailable_22.rrd --template meminfor
mAvailable 1149302190:662028288
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_meminformcacheres_23.rrd --template meminform
CacheRes 1149302190:39907328
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_meminforminstalled_24.rrd --template meminfor
mInstalled 1149302190:1048048
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_meminformpagefaults_25.rrd --template meminfo
rmPageFaults 1149302190:1073
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_apache_cpuload_26.rrd --template thread_O:thr
eadC:threadD:threadG:threadI:threadK:threadL:threadR:threadS:threadW:thread_W 11
49302190:0:0:0:0:0:0:0:0:0:0:0
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_apache_cpuload_27.rrd --template thread_O:thr
eadC:threadD:threadG:threadI:threadK:threadL:threadR:threadS:threadW:thread_W 11
49302190:0:0:0:0:0:0:0:0:0:0:0
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_idle_28.rrd --template 1149302190:U
06/03/2006 04:36:31 AM - SYSTEM STATS: Time:1.2272 Method:cmd.php Processes:1 Th
reads:N/A Hosts:2 HostsPerProcess:2 DataSources:30 RRDsProcessed:18
OK u:0.01 s:0.01 r:0.00
OK u:0.01 s:0.01 r:0.00
OK u:0.01 s:0.01 r:0.00
OK u:0.01 s:0.01 r:0.00
OK u:0.01 s:0.01 r:0.00
OK u:0.01 s:0.01 r:0.03
OK u:0.01 s:0.01 r:0.03
OK u:0.01 s:0.01 r:0.03
OK u:0.01 s:0.01 r:0.03
OK u:0.01 s:0.01 r:0.03
OK u:0.01 s:0.01 r:0.03
OK u:0.01 s:0.01 r:0.04
OK u:0.01 s:0.01 r:0.04
OK u:0.01 s:0.01 r:0.04
OK u:0.01 s:0.01 r:0.04
OK u:0.01 s:0.01 r:0.04
OK u:0.01 s:0.01 r:0.04
ERROR: Not enough arguments
06/03/2006 04:36:31 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: c:/php/php.exe, ARGS: -q D:/wwwroot/cacti/poller_export.php]
D:\wwwroot\cacti>
Visit my web site: http://www.websat-telecom.com
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
shows, that it works "in principle". But all numbers show 0.06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_apache_cpuload_26.rrd --template thread_O:thr
eadC:threadD:threadG:threadI:threadK:threadL:threadR:threadS:threadW:thread_W 11
49302190:0:0:0:0:0:0:0:0:0:0:0
06/03/2006 04:36:31 AM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_apache_cpuload_27.rrd --template thread_O:thr
eadC:threadD:threadG:threadI:threadK:threadL:threadR:threadS:threadW:thread_W 11
49302190:0:0:0:0:0:0:0:0:0:0:0
Please switch Settings -> Logging Level to DEBUG and retry your last command. You should see the polling script being called and returning data to see the actual numbers. YOu may compare this tothe numbers retrieved when calling the script manually and when accessing the status page manually. Please report your findings
Reinhard
06/03/2006 05:33:43 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_apache_cpuload_26.rrd --template thread_O:thr
eadC:threadD:threadG:threadI:threadK:threadL:threadR:threadS:threadW:thread_W 11
49348821:0:0:0:0:0:0:0:0:0:0:0
OK u:0.05 s:0.00 r:0.98
06/03/2006 05:33:43 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_apache_cpuload_27.rrd --template thread_O:thr
eadC:threadD:threadG:threadI:threadK:threadL:threadR:threadS:threadW:thread_W 11
49348821:0:0:0:0:0:0:0:0:0:0:0
Total Accesses: 189
Total kBytes: 28430
Uptime: 31539
ReqPerSec: .00599258
BytesPerSec: 923.058
BytesPerReq: 154033
BusyWorkers: 1
IdleWorkers: 249
Scoreboard: _____________
Server Version: Apache/2.2.2 (Win32) PHP/5.1.4
Server Built: Apr 29 2006 18:32:31
Current Time: Saturday, 03-Jun-2006 17:37:24 Paris, Madrid
Restart Time: Saturday, 03-Jun-2006 08:50:31 Paris, Madrid
Parent Server Generation: 0
Server uptime: 8 hours 46 minutes 53 seconds
Total accesses: 190 - Total Traffic: 27.8 MB
.00601 requests/sec - 920 B/second - 149.6 kB/request
1 requests currently being processed, 249 idle workers
ate D:\wwwroot\cacti\rra\localhost_apache_cpuload_26.rrd --template thread_O:thr
eadC:threadD:threadG:threadI:threadK:threadL:threadR:threadS:threadW:thread_W 11
49348821:0:0:0:0:0:0:0:0:0:0:0
OK u:0.05 s:0.00 r:0.98
06/03/2006 05:33:43 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe upd
ate D:\wwwroot\cacti\rra\localhost_apache_cpuload_27.rrd --template thread_O:thr
eadC:threadD:threadG:threadI:threadK:threadL:threadR:threadS:threadW:thread_W 11
49348821:0:0:0:0:0:0:0:0:0:0:0
Total Accesses: 189
Total kBytes: 28430
Uptime: 31539
ReqPerSec: .00599258
BytesPerSec: 923.058
BytesPerReq: 154033
BusyWorkers: 1
IdleWorkers: 249
Scoreboard: _____________
Server Version: Apache/2.2.2 (Win32) PHP/5.1.4
Server Built: Apr 29 2006 18:32:31
Current Time: Saturday, 03-Jun-2006 17:37:24 Paris, Madrid
Restart Time: Saturday, 03-Jun-2006 08:50:31 Paris, Madrid
Parent Server Generation: 0
Server uptime: 8 hours 46 minutes 53 seconds
Total accesses: 190 - Total Traffic: 27.8 MB
.00601 requests/sec - 920 B/second - 149.6 kB/request
1 requests currently being processed, 249 idle workers
Visit my web site: http://www.websat-telecom.com
script's line problem
hi i'm from Tokyo,
and now i try this script,but can't get good.
perl v5.8.5,
php v5.1.4,
apache v2.0.58
cacti-0.8.6h
someone,any idea?
and now i try this script,but can't get good.
same problem after poller.php# ./ws_apachestats.pl localhost
Use of uninitialized value in concatenation (.) or string at ./ws_apachestats.pl line 63.
Use of uninitialized value in concatenation (.) or string at ./ws_apachestats.pl line 65.
Use of uninitialized value in concatenation (.) or string at ./ws_apachestats.pl line 67.
Use of uninitialized value in concatenation (.) or string at ./ws_apachestats.pl line 69.
Use of uninitialized value in split at ./ws_apachestats.pl line 89.
Use of uninitialized value in concatenation (.) or string at ./ws_apachestats.pl line 103.
apache_total_hits: apache_total_kbytes: apache_busy_workers: apache_idle_workers: thread_O:0 threadC:0 threadD:0 threadG:0 threadI:0 threadK:0 threadL:0 threadR:0 threadS:0 threadW:0 thread_W:0 apache_cpulo
OS is RedHat ES 4.0,#php /var/www/cacti/poller.php
Use of uninitialized value in concatenation (.) or string at /var/www/cacti/scripts/ws_apachestats.pl line 63.
Use of uninitialized value in concatenation (.) or string at /var/www/cacti/scripts/ws_apachestats.pl line 65.
Use of uninitialized value in concatenation (.) or string at /var/www/cacti/scripts/ws_apachestats.pl line 67.
Use of uninitialized value in concatenation (.) or string at /var/www/cacti/scripts/ws_apachestats.pl line 69.
Use of uninitialized value in split at /var/www/cacti/scripts/ws_apachestats.pl line 89.
Use of uninitialized value in concatenation (.) or string at /var/www/cacti/scripts/ws_apachestats.pl line 103.
perl v5.8.5,
php v5.1.4,
apache v2.0.58
cacti-0.8.6h
someone,any idea?
Re: script's line problem
Hi,
I am having the same problem that time i have changed my httpd.conf file setting to below and it status working
ExtendedStatus on
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from all -- (for testing)
</Location>
Hope this helps
I am having the same problem that time i have changed my httpd.conf file setting to below and it status working
ExtendedStatus on
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from all -- (for testing)
</Location>
Hope this helps
Re: [XML] successor to apachestats 0.4
Regarding this, does anyone know anything about this issue in general? I have the same problem with a different template set I have put together where a datasource gathers data for several graphs. When I creating the graphs via the "device" interface Cacti insists on duplicating the RRD's. This is a real PITA of course. I guess one fix is to have one piece of DATA per RDD per graph but this is far from optimal.lvm wrote: Multiple RRDs
Due to the lack of my knowledge of the cacti system, I was not able to suppress the generation of one RRD for each of the Graph Templates. So, if you are going to define all 7 Graph Templates, you will notice 7 RRDs as well.
Does anyone have any pointers. Is this a known issue with Cacti? Is there a simple fix or efficient approach to solve this?
Kind thanks,
Serge
Showing in m?
I recently got this script working for my site. I don't have a busy site, so the ReqPerSec are usually below 1 per second. See below.
However, when the graph is displayed, it shows it in the format of something like 720.32m. What is that supposed to mean? I would expect that the graph would show something like .33 per sec?
Anyone know what's going on?
Code: Select all
Total Accesses: 891
Total kBytes: 7218
CPULoad: 1.77211
Uptime: 2703
ReqPerSec: .329634
BytesPerSec: 2734.46
BytesPerReq: 8295.43
BusyWorkers: 1
IdleWorkers: 9
Anyone know what's going on?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: script's line problem
Please post the result when accessing the server with url [url]http://<your-server>/server-status?auto[/url] as this is parsed by the perl codeseigo wrote:hi i'm from Tokyo,
and now i try this script,but can't get good.
# ./ws_apachestats.pl localhost
Use of uninitialized value in concatenation (.) or string at ./ws_apachestats.pl line 63.
Use of uninitialized value in concatenation (.) or string at ./ws_apachestats.pl line 65.
Use of uninitialized value in concatenation (.) or string at ./ws_apachestats.pl line 67.
Use of uninitialized value in concatenation (.) or string at ./ws_apachestats.pl line 69.
Use of uninitialized value in split at ./ws_apachestats.pl line 89.
Use of uninitialized value in concatenation (.) or string at ./ws_apachestats.pl line 103.
apache_total_hits: apache_total_kbytes: apache_busy_workers: apache_idle_workers: thread_O:0 threadC:0 threadD:0 threadG:0 threadI:0 threadK:0 threadL:0 threadR:0 threadS:0 threadW:0 thread_W:0 apache_cpulo
Reinhard
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: script's line problem
Yep, server-status must be activated (as stated by Rolf Poser in the original post)gg234 wrote:Hi,
I am having the same problem that time i have changed my httpd.conf file setting to below and it status working
ExtendedStatus on
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from all -- (for testing)
</Location>
Hope this helps
Reinhard
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: [XML] successor to apachestats 0.4
This can be fixed but is tedious. Please do create only the FIRST graph using the "usual" method. This creates ONE set of rrd files. Create all other graphs from Graph Management, speciying Graph Template and Host. You will be prompted with the already existing data sources and may use thme instead of creating new ones.ssozonoff wrote:Regarding this, does anyone know anything about this issue in general? I have the same problem with a different template set I have put together where a datasource gathers data for several graphs. When I creating the graphs via the "device" interface Cacti insists on duplicating the RRD's. This is a real PITA of course. I guess one fix is to have one piece of DATA per RDD per graph but this is far from optimal.lvm wrote: Multiple RRDs
Due to the lack of my knowledge of the cacti system, I was not able to suppress the generation of one RRD for each of the Graph Templates. So, if you are going to define all 7 Graph Templates, you will notice 7 RRDs as well.
Does anyone have any pointers. Is this a known issue with Cacti? Is there a simple fix or efficient approach to solve this?
Kind thanks,
Serge
Reinhard
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Showing in m?
Please refer to http://forums.cacti.net/viewtopic.php?t=8168nuber wrote:I recently got this script working for my site. I don't have a busy site, so the ReqPerSec are usually below 1 per second. See below.
However, when the graph is displayed, it shows it in the format of something like 720.32m. What is that supposed to mean? I would expect that the graph would show something like .33 per sec?Code: Select all
Total Accesses: 891 Total kBytes: 7218 CPULoad: 1.77211 Uptime: 2703 ReqPerSec: .329634 BytesPerSec: 2734.46 BytesPerReq: 8295.43 BusyWorkers: 1 IdleWorkers: 9
Anyone know what's going on?
Reinhard
Problem partial result
OK u:0.00 s:0.01 r:0.12
CACTID: Host[34] ERROR: Empty result [xxx.xxx.xxx.xxx]: 'perl /var/www/html/cacti/scripts/ws_apachestats.pl xxx.xxx.xxx.xxx'
CACTID: Host[34] DS[1417] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[34] ERROR: Empty result [xxx.xxx.xxx.xxx]: 'perl /var/www/html/cacti/scripts/ws_apachestats.pl xxx.xxx.xxx.xxx'
CACTID: Host[34] DS[1416] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[34] ERROR: Empty result [xxx.xxx.xxx.xxx]: 'perl /var/www/html/cacti/scripts/ws_apachestats.pl xxx.xxx.xxx.xxx
CACTID: Host[34] DS[1415] WARNING: Result from SCRIPT not valid. Partial Result: ...
OK u:0.00 s:0.01 r:0.13
CACTID: Host[34] ERROR: Empty result [xxx.xxx.xxx.xxx]: 'perl /var/www/html/cacti/scripts/ws_apachestats.pl xxx.xxx.xxx.xxx'
CACTID: Host[34] DS[1414] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[34] ERROR: Empty result [xxx.xxx.xxx.xxx]: 'perl /var/www/html/cacti/scripts/ws_apachestats.pl xxx.xxx.xxx.xxx'
CACTID: Host[34] DS[1418] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[34] ERROR: Empty result [xxx.xxx.xxx.xxx]: 'perl /var/www/html/cacti/scripts/ws_apachestats.pl xxx.xxx.xxx.xxx'
CACTID: Host[34] DS[1419] WARNING: Result from SCRIPT not valid. Partial Result: ...
can any one help me with this i am getting the result when i running the script manually /var/www/html/cacti/scripts/ws_apachestats.pl xxx.xxx.xxx.xxx'
CACTID: Host[34] ERROR: Empty result [xxx.xxx.xxx.xxx]: 'perl /var/www/html/cacti/scripts/ws_apachestats.pl xxx.xxx.xxx.xxx'
CACTID: Host[34] DS[1417] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[34] ERROR: Empty result [xxx.xxx.xxx.xxx]: 'perl /var/www/html/cacti/scripts/ws_apachestats.pl xxx.xxx.xxx.xxx'
CACTID: Host[34] DS[1416] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[34] ERROR: Empty result [xxx.xxx.xxx.xxx]: 'perl /var/www/html/cacti/scripts/ws_apachestats.pl xxx.xxx.xxx.xxx
CACTID: Host[34] DS[1415] WARNING: Result from SCRIPT not valid. Partial Result: ...
OK u:0.00 s:0.01 r:0.13
CACTID: Host[34] ERROR: Empty result [xxx.xxx.xxx.xxx]: 'perl /var/www/html/cacti/scripts/ws_apachestats.pl xxx.xxx.xxx.xxx'
CACTID: Host[34] DS[1414] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[34] ERROR: Empty result [xxx.xxx.xxx.xxx]: 'perl /var/www/html/cacti/scripts/ws_apachestats.pl xxx.xxx.xxx.xxx'
CACTID: Host[34] DS[1418] WARNING: Result from SCRIPT not valid. Partial Result: ...
CACTID: Host[34] ERROR: Empty result [xxx.xxx.xxx.xxx]: 'perl /var/www/html/cacti/scripts/ws_apachestats.pl xxx.xxx.xxx.xxx'
CACTID: Host[34] DS[1419] WARNING: Result from SCRIPT not valid. Partial Result: ...
can any one help me with this i am getting the result when i running the script manually /var/www/html/cacti/scripts/ws_apachestats.pl xxx.xxx.xxx.xxx'
Thanks
Hi thanks for the reply the graphs are working fine now
Who is online
Users browsing this forum: No registered users and 2 guests