Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I upgraded cactid to version 0.8.6g today, and since then lots of data sources were no longer updated. I don't know what the old version of cactid was, but it was a version that didn't have spike suppression because that is why I wanted the upgrade
Cacti itself is the latest version available from cacti.net, with rrdtool 1.2 (downgrading to 1.0 didn't help). When I use cmd.php everything works fine...
OK u:0.04 s:0.06 r:2.17
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
As of Cactid version 0.8.6g, scripts are no longer executed through the poller with a shell. This greatly increases speed as only one process needs to be created for every script call rather than two.
Because of this change, scripts that rely on the shell environment's PATH will no longer work. You must go through your scripts under "Data Input Methods" and make sure that the "Input Script" field always contains the complete path to any binary that is referenced. After making this change, you should clear your poller cache under "Utilities" for the changes to take effect.
For example, a script that was called as "perl /path/to/my/script.pl", must now be called as "/usr/bin/perl /path/to/my/script.pl". Be sure to update your scripts in "Data Input Methods" before upgrading Cactid to prevent data loss.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
I did those updates; all perl-scripts now use /usr/bin/perl instead of just "perl". Clearing the poller cache got me a strange result: after clicking "clear cache" I got a list of all items in the cache. Is that normal?
Yes, "clear poller cache" sould be renamed "rebuild poller cache"
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Is there a way to have cactid tell what data source it's trying to update? That would at least give me some idea of where to look. I've got over 3000 data sources, so examining each one for errors is not really an option
You can the poller logging level to "DEBUG", and select only "errors"
(in Settings -> General).
You'll then see the errors in log/cacti.log
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Did you ever get a resolution to this? I am running into the same type problem... my cactid.conf file was put into the /etc directory by default, I copied over to /usr/loca/bin... where my cactid executible sits but had the same result.
I am not upgrading cactid, I have just outgrown my cmd.php
Waiting on 1/1 pollers.
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-SMI::enterprises.9.2.1.58.0
CACTID: Host[0] DS[988] WARNING: Result from SCRIPT not valid. Partial Result: cpu_util_5...
Waiting on -1/1 pollers.
ERROR: Not enough arguments
OK u:0.00 s:0.00 r:1.00
Waiting on -1/1 pollers.
Waiting on -1/1 pollers.
Waiting on -1/1 pollers.
Waiting on -1/1 pollers.
Waiting on -1/1 pollers.
Waiting on -1/1 pollers.
Waiting on -1/1 pollers.
Waiting on -1/1 pollers.
Waiting on -1/1 pollers.
The cactid.conf is in the same directory as the cactid binary; it connects to the database just fine, and does indeed update _SOME_ data sources. The only problem is that it appears to "hang" after some time, waiting for a poller to finish.