My Cacti stopped graphing network data for servers that I monitor using snmp. I am able to manually query the corresponding counter using snmpget
$ snmpget -v 2c -c XXX XXX .184.108.40.206.220.127.116.11.18.104.22.168 iso.22.214.171.124.126.96.36.199.1.6.4 = Counter64: 13662736603625
However the Counter does not increase until I restart snmpd on the server.
In the syslog of the server I noticed theese lines:
Jun 17 16:25:33 ns375911 snmpd: Cannot statfs /sys/kernel/security#012: Permission denied Jun 17 16:25:33 ns375911 snmpd: message repeated 17 times: [ Cannot statfs /sys/kernel/security#012: Permission denied]
The problem appears to affect only servers that I installed after a certain date (somewhere around may 2015)
I have Ubuntu 14.04.2 LTS.
Can anybody explain what is going on here and how can I fix it? I think the error causes snmp to abort and prevent it from updating the network interface statistics. Can I configure snmp to ignore this sys folder? Or give it permissions?