noSuchName error when querying agent for the new MIB added using mib2c.mfd.conf

2007-11-25 Thread Liou Beesun
I am trying to add a table with new MIB into agent running in Linux using mfd to create C files using net-snmp 5.4.1. I read tutorial and FAQ several times. But I still had "noSuchName" when I am trying to querying the OID. Maybe I missed some steps. Can some one give me hint? Thanks. My steps were

Re: Problem loading tkmib, build problem

2007-11-25 Thread Dave Shield
On 07/11/2007, Thiele, Karl D (Karl) <[EMAIL PROTECTED]> wrote: > Here is the error I get trying to run tkmib. > > >tkmib > > setting opts > > ld.so.1: tkmib: fatal: relocation error: file > /opt/csw/lib/perl/site_perl/auto/SNMP/SNMP.so: symbol > netsnmp_init_mib: referenced symbol not found Just

Re: Using NET-SNMP API to Receive Traps

2007-11-25 Thread Dave Shield
On 22/11/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I can see two functions that I think might be of use: > > netsnmp_transport_open_server and snmptrapd_add_session > > Are these the ones I need to be looking at? netsnmp_transport_open_server and snmp_add (or snmp_open) yes. Those are

Re: Using Net-SNMP within uclinux distribution

2007-11-25 Thread Dave Shield
On 22/11/2007, Steve McCarthy <[EMAIL PROTECTED]> wrote: > Do you know if the uclinux make, should install the net-snmp module in the > same way as if I installed net-snmp on it's own on a unix machine?... Do I > need to install the perl module as well? I don't know how ucLinux handles MIB modules

Re: problems with rpm installation

2007-11-25 Thread Dave Shield
On 21/11/2007, Angela Palladino <[EMAIL PROTECTED]> wrote: > I'm using net-snmp 5.4.1. I have successfully installed and tested it > using manual commands (configure, make, make install). > I created a rpm package using the spec file, but when I install it > I'have noticed two strange behaviours: >

Re: Problem with table

2007-11-25 Thread Dave Shield
On 17/11/2007, Deepak Pandian <[EMAIL PROTECTED]> wrote: > This is the initializations piece of code ; But still I am not able to > access this table elements through snmpget. Can anyone shed light on > the mistake I am making . You never seem to actually create the table at all (using netsnmp_cr

Re: Reg Segmentation Fault while processing SET request

2007-11-25 Thread Dave Shield
On 16/11/2007, Awadhesh Kumar <[EMAIL PROTECTED]> wrote: > I am facing problem with SET processing in my master agent-sub agent > communication. I am using NET-SNMP 5.4.1. The first thing that I would do is to try and simplify the setup. If it's possible, try compiling your MIB module directly int

Re: mib definition from a exec in snmpd.conf

2007-11-25 Thread Dave Shield
On 20/11/2007, Abraham Iglesias <[EMAIL PROTECTED]> wrote: > i have added some lines in snmpd.conf to be able to get the memory usage > from 4 diferent tomcats. I invented my own OIDs and I would like to have > my MIB definition file to load it in my snmp manager. > > exec .1.3.6.1.4.1.29302.1000 g

Re: SNMP Question

2007-11-25 Thread Max
Hi Ray, HOST-MIB IF-MIB MIB2 are the ones I can think of off the top of my head. Be aware that unless you use completely virtualized TCP stacks on your Solaris zones, agents running on zones will not be able to view network counters (in/out/errors/collisions). - Max On Nov 21, 2007 12:16 PM, R