unable to get mib details on ubuntu installation.

Compilation and installation questions and stories
Post Reply
anarayan20000
Posts: 13
Joined: 01 Dec 2015, 09:38

unable to get mib details on ubuntu installation.

Post by anarayan20000 »

Hi,

I am unable to get snmp details from the installation done on ubuntu.
it give the below error..in core.log

[2015-12-01 12:05:39.162]loader: 'net-snmp' not found
[2015-12-01 12:07:18.883]loader: 'net-snmp' not found
[2015-12-01 12:07:46.831]loader: 'net-snmp' not found
[2015-12-01 14:44:19.305]loader: 'net-snmp' not found
[2015-12-01 14:45:04.718]loader: 'net-snmp' not found
[2015-12-01 14:46:20.302]loader: 'net-snmp' not found

Regards
A. Narayan
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: unable to get mib details on ubuntu installation.

Post by Dmitry »

is it your custom build ?
did you set cmake -DNETSNMP=TRUE ?
anarayan20000
Posts: 13
Joined: 01 Dec 2015, 09:38

Re: unable to get mib details on ubuntu installation.

Post by anarayan20000 »

Hi,
I set using cmake -DNETSNMP=TRUE.
as below..

cmake [-DBUILD_DRIVER=TRUE] [-DKDIR=/usr/src/linux-headers-3.19.0-25] [-DCMAKE_INSTALL_PREFIX=/usr/local] [-DCMAKE_BUILD_TYPE=Release] [-DLOG_PGSQL=FALSE] [-DSHAPER=TRUE] [-DRADIUS=TRUE] [-DNETSNMP=TRUE] ..
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: unable to get mib details on ubuntu installation.

Post by Dmitry »

i hope without [] braces ?
anarayan20000
Posts: 13
Joined: 01 Dec 2015, 09:38

Re: unable to get mib details on ubuntu installation.

Post by anarayan20000 »

Hi ,
after removing [] , snmp service is up.

but i am getting the below error in logs.

[2015-12-01 17:51:22]: warn: net-snmp: Warning: no access control information configured.
(Config search path: /etc/snmp:/usr/share/snmp:/usr/lib/x86_64-linux-gnu/snmp:/home/ran/.snmp)
It's unlikely this agent can serve any useful purpose in this state.
Run "snmpconf -g basic_setup" to help you configure the accel-ppp.conf file for this agent.
Dmitry
Администратор
Posts: 954
Joined: 09 Oct 2014, 10:06

Re: unable to get mib details on ubuntu installation.

Post by Dmitry »

yes, you need generic snmp config at /etc/snmp/accel-ppp.conf

and put there at least such line:
rwcommunity secret localhost
anarayan20000
Posts: 13
Joined: 01 Dec 2015, 09:38

Re: unable to get mib details on ubuntu installation.

Post by anarayan20000 »

Hi

Thanks its working now.

Regards
A. Narayan
Post Reply