Hello all,
I am sorry if I am writing such a lengthy mail, but thought it would be helpful
for others who might be facing similar problems.
I observed some problem while installing NET-SNMP on Linux system. I could find
solution to some of my problems by searching the mail archives. But I am not
sure of whether I have done it properly or not
Problem1: NET-SNMP always started with older version
When I run /etc/init.d/snmpd start, in the /var/log/messages it always used to
say NET SNMP started 5.1...
But I did the complete installation for 5.4.2 (No problem with ./configure +
make + make install)
To overcome this problem, I tried to put this path in snmpd (/etc/init.d/snmpd)
/usr/local/bin path instead of /usr/sbin which had my old snmpd binary.
After this when i start snmpd, I see in the /var/log/messages the daemon
started in version 5.4.2
My question are?
a) will this approach cause any problem?
b) How can I completely remove my old NET-SNMP installation which is somewhere
5.1..
c) Why doesn't NET-SNMP installation remove or rewrite old snmpd/snmptrapd
binaries which are pre-existing in the system? Or copy these binaries /usr/sbin
in addition to other destination. (Anyway two instances of net-snmp can not
exist)
Problem 2: All tokens are displayed as unknown
After doing this if I invoke snmpd I get warning for all tokens as unknown
(like rocommunity, rwcommunity, defalutmonitor, linkupdownnotofication, proc...
and the list continues)
Why I am gettting this? If I list the list of installed modules, I get a huge
list. I think there is basic module which is missing? But could not figure
which module is that.
Problem 3: Understanding the complex world of SNMP configuration
First of all I did not understand the difference b/w snmp.conf and snmpd.conf?
Can someone tell whats the significance of these two files.
Why do we need two seperate files.
Whats the difference b/w SNMP daemon and SNMP agent running on the system.
One more strange observation is that net snmp requires the above configuration
files in many locations as told in FAQ. Sometimes these files are overwritten
by daemon/agent (I really dont know) and the files become "socket files" with
the following content
There is no such file or device.
Hope I will get answers to these...
Thanks for your patience.
Regards,
Mohan
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders