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.
raymonvdm wrote:root@machine:/home/me# snmpwalk -v2c -ctest 127.0.0.1 .1.3.6.1.4.1.8072.1.3.2.4.1.2
NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".1 = STRING: Fatal: Unable to generate local temporary file in directory '/var/run/': Permission denied
When i change the snmp service to run as root the problem is resolved, but i would like to run snmp as snmp user
Wondering around this problem also. Do you have solution?
running as a root it works, but when suing snmp user, then I get error message.
# snmpwalk -On -v2c -c [community] [ip-addr] 1.3.6.1.4.1.8072.1.3.2.4.1.2
.1.3.6.1.4.1.8072.1.3.2.4.1.2.8.112.100.110.115.45.114.101.99.1 = STRING: "Fatal: Unable to generate local temporary file in directory '/var/run/': Permission denied"
cacti version 0.8.7e
pdns version 3.2
debian 6.x on cacti and dns server
- change the socketdir to: /var/run/powerdns
- give right to snmp for writing to this directory, and files
- modified the scripts to call directly binaries, pdns_control and rec_control
- test it
sadly, when reboot/restart services you must change rights on the sockets.
This seems to be almost a 1 year old issue. I am having exactly same problem and was wondering if someone found a good fix for it?
snmpwalk -c COMM -v 2c localhost 1.3.6.1.4.1.8072.1.3.2.4
iso.3.6.1.4.1.8072.1.3.2.4.1.2.8.112.100.110.115.45.114.101.99.1 = STRING: "Fatal: Unable to generate local temporary file in directory '/var/run/':
Permission denied"