Poller Problems
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 130
- Joined: Thu Mar 31, 2005 4:24 pm
- Location: Sydney, Asutralia
- Contact:
Poller Problems
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
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 (49.32 KiB) Viewed 2134 times
This should fix it: http://forums.cacti.net/viewtopic.php?t=9352
| 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 |
-
- Cacti User
- Posts: 130
- Joined: Thu Mar 31, 2005 4:24 pm
- Location: Sydney, Asutralia
- Contact:
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.
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.
The user account running the scheduled task have the proper NTFS security rights on cmd.exe, the scripts and php files?
| 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 |
-
- Cacti User
- Posts: 130
- Joined: Thu Mar 31, 2005 4:24 pm
- Location: Sydney, Asutralia
- Contact:
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.
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.
I wouldn't use the SYSTEM account to run the task. You will have problems running WMI scripts on remote machines.
| 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 |
-
- Cacti User
- Posts: 130
- Joined: Thu Mar 31, 2005 4:24 pm
- Location: Sydney, Asutralia
- Contact:
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)
Set objSWbemLocator = CreateObject("WbemScripting.SWbemLocator")
Set objSWbemServices = objSWbemLocator.ConnectServer(servername, _
"root\CIMV2", _
Networkusername, _
Networkpassword, _
"MS_409", _
"NTLMDomain:" + servername)
Who is online
Users browsing this forum: No registered users and 3 guests