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
Switching Pollers
Moderators: Developers, Moderators
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.
Another possiblity is you're using backward slashes for paths. Cactid must use forward slashes.
| 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 |
Who is online
Users browsing this forum: No registered users and 4 guests