Error in the poller.php
Moderators: Developers, Moderators
Error in the poller.php
I'm recieving the following error message and I suspect it is coming from the rrdtool.php file.
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\Documents and Settings\issadmin>cd \
C:\>cd inetpub
C:\Inetpub>cd wwwroot
C:\Inetpub\wwwroot>php poller.php
06/02/2005 03:56:36 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
Waiting on 1/1 pollers.
ERROR: change root is not supported by your OS or at least by this copy of rrdto
ol
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.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
I'm looking for any ieas where this might be coming from, I'm running on the windows build of Cacti.
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\Documents and Settings\issadmin>cd \
C:\>cd inetpub
C:\Inetpub>cd wwwroot
C:\Inetpub\wwwroot>php poller.php
06/02/2005 03:56:36 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
Waiting on 1/1 pollers.
ERROR: change root is not supported by your OS or at least by this copy of rrdto
ol
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.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
I'm looking for any ieas where this might be coming from, I'm running on the windows build of Cacti.
What versions of programs are you you running?
Also, apply the patches here: http://www.cacti.net/download_patches.php
Also, apply the patches here: http://www.cacti.net/download_patches.php
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
- TheWitness
- Developer
- Posts: 17061
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You are running rrdtool 1.2.6-perlxxx.zip from Tobi's web site which will not work with Cacti. It has a bug. Sorry, you should use the versions on the Cacti site at:
www.cacti.net/downloads
TheWitness
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?
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?
Non Op
I copied the rrdtool.exe to the C:\ drive and ran the command and this was the result.
C:\Inetpub\wwwroot>php poller.php
06/03/2005 11:46:35 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
C:\Inetpub\wwwroot>php poller.php
06/03/2005 11:46:35 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Proces
s [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Look at the slashes in the DEF:
C:\rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Default Gateway - Traffic - Fa0/10" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="C\:\Inetpub\wwwroot/rra/default_gateway_traffic_in_20.rrd":traffic_in:AVERAGE \
DEF:b="C\:\Inetpub\wwwroot/rra/default_gateway_traffic_in_20.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Default Gateway - Traffic - Fa0/10" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="C\:\Inetpub\wwwroot/rra/default_gateway_traffic_in_20.rrd":traffic_in:AVERAGE \
DEF:b="C\:\Inetpub\wwwroot/rra/default_gateway_traffic_in_20.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
poller cache
Data Source: Localhost - Memory - Free
RRD: C:\Inetpub\wwwroot\rra\localhost_mem_buffers_3.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/linux_memory.pl MemFree:
Data Source: Localhost - Memory - Free Swap
RRD: C:\Inetpub\wwwroot\rra\localhost_mem_swap_4.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/linux_memory.pl SwapFree:
Data Source: Localhost - Load Average
RRD: C:\Inetpub\wwwroot\rra\localhost_load_1min_5.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/loadavg_multi.pl
Data Source: Localhost - Logged in Users
RRD: C:\Inetpub\wwwroot\rra\localhost_users_6.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/unix_users.pl
Data Source: Localhost - Processes
RRD: C:\Inetpub\wwwroot\rra\localhost_proc_7.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/unix_processes.pl
Data Source: Localhost -
RRD: C:\Inetpub\wwwroot\rra\localhost_snmp_oid_8.rrd
Action: 0, OID: (Host: 127.0.0.1, Community: public)
Data Source: Default Gateway -
RRD: C:\Inetpub\wwwroot\rra\default_gateway_snmp_oid_10.rrd
Action: 0, OID: (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/1
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_11.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.1 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/1
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_11.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.1 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/2
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_12.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.2 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/2
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_12.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.2 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/3
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_13.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.3 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/3
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_13.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.3 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/4
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_14.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.4 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/4
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_14.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.4 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/5
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_15.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.5 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/5
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_15.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.5 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/6
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_16.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.6 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/6
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_16.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.6 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/7
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_17.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.7 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/7
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_17.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.7 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/8
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_18.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.8 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/8
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_18.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.8 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/9
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_19.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.9 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/9
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_19.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.9 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/10
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_20.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.10 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/10
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_20.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.10 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/11
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_21.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.11 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/11
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_21.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.11 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/12
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_22.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.12 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/12
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_22.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.12 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/13
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_23.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.13 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/13
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_23.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.13 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/14
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_24.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.14 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/14
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_24.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.14 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/15
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_25.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.15 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/15
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_25.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.15 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/16
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_26.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.16 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/16
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_26.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.16 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/17
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_27.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.17 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/17
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_27.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.17 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/18
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_28.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.18 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/18
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_28.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.18 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/19
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_29.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.19 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/19
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_29.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.19 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/20
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_30.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.20 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/20
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_30.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.20 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/21
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_31.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.21 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/21
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_31.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.21 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/22
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_32.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.22 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/22
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_32.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.22 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/23
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_33.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.23 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/23
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_33.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.23 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/24
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_34.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.24 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/24
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_34.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.24 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Gi0/1
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_35.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.25 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Gi0/1
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_35.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.25 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Gi0/2
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_36.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.26 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Gi0/2
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_36.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.26 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Nu0
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_37.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.27 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Nu0
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_37.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.27 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Vl1
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_38.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.28 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Vl1
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_38.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.28 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - 3.59.173.196 - Vl353
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_39.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.29 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - 3.59.173.196 - Vl353
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_39.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.29 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
RRD: C:\Inetpub\wwwroot\rra\localhost_mem_buffers_3.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/linux_memory.pl MemFree:
Data Source: Localhost - Memory - Free Swap
RRD: C:\Inetpub\wwwroot\rra\localhost_mem_swap_4.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/linux_memory.pl SwapFree:
Data Source: Localhost - Load Average
RRD: C:\Inetpub\wwwroot\rra\localhost_load_1min_5.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/loadavg_multi.pl
Data Source: Localhost - Logged in Users
RRD: C:\Inetpub\wwwroot\rra\localhost_users_6.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/unix_users.pl
Data Source: Localhost - Processes
RRD: C:\Inetpub\wwwroot\rra\localhost_proc_7.rrd
Action: 1, Script: perl C:\Inetpub\wwwroot/scripts/unix_processes.pl
Data Source: Localhost -
RRD: C:\Inetpub\wwwroot\rra\localhost_snmp_oid_8.rrd
Action: 0, OID: (Host: 127.0.0.1, Community: public)
Data Source: Default Gateway -
RRD: C:\Inetpub\wwwroot\rra\default_gateway_snmp_oid_10.rrd
Action: 0, OID: (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/1
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_11.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.1 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/1
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_11.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.1 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/2
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_12.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.2 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/2
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_12.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.2 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/3
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_13.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.3 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/3
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_13.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.3 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/4
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_14.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.4 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/4
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_14.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.4 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/5
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_15.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.5 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/5
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_15.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.5 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/6
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_16.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.6 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/6
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_16.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.6 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/7
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_17.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.7 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/7
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_17.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.7 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/8
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_18.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.8 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/8
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_18.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.8 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/9
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_19.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.9 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/9
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_19.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.9 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/10
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_20.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.10 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/10
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_20.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.10 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/11
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_21.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.11 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/11
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_21.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.11 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/12
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_22.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.12 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/12
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_22.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.12 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/13
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_23.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.13 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/13
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_23.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.13 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/14
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_24.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.14 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/14
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_24.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.14 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/15
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_25.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.15 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/15
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_25.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.15 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/16
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_26.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.16 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/16
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_26.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.16 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/17
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_27.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.17 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/17
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_27.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.17 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/18
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_28.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.18 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/18
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_28.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.18 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/19
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_29.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.19 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/19
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_29.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.19 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/20
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_30.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.20 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/20
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_30.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.20 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/21
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_31.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.21 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/21
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_31.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.21 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/22
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_32.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.22 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/22
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_32.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.22 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/23
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_33.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.23 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/23
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_33.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.23 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/24
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_34.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.24 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Fa0/24
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_34.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.24 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Gi0/1
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_35.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.25 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Gi0/1
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_35.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.25 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Gi0/2
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_36.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.26 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Gi0/2
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_36.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.26 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Nu0
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_37.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.27 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Nu0
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_37.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.27 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Vl1
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_38.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.28 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - Vl1
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_38.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.28 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - 3.59.173.196 - Vl353
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_39.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.10.29 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Data Source: Default Gateway - Traffic - 3.59.173.196 - Vl353
RRD: C:\Inetpub\wwwroot\rra\default_gateway_traffic_in_39.rrd
Action: 0, OID: .1.3.6.1.2.1.2.2.1.16.29 (Host: 3.59.173.196, Community: SecOpsSwitchSNMP)
Cacti log file
06/03/2005 02:43:35 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\php\, ARGS: -q c:\inetpub\wwwroot/cmd.php 0 3]
06/03/2005 02:36:52 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\php\, ARGS: -q c:\inetpub\wwwroot/cmd.php 0 3]
06/03/2005 02:35:28 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\php\, ARGS: -q c:\inetpub\wwwroot/cmd.php 0 3]
06/03/2005 02:26:52 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/03/2005 02:03:06 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/03/2005 12:03:30 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/03/2005 11:57:47 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/03/2005 11:51:32 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/03/2005 11:46:35 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/03/2005 11:44:16 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/03/2005 11:42:35 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/03/2005 10:00:49 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/02/2005 05:42:29 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/02/2005 05:31:23 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/02/2005 05:26:26 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/02/2005 03:56:36 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/02/2005 03:38:21 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/02/2005 03:33:58 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/02/2005 03:27:48 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/02/2005 03:20:24 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/03/2005 02:36:52 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\php\, ARGS: -q c:\inetpub\wwwroot/cmd.php 0 3]
06/03/2005 02:35:28 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\php\, ARGS: -q c:\inetpub\wwwroot/cmd.php 0 3]
06/03/2005 02:26:52 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/03/2005 02:03:06 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/03/2005 12:03:30 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/03/2005 11:57:47 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/03/2005 11:51:32 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/03/2005 11:46:35 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/03/2005 11:44:16 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/03/2005 11:42:35 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/03/2005 10:00:49 AM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/02/2005 05:42:29 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/02/2005 05:31:23 PM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/02/2005 05:26:26 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/02/2005 03:56:36 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/02/2005 03:38:21 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/02/2005 03:33:58 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/02/2005 03:27:48 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
06/02/2005 03:20:24 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: C:\Inetpub\wwwroot\, ARGS: 0 3]
1) Turn logging to DEBUG
2) Open a command window
3) Change Directories into your Cacti root
4) run "php <path_cacti>/cmd.php
5) post output
2) Open a command window
3) Change Directories into your Cacti root
4) run "php <path_cacti>/cmd.php
5) post output
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Response from "php cmd.php"
C:\Inetpub\wwwroot>php cmd.php
rd.php): failed to open stream: Invalid argument in C:\Inetpub\wwwroot\cmd.php o
n line 44
rd.php' for inclusion (include_path='.;C:\php5\pear') in C:\Inetpub\wwwroot\cmd.
php on line 44
#!/usr/bin/php -q
06/06/2005 10:15:18 AM - CMDPHP: Poller[0] ERROR: The PHP Script: CMD.PHP Must b
e started using the full path to the file and in lower case. This is a PHP Bug!
!!
rd.php): failed to open stream: Invalid argument in C:\Inetpub\wwwroot\cmd.php o
n line 44
rd.php' for inclusion (include_path='.;C:\php5\pear') in C:\Inetpub\wwwroot\cmd.
php on line 44
#!/usr/bin/php -q
06/06/2005 10:15:18 AM - CMDPHP: Poller[0] ERROR: The PHP Script: CMD.PHP Must b
e started using the full path to the file and in lower case. This is a PHP Bug!
!!
cmd.php
#!/usr/bin/php -q
<?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2004 Ian Berry |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU General Public License |
| as published by the Free Software Foundation; either version 2 |
| of the License, or (at your option) any later version. |
| |
| This program is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU General Public License for more details. |
+-------------------------------------------------------------------------+
| cacti: a php-based graphing solution |
+-------------------------------------------------------------------------+
| Most of this code has been designed, written and is maintained by |
| Ian Berry. See about.php for specific developer credit. Any questions |
| or comments regarding this code should be directed to: |
| - iberry@raxnet.net |
+-------------------------------------------------------------------------+
| - raXnet - http://www.raxnet.net/ |
+-------------------------------------------------------------------------+
*/
/* do NOT run this script through a web browser */
if (!isset($_SERVER["argv"][0])) {
die("<br><strong>This script is only meant to run at the command line.</strong>");
}
$start = date("Y-n-d H:i:s"); // for runtime measurement
$poller_update_time = date("Y-m-d H:i:s"); // for poller update time
ini_set("max_execution_time", "0");
ini_set("memory_limit", "32M");
$no_http_headers = true;
include(dirname(__FILE__) . "\include\config.php");
include_once($config["base_path"] . "\lib\snmp.php");
include_once($config["base_path"] . "\lib\poller.php");
include_once($config["base_path"] . "\lib\rrd.php");
include_once($config["base_path"] . "\lib\ping.php");
/* PHP Bug. Not yet submitted */
if ($config["cacti_server_os"] == "win32") {
$guess = substr(__FILE__,0,2);
if ($guess == strtoupper($guess)) {
$response = "ERROR: The PHP Script: CMD.PHP Must be started using the full path to the file and in lower case. This is a PHP Bug!!!";
print "\n";
cacti_log($response,true);
exit(-1);
}
}
/* Record Start Time */
list($micro,$seconds) = split(" ", microtime());
$start = $seconds + $micro;
if ( $_SERVER["argc"] == 1 ) {
$polling_items = db_fetch_assoc("SELECT * from poller_item ORDER by host_id");
$print_data_to_stdout = true;
/* Get number of polling items from the database */
$hosts = db_fetch_assoc("select * from host where disabled = '' order by id");
$hosts = array_rekey($hosts,"id",$host_struc);
$host_count = sizeof($hosts);
}else{
$print_data_to_stdout = false;
if ($_SERVER["argc"] == "3") {
if ($_SERVER["argv"][1] <= $_SERVER["argv"][2]) {
$hosts = db_fetch_assoc("select * from host where (disabled = '' and " .
"id >= " .
$_SERVER["argv"][1] .
" and id <= " .
$_SERVER["argv"][2] . ") ORDER by id");
$hosts = array_rekey($hosts,"id",$host_struc);
$host_count = sizeof($hosts);
$polling_items = db_fetch_assoc("SELECT * from poller_item " .
"WHERE (host_id >= " .
$_SERVER["argv"][1] .
" and host_id <= " .
$_SERVER["argv"][2] . ") ORDER by host_id");
}else{
print "ERROR: Invalid Arguments. The first argument must be less than or equal to the first.\n";
print "USAGE: CMD.PHP [[first_host] [second_host]]\n";
cacti_log("ERROR: Invalid Arguments. This rist argument must be less than or equal to the first.");
}
}else{
cacti_log("ERROR: Invalid Number of Arguments. You must specify 0 or 2 arguments.",$print_data_to_stdout);
}
}
if ((sizeof($polling_items) > 0) && (read_config_option("poller_enabled") == "on")) {
$failure_type = "";
$host_down = false;
$new_host = true;
$last_host = ""; $current_host = "";
// startup Cacti php polling server and include the include file for script processing
$cactides = array(
0 => array("pipe", "r"), // stdin is a pipe that the child will read from
1 => array("pipe", "w"), // stdout is a pipe that the child will write to
2 => array("pipe", "w") // stderr is a pipe to write to
);
// create new ping socket for host pinging
$ping = new Net_Ping;
if (function_exists("proc_open")) {
$cactiphp = proc_open(read_config_option("path_php_binary") . " " . $config["base_path"] . "/script_server.php cmd", $cactides, $pipes);
$output = fgets($pipes[1], 1024);
if (substr_count($output, "Started") != 0) {
if (read_config_option("log_verbosity") >= POLLER_VERBOSITY_HIGH) {
cacti_log("PHP Script Server Started Properly",$print_data_to_stdout);
}
}
$using_proc_function = true;
}else {
$using_proc_function = false;
if (read_config_option("log_verbosity") == POLLER_VERBOSITY_DEBUG) {
cacti_log("WARNING: PHP version 4.3 or above is recommended for performance considerations.",$print_data_to_stdout);
}
}
foreach ($polling_items as $item) {
$current_host = $item["hostname"];
if ($current_host != $last_host) {
$new_host = true;
$host_down = false;
}
$host_id = $item["host_id"];
if (($new_host) && (!empty($host_id))) {
$ping->host["hostname"] = $item["hostname"];
$ping->host["snmp_community"] = $item["snmp_community"];
$ping->host["snmp_version"] = $item["snmp_version"];
$ping->host["snmp_username"] = $item["snmp_username"];
$ping->host["snmp_password"] = $item["snmp_password"];
$ping->host["snmp_port"] = $item["snmp_port"];
$ping->host["snmp_timeout"] = $item["snmp_timeout"];
if ((!function_exists("socket_create")) || (phpversion() < "4.3")) {
/* the ping test will fail under PHP < 4.3 without socket support */
$ping_availability = AVAIL_SNMP;
}else{
$ping_availability = read_config_option("availability_method");
}
/* for this host, get it's current status for spike detection and set default spike value */
//$pre_host_status = $hosts[$host_id]["status"];
$set_spike_kill = FALSE;
/* if we are only allowed to use an snmp check and this host does not support snnp, we
must assume that this host is up */
if (($ping_availability == AVAIL_SNMP) && ($item["snmp_community"] == "")) {
$host_down = false;
update_host_status(HOST_UP, $host_id, $hosts, $ping, $ping_availability, $print_data_to_stdout);
if (read_config_option("log_verbosity") >= POLLER_VERBOSITY_MEDIUM) {
cacti_log("Host[$host_id] No host availability check possible for '" . $item["hostname"] . "'.", $print_data_to_stdout);
}
}else{
if ($ping->ping($ping_availability, read_config_option("ping_method"), read_config_option("ping_timeout"), read_config_option("ping_retries"))) {
$host_down = false;
update_host_status(HOST_UP, $host_id, $hosts, $ping, $ping_availability, $print_data_to_stdout);
}else{
$host_down = true;
update_host_status(HOST_DOWN, $host_id, $hosts, $ping, $ping_availability, $print_data_to_stdout);
}
}
if (!$host_down) {
/* do the reindex check for this host */
$reindex = db_fetch_assoc("select
poller_reindex.data_query_id,
poller_reindex.action,
poller_reindex.op,
poller_reindex.assert_value,
poller_reindex.arg1
from poller_reindex
where poller_reindex.host_id=" . $item["host_id"]);
if ((sizeof($reindex) > 0) && (!$host_down)) {
if (read_config_option("log_verbosity") == POLLER_VERBOSITY_DEBUG) {
cacti_log("Host[$host_id] RECACHE: Processing " . sizeof($reindex) . " items in the auto reindex cache for '" . $item["hostname"] . "'.",$print_data_to_stdout);
}
foreach ($reindex as $index_item) {
$assert_fail = false;
/* do the check */
switch ($index_item["action"]) {
case POLLER_ACTION_SNMP: /* snmp */
$output = cacti_snmp_get($item["hostname"], $item["snmp_community"], $index_item["arg1"], $item["snmp_version"], $item["snmp_username"], $item["snmp_password"], $item["snmp_port"], $item["snmp_timeout"], SNMP_CMDPHP);
break;
case POLLER_ACTION_SCRIPT: /* script (popen) */
$output = exec_poll($index_item["arg1"]);
break;
}
/* assert the result with the expected value in the db; recache if the assert fails */
if (($index_item["op"] == "=") && ($index_item["assert_value"] != trim($output))) {
cacti_log("ASSERT: '" . $index_item["assert_value"] . "=" . trim($output) . "' failed. Recaching host '" . $item["hostname"] . "', data query #" . $index_item["data_query_id"] . ".\n", $print_data_to_stdout);
db_execute("insert into poller_command (poller_id,time,action,command) values (0,NOW()," . POLLER_COMMAND_REINDEX . ",'" . $item["host_id"] . ":" . $index_item["data_query_id"] . "')");
$assert_fail = true;
}else if (($index_item["op"] == ">") && ($index_item["assert_value"] <= trim($output))) {
cacti_log("ASSERT: '" . $index_item["assert_value"] . ">" . trim($output) . "' failed. Recaching host '" . $item["hostname"] . "', data query #" . $index_item["data_query_id"] . ".\n", $print_data_to_stdout);
db_execute("insert into poller_command (poller_id,time,action,command) values (0,NOW()," . POLLER_COMMAND_REINDEX . ",'" . $item["host_id"] . ":" . $index_item["data_query_id"] . "')");
$assert_fail = true;
}else if (($index_item["op"] == "<") && ($index_item["assert_value"] >= trim($output))) {
cacti_log("ASSERT: '" . $index_item["assert_value"] . "<" . trim($output) . "' failed. Recaching host '" . $item["hostname"] . "', data query #" . $index_item["data_query_id"] . ".\n", $print_data_to_stdout);
db_execute("insert into poller_command (poller_id,time,action,command) values (0,NOW()," . POLLER_COMMAND_REINDEX . ",'" . $item["host_id"] . ":" . $index_item["data_query_id"] . "')");
$assert_fail = true;
}
/* update 'poller_reindex' with the correct information if:
* 1) the assert fails
* 2) the OP code is > or < meaning the current value could have changed without causing
* the assert to fail */
if (($assert_fail == true) || ($index_item["op"] == ">") || ($index_item["op"] == "<")) {
db_execute("update poller_reindex set assert_value='$output' where host_id='$host_id' and data_query_id='" . $index_item["data_query_id"] . "' and arg1='" . $index_item["arg1"] . "'");
/* spike kill logic */
if (($assert_fail) && ($index_item["arg1"] == ".1.3.6.1.2.1.1.3.0")) {
$set_spike_kill = true;
$set_spike_kill_time = date("Y-m-d H:i:s", strtotime($poller_update_time));
if (read_config_option("log_verbosity") == POLLER_VERBOSITY_DEBUG) {
cacti_log("Host[$host_id] NOTICE: Spike Kill in Effect for '" . $item["hostname"] . "'.", $print_data_to_stdout);
}
}
}
}
}
}
$new_host = false;
$last_host = $current_host;
}
if (!$host_down) {
switch ($item["action"]) {
case POLLER_ACTION_SNMP: /* snmp */
$output = cacti_snmp_get($item["hostname"], $item["snmp_community"], $item["arg1"], $item["snmp_version"], $item["snmp_username"], $item["snmp_password"], $item["snmp_port"], $item["snmp_timeout"], SNMP_CMDPHP);
/* remove any quotes from string */
$output = strip_quotes($output);
if (!validate_result($output)) {
if (strlen($output) > 20) {
$strout = 20;
} else {
$strout = strlen($output);
}
cacti_log("Host[$host_id] WARNING: Result from SNMP not valid. Partial Result: " . substr($output, 0, $strout), $print_data_to_stdout);
$output = "U";
}
if (read_config_option("log_verbosity") >= POLLER_VERBOSITY_MEDIUM) {
cacti_log("Host[$host_id] SNMP: v" . $item["snmp_version"] . ": " . $item["hostname"] . ", dsname: " . $item["rrd_name"] . ", oid: " . $item["arg1"] . ", output: $output",$print_data_to_stdout);
}
break;
case POLLER_ACTION_SCRIPT: /* script (popen) */
$output = trim(exec_poll($item["arg1"]));
/* remove any quotes from string */
$output = strip_quotes($output);
if (!validate_result($output)) {
if (strlen($output) > 20) {
$strout = 20;
} else {
$strout = strlen($output);
}
cacti_log("Host[$host_id] WARNING: Result from CMD not valid. Partial Result: " . substr($output, 0, $strout), $print_data_to_stdout);
$output = "U";
}
if (read_config_option("log_verbosity") >= POLLER_VERBOSITY_MEDIUM) {
cacti_log("Host[$host_id] CMD: " . $item["arg1"] . ", output: $output",$print_data_to_stdout);
}
break;
case POLLER_ACTION_SCRIPT_PHP: /* script (php script server) */
if ($using_proc_function == true) {
$output = trim(str_replace("\n", "", exec_poll_php($item["arg1"], $using_proc_function, $pipes, $cactiphp)));
/* remove any quotes from string */
$output = strip_quotes($output);
if (!validate_result($output)) {
if (strlen($output) > 20) {
$strout = 20;
} else {
$strout = strlen($output);
}
cacti_log("Host[$host_id] WARNING: Result from SERVER not valid. Partial Result: " . substr($output, 0, $strout), $print_data_to_stdout);
$output = "U";
}
if (read_config_option("log_verbosity") >= POLLER_VERBOSITY_MEDIUM) {
cacti_log("Host[$host_id] SERVER: " . $item["arg1"] . ", output: $output", $print_data_to_stdout);
}
}else{
if (read_config_option("log_verbosity") >= POLLER_VERBOSITY_MEDIUM) {
cacti_log("Host[$host_id] *SKIPPING* SERVER: " . $item["arg1"] . " (PHP < 4.3)", $print_data_to_stdout);
}
$output = "U";
}
break;
} /* End Switch */
if (isset($output)) {
/* insert a NaN in place of the actual value if the snmp agent restarts */
if (($set_spike_kill) && (!substr_count($output, ":"))) {
db_execute("insert into poller_output (local_data_id,rrd_name,time,output) values (" . $item["local_data_id"] . ",'" . $item["rrd_name"] . "','$set_spike_kill_time','" . addslashes("nan") . "')");
/* otherwise, just insert the value received from the poller */
}else{
db_execute("insert into poller_output (local_data_id,rrd_name,time,output) values (" . $item["local_data_id"] . ",'" . $item["rrd_name"] . "','$poller_update_time','" . addslashes($output) . "')");
}
}
} /* Next Cache Item */
} /* End foreach */
if ($using_proc_function == true) {
// close php server process
fwrite($pipes[0], "quit\r\n");
fclose($pipes[0]);
fclose($pipes[1]);
fclose($pipes[2]);
$return_value = proc_close($cactiphp);
}
if (($print_data_to_stdout) || (read_config_option("log_verbosity") >= POLLER_VERBOSITY_MEDIUM)) {
/* take time and log performance data */
list($micro,$seconds) = split(" ", microtime());
$end = $seconds + $micro;
cacti_log(sprintf("Time: %01.4f s, " .
"Theads: N/A, " .
"Hosts: %s",
round($end-$start,4),
$host_count),$print_data_to_stdout);
}
}else{
cacti_log("ERROR: Either there are no items in the cache or polling is disabled",$print_data_to_stdout);
}
/* Let the poller server know about cmd.php being finished */
db_execute("insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())");
?>
<?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2004 Ian Berry |
| |
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU General Public License |
| as published by the Free Software Foundation; either version 2 |
| of the License, or (at your option) any later version. |
| |
| This program is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU General Public License for more details. |
+-------------------------------------------------------------------------+
| cacti: a php-based graphing solution |
+-------------------------------------------------------------------------+
| Most of this code has been designed, written and is maintained by |
| Ian Berry. See about.php for specific developer credit. Any questions |
| or comments regarding this code should be directed to: |
| - iberry@raxnet.net |
+-------------------------------------------------------------------------+
| - raXnet - http://www.raxnet.net/ |
+-------------------------------------------------------------------------+
*/
/* do NOT run this script through a web browser */
if (!isset($_SERVER["argv"][0])) {
die("<br><strong>This script is only meant to run at the command line.</strong>");
}
$start = date("Y-n-d H:i:s"); // for runtime measurement
$poller_update_time = date("Y-m-d H:i:s"); // for poller update time
ini_set("max_execution_time", "0");
ini_set("memory_limit", "32M");
$no_http_headers = true;
include(dirname(__FILE__) . "\include\config.php");
include_once($config["base_path"] . "\lib\snmp.php");
include_once($config["base_path"] . "\lib\poller.php");
include_once($config["base_path"] . "\lib\rrd.php");
include_once($config["base_path"] . "\lib\ping.php");
/* PHP Bug. Not yet submitted */
if ($config["cacti_server_os"] == "win32") {
$guess = substr(__FILE__,0,2);
if ($guess == strtoupper($guess)) {
$response = "ERROR: The PHP Script: CMD.PHP Must be started using the full path to the file and in lower case. This is a PHP Bug!!!";
print "\n";
cacti_log($response,true);
exit(-1);
}
}
/* Record Start Time */
list($micro,$seconds) = split(" ", microtime());
$start = $seconds + $micro;
if ( $_SERVER["argc"] == 1 ) {
$polling_items = db_fetch_assoc("SELECT * from poller_item ORDER by host_id");
$print_data_to_stdout = true;
/* Get number of polling items from the database */
$hosts = db_fetch_assoc("select * from host where disabled = '' order by id");
$hosts = array_rekey($hosts,"id",$host_struc);
$host_count = sizeof($hosts);
}else{
$print_data_to_stdout = false;
if ($_SERVER["argc"] == "3") {
if ($_SERVER["argv"][1] <= $_SERVER["argv"][2]) {
$hosts = db_fetch_assoc("select * from host where (disabled = '' and " .
"id >= " .
$_SERVER["argv"][1] .
" and id <= " .
$_SERVER["argv"][2] . ") ORDER by id");
$hosts = array_rekey($hosts,"id",$host_struc);
$host_count = sizeof($hosts);
$polling_items = db_fetch_assoc("SELECT * from poller_item " .
"WHERE (host_id >= " .
$_SERVER["argv"][1] .
" and host_id <= " .
$_SERVER["argv"][2] . ") ORDER by host_id");
}else{
print "ERROR: Invalid Arguments. The first argument must be less than or equal to the first.\n";
print "USAGE: CMD.PHP [[first_host] [second_host]]\n";
cacti_log("ERROR: Invalid Arguments. This rist argument must be less than or equal to the first.");
}
}else{
cacti_log("ERROR: Invalid Number of Arguments. You must specify 0 or 2 arguments.",$print_data_to_stdout);
}
}
if ((sizeof($polling_items) > 0) && (read_config_option("poller_enabled") == "on")) {
$failure_type = "";
$host_down = false;
$new_host = true;
$last_host = ""; $current_host = "";
// startup Cacti php polling server and include the include file for script processing
$cactides = array(
0 => array("pipe", "r"), // stdin is a pipe that the child will read from
1 => array("pipe", "w"), // stdout is a pipe that the child will write to
2 => array("pipe", "w") // stderr is a pipe to write to
);
// create new ping socket for host pinging
$ping = new Net_Ping;
if (function_exists("proc_open")) {
$cactiphp = proc_open(read_config_option("path_php_binary") . " " . $config["base_path"] . "/script_server.php cmd", $cactides, $pipes);
$output = fgets($pipes[1], 1024);
if (substr_count($output, "Started") != 0) {
if (read_config_option("log_verbosity") >= POLLER_VERBOSITY_HIGH) {
cacti_log("PHP Script Server Started Properly",$print_data_to_stdout);
}
}
$using_proc_function = true;
}else {
$using_proc_function = false;
if (read_config_option("log_verbosity") == POLLER_VERBOSITY_DEBUG) {
cacti_log("WARNING: PHP version 4.3 or above is recommended for performance considerations.",$print_data_to_stdout);
}
}
foreach ($polling_items as $item) {
$current_host = $item["hostname"];
if ($current_host != $last_host) {
$new_host = true;
$host_down = false;
}
$host_id = $item["host_id"];
if (($new_host) && (!empty($host_id))) {
$ping->host["hostname"] = $item["hostname"];
$ping->host["snmp_community"] = $item["snmp_community"];
$ping->host["snmp_version"] = $item["snmp_version"];
$ping->host["snmp_username"] = $item["snmp_username"];
$ping->host["snmp_password"] = $item["snmp_password"];
$ping->host["snmp_port"] = $item["snmp_port"];
$ping->host["snmp_timeout"] = $item["snmp_timeout"];
if ((!function_exists("socket_create")) || (phpversion() < "4.3")) {
/* the ping test will fail under PHP < 4.3 without socket support */
$ping_availability = AVAIL_SNMP;
}else{
$ping_availability = read_config_option("availability_method");
}
/* for this host, get it's current status for spike detection and set default spike value */
//$pre_host_status = $hosts[$host_id]["status"];
$set_spike_kill = FALSE;
/* if we are only allowed to use an snmp check and this host does not support snnp, we
must assume that this host is up */
if (($ping_availability == AVAIL_SNMP) && ($item["snmp_community"] == "")) {
$host_down = false;
update_host_status(HOST_UP, $host_id, $hosts, $ping, $ping_availability, $print_data_to_stdout);
if (read_config_option("log_verbosity") >= POLLER_VERBOSITY_MEDIUM) {
cacti_log("Host[$host_id] No host availability check possible for '" . $item["hostname"] . "'.", $print_data_to_stdout);
}
}else{
if ($ping->ping($ping_availability, read_config_option("ping_method"), read_config_option("ping_timeout"), read_config_option("ping_retries"))) {
$host_down = false;
update_host_status(HOST_UP, $host_id, $hosts, $ping, $ping_availability, $print_data_to_stdout);
}else{
$host_down = true;
update_host_status(HOST_DOWN, $host_id, $hosts, $ping, $ping_availability, $print_data_to_stdout);
}
}
if (!$host_down) {
/* do the reindex check for this host */
$reindex = db_fetch_assoc("select
poller_reindex.data_query_id,
poller_reindex.action,
poller_reindex.op,
poller_reindex.assert_value,
poller_reindex.arg1
from poller_reindex
where poller_reindex.host_id=" . $item["host_id"]);
if ((sizeof($reindex) > 0) && (!$host_down)) {
if (read_config_option("log_verbosity") == POLLER_VERBOSITY_DEBUG) {
cacti_log("Host[$host_id] RECACHE: Processing " . sizeof($reindex) . " items in the auto reindex cache for '" . $item["hostname"] . "'.",$print_data_to_stdout);
}
foreach ($reindex as $index_item) {
$assert_fail = false;
/* do the check */
switch ($index_item["action"]) {
case POLLER_ACTION_SNMP: /* snmp */
$output = cacti_snmp_get($item["hostname"], $item["snmp_community"], $index_item["arg1"], $item["snmp_version"], $item["snmp_username"], $item["snmp_password"], $item["snmp_port"], $item["snmp_timeout"], SNMP_CMDPHP);
break;
case POLLER_ACTION_SCRIPT: /* script (popen) */
$output = exec_poll($index_item["arg1"]);
break;
}
/* assert the result with the expected value in the db; recache if the assert fails */
if (($index_item["op"] == "=") && ($index_item["assert_value"] != trim($output))) {
cacti_log("ASSERT: '" . $index_item["assert_value"] . "=" . trim($output) . "' failed. Recaching host '" . $item["hostname"] . "', data query #" . $index_item["data_query_id"] . ".\n", $print_data_to_stdout);
db_execute("insert into poller_command (poller_id,time,action,command) values (0,NOW()," . POLLER_COMMAND_REINDEX . ",'" . $item["host_id"] . ":" . $index_item["data_query_id"] . "')");
$assert_fail = true;
}else if (($index_item["op"] == ">") && ($index_item["assert_value"] <= trim($output))) {
cacti_log("ASSERT: '" . $index_item["assert_value"] . ">" . trim($output) . "' failed. Recaching host '" . $item["hostname"] . "', data query #" . $index_item["data_query_id"] . ".\n", $print_data_to_stdout);
db_execute("insert into poller_command (poller_id,time,action,command) values (0,NOW()," . POLLER_COMMAND_REINDEX . ",'" . $item["host_id"] . ":" . $index_item["data_query_id"] . "')");
$assert_fail = true;
}else if (($index_item["op"] == "<") && ($index_item["assert_value"] >= trim($output))) {
cacti_log("ASSERT: '" . $index_item["assert_value"] . "<" . trim($output) . "' failed. Recaching host '" . $item["hostname"] . "', data query #" . $index_item["data_query_id"] . ".\n", $print_data_to_stdout);
db_execute("insert into poller_command (poller_id,time,action,command) values (0,NOW()," . POLLER_COMMAND_REINDEX . ",'" . $item["host_id"] . ":" . $index_item["data_query_id"] . "')");
$assert_fail = true;
}
/* update 'poller_reindex' with the correct information if:
* 1) the assert fails
* 2) the OP code is > or < meaning the current value could have changed without causing
* the assert to fail */
if (($assert_fail == true) || ($index_item["op"] == ">") || ($index_item["op"] == "<")) {
db_execute("update poller_reindex set assert_value='$output' where host_id='$host_id' and data_query_id='" . $index_item["data_query_id"] . "' and arg1='" . $index_item["arg1"] . "'");
/* spike kill logic */
if (($assert_fail) && ($index_item["arg1"] == ".1.3.6.1.2.1.1.3.0")) {
$set_spike_kill = true;
$set_spike_kill_time = date("Y-m-d H:i:s", strtotime($poller_update_time));
if (read_config_option("log_verbosity") == POLLER_VERBOSITY_DEBUG) {
cacti_log("Host[$host_id] NOTICE: Spike Kill in Effect for '" . $item["hostname"] . "'.", $print_data_to_stdout);
}
}
}
}
}
}
$new_host = false;
$last_host = $current_host;
}
if (!$host_down) {
switch ($item["action"]) {
case POLLER_ACTION_SNMP: /* snmp */
$output = cacti_snmp_get($item["hostname"], $item["snmp_community"], $item["arg1"], $item["snmp_version"], $item["snmp_username"], $item["snmp_password"], $item["snmp_port"], $item["snmp_timeout"], SNMP_CMDPHP);
/* remove any quotes from string */
$output = strip_quotes($output);
if (!validate_result($output)) {
if (strlen($output) > 20) {
$strout = 20;
} else {
$strout = strlen($output);
}
cacti_log("Host[$host_id] WARNING: Result from SNMP not valid. Partial Result: " . substr($output, 0, $strout), $print_data_to_stdout);
$output = "U";
}
if (read_config_option("log_verbosity") >= POLLER_VERBOSITY_MEDIUM) {
cacti_log("Host[$host_id] SNMP: v" . $item["snmp_version"] . ": " . $item["hostname"] . ", dsname: " . $item["rrd_name"] . ", oid: " . $item["arg1"] . ", output: $output",$print_data_to_stdout);
}
break;
case POLLER_ACTION_SCRIPT: /* script (popen) */
$output = trim(exec_poll($item["arg1"]));
/* remove any quotes from string */
$output = strip_quotes($output);
if (!validate_result($output)) {
if (strlen($output) > 20) {
$strout = 20;
} else {
$strout = strlen($output);
}
cacti_log("Host[$host_id] WARNING: Result from CMD not valid. Partial Result: " . substr($output, 0, $strout), $print_data_to_stdout);
$output = "U";
}
if (read_config_option("log_verbosity") >= POLLER_VERBOSITY_MEDIUM) {
cacti_log("Host[$host_id] CMD: " . $item["arg1"] . ", output: $output",$print_data_to_stdout);
}
break;
case POLLER_ACTION_SCRIPT_PHP: /* script (php script server) */
if ($using_proc_function == true) {
$output = trim(str_replace("\n", "", exec_poll_php($item["arg1"], $using_proc_function, $pipes, $cactiphp)));
/* remove any quotes from string */
$output = strip_quotes($output);
if (!validate_result($output)) {
if (strlen($output) > 20) {
$strout = 20;
} else {
$strout = strlen($output);
}
cacti_log("Host[$host_id] WARNING: Result from SERVER not valid. Partial Result: " . substr($output, 0, $strout), $print_data_to_stdout);
$output = "U";
}
if (read_config_option("log_verbosity") >= POLLER_VERBOSITY_MEDIUM) {
cacti_log("Host[$host_id] SERVER: " . $item["arg1"] . ", output: $output", $print_data_to_stdout);
}
}else{
if (read_config_option("log_verbosity") >= POLLER_VERBOSITY_MEDIUM) {
cacti_log("Host[$host_id] *SKIPPING* SERVER: " . $item["arg1"] . " (PHP < 4.3)", $print_data_to_stdout);
}
$output = "U";
}
break;
} /* End Switch */
if (isset($output)) {
/* insert a NaN in place of the actual value if the snmp agent restarts */
if (($set_spike_kill) && (!substr_count($output, ":"))) {
db_execute("insert into poller_output (local_data_id,rrd_name,time,output) values (" . $item["local_data_id"] . ",'" . $item["rrd_name"] . "','$set_spike_kill_time','" . addslashes("nan") . "')");
/* otherwise, just insert the value received from the poller */
}else{
db_execute("insert into poller_output (local_data_id,rrd_name,time,output) values (" . $item["local_data_id"] . ",'" . $item["rrd_name"] . "','$poller_update_time','" . addslashes($output) . "')");
}
}
} /* Next Cache Item */
} /* End foreach */
if ($using_proc_function == true) {
// close php server process
fwrite($pipes[0], "quit\r\n");
fclose($pipes[0]);
fclose($pipes[1]);
fclose($pipes[2]);
$return_value = proc_close($cactiphp);
}
if (($print_data_to_stdout) || (read_config_option("log_verbosity") >= POLLER_VERBOSITY_MEDIUM)) {
/* take time and log performance data */
list($micro,$seconds) = split(" ", microtime());
$end = $seconds + $micro;
cacti_log(sprintf("Time: %01.4f s, " .
"Theads: N/A, " .
"Hosts: %s",
round($end-$start,4),
$host_count),$print_data_to_stdout);
}
}else{
cacti_log("ERROR: Either there are no items in the cache or polling is disabled",$print_data_to_stdout);
}
/* Let the poller server know about cmd.php being finished */
db_execute("insert into poller_time (poller_id, start_time, end_time) values (0, NOW(), NOW())");
?>
Command "php c:\inetpub\wwwroot\cmd.php"
C:\Inetpub\wwwroot>php c:\inetpub\wwwroot\cmd.php
rd.php): failed to open stream: Invalid argument in c:\Inetpub\wwwroot\cmd.php o
n line 44
rd.php' for inclusion (include_path='.;C:\php5\pear') in c:\Inetpub\wwwroot\cmd.
php on line 44
#!/usr/bin/php -q
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[1] PING: Host is Alive
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[1] SNMP: Host did not respond to
SNMP
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] PING: Host is Alive
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: Host responded to SNMP
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] RECACHE: Processing 1 items i
n the auto reindex cache for '3.59.173.196'.
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] WARNING: Result from SNMP not
valid. Partial Result:
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: snmp_oid, oid: , output: U
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 401327376
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 2587624048
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 292808576
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 1342370477
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 423665090
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 578821088
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 86285052
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 292733942
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, output: 1133856494
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, output: 1731975695
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, output: 3544257036
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, output: 491866928
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, output: 208269442
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, output: 435038422
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.8, output: 490247593
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.8, output: 482500366
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.9, output: 1826769617
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.9, output: 2380352331
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10, output: 1859118558
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10, output: 1950937658
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.11, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.11, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.12, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.12, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.13, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.13, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.14, output: 2902932949
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.14, output: 1043628542
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.15, output: 682452591
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.15, output: 702478753
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.16, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.16, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.17, output: 481176965
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.17, output: 3257472057
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.18, output: 3909546022
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.18, output: 2573280196
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.19, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.19, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.20, output: 997727929
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.20, output: 1498065905
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.21, output: 795564796
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.21, output: 192157244
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.22, output: 1569621361
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.22, output: 3057228825
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.23, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.23, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.24, output: 3055035259
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.24, output: 1570514986
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.25, output: 3334886955
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.25, output: 1640044937
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.26, output: 64
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.26, output: 64
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.27, output: 0
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.27, output: 0
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.28, output: 0
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.28, output: 0
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.29, output: 3676134356
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.29, output: 656233651
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Time: 2.6684 s, Theads: N/A, Hosts: 2
C:\Inetpub\wwwroot>
rd.php): failed to open stream: Invalid argument in c:\Inetpub\wwwroot\cmd.php o
n line 44
rd.php' for inclusion (include_path='.;C:\php5\pear') in c:\Inetpub\wwwroot\cmd.
php on line 44
#!/usr/bin/php -q
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[1] PING: Host is Alive
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[1] SNMP: Host did not respond to
SNMP
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] PING: Host is Alive
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: Host responded to SNMP
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] RECACHE: Processing 1 items i
n the auto reindex cache for '3.59.173.196'.
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] WARNING: Result from SNMP not
valid. Partial Result:
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: snmp_oid, oid: , output: U
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 401327376
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 2587624048
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 292808576
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 1342370477
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, output: 423665090
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, output: 578821088
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.4, output: 86285052
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.4, output: 292733942
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.5, output: 1133856494
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.5, output: 1731975695
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.6, output: 3544257036
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.6, output: 491866928
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.7, output: 208269442
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.7, output: 435038422
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.8, output: 490247593
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.8, output: 482500366
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.9, output: 1826769617
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.9, output: 2380352331
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10, output: 1859118558
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10, output: 1950937658
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.11, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.11, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.12, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.12, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.13, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.13, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.14, output: 2902932949
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.14, output: 1043628542
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.15, output: 682452591
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.15, output: 702478753
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.16, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.16, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.17, output: 481176965
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.17, output: 3257472057
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.18, output: 3909546022
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.18, output: 2573280196
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.19, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.19, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.20, output: 997727929
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.20, output: 1498065905
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.21, output: 795564796
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.21, output: 192157244
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.22, output: 1569621361
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.22, output: 3057228825
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.23, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.23, output: 64
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.24, output: 3055035259
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.24, output: 1570514986
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.25, output: 3334886955
06/06/2005 11:04:28 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.25, output: 1640044937
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.26, output: 64
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.26, output: 64
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.27, output: 0
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.27, output: 0
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.28, output: 0
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.28, output: 0
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.29, output: 3676134356
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Host[3] SNMP: v1: 3.59.173.196, dsnam
e: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.29, output: 656233651
06/06/2005 11:04:29 AM - CMDPHP: Poller[0] Time: 2.6684 s, Theads: N/A, Hosts: 2
C:\Inetpub\wwwroot>
Who is online
Users browsing this forum: No registered users and 1 guest