After long long long days/hours, atlast I configured my cacti on windows 2003.
The intresting thing I wanted to tell you all is, the "php-win d:\cacti\poller.php" which executed by my scheduler normally hangs up and ends up with error saying "...exiting after 259 seconds " or similer message.
But today, while the poller.php was being executed, when I executed the "php d:\cacti\cmd.php" suddently the poller.php which noramally doesnt executes shown me error like
Code: Select all
#!/usr/bin/php -q
12/02/2004 08:14:43 PM - CMDPHP: Poller[0] PHP Script Server Started Properly
12/02/2004 08:14:43 PM - CMDPHP: Poller[0] Host[1] PING: Host is Alive
12/02/2004 08:14:43 PM - CMDPHP: Poller[0] Host[1] SNMP: Host responded to SNMP
12/02/2004 08:14:43 PM - CMDPHP: Poller[0] Host[1] RECACHE: Processing 3 items in the auto reindex cache for '192.168.1.21'.
12/02/2004 08:14:43 PM - CMDPHP: Poller[0] Host[1] CMD: perl d:\cacti/scripts/linux_memory.pl MemFree:, output: 55624
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] CMD: perl d:\cacti/scripts/linux_memory.pl SwapFree:, output: 4172120
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] CMD: perl d:\cacti/scripts/loadavg_multi.pl, output: 1min: 5min: 10min:
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] CMD: perl d:\cacti/scripts/unix_users.pl, output: 0
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] CMD: perl d:\cacti/scripts/unix_processes.pl, output: 2
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP not valid. Partial Result:
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 192.168.1.21, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, output: U
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP not valid. Partial Result:
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 192.168.1.21, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, output: U
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP not valid. Partial Result:
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 192.168.1.21, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, output: U
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP not valid. Partial Result:
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 192.168.1.21, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, output: U
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP not valid. Partial Result:
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 192.168.1.21, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, output: U
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP not valid. Partial Result:
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 192.168.1.21, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, output: U
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 192.168.1.21, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 6888154
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 192.168.1.21, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 6888154
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 192.168.1.21, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.65539, output: 6061091
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 192.168.1.21, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.65539, output: 3161827
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP not valid. Partial Result:
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 192.168.1.21, dsname: cpu_nice, oid: .1.3.6.1.4.1.2021.11.51.0, output: U
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP not valid. Partial Result:
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 192.168.1.21, dsname: cpu_system, oid: .1.3.6.1.4.1.2021.11.52.0, output: U
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP not valid. Partial Result:
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Host[1] SNMP: v1: 192.168.1.21, dsname: cpu_user, oid: .1.3.6.1.4.1.2021.11.50.0, output: U
12/02/2004 08:14:44 PM - CMDPHP: Poller[0] Time: 0.7845 s, Theads: N/A, Hosts: 1
i dont understand link with this cmd.php with the poller.php