Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


[solved] WMI Script error

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Windows Specific
Author Message
terziyski



Joined: 02 Nov 2006
Posts: 44

PostPosted: Sat Apr 26, 2008 9:54 am    Post subject: [solved] WMI Script error Reply with quote

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: 6795
Location: WA, USA

PostPosted: Sat Apr 26, 2008 12:25 pm    Post subject: Reply with quote

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

PostPosted: Mon Apr 28, 2008 7:22 pm    Post subject: Reply with quote

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: 6795
Location: WA, USA

PostPosted: Tue Apr 29, 2008 4:28 am    Post subject: Reply with quote

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

PostPosted: Sat Aug 30, 2008 7:03 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Windows Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group