Re: Cannot get snmp monitoring working on Ubuntu Xenial (Unknown token: defaultMonitors)

Robert Story <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Thu, 7 Sep 2017 17:11:04 +0000 David wrote:
DR> I am trying to get snmp monitoring on Ubuntu Xeniel. I've
DR> installed snmp, snmpd, and snmp-mibs-downloader. When I start
DR> snmpd, I get the following warnings in the syslog:
DR> 
DR> Sep  7 12:03:41 vault1 snmpd[11753]:  * Starting SNMP services:
DR> Sep  7 12:03:41 vault1 snmpd[11762]: /etc/snmp/snmpd.conf: line
DR> 145: Warning: Unknown token: defaultMonitors. Sep  7 12:03:41
DR> vault1 snmpd[11762]: /etc/snmp/snmpd.conf: line 147: Warning:
DR> Unknown token: linkUpDownNotifications. Sep  7 12:03:41 vault1
DR> snmpd[11762]: Turning on AgentX master support. Sep  7 12:03:41
DR> vault1 snmpd[11762]: /etc/snmp/snmpd.conf: line 196: Warning:
DR> Unknown token: monitor. Sep  7 12:03:41 vault1
DR> snmpd[11762]: /etc/snmp/snmpd.conf: line 197: Warning: Unknown
DR> token: monitor. Sep  7 12:03:41 vault1
DR> snmpd[11762]: /etc/snmp/snmpd.conf: line 198: Warning: Unknown
DR> token: monitor. Sep  7 12:03:41 vault1 systemd[1]: Started LSB:
DR> SNMP agents. Sep  7 12:03:41 vault1 snmpd[11764]: NET-SNMP
DR> version 5.7.3
DR> 
DR> This would seem to be that the DISMAN feature is not active for
DR> SNMP. How can I fix this problem? David

Unknown token means that the support isn't compiled in. Did
you install the Ubuntu package, or build from source? It would be
odd for a distro to exclude DISMAN, but if they did your only option
would be to build your own version. See if you have net-snmp-config
(might need the devel package). If so, if will tell you what the
configure options were:

  net-snmp-config --configure-options


Hopefully you've already resolved this. If so, please let us know
what the solution was.


Robert

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.