RE: snmpd high CPU usage - polling rate?

2007-05-03 Thread Hackney [US], Daniel H.
Dave, Thanks for the response. I discovered the new caching behavior when I moved to 5.4. We ended up patching the code to refresh the counters in IF-MIB every 125ms (twice our polling rate), using the "enable-mini-agent" option, and loading in only the IF-MIB module. Using this combination

Re: snmptrapd forwarding with OID wildcards [SEC=UNCLASSIFIED]

2007-05-03 Thread John Rouillard
On Thu, May 03, 2007 at 10:40:53AM +1000, Hart, Matthew MR 2 wrote: > Thanks Wayne, > > We use a big correlation engine here (not open-source unfortunately), > but we wanted to filter out the superflous messages before they get to > it (our setup is too large to send every single event to the cent

Re: logging in net-snmp

2007-05-03 Thread Dave Shield
[Sorry for the delay in responding] On 22/03/07, anand anand <[EMAIL PROTECTED]> wrote: >I have put the following option in the snmp.conf file :- > doDebugging = 1. > > after running net-snmp for 48 hrs the log file size grows very huge, > . Is there any way i can dynamically

Re: Problem about using snmptrapd command

2007-05-03 Thread Dave Shield
[Sorry for the delay in responding] On 24/03/07, Kun Niu <[EMAIL PROTECTED]> wrote: > I'm trying to test snmptrapd as follows: > > snmptrapd -f -D -Le localhost > > And I'm using snmptrap like this: > > snmptrap -c public -v 1 localhost 42 coldStart.0 > > But I can't get any log message from the c

Re: how to register only one handler that handles all requests

2007-05-03 Thread Dave Shield
[Sorry for the delay in responding] On 26/03/07, David Wu <[EMAIL PROTECTED]> wrote: > We have a MIB daemon that can handle all MIB OIDs but no > authentication/encription or any SNMP request parsing. I'd like snmpd to > handle snmpget/snmpset request and MIB daemon to handle the actual GET/SET >

Re: snmpd high CPU usage - polling rate?

2007-05-03 Thread Dave Shield
[Sorry for the delay in responding] On 26/03/07, Hackney [US], Daniel H. <[EMAIL PROTECTED]> wrote: > I'm running Net-SNMP snmpd version 5.1.2 on Linux 2.6.11. I have a client > application that queries the localhost for eight values from IF-MIB using a > single GetRequest packet. The query rate

Re: Are special characters limitted on the SNMP V2C string

2007-05-03 Thread Dave Shield
[Sorry for the delay in responding] On 29/03/07, Jim Totman <[EMAIL PROTECTED]> wrote: > I have a system that uses NET-SNMP and I cannot create a read or write > string with the special characters #$%^&. > > Does NET-SNMP not allow special characters to be used? I've just tried with a community s

RE: Using /etc/hosts.deny and /etc/hosts.allow

2007-05-03 Thread Kalyan Kumar
Thank you, Our situation is different. 1. If we don't have any entries in either /etc/hosts.deny or /etc/hosts.allow everything works fine. 2. If /etc/hosts.deny has "snmpd:ALL", and /etc/hosts.allow has no entries there is no response to any query. 3. If /etc/hosts.deny has "snmpd:ALL", and /etc/

Re: Using /etc/hosts.deny and /etc/hosts.allow

2007-05-03 Thread Dave Shield
On 03/05/07, Kalyan Kumar <[EMAIL PROTECTED]> wrote: > We are using net-snmp-5.1.2. I noticed that net-snmp-5.1.3 is doing the > following in snmp_agent.c and the one in net-snmp-5.1.2 doesn't > (checking if it's a callback function): [snip] That's quite possibly relevant, yes. Note that the 5

Re: Problem with SNMPV3 response

2007-05-03 Thread Dave Shield
On 03/05/07, Madan Mohan Goud <[EMAIL PROTECTED]> wrote: > I removed the MIB code that is meant for SNMP-USM-MIB also. So, I am not > sure if that MIB will be registered in the MIB tree. However, I will try > and let you know. I'm tempted to suggest that you step back a bit, and try working with a

Re: Problem with SNMPV3 response

2007-05-03 Thread Dave Shield
On 03/05/07, Madan Mohan Goud <[EMAIL PROTECTED]> wrote: > I extracted the package without MIB support for SNMP-USM-MIB. > So, I can not retrieve the information through SNMP. Yes you can. The MIB files are only necessary to convert between numeric OIDs and the textual names. It is always

RE: Problem with SNMPV3 response

2007-05-03 Thread Madan Mohan Goud
Dave, I extracted the package without MIB support for SNMP-USM-MIB. So, I can not retrieve the information through SNMP. If your intention of knowing about the results of usmUserTable is to find out whether the users created really exists or not, then I confirm that the user entries creat

Re: Problem with SNMPV3 response

2007-05-03 Thread Dave Shield
On 03/05/07, Madan Mohan Goud <[EMAIL PROTECTED]> wrote: > I do not have any problems with community-based setup. > SNMPV1 and SNMPV2 seems to work fine. OK - so what about the answer to my other question: > what are the results of walking the usmUserTable ? Dave -

RE: Problem with SNMPV3 response

2007-05-03 Thread Madan Mohan Goud
>OK - what is the exact Net-SNMP command that you are trying? >What is the snmpd.conf file from the target system? The command I used from Net-SNMP client was: snmpget -v 3 -u madan -l authPriv -a MD5 -A madan123 -x DES -X madan123 10.240.10.169 1.3.6.1.2.1.6.1 I am not using snmpd.conf for con

Re: Problem with SNMPV3 response

2007-05-03 Thread Dave Shield
On 03/05/07, Madan Mohan Goud <[EMAIL PROTECTED]> wrote: > I am not using snmpd.conf for configuring the agent. I am configuring > the user "madan" in agent using APIs in snmpusm.c at start-up. OK - what are the results of walking the usmUserTable ? (Assuming that you have some form of working qu

Changing "Agent Address" in SNMP v1 traps

2007-05-03 Thread Dougal
Dear Listers, I have a problem I have been trying to solve for some time now and cannot seem to find a solution anywhere... Deployed on my servers Redhat with net-snmp-5.1.2-11.EL4.7. All of the servers are multi-homed with bond0(10.102.178.12) for data traffic and eth2(172.22.11.39) for manageme

Re: Problem with SNMPV3 response

2007-05-03 Thread Dave Shield
On 03/05/07, Madan Mohan Goud <[EMAIL PROTECTED]> wrote: > >What client software are you using? Is this based on Net-SNMP > >code, or some other SNMP toolkit?] > > This behavior is same with Net-SNMP based as well as non-NetSNMP > based SNMP clients. OK - what is the exact Net-SNMP command that y