I built Net-SNMP 5.7.2 from source and installed it. When I run snmpget --version
and snmpd --version
it displays the correct version.
However only because of the fact that I am experiencing some SNMP related errors at the moment, I checked my /var/log/syslog
for any entries. Surprisingly it has the following:
Apr 11 23:07:00 ubuntu snmpd[4281]: Received TERM or STOP signal... shutting down...
Apr 11 23:09:58 ubuntu snmpd[4401]: iquerySecName has not been configured - internal queries will fail
Apr 11 23:09:58 ubuntu snmpd[4401]: /etc/snmp/snmpd.conf: line 77: Error: No address associated with hostname
Apr 11 23:09:58 ubuntu snmpd[4401]: /etc/snmp/snmpd.conf: line 91: Error: bad SUBTREE object id
Apr 11 23:09:58 ubuntu snmpd[4401]: /etc/snmp/snmp.conf: line 6: Warning: Unknown token: com2sec.
Apr 11 23:09:58 ubuntu snmpd[4401]: net-snmp: 2 error(s) in config file(s)
Apr 11 23:09:58 ubuntu snmpd[4401]: NET-SNMP version 5.4.3
I double checked what PID the daemon it currently running at and it is indeed 4401.
I did not build SNMP version 5.4.3. I'm confused. It is also telling me there are errors in my configuration too, perhaps this is why I am having such problems at the moment because my configuration file is for that of a later version.
Any ideas?