On my freebsd box i have snmpd daemon from net-snmp-5.5_4 packet.
In snmpd.conf file i have:
extend .22.214.171.124.4.1.2021.2 inpt /usr/bin/perl /usr/local/etc/snmp/mpdinput.pl
where mpdinput.pl my script which return input-octets from some mpd5-ng network interface.
Cacti reading this value and plot such graphs:
I added red lines to graph.
In marked places snmpd cache the result and return prev values, thats why rrdtool plot zero activity. And its a problem for me.
How to prevent caching result in snmpd?