sysInfo variables not displayed in GetIF

2009-12-08 Thread Gert Cronje
Hi. I'm working on an embedded linux device (avr32 with buildroot-2.2.0 and kernel 2.6.25). The net-snmp installation works very nicely, and I can walk, set and get all the variables I want. The problem, however is that the sysInfo variables are not detected correctly with the getif tool (2.2 an

Re: problem configuring foundry load balancer using snmpset

2009-12-08 Thread Raj Gurung
Mike, Thanks for your suggestion. I checked that (SnL4RealServer) RowStatus is 2 which I believe is notInService. Correct me if I am wrong? ~# for i in `seq 1 8`;do snmpget -v1 -crwcommunity 10.10.10.253 1.3.6.1.4.1.1991.1.1.4.3.1.1.$i.1; done

Re: why "snmplib/snmp_alarm.c" needed in net-snmp agent

2009-12-08 Thread Dave Shield
2009/12/8 Mike Ayers : >        Check your snmpd.conf file.  I suspect you've got a lot of > monitoring turned on.  Many of the monitors: disman, RMON, > hardware monitoring, etc. use alarms to schedule their activity, it would > seem. There are also some MIB modules which rely on re-loading the

RE: trapsink with variable ip destination

2009-12-08 Thread Mike Ayers
> From: majid namnabat [mailto:maj@gmail.com] > Sent: Tuesday, December 08, 2009 5:05 AM > In my system, the trap reciever ip was a mib object in my mib. In this > state, we first must set this IP address and then receives the traps. > How can I handle this with NET SNMP? I think the trapsink

RE: problem configuring foundry load balancer using snmpset

2009-12-08 Thread Mike Ayers
> From: Raj Gurung [mailto:r...@linkmemobile.com] > Sent: Monday, December 07, 2009 11:22 AM > But when I try to change the configuration using snmpset command, I am > getting errors: > # snmpset -v1 -c rwcommunity > 10.10.10.253 .1.3.6.1.4.1.1991.1.1.4.3.1.1.2.1 s my-new-server-name > Error in pa

RE: 回复: what wrong with my mib2c .iterate.conf generate .c file?? ?

2009-12-08 Thread Mike Ayers
> From: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk] > Sent: Tuesday, December 08, 2009 2:09 AM > > My .c code file has something wrong > > There is nothing obviously wrong with your C code. > It looks to be working fine. I see a bit of a problem - no business logic. Our Fei-fei has

RE: why "snmplib/snmp_alarm.c" needed in net-snmp agent

2009-12-08 Thread Mike Ayers
> From: bheemesh v [mailto:bheem...@gmail.com] > Sent: Monday, December 07, 2009 10:25 PM > I was profiling through the net-snmp 5.4.2.1 and found that run_alarms() > was contributing majorly to the CPU load from the > "snmplib/snmp_alarm.c" file. Check your snmpd.conf file. I suspect y

managing /var/lib/net-snmp data in custom daemon

2009-12-08 Thread asaf
we have a custom snmp daemon using libnetsnmp, we would like to keep data in our own file, is it possible to install a hook, or some other mechanism to manage this data. or must we stick with /var/lib/net-snmp/x.conf ? --

Re: net-snmp 5.5 mysql logging

2009-12-08 Thread Laszlo Fekete
Hello! Okey, I found it out: [snmptrapd] host = sql.domain.com user = snmptrap password = password database = net_snmp Now I only want source ip only in host format in sql ( example host: 15.23.52.65 and not host: UDP[15.23.53.65]:1115->[15.22.55.11] ), somebody can tell me how can I do this?

trapsink with variable ip destination

2009-12-08 Thread majid namnabat
Dear, In my system, the trap reciever ip was a mib object in my mib. In this state, we first must set this IP address and then receives the traps. How can I handle this with NET SNMP? I think the trapsink & trapsink2 in snmpd.conf get constant ip address. Please help me? --

problem configuring foundry load balancer using snmpset

2009-12-08 Thread Raj Gurung
I have a foundry Server Iron box with code software release 07.5.xx. And I want to configure the box using snmpget. I checked through the foundry MIB and found the OID for the real server settings that I would like to configure. When i do snmp get for the real server name and IP OID's i get a co

net-snmp 5.5 mysql logging

2009-12-08 Thread Laszlo Fekete
Hello! I compiled net-snmp 5.5 on Debian lenny --with-mysql option, but can't find any description how to use it. Where can I find a sample config ot something to send snmp traps to mysql database (not to local mysql)? Thank you very much, blackluck

Re: vacm_getAccessEntry() doesn't look for best match

2009-12-08 Thread Dave Shield
2009/12/7 Lewis Adam-VNQM87 : > Looking at version 5.5 of the net-snmp suite ... in snmplib\vacm.c, the > function > vacm_getAccessEntry() just gets the first entry that matches the search > criteria rather than search for the one with the highest securityLevel. > Am I missing something or is thi

Re: 回复: what wrong with my mib2c.iterate.conf generate .c file???

2009-12-08 Thread Dave Shield
2009/12/8 飞飞 : > I really want is when I use snmpwalk command the subagent can > return to me a table structure data The snmpwalk command is returning the contents of this table, exactly as it's meant to. Try creating a second test row, to confirm this. > My .c code file has something wrong Th

回复: what wrong with my mib2 c.iterate.conf generate .c file???

2009-12-08 Thread 飞飞
I thank your are right,But the result is NOT my really want. I defined a table in my MIB,used mib2c.iterate.conf generate .c file,and I modified it. I really want is when I use snmpwalk command the subagent can return to me a table structure data(alse use get,getnext). My .c code file

Re: what wrong with my mib2c.iterate.conf generate .c file???

2009-12-08 Thread Dave Shield
2009/12/8 飞飞 : > I really think I have done my mib2c file job,but the MgG-soft brower's > result dispirit me heavily. > > I got: > > 2464: enterprises.30901.2090.7000.1.1.1.1.111 (gauge) 111 > 2465: enterprises.30901.2090.7000.1.1.1.2.111 (gauge) 111 > 2466: enterprises.30901.2090.7000.1.1.1.3.111