Poller Problems

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

Moderators: Developers, Moderators

Post Reply
africanw
Cacti User
Posts: 130
Joined: Thu Mar 31, 2005 4:24 pm
Location: Sydney, Asutralia
Contact:

Poller Problems

Post by africanw »

Hi,

I am running Windows 2000 with php 5.0.4 and RRD 1.2.11.

From a fresh install my graphs will work ok with just the local host. Once I add another host with cpu/disk space/etc the poller will just hang.

I ran the poller manually and what seems to be happening (see attached graph) that the ss_host_cpu.php scripts fails and the poller just sites and waits.

Have this problem with php version 4.0.4 aswell.

Any ideas?

Grant
Attachments
cacti.gif
cacti.gif (49.32 KiB) Viewed 2132 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

africanw
Cacti User
Posts: 130
Joined: Thu Mar 31, 2005 4:24 pm
Location: Sydney, Asutralia
Contact:

Post by africanw »

Doh sorry yes forgot to say I have Version G and have already applied that fixed. Left the files alone in the resource directory and put the two fixed files in the scripts directory.
africanw
Cacti User
Posts: 130
Joined: Thu Mar 31, 2005 4:24 pm
Location: Sydney, Asutralia
Contact:

Post by africanw »

Ok fixed the popup problem. .php was not assocated with php which is why it could not find it.

If I run the poller manully with cpu graphs (ss_host_cpu.php) it runs through fine. If I run the scheduled task it gets stuck as soon as it runs that php script. Delete all the graphs/datasouces for cpu and everything will run fine.

Have no idea now.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

The user account running the scheduled task have the proper NTFS security rights on cmd.exe, the scripts and php files?
africanw
Cacti User
Posts: 130
Joined: Thu Mar 31, 2005 4:24 pm
Location: Sydney, Asutralia
Contact:

Post by africanw »

Scheduled task runs as SYSTEM.

That account and the Internet guest account has rights to the the web files/rrd/cmd.exe. SYSTEM did not have rights to the php directory but the Internet guest account did, so have applied and will try a cpu graph again.

On a different note when I delete data sources on my linux system it removes the RRD files. On my Windows system it does not. Maybe it has to do with the above will try.
africanw
Cacti User
Posts: 130
Joined: Thu Mar 31, 2005 4:24 pm
Location: Sydney, Asutralia
Contact:

Post by africanw »

Nope still same problem with cpu graphs...

Maybe Ill just make my own script with WMI for cpus I think.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

I wouldn't use the SYSTEM account to run the task. You will have problems running WMI scripts on remote machines.
africanw
Cacti User
Posts: 130
Joined: Thu Mar 31, 2005 4:24 pm
Location: Sydney, Asutralia
Contact:

Post by africanw »

All our windows machines have one special Admin account which I access using this WMI code --

Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator")
Set objSWbemServices = objSWbemLocator.ConnectServer(servername, _
"root\CIMV2", _
Networkusername, _
Networkpassword, _
"MS_409", _
"NTLMDomain:" + servername)
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests