Hi, please help. This works fine with cmd.php poller.
I tried using this spine with cacti0.8.7e (preg set to 1), at first I got a "cygz.dll is missing", copied the dll file from my other pc with cygwin installed. And got the following result when running spine :
C:\spine>spine -R -V 5
NOTE: The Shell Command Exists in the current directory
SPINE: Using spine config file [spine.conf]
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The path_php_server variable is c:/wamp/www/cacti/script_server.php
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The path_cactilog variable is C:/wamp/www/cacti/log/cacti.log
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The log_destination variable is 1 (FILE)
cygwin warning:
MS-DOS style path detected: C:/wamp/www/cacti/log/cacti.log
Preferred POSIX equivalent is: /wamp/www/cacti/log/cacti.log
CYGWIN environment variable option "nodosfilewarning" turns off this warning.
Consult the user's guide for more details about POSIX paths:
http://cygwin.com/cygwin-ug-net/using.h ... -pathnames
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The path_php variable is c:/wamp/bin/php/php5.2.9-2/php.exe
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The availability_method variable is 2
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The ping_recovery_count variable is 3
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The ping_failure_count variable is 2
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The ping_method variable is 2
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The ping_retries variable is 1
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The ping_timeout variable is 400
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The snmp_retries variable is 3
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The log_perror variable is 1
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The log_pwarn variable is 0
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The boost_redirect variable is 0
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The log_pstats variable is 0
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The threads variable is 1
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The polling interval is 300 seconds
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The number of concurrent processes is 1
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The script timeout is 25
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The number of php script servers to run is 1
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: StartHost='-1', EndHost='-1', TotalPHPScripts='0'
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The PHP Script Server is Not Required
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: The Maximum SNMP OID Get Size is 20
08/22/2010 12:12:13 PM - SPINE: Poller[0] Version 0.8.7g starting
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: MySQL is Thread Safe!
08/22/2010 12:12:13 PM - SPINE: Poller[0] SPINE: Initializing Net-SNMP API
08/22/2010 12:12:13 PM - SPINE: Poller[0] DEBUG: Issues with SNMP Header Version information, assuming old version of Net-SNMP.
No log handling enabled - turning on stderr logging
Cannot find module (NOTIFICATION-LOG-MIB): At line 1 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 1 in (none)
Cannot find module (NET-SNMP-PASS-MIB): At line 1 in (none)
Cannot find module (NET-SNMP-EXTEND-MIB): At line 1 in (none)
08/22/2010 12:12:14 PM - SPINE: Poller[0] SPINE: Initializing PHP Script Server(s)
08/22/2010 12:12:14 PM - SPINE: Poller[0] NOTE: Spine did not detect multithreaded device polling.
08/22/2010 12:12:14 PM - SPINE: Poller[0] NOTE: Spine is behaving in a PRE 0.8.7g manner
08/22/2010 12:12:14 PM - SPINE: Poller[0] DEBUG: Initial Value of Active Threads is 0
08/22/2010 12:12:14 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
08/22/2010 12:12:14 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
08/22/2010 12:12:14 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
08/22/2010 12:12:14 PM - SPINE: Poller[0] Host[0] TH[1] DEBUG: HOST COMPLETE: About to Exit Host Polling Thread Function
08/22/2010 12:12:14 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 0
08/22/2010 12:12:14 PM - SPINE: Poller[0] DEBUG: In Poller, About to Start Polling of Host
08/22/2010 12:12:14 PM - SPINE: Poller[0] DEBUG: Valid Thread to be Created
08/22/2010 12:12:14 PM - SPINE: Poller[0] DEBUG: The Value of Active Threads is 1
08/22/2010 12:12:14 PM - SPINE: Poller[0] Host[2] SNMP Result: Host responded to SNMP
08/22/2010 12:12:14 PM - SPINE: Poller[0] Host[2] TH[1] RECACHE: Processing 1 items in the auto reindex cache for '10.100.254.11'
08/22/2010 12:12:14 PM - SPINE: Poller[0] Host[2] TH[1] NOTE: There are '48' Polling Items for this Host
08/22/2010 12:12:14 PM - SPINE: Poller[0] Host[2] DEBUG: The NIFTY POPEN returned the following File Descriptor 6
sh: c:\wamp\bin\php\php5.2.9-2\php.exe: command not found
08/22/2010 12:12:14 PM - SPINE: Poller[0] Host[2] ERROR: Empty result [10.100.254.11]: 'c:\wamp\bin\php\php5.2.9-2\php.exe -q C:\wamp\www\cacti\scripts\query_ecn2.php 10.100.254.11 2 1:161:500:1:10:public:::::: get ifin 2'
08/22/2010 12:12:14 PM - SPINE: Poller[0] Host[2] TH[1] DS[9] SCRIPT: c:\wamp\bin\php\php5.2.9-2\php.exe -q C:\wamp\www\cacti\scripts\query_ecn2.php 10.100.254.11 2 1:161:500:1:10:public:::::: get ifin 2, output: 0
08/22/2010 12:12:14 PM - SPINE: Poller[0] Host[2] DEBUG: The NIFTY POPEN returned the following File Descriptor 6
sh: c:\wamp\bin\php\php5.2.9-2\php.exe: command not found
08/22/2010 12:12:14 PM - SPINE: Poller[0] Host[2] ERROR: Empty result [10.100.254.11]: 'c:\wamp\bin\php\php5.2.9-2\php.exe -q C:\wamp\www\cacti\scripts\query_ecn2.php 10.100.254.11 2 1:161:500:1:10:public:::::: get ifout 2'
08/22/2010 12:12:14 PM - SPINE: Poller[0] Host[2] TH[1] DS[9] SCRIPT: c:\wamp\bin\php\php5.2.9-2\php.exe -q C:\wamp\www\cacti\scripts\query_ecn2.php 10.100.254.11 2 1:161:500:1:10:public:::::: get ifout 2, output: 0
08/22/2010 12:12:15 PM - SPINE: Poller[0] Host[2] DEBUG: The NIFTY POPEN returned the following File Descriptor 6
sh: c:\wamp\bin\php\php5.2.9-2\php.exe: command not found
08/22/2010 12:12:15 PM - SPINE: Poller[0] Host[2] ERROR: Empty result [10.100.254.11]: 'c:\wamp\bin\php\php5.2.9-2\php.exe -q C:\wamp\www\cacti\scripts\query_ecn2.php 10.100.254.11 2 1:161:500:1:10:public:::::: get ifin 3'
08/22/2010 12:12:15 PM - SPINE: Poller[0] Host[2] TH[1] DS[11] SCRIPT: c:\wamp\bin\php\php5.2.9-2\php.exe -q C:\wamp\www\cacti\scripts\query_ecn2.php 10.100.254.11 2 1:161:500:1:10:public:::::: get ifin 3, output: 0
08/22/2010 12:12:15 PM - SPINE: Poller[0] Host[2] DEBUG: The NIFTY POPEN returned the following File Descriptor 6
sh: c:\wamp\bin\php\php5.2.9-2\php.exe: command not found
08/22/2010 12:12:15 PM - SPINE: Poller[0] Host[2] ERROR: Empty result [10.100.254.11]: 'c:\wamp\bin\php\php5.2.9-2\php.exe -q C:\wamp\www\cacti\scripts\query_ecn2.php 10.100.254.11 2 1:161:500:1:10:public:::::: get ifout 3'
08/22/2010 12:12:15 PM - SPINE: Poller[0] Host[2] TH[1] DS[11] SCRIPT: c:\wamp\bin\php\php5.2.9-2\php.exe -q C:\wamp\www\cacti\scripts\query_ecn2.php 10.100.254.11 2 1:161:500:1:10:public:::::: get ifout 3, output: 0
08/22/2010 12:12:15 PM - SPINE: Poller[0] Host[2] DEBUG: The NIFTY POPEN returned the following File Descriptor 6
sh: c:\wamp\bin\php\php5.2.9-2\php.exe: command not found
08/22/2010 12:12:15 PM - SPINE: Poller[0] Host[2] ERROR: Empty result [10.100.254.11]: 'c:\wamp\bin\php\php5.2.9-2\php.exe -q C:\wamp\www\cacti\scripts\query_ecn2.php 10.100.254.11 2 1:161:500:1:10:public:::::: get ifin 1'
08/22/2010 12:12:15 PM - SPINE: Poller[0] Host[2] TH[1] DS[13] SCRIPT: c:\wamp\bin\php\php5.2.9-2\php.exe -q C:\wamp\www\cacti\scripts\query_ecn2.php 10.100.254.11 2 1:161:500:1:10:public:::::: get ifin 1, output: 0
08/22/2010 12:12:15 PM - SPINE: Poller[0] Host[2] DEBUG: The NIFTY POPEN returned the following File Descriptor 6
sh: c:\wamp\bin\php\php5.2.9-2\php.exe: command not found
08/22/2010 12:12:15 PM - SPINE: Poller[0] Host[2] ERROR: Empty result [10.100.254.11]: 'c:\wamp\bin\php\php5.2.9-2\php.exe -q C:\wamp\www\cacti\scripts\query_ecn2.php 10.100.254.11 2 1:161:500:1:10:public:::::: get ifout 1'
08/22/2010 12:12:15 PM - SPINE: Poller[0] Host[2] TH[1] DS[13] SCRIPT: c:\wamp\bin\php\php5.2.9-2\php.exe -q C:\wamp\www\cacti\scripts\query_ecn2.php 10.100.254.11 2 1:161:500:1:10:public:::::: get ifout 1, output: 0
08/22/2010 12:12:15 PM - SPINE: Poller[0] Host[2] DEBUG: The NIFTY POPEN returned the following File Descriptor 6
sh: c:\wamp\bin\php\php5.2.9-2\php.exe: command not found
08/22/2010 12:12:15 PM - SPINE: Poller[0] Host[2] ERROR: Empty result [10.100.254.11]: 'c:\wamp\bin\php\php5.2.9-2\php.exe -q C:\wamp\www\cacti\scripts\query_ecn2.php 10.100.254.11 2 1:161:500:1:10:public:::::: get ifin 4'
08/22/2010 12:12:15 PM - SPINE: Poller[0] Host[2] TH[1] DS[14] SCRIPT: c:\wamp\bin\php\php5.2.9-2\php.exe -q C:\wamp\www\cacti\scripts\query_ecn2.php 10.100.254.11 2 1:161:500:1:10:public:::::: get ifin 4, output: 0
08/22/2010 12:12:15 PM - SPINE: Poller[0] Host[2] DEBUG: The NIFTY POPEN returned the following File Descriptor 6
sh: c:\wamp\bin\php\php5.2.9-2\php.exe: command not found