Re: 5.7 "Cannot find module" (SNMPv2-SMI), etc.

2011-07-07 Thread Stuart Henderson
On 2011-07-07, Stuart Henderson wrote: > I'm updating the OpenBSD port of Net-SNMP to 5.7 and seeing some errors > relating to problems loading mibs that weren't happening in 5.6.1.1. > Can anyone give me suggestions as to where to look next please? Thanks. Follow-up on this, towards the bottom o

send trap from sub-agent doesn't work

2011-07-07 Thread Chi . Guan
Hi, I am trying to send traps from a sub-agent. I have used the template as following to do the work, but I did not receive anything at the other end using snmpdtrapd to monitor. My question is in the following code, how does net-snmp know the destination's IP address? Why the other end doesn't

Re: Memory leak when using monitor

2011-07-07 Thread Chris Down
On 29/06/2011 15:19, Chris Down wrote: > I am testing net-snmp on and embedded ARM board and I have found what appears > to be a memory leak in net-snmp, when using the monitor command in > snmpd.conf. The memory leak only seems to occur with r values other than the > default 600s. I have added

5.7 "Cannot find module" (SNMPv2-SMI), etc.

2011-07-07 Thread Stuart Henderson
I'm updating the OpenBSD port of Net-SNMP to 5.7 and seeing some errors relating to problems loading mibs that weren't happening in 5.6.1.1. Can anyone give me suggestions as to where to look next please? Thanks. $ echo $MIBS IP-MIB:IF-MIB:TCP-MIB:UDP-MIB:SNMPv2-MIB:RFC1213-MIB $ echo MIBDIRS /us

Re: Inquiry on ucd-snmp build in 64bit

2011-07-07 Thread Erwin De Guzman
Hi Dave, What is the equivalent of snmp_ipaddr struct in the net-snmp ? I can no longer find the snmp_ipaddr in net-snmp. Erwin On Tue, Jul 5, 2011 at 6:41 PM, Erwin De Guzman wrote: > Hi Dave, sorry for the confusion. what I mean is the one extending the > agent. > like the one mention in t

Re: How to not load any MIB files

2011-07-07 Thread Dave Shield
On 7 July 2011 08:41, Giuseppe Modugno wrote: > It seems the only method to avoid loading MIBs is to set MIBDIRS variable to > "" No - that will still try to load the MIB files, but the SNMP library doesn't know where to find them (hence the errors that you are seeing). If you really don't wa

How to not load any MIB files

2011-07-07 Thread Giuseppe Modugno
I'm using snmptrap command to send notifications. It works well, but it is quite slow. I noticed it depends on loading all the MIB files. I don't need MIBs, because I use only numerical OIDs: snmptrap -v2c -c public 192.168.1.1 "" 1.3.6.1.4.1 [The uncomplete numerical OID is the notifi

Re: tool to convert snmp mib tree to database

2011-07-07 Thread Dave Shield
On 6 July 2011 11:17, Victor D'Agostino wrote: > I am looking for a tool to convert a mib file oid tree to a sql script which > build a database table. You could use the 'mib2c' tool to do this, by simply crafting a suitable template file. Despite the name, this can be used to generate *any* sty

tool to convert snmp mib tree to database

2011-07-07 Thread Victor D'Agostino
Hello, I am looking for a tool to convert a mib file oid tree to a sql script which build a database table. In the database table, value could be inserted in a second time : table_mib_xxx OID|NAME|DESCR|VALUE|MANDATORY || | | || | | || | | ||