Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Thu Aug 17, 2017 6:31 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Server Script not running
PostPosted: Mon Dec 19, 2016 4:54 am 
Offline

Joined: Mon Dec 19, 2016 4:38 am
Posts: 5
Hello I installed the latest Cacti version (0.8.8h) on my Windows 7 Computer. Everything is working fine except the graphs which display CPU Usage and HDD Used Space.

Indeed I get these errors :

Image

When I run the php script to get the cpu usage with server_script.php it's working :
Image

Only the data templates configured with "Get Script Server Data (Indexed)" input method are not working. Other configurations are working well.

Here is an other screen which shows that SMNP is working well :

Image

Note that I'm using IIS as Web Server.

Operating System: Windows 7
Webserver: IIS 7
Cacti: 0.8.8h
Spine: Not using.
MySQL: 5.7.17
PHP: 5.5.38
RRDTool (Cygwin or Win32 build): 1.2
Net-SNMP: 5.0

Thanks for your help :)

Sylvain.


Top
 Profile  
 
 Post subject: Re: Server Script not running
PostPosted: Mon Dec 26, 2016 9:00 am 
Offline
Cacti User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 463
Please use the spine poller, it will detect script server crashes. You likely have a broken script. Search the doc for how to test you scripts.

_________________
Before history, there was a paradise, now dust.


Top
 Profile  
 
 Post subject: Re: Server Script not running
PostPosted: Tue Dec 27, 2016 12:17 pm 
Offline

Joined: Mon Dec 19, 2016 4:38 am
Posts: 5
Thanks for your reply.

I installed Spine on my Windows server and it compiled fine. When I execute poller.php from my terminal it's working fine too and it gets the data. But when my scheduled task executes the poller it's not working... I checked with Process Monitor and there is no right issue, do you have any idea ?

Thanks again :)

Sylvain.


Top
 Profile  
 
 Post subject: Re: Server Script not running
PostPosted: Tue Jan 03, 2017 10:55 am 
Offline
Cacti Moderator
User avatar

Joined: Sat May 08, 2004 12:44 pm
Posts: 12128
Location: USA
Syl38 wrote:
When I execute poller.php from my terminal it's working fine too and it gets the data. But when my scheduled task executes the poller it's not working... I checked with Process Monitor and there is no right issue, do you have any idea ?

Must be a permission issue still... test with opening the cmd window AS the scheduled task user and then running it. Any errors displayed or logged in cacti.log?

_________________

| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group