Hi,
I was just testing this
http://forums.cacti.net/viewtopic.php?f=12&t=24791
with pass through control.
pass .1.3.6.1.4.1.2021.60 /usr/local/scripts/snmp/get_entropy.sh
I added the graph but noticed that no graph appaers and also no rrd file is written.
Next I found out that the reason for this is that no entry is written in table poller_items for this.
I inserted a line into this table but after a while it suddenly was gone.
Today I found out the reason for this: this line is removed by the rebuild of the poller cache (rebuild_poller_cache.php).
So I did some debugging of the PHP code (rebuild_poller_cache.php, utility.php) and found the reason for this behaviour: there was no entry in table snmp_query_graph_rrd for this.
I added a line and this time it "survived" the rebuild of the poller cache.
But the strange thing is that the necessary entry in snmp_query_graph_rrd was missing in the first place.
If anybody has experience with this I would like to know.
Frank
(tested with version 0.8.8b on Fedora 21)
snmp script gives no entry in snmp_query_graph_rrd
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 8 guests