Re: mib2c.mfd.conf: ifTable instance keeps there even when I stopped ifTable agent daemon

2011-03-29 Thread Magnus Fromreide
On Tue, 2011-03-29 at 12:46 -0400, Zimmer Hu wrote: > Thanks Dave. So I have to have IF-MIB removed from default MIBs in > order to have my ifTable work? Since DEBUGMSGTL doesn't work in > ifTable even I have -DALL turned on. Here you have to be careful - have you enabled -DALL in the agent or in

Re: mib2c.mfd.conf: ifTable instance keeps there even when I stopped ifTable agent daemon

2011-03-29 Thread Zimmer Hu
Thanks Dave. So I have to have IF-MIB removed from default MIBs in order to have my ifTable work? Since DEBUGMSGTL doesn't work in ifTable even I have -DALL turned on. -Zimmer On Tue, Mar 29, 2011 at 12:17 PM, Dave Shield wrote: > On 29 March 2011 16:31, Zimmer Hu wrote: > > I get a strange phe

Re: mib2c.mfd.conf: ifTable instance keeps there even when I stopped ifTable agent daemon

2011-03-29 Thread Dave Shield
On 29 March 2011 16:31, Zimmer Hu wrote: > I get a strange phenomena: After I stopped ifTable agent daemon generated > with mib2c.mfd.conf, I can still get the value from it with snmpget and > mbrowse. ifTable is part of the default agent, so you'd normally expect to be able to query it - even w

Re: unable to run snmpd as non-root user

2011-03-29 Thread Dave Shield
On 29 March 2011 17:06, Ravi Kumar wrote: > by the way does it make any difference if  initgroups failed as for as > snmpd functionalities are concerned ? Not in general, no. Probably the only difference would be if there are files that the agent needs to access, which are readable by you due t

Re: snmpd.conf problem: getting 'no access control information configured.' error

2011-03-29 Thread Dave Shield
On 29 March 2011 13:18, Radhika Ramakrishnan - ERS, HCLT wrote: >> our application writes the below error in the console >        Warning: no access control information configured. >  We have configured the snmpd.conf also. And placed it in the path /etc/snmp > and /usr/local/share/snm

Re: unable to run snmpd as non-root user

2011-03-29 Thread Ravi Kumar
Thanks it works with -r -u... -Dsnmpd/main shows that uid/gid is being changed back to non-root user. by the way does it make any difference if initgroups failed as for as snmpd functionalities are concerned ? Thanks, Ravi On 3/29/11, Dave Shield wrote: > On 28 March 2011 19:25, Ravi Kumar w

mib2c.mfd.conf: ifTable instance keeps there even when I stopped ifTable agent daemon

2011-03-29 Thread Zimmer Hu
Hi, I get a strange phenomena: After I stopped ifTable agent daemon generated with mib2c.mfd.conf, I can still get the value from it with snmpget and mbrowse. I tried to stop snmpd, the value is gone. But after I restart snmpd, the ifTable MO instance value can be got with snmpget and mbrowse. Is

Re: snmpd.conf problem: getting 'no access control information configured.' error

2011-03-29 Thread Niels Baggesen
On Tue, Mar 29, 2011 at 05:48:37PM +0530, Radhika Ramakrishnan - ERS, HCLT wrote: > We have configured the snmpd.conf also. And placed it in the path /etc/snmp > and /usr/local/share/snmp > > > Does anyone have any idea on why still I am getting this error? Because the 3rd party supplier tol

snmpd.conf problem: getting 'no access control information configured.' error

2011-03-29 Thread Radhika Ramakrishnan - ERS, HCLT
Hi, > I am working with an application that uses Net-SNMP library for SNMP > communication > The application is opening the port 161 (SNMP port). But it is not accepting > any incoming request. > As our application is a 3rd party dll, we don't have control over that. But > it writes the below e

Notifications not logged in case of other than Startup

2011-03-29 Thread Nilesh karle
Hi, I am using net-snmp version 5.4.1. and notification-Log mib for logging the Notifications. When I create trap and send to targets, I can receive the same at targets. But, the traps are not getting logged in nlmLogTable/nlmLogVariableTable .[Notification-Log mib] With some debugging, I found

Re: unable to run snmpd as non-root user

2011-03-29 Thread Dave Shield
On 28 March 2011 19:25, Ravi Kumar wrote: > [ravi@volga]$ sudo /home/ravi/net-snmp-5.5/agent/snmpd -c > /home/ravi/net-snmp-5.5/local/snmpd.conf,/var/net-snmp/snmpd.conf -C > -f -Le -u ravi > > Cannot find module (IP-MIB): At line 0 in (none) > Cannot find module (IF-MIB): At line 0 in (none) > in

Re: MIB Tree implementation

2011-03-29 Thread Dave Shield
On 29 March 2011 06:21, Manjit wrote: > Are we using any Hash Table or tree implementation in this ? or only list. The original implementation used a simple linked list, and that's still the underlying mechanism, as far as I can tell. Since then, there's another lookup layer on top of this list,