|
|
| Author |
Message |
terziyski
Joined: 02 Nov 2006 Posts: 44
|
Posted: Sat Apr 26, 2008 9:54 am Post subject: [solved] WMI Script error |
|
|
I am using WMI Script to collect Windows UpTime statistics. When I create graph at the next poll interval I found in Cacti log file:
--------------------------------------------------------------------------------
PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
PHPSVR: Poller[0] ERROR: Input Expected, Script Server Terminating
SPINE: Poller[0] FATAL: Spine Encountered a Segmentation Fault (Spine thread)
--------------------------------------------------------------------------------
and there is a gap in all graphs till I remove this new data source.
How could I fix this ?
I am using Cacti 0.8.7b under Windows XP with spine poller. |
|
| Back to top |
|
 |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 6791 Location: WA, USA
|
Posted: Sat Apr 26, 2008 12:25 pm Post subject: |
|
|
1) switch to the cmd.php poller. your problem still persist?
2) if you manually run the script, does it work?
3) look in the poller cache for that device and look for your script. manually try to run the command(s) it is. does it work? |
|
| Back to top |
|
 |
terziyski
Joined: 02 Nov 2006 Posts: 44
|
Posted: Mon Apr 28, 2008 7:22 pm Post subject: |
|
|
1) switch to the cmd.php poller. your problem still persist?
No, it does not
2) if you manually run the script, does it work?
Yes, it works
3) look in the poller cache for that device and look for your script. manually try to run the command(s) it is. does it work?
'Script: C:/WINDOWS/system32/cscript.exe //Nologo C:/Inetpub/wwwroot/cacti/scripts/w32_WMI_UPTIME.vbs localhost'
Yes, it works
What can I do further ? |
|
| Back to top |
|
 |
BSOD2600 Cacti Moderator
Joined: 08 May 2004 Posts: 6791 Location: WA, USA
|
Posted: Tue Apr 29, 2008 4:28 am Post subject: |
|
|
Well since switching to cmd.php, solved your issue... problem solved.
You can try upgrading your spine version with the latest from the SVN. |
|
| Back to top |
|
 |
terziyski
Joined: 02 Nov 2006 Posts: 44
|
Posted: Sat Aug 30, 2008 7:03 pm Post subject: |
|
|
Updating cygwin libraries in spine folder with the original in cygwin folder solved the issue with the spine poller.
Consider this topic as solved. |
|
| Back to top |
|
 |
|