Re: How net-snmp handles PhyAddress and MacAddress types

2004-11-09 Thread Sasikumar Bodathula
Hi, My agent is a proxy agent. I am little bit confused that the value i am getting from the agent is in Hex format after setting this value in snmp_set_var_typed_value the result is in ASCII format. snmp_set_var_typed_value(var, ASN_OCTET_STR, (u_char *) cVal,

Re: WRB - Opening port 161 by SNMP daemon.

2004-11-09 Thread Robert Story
On Tue November 9 2004 8:02 pm, [EMAIL PROTECTED] wrote: > It seems that my problem with the Kenati OS port of > Net-SNMP is that the daemon produced for Kenati is > not opening the UDP port (161). The Net-SNMP version > supplied with Kenati is 5.0.8, the daemon is running > on the target, I can w

WRB - Opening port 161 by SNMP daemon.

2004-11-09 Thread wrb
Alright: It seems that my problem with the Kenati OS port of Net-SNMP is that the daemon produced for Kenati is not opening the UDP port (161). The Net-SNMP version supplied with Kenati is 5.0.8, the daemon is running on the target, I can walk the daemon on the target from the target but, I canno

tcpInErrs and tcpOutRsts

2004-11-09 Thread Muralidhar Ganga
Hi, Running net-snmp 5.1.1 on embedded Linux. Both the tcp.c and tcpTable.c are included in the agent. So I think in theory init_tcp() gets called first and followed by init_tcpTable(). tcp.c has the scalar group registration including the TCPINERRS through TCPOUTRSTS (1..15, which includes the

Re: netsnmp doubt

2004-11-09 Thread Mauricio Reyes
Hi William, I have read enough literature on SNMP, and I'm interested in getting that example to run, since i'm developing a project for my organization and it uses net-snmp. Can you point out what is the mistake? thanks Mauricio. From: <[EMAIL PROTECTED]> To: Mauricio Reyes <[EMAIL PROTECTED]>

Re: netsnmp doubt

2004-11-09 Thread wrb
Mauricio: I recommend that you read the book Windows NT SNMP, and use its examples as a means of first education regarding the use of SNMP in a Windows environment. The author of the book has done a superb job of making SNMP simple to understand, if it is a bit abridged. The book is published by

Re: some basic doubts

2004-11-09 Thread wrb
Sundeep: MIBs are not solely for the purpose of informing a master agent of the object manageable by a subagent. Indeed, MIBs to provide this information but, not in the way that your questions suggests. A MIB is an abstract description of data items and the structural relationship of each data i

netsnmp doubt

2004-11-09 Thread Mauricio Reyes
Hi All, I haven't had an answer so I don't know if the mail was received. Just in case below is what i wrote. thanks Mauricio. - Hi all, I'm new to net snmp. i work with microsoft windows. I am trying to use the snmpdemoapp.c in the tutorial. but can't

traptoemail

2004-11-09 Thread John M. Dove Jr.
is there a way to get more information in the traptoemail script?

problem on running snmptranslate

2004-11-09 Thread dzhou
i ran net-snmp-5.2.rc1 on Fedora core 1. The manager and the agent are on the same machine. I started the agent use ./snmpd -f -L -d, it looks OK. Then copy a MIB file from net-snmp website, NET-SNMP-TUTORIAL-MIB.txt to both directories HOME/mibs/ and /usr/local/share/snmp/mibs/ and ran snmptran

some basic doubts

2004-11-09 Thread Sundeep Singh
Hi, A few more doubts which have surfaced in my mind !! Please can someone help with these basic doubts: 1) The ONLY purpose of the mibs, is to enable the subagent to inform master agent about the objects that it can manage ? 2) How do agents just by knowing the name/oid of the object retrieve th

Re: Some questions on net-snmp package

2004-11-09 Thread Sundeep Singh
On Tue, 9 Nov 2004 [EMAIL PROTECTED] wrote: 3. Since SNMP is a kind of standard, can net-snmp work with any other packages which support SNMP? Yes, u can even write your own perl scripts (using perl's SNMP module) to query the net-snmp agent. Sundeep. Thanks a lot!!! --

RE: Using Net-Snmp with another Agent?

2004-11-09 Thread Bruce Shaw
It's all explained in README.solaris. >I am using Hp-Openview in a Solaris box 5.8 Sparc Ultra -250, which uses it's own Snmp Agent (Hp Emanate Agent). >I would like to know if i can install "net-snmp" and use it as a second agent(to get Cpu and Memory utilization) -running simultaneously with Hp

Proxy agent giving response with wrong community string

2004-11-09 Thread A. K. Rasanth
All, I have a proxy agent, build using Net-Snmp-5.1.2, running. it responds to a v2 request even if the community is null or some arbit string which is not configured in snmpd.conf. can anybody please explain why it happens? Thanks in Advance, Regards, Rasanth âToday is the first day of the rest o

RE: --disable-snmpv1 5.2.rc3 proxy.c Error

2004-11-09 Thread Baumgart Alexander
I did some research and its seem the --disable-snmpv1 and snmpv2c value didnt get set correct in the configure script. seem a simple copy&past bug. Mfg Baumgart -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Baumgart Alexander Sent: Dienstag, 9. November 2

Using Net-Snmp with another Agent?

2004-11-09 Thread stelaras1
Dear all, i am a newbie in NET-SNMP. I am using Hp-Openview in a Solaris box 5.8 Sparc Ultra -250, which uses it's own Snmp Agent (Hp Emanate Agent). I would like to know if i can install "net-snmp" and use it as a second agent(to get Cpu and Memory utilization) -running simultaneously with Hp

Some questions on net-snmp package

2004-11-09 Thread dzhou
I just started working on net-smmp and had some doubts on this. 1. For the net-snmp, we use command to get system information and receive trap from snmp agent. Is there any graphic interface provided on the manager side so that we can trace agent's information more directly? 2. Can i only use net

--disable-snmpv1 5.2.rc3 proxy.c Error

2004-11-09 Thread Baumgart Alexander
Hello, i upgrade from 5.1.2 to 5.2.rc3 and notice two new configure options --disable-snmpv1/v2c. Use of --disable-snmpv1 bring a error: cd-snmp/proxy.c: In function `proxy_fill_in_session': ucd-snmp/proxy.c:262: `SNMP_VERSION_1' undeclared (first use in this function) ucd-snmp/proxy.c:262: (Each

snmpwalk using the C API?

2004-11-09 Thread Marlena Miller
Is there an easy way to simulate an snmpwalk command using the C API? I want to get information from a table, and the snmpwalk command on the command line gives me exactly what I'm looking for. What should I use from the C API to get similar results? Regards, Marlena Miller

--disable mibs switch

2004-11-09 Thread Baumgart Alexander
Hello, i compile snmpd only (cd snmplib; make install ; cd agent ; make install ). I also used --disable-mibs, but at agent startup it claims it cant find the mibs (Cant find module (IP-MIB). I check the describtion of --disable-mibs and tells didnt install the mib files, so thats okay, but should

Implement own MiB, need suggestions

2004-11-09 Thread Baumgart Alexander
Hello, im new to snmp development. i setup net-snmp 5.2.rc3 successfull. I need to write my own MiB. I got a enterprise-oid and a sample mib, that i can parse with snmptranslate as aspected. Now i need to implement the associated code. I will describe what it need to do. I have a managemant system