I have read through the documentation and installed Cacti on a Windows 2003 server. For the most part, we have it up and running.
I have a problem with the poller, though. It works if I keep remote desktop session open on the server. If I log that session off, though, then the poller will hang.
I'm pretty sure that there is additional account policies that need to be assigned in Windows, but I don't know what they should be.
The cacti user has the following user rights assigned:
- Access this computer from the network
Allow logon locally
Allow log on through Terminal Services (added manually)
Bypass traverse checking
Log on as a batch job
Here is an excerpt from the log. You can see that the task hangs when the user is not logged in:
04/23/2008 03:14:59 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceed
ed. Exiting.
04/23/2008 03:14:59 PM - SYSTEM STATS: Time:299.1439 Method:cmd.php Processes:1
Threads:N/A Hosts:8 HostsPerProcess:8 DataSources:474 RRDsProcessed:0
04/23/2008 03:19:59 PM - POLLER: Poller[0] Maximum runtime of 298 seconds exceed
ed. Exiting.
04/23/2008 03:19:59 PM - SYSTEM STATS: Time:299.1172 Method:cmd.php Processes:1
Threads:N/A Hosts:8 HostsPerProcess:8 DataSources:474 RRDsProcessed:0
It runs fine when the user is logged in, even with a disconnected RDP session:
04/23/2008 03:20:04 PM - SYSTEM STATS: Time:3.9622 Method:cmd.php Processes:1 Th
reads:N/A Hosts:9 HostsPerProcess:9 DataSources:572 RRDsProcessed:286
04/23/2008 03:25:04 PM - SYSTEM STATS: Time:3.6360 Method:cmd.php Processes:1 Th
reads:N/A Hosts:9 HostsPerProcess:9 DataSources:572 RRDsProcessed:286
Other information:
- Operating System: Windows 2003
Webserver: IIS 6
Cacti: 0.8.7b
Spine: 0.8.7a
MySQL: 5.0.51a
PHP: 5.2.5
RRDTool (Cygwin or Win32 version): 1.2.27 (win32)
Net-SNMP: 5.4.1-3
Cygwin (cygwin1.dll version): N/A
Plugin Architecture: N/A