Switching Pollers

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

Moderators: Developers, Moderators

Post Reply
tman
Cacti User
Posts: 97
Joined: Thu Oct 14, 2004 4:14 pm

Switching Pollers

Post by tman »

I am attempting to switch pollers from cmd.php to cactid, but am experiencing some issues. I'm having to do this because after upgrading to 0.8.6h, my polling times really shot up (from around 140s to just under 300s), which caused system instability as the polling cycles often overran.

Firstly, I'm running Cacti 0.8.6h (fully patched) on Win2k, php 4.4.1, MySql 4.1.12a, rrdtool 1.2.12, ActivePerl 5.8 and net-snmp 5.1.2.

When trying to use cactid 0.8.6g, I got many SNMP timeout errors, so tried using 0.8.6f-1. This works better, and for polling standard SNMP OID's it seems ok, but a lot of scripts (from the Cacti website) don't run, and just 'Output: U'. They are mainly perl scripts, and Perl is installed and working ok. Even some of the internal scripts (Unix Load Average) just output: u when run under cactid.

The DEBUG level output from Cacti for a single poll shows many of the following errors when a script fails to work;

DEBUG: The POPEN returned the following File Descriptor 9

I really like Cacti, and use it every day, and would like to get this sorted.

If any other info is needed, let me know.

Thanks
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Possible permission issue regarding cactid and the scripts it's trying to run. Fire up FileMon and look for 'denied' errors relating to your scripts.

Another possiblity is you're using backward slashes for paths. Cactid must use forward slashes.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests