windows mibs browser can get from one agent but not the other

2007-11-23 Thread PoWah Wong
I compiled my agent source code for net-snmp-5.0.9 on RH 7.2 and net-snmp-5.4.1 on FC 6. A windows mibs browser is used to get the same mib node value from the linux agent running net-snmp-5.4.1 on FC 6 and the linux agent running net-snmp-5.0.9 on RH 7.2. The first agent timeout and the second age

Re: net-snmp-5.4.1 tcp wrappers

2007-11-23 Thread Brian Kroth
Gentoo. I found a patch that they added to the latest ebuild that is causing this. I'll take up the problem with them. Thanks, Brian Dave Shield <[EMAIL PROTECTED]>: > On 22/11/2007, Brian Kroth <[EMAIL PROTECTED]> wrote: > > > > I'm running into a problem with the upgrade of net-snmp from 5.4

Avoid prefixing mib node name with mib name for snmp transactions

2007-11-23 Thread PoWah Wong
I had configured net-snmp-5.4.1 for mycomp mib and copy the mib to /usr/local/share/snmp/mibs. However, I still need to prefix mib node name (e.g. hwNonCriticalEvents.0) with mib name (e.g. MYCOMP-MIB) for snmp transactions. Is there a way to avoid prefixing mib node name with mib name for snmp tra

Writing a MIB module

2007-11-23 Thread Violette Moulin
Hi all, I want to write a MIB module, as in http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module I do : # ./configure --with-mib-modules="nstAgentModuleObject" # make # make install # snmpd then : # snmpget -v 1 -c public localhost NET-SNMP-TUTORIAL-MIB:: nstAgentModuleObject.0 Error

Re: Re: Urgent - Time synchronization packet - does encryption required

2007-11-23 Thread Dave Shield
On 23/11/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > If a user say "PrivUser" is configured in the Agent is AuthPriv SecurityLevel That's not how it works. You don't specify a user as having a particular security level. A user is associated with an authentication protocol (which may be "

Re: Re: Urgent - Time synchronization packet - does encryption required

2007-11-23 Thread ravikumar1984
Hi Dave, If a user say "PrivUser" is configured in the Agent is AuthPriv SecurityLevel user and the TimeSynchronization packet is comes from the manager is with following details, i) Agent authoritative EngineID. ii) UserName is "PrivUser" i.e the correct userName. iii) EngineTime and

Re: --with-mib-modules="ucd-snmp/lmSensors" not working

2007-11-23 Thread Dave Shield
On 23/11/2007, PoWah Wong <[EMAIL PROTECTED]> wrote: > > Things to check: > > - access control: > > - active agent modules: > > # snmpd -f -Le -Ducd-snmp/lmSensors > registered debug token ucd-snmp/lmSensors, 1 > => sensor_init > <= sensor_init OK - so the agent *is* picking up the se

Re: --with-mib-modules="ucd-snmp/lmSensors" not working

2007-11-23 Thread PoWah Wong
--- Dave Shield <[EMAIL PROTECTED]> wrote: > On 23/11/2007, PoWah Wong <[EMAIL PROTECTED]> > wrote: > > I compile net-snmp-5.4.1 as follows: > > # cd net-snmp-5.4.1 > > # ./configure > --with-libs=/usr/local/lib/libsensors.a > > --with-defaults --with-openssl=/ > > --with-mib-modules="dev/ent ucd

Re: --with-mib-modules="ucd-snmp/lmSensors" not working

2007-11-23 Thread Dave Shield
On 23/11/2007, PoWah Wong <[EMAIL PROTECTED]> wrote: > I compile net-snmp-5.4.1 as follows: > # cd net-snmp-5.4.1 > # ./configure --with-libs=/usr/local/lib/libsensors.a > --with-defaults --with-openssl=/ > --with-mib-modules="dev/ent ucd-snmp/lmSensors" > --with-out-mib-modules="agent_mibs utiliti

--with-mib-modules="ucd-snmp/lmSensors" not working

2007-11-23 Thread PoWah Wong
I compile net-snmp-5.4.1 as follows: # cd net-snmp-5.4.1 # ./configure --with-libs=/usr/local/lib/libsensors.a --with-defaults --with-openssl=/ --with-mib-modules="dev/ent ucd-snmp/lmSensors" --with-out-mib-modules="agent_mibs utilities" Then I install it and test it like this: $ snmpwalk -v 3 -u