Spine Stripping Slashes from path?

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
Toddles18
Posts: 22
Joined: Fri Feb 20, 2009 1:28 pm

Spine Stripping Slashes from path?

Post by Toddles18 »

Code: Select all

04/16/2009 09:12:25 AM - SPINE: Poller[0] Host[12] ERROR: Empty result [SQL1.fic.ffg]: 'd:\php\php.exe -q d:\Apache2.2\htdocs\cacti\scripts\php_mssql_dbsizes.php SQL1.fic.ffg SQL1.fic.ffg get datafileused model'
04/16/2009 09:12:25 AM - SPINE: Poller[0] Host[12] DS[187] WARNING: Result fromSCRIPT not valid. Partial Result: ...
04/16/2009 09:12:25 AM - SPINE: Poller[0] Host[12] DS[187] SCRIPT: d:\php\php.exe -q d:\Apache2.2\htdocs\cacti\scripts\php_mssql_dbsizes.php SQL1.fic.ff SQL1.fic.ffg get datafileused model, output: U
04/16/2009 09:12:25 AM - SPINE: Poller[0] Host[12] DEBUG: The POPEN returned the following File Descriptor 5 Could not open input file: d:Apache2.2htdocscactiscriptsphp_mssql_dbsizes.php
When I run the command manually from the command line it works and I get the results I expect:

Code: Select all

D:\Spine>d:\php\php.exe -q d:\Apache2.2\htdocs\cacti\scripts\php_mssql_dbsizes.php SQL1.fic.ffg SQL1.fic.ffg get datafileused model
1.25
When I try to use the cmd.php poller I'm getting a message "waiting on poller 1/1" that never seems to complete, however if I manually run cmd.php I get the proper results

Code: Select all

04/16/2009 11:13:54 AM - CMDPHP: Poller[0] Host[12] DS[221] CMD: d:\php\php.exe -q d:\Apache2.2\htdocs\cacti\scripts\php_mssql_dbsizes.php SQL1.fic.ffg SQL1.fic.ffg get datafileused xm8_shared, output: 1.5
Any Idea's?

I've tried with Spine 0.8.7.a and the 0.8.7d R3
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) please read the troubleshooting steps in http://forums.cacti.net/viewtopic.php?t=11747

2) spine requires forward slashes for the path. After updating them, clear the poller cache.
Toddles18
Posts: 22
Joined: Fri Feb 20, 2009 1:28 pm

Post by Toddles18 »

I don't understand why it is switching my slashes. In my XML file it is using forward slashes.

Code: Select all

	<script_path>d:/php/php.exe -q d:/Apache2.2/htdocs/cacti/scripts/php_mssql_dbsizes.php</script_path>
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

If everything with that script uses forward slashes, the poller cache shows forward slashes, then it's a bug with Spine. Those issues should be brought up in the spine 0.8.7d R3 thread.
Toddles18
Posts: 22
Joined: Fri Feb 20, 2009 1:28 pm

Post by Toddles18 »

The poller cache shows backslashes as well.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests