Question about new TCP/UDP mibs

2005-06-23 Thread Mitsuru Chinen
Hello, I found TCP-MIB.txt and UDP-MIB.txt were updated to suit new RFCs (RFC 4022, 4113). It's very helpful. Thanks. Is there any plan to implement the tables in the new RFCs into the agent side? (such as tcpConnectionTable, udpEndpointTable) Thank you, -- Mitsuru Chinen <[EMAIL PROTECTED]>

Re: Static link or share libraries

2005-06-23 Thread flyeagers
sure,it's dynamic link. On 6/24/05, Finfin <[EMAIL PROTECTED]> wrote: > Hi, Dava: > > I run the configure with > > ./configure > --host=mips-linux > --target=mips-linux > --with-cc=mips-linux-gcc > --with-ar=mips-linux-ar > --enable-mini-agent > --disable-applications > --disable-manuals > --dis

RE: Static link or share libraries

2005-06-23 Thread Finfin
Hi, Dava: I run the configure with ./configure --host=mips-linux --target=mips-linux --with-cc=mips-linux-gcc --with-ar=mips-linux-ar --enable-mini-agent --disable-applications --disable-manuals --disable-scripts --disable-mibs --with-endianness=big --without-kmem-usage --with-transpo

Re: table problems

2005-06-23 Thread Chris Cunningham
OK So I finally figured out what the problem was and I feel like an idiot. The initialize function *has* to be named init_FILENAME. Mib2c generates the function init_FILENAME but it is pretty much just a wrapper function that they use to call the real initialize function(s) which mib2c names in

RE: UCD versus Host Resources Values for Swap

2005-06-23 Thread Bruce Shaw
(***WARNING***RANT) AHA!!! I've been looking for this for ages. Could you run this again, report the figures you get from net-snmp and the output of swap -s? I did it and got (snipped): UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 2625968 UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 1926536 UCD-SNMP

Re: How to configure agent to allow access for a particular community

2005-06-23 Thread Shufen Zhang
Dave,   Thank you very much for your quick response. But I suspect now that the failing was caused by the community because the communities were actually initialized already.Dave Shield <[EMAIL PROTECTED]> wrote: On Wed, 2005-06-22 at 22:28, Shufen Zhang wrote:> how can I configure the agent to a

Re: table problems

2005-06-23 Thread Chris Cunningham
> Errr where's the "init_table_adams_req_table()" routine gone? > If that's the complete code file that you're working with, > then I don't see how your module will be initialised at all. That would be gmail thinking it's clever. Lets try again. Module: #include #include #include /** I

Re: table problems

2005-06-23 Thread Dave Shield
On Thu, 2005-06-23 at 15:25, Chris Cunningham wrote: > > There's one other suggestion I meant to make earlier. > > Try dropping the 'netsnmp_register_auto_data_table()' statement. > > See if that makes any difference. > > Again no luck. > Here's the module: > > #include > #include > #include

RE: Implementation details about snmptranslate.

2005-06-23 Thread Anuradha Bhakta
Hi, Thanks for the clarification. Thanks a lot for the immediate help. Thanks, Anu. -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 22, 2005 9:32 PM To: Anuradha Bhakta Cc: net-snmp-users@lists.sourceforge.net Subject: RE: Implementation details abo

Re: table problems

2005-06-23 Thread Chris Cunningham
>[ First - *please* don't mail me privately, without copying > any responses to the mailing list. I don't have the time > or inclination to offer private, unpaid, SNMP consultancy. > Keep discussions to the list, where others can both learn > and offer advice. Thanks. ] Tha

Re: table problems

2005-06-23 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On Thu

Re: UCD versus Host Resources Values for Swap

2005-06-23 Thread Dave Shield
On Thu, 2005-06-23 at 14:09, Mohr James wrote: > > Those two values should probably match, yes. > > You don't say what architecture you are running on. > Oooops! Sorry! In this particular case, I am refering to a Solaris 7 machine. OK, checking the relevant code: The HostRes figure comes from:

AW: UCD versus Host Resources Values for Swap

2005-06-23 Thread Mohr James
> -Ursprüngliche Nachricht- > Von: Dave Shield [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 23. Juni 2005 10:14 > An: Mohr James > Cc: net-snmp-users@lists.sourceforge.net > Betreff: Re: UCD versus Host Resources Values for Swap > > > On Wed, 2005-06-22 at 21:35, Mohr James wrote:

Re: snmpd doesn't send traps

2005-06-23 Thread Dave Shield
On Thu, 2005-06-23 at 13:29, Angel L. Mateo wrote: > I have this in the snmpd.conf file: > trap2sink traprecv.mydomain.com > informsink traprecv.mydomain.com You probably don't want both of those entries. That will send *two* copies of every trap. Just use one of them. >

snmpd doesn't send traps

2005-06-23 Thread Angel L. Mateo
Hello, First of all, I am sorry if this is a silly question. I am newbie with snmpd (until now I have just used it to monitor disk usage from an remote mrtg server), but I think I have configure it correctly but it doesn't work and I don't find any useful information. My problem i

Re: IP Address for the snmpd configurable?

2005-06-23 Thread Thomas Anders
Kurapati M-G19456 wrote: Is the IP address on which the snmpd listens configurable? I think in the current implementation snmpd gets the ip address of 'eth0' and listens only on that. I went through the different startup parameters of the snmpd, I could find only for -x i.e agentx mode. See [L

IP Address for the snmpd configurable?

2005-06-23 Thread Kurapati M-G19456
Hi all, Is the IP address on which the snmpd listens configurable? I think in the current implementation snmpd gets the ip address of 'eth0' and listens only on that. I went through the different startup parameters of the snmpd, I could find only for -x i.e agentx mode. Is my understanding corr

Re: Static link or share libraries

2005-06-23 Thread Dave Shield
On Thu, 2005-06-23 at 03:42, Finfin wrote: > I use mips-linux-gcc to compile snmp agent(snmpd). > The executable file is a binary file. > There are no commands to sure the linking way How did you run "configure" ? > When I compile the executable file ,Is the default flag with dynamic linkin

Re: table problems

2005-06-23 Thread Dave Shield
On Wed, 2005-06-22 at 23:20, Chris Cunningham wrote: > I ran mib2c.create-dataset.conf on my MIB file and then slightly > altered it in a fashion similar to the example data_set. > row = netsnmp_create_table_data_row(); > netsnmp_table_row_add_index(row, ASN_INTEGER, &i, sizeof(i));

Re: How to configure agent to allow access for a particular community

2005-06-23 Thread Dave Shield
On Wed, 2005-06-22 at 22:28, Shufen Zhang wrote: > how can I configure the agent to allow access for a particular > community Using snmpd.conf > WITHOUT using snmpd.conf By hardcoding equivalent statements into the agent. Something like vacm_parse_simple("rocommunity", "public"); shou

Re: with regards to smux agent development

2005-06-23 Thread Dave Shield
On Wed, 2005-06-22 at 18:58, Srinivasan Kandalam wrote: > Would like to develop a SMUX agent which is an extensible agent > to Net-SNMP Agent. Is there any particular reason you are aiming at the (obsolete) SMUX extension protocol, rather than the newer AgentX ? > Is there any build option for d

Re: UCD versus Host Resources Values for Swap

2005-06-23 Thread Dave Shield
On Wed, 2005-06-22 at 21:35, Mohr James wrote: > The UCD MIB reports swap like this: > > UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 4003952 > > The Host-Resources MIB reports it like this: > > HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: Swap Space > HOST-RESOURCES-MIB::hrStorageAllocationUnits.3