Re: Help regarding snmpset operation
This is the sample code which i wrote just to trace the flow. Register. netsnmp_register_scalar(netsnmp_create_handler_registration (getOutStandingAlarm, handle_getOutStandingAlarm, getOutStandingAlarm_oid, OID_LENGTH(getOutStandingAlarm_oid), HANDLER_CAN_RWRITE)); Code in MODE_SET_RESERVE1: case MODE_SET_RESERVE1: printf(inside MODE_SET_RESERVE1\n); if ( requests-requestvb-type != ASN_INTEGER ) { printf( wrong type\n); netsnmp_set_request_error(reqinfo, requests, SNMP_ERR_WRONGTYPE /*SNMP_ERR_WRONGVALUE or ... */ ); return SNMP_ERR_WRONGTYPE; } if ( (*(requests-requestvb-val.integer) 1 ) || (*(requests-requestvb-val.integer) 0)) { printf( wrong value\n); netsnmp_set_request_error(reqinfo, requests, SNMP_ERR_WRONGVALUE ); return SNMP_ERR_WRONGVALUE; } iTruthValue = *(requests-requestvb-val.integer); printf(Incoming value is %d\n, *(requests-requestvb-val.integer)); break; In the output printf statement in the error condition are not coming only success condition printf are coming i.e inside MODE_SET_RESERVE1 and Incoming value is value. On Wed, 2005-06-08 at 13:51, Dave Shield wrote: On Wed, 2005-06-08 at 06:28, Sasikumar Bodathula wrote: When i did set operation control is coming to MODE_SET_RESERVE1 here i am checking for the type and value range Yup - that sounds about right. after this control is coming to MODE_SET_FREE Which indicates that the RESERVE1 processing returned an error. In the mib i defined this test object as Truth Value this is a scalar object having read-write access. It doesn't actually matter what the MIB file says. What's important is the code itself. How did you register this object? What code have you got in the RESERVE1 processing block? Dave --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
The ip address on teh eth0 of the device
Hi Greeting: Is there such mib oid which can provide the IP address on the eth0 of the device? Thanks, -Jim NS^?X????jg??j??.?-Z#y0}?q^!j* ??~'????h+zn()?[EMAIL PROTECTED](m??'y??oë
snmptrapd's community name
NET-SNMP of the attachment is used for RHEL ES3. Community cannot be set with snmptrapd. snmptrapd starts traphandler even if there is community that the agent sends why. Please teach the method of setting community in snmptrapd. Please my best regards. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Persisting MIB table
On Thu, 26 May 2005 10:15:01 +0100 Dave wrote: DS (2)When the sub-agent is restarted, what happens to DS data in the saved file? Is it deleted, truncated or DS new data appended to old saved data? The file is written out completely every time. So if you register a handler to parse the data on startup, the data is restored. Otherwise it is lost on the next snmp_store. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Counter64 - snmpset command.
Title: Message Hi, What variable type has to be given to snmpset on the command line to set the value of counter64 variable. Ihave been trying to set using snmpset -v 2c -cpublicIpAddrOID U value Butgot the error "wrong type". We are using Net-Snmp 5.1.1. Any info regarding this will be highly appreciated.. Thanks, suresh.
Re: My net-snmp distributed kit
On Tue, 24 May 2005 17:18:43 -0700 (PDT) mobby wrote: ML error. Then I do make install /myprivate directory, and can only small ML part of kit, about 120K in size. Details are below. Try make prefix=/myprivate exec_prefix=/myprivate install. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Fwd: Re: Subagent kills Master AgentX after sending 299 traps
On Wed, 25 May 2005 07:04:55 -0700 (PDT) Salsa wrote: S assumed my subagent was killing it. Now I realize that S no one really dies. Actually it looks like my subagent S provoked a deadlock with master agentx. So it is there S waiting to send the final traps while master agent x S is there waiting for something and not responding S anyone. And they go like that forever. It would be useful if you could attach a debugger at this point, and see where both sides are blocking. I'm guessing this is a pipe size problem. Writing 100 traps fills the pipe, and the subagent blocks while waiting for the master to read and clear the pipe, but the master is blocked doing something else.. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Authentification Traps
On Wed, 25 May 2005 16:12:50 -0500 John wrote: JA We have a device that does not allow us to disable authentification traps. JA The trap receiver is set to ignor the abundant authentification traps JA sent. JA However, we would like to have this function disabled so that the messages JA are not sent. JA This is in a very large environment. JA JA The questions are: What triggers all these traps? JA Is is normal to just disable this feature? Why? I believe it is a request with invalid authorization (eg bad community string). It is only normal to disable if you don't care about logging unauthorized access attempts. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: snmp-trap distribution to multiple servers?
On Wed, 25 May 2005 15:30:42 -0700 (PDT) Nick wrote: NE I have many devices sending SNMP traps to a Solaris 8 system running NE Ciscoworks. Most of the devices can only send traps to one IP address. I NE now have need of 4 devices to get copies of this trap stream. NE NE Can net-snmp running on this Solaris box accept snmp-traps for local use NE with Ciscoworks, and also reflect the traps out to 3 other devices NE (hopefully leaving the source IP intact such that the information on NE thedevice that sent the trap is not lost? It can't pass the trap to Ciscoworks, unless ciscoworks can listen on a non-standard port. The it would work just like the other destinations - use the forward token in your snmptrapd.conf. As fare as the source IP, there was a recent thread on that here (or on the coders list), but I wasn't following it. NE Or if that isn't something net-snmp can do, would anyone know what can do NE this? (the 3 other devices are on the same local subnet as the original NE target snmp serevr, so I should be fine bandwidth wise duplicating the NE traffic.) It wouldn't be to hard to write a small app that reads incoming packets to port 162 and simply redirects them to 4 other destinations. The source IP in the packet's IP header would change, but if the remote destinations get the trap address from the trap, instead of the IP header, you should be ok. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Reagrding Writing MIB
On Fri, 27 May 2005 16:20:03 +0530 Priya wrote: P I have configured the SNMP on solaris.But now I don't understand how to load P MIB. During confuguration I gave ./configure command. P P Now whenever I run any snmpget command I am getting timeout message? P Will you please help me? Have you read the FAQ? Both of those issues are covered there. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: AGENT EXT SIT ON NAILS
On 28 May 2005 15:24:17 - Parthiban wrote: PN My sincere thanks to Mr.Robert sir, Mr.Dave sir and all the NET-SNMP PN Teamhelping and guiding me in doing my project work. PN PN As i said in my first mail.. i am doing a project for my final semester MCA PN course regular. my project title is Network Management for Broadband PN wireless access based on WiMAX and IEEE 802.16f PN PN sir, i have completed my project and currently preparing my documentation PN for my project work done... i request both Mr.Robert sir and Mr.Dave sir.. PN their consent to add their names to my project acknowledgement PN column That's fine with me (even though Dave did all the work). -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: No swap line in /proc/stat and No page line in /proc/stat
On Tue, 31 May 2005 17:49:32 +1200 Garrett wrote: GS In /var/log/messages GS GS snmpd: No page line in /proc/stat GS snmpd: No swap line in /proc/stat GS GS I understand that in previous kernels , it use to log the memory stats to GS the file /proc/stat but recent kernels have placed this some where else GS GS I am using NET-SNMP version: 5.1 GS GS I am also in the sticky position where I may not be able to upgrade this, GS the reason being is that I am using the net-snmp provided by the HP GS proliant service packs and there is also other rpms with in that pack that GS depends on this version of snmpd. Do you have the source/patches so that you can re-create this version? If not, then you are stuck. There is no way to eliminate the message w/out recompiling. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Walk ends badly when proxy enabled
On Wed, 8 Jun 2005 09:39:24 -0400 Robert wrote: RS That does sound like a bug in our agent. It should move on to the next RS tree. I'm not familair with the proxy code, but I can take a quick look and RS see if it's something easy. I'm not sure if this will fix the issue, or if it is the right thing to do, but it's the best I can come up with in 5 minutes.. Let me know if it helps... -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. proxy-nosuchname.pat Description: Binary data
RE: Installation:net-snmp-5.1.2 tar:check sum error
tar -xvf ~snmp/deploy/net-snmp.5.2.1.tar, I encounter tar: directory check sum error. Do we have a bad net-snmp-5.2.1.tar.gz file in the link ? The file size is : 22149120 Jun 7 14:47 net-snmp-5.2.1.tar 3971320 Jun 7 14:42 net-snmp-5.2.1.tar.gz Those file sizes match what I get. Just to be sure, check the sum and md5sum signatures: net-snmp-5.2.1.tar.gz sum:44397 3879 md5sum: 4c38451b1f5914789da370b79dc06124 net-snmp-5.2.1.tar sum:04723 21630 md5sum: bce4aa7a83520dfb24d3c4d5d6bbd236 That unpacks fine for me. x net-snmp-5.2.1/agent/mibgroup/examples.h, 112 bytes, 1 tape blocks x net-snmp-5.2.1/agent/mibgroup/snmp-usm-dh-objects-mib, 0 bytes Hmmm... that looks suspiciously like a full disk, or running out of filestore quota. Dave --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Net-SNMP and ip aliasing
On Fri, 03 Jun 2005 09:57:28 +0100 Dave wrote: DS On Thu, 2005-06-02 at 16:16, Glenn MacGregor wrote: DS Glenn This subagent needs that info because based on the ip the DS Glenn request was sent to it has to read a different mib. DS DS One possibility might be to link a particular interface (in DS the master agent) with a corresponding context, and have the DS subagent register the various MIB using these contexts. DS DS You'd still need to add code to handle the I/F - context mapping DS to the master agent, but that would at least work within the DS basic AgentX framework. You can do this today (per IP, which is usually the same as per IF) for SNMPv1/v2, using access control. See this section on setting up multiple contexts, see snmpd.conf on the format of com2sec (specifying IP instead of default), and ignore the proxy stuff... http://www.freesnmp.com/net-snmp/faqs/#v1proxy -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Help! Why snmptrapd.conf isn't in operation
On Fri, 03 Jun 2005 16:30:24 +0800 jinyi wrote: J in /etc/init.d/snmptrapd, I modify the OPTION's value as below J .. J OPTIONS=-c /etc/snmp/snmptrapd.conf -s -u /var/run/snmptrapd.pid J -l1 -OfnQ -o /var/log/trap.log J .. J J the content of /etc/snmp/snmptrapd.conf is: J J traphandle default /home/jinyi/trapanalys J J the programe trapanalys do nothing but create a piece of syslog . J J for testing the snmptrapd, I set the target of the localhost's snmp trap J as itself. J J when I restart the snmpd daemon, I can find the trap in log files but J trapanalys does not work. That sounds like the conf file isn't being read. 1) Try putting a garbage line in the snmptrapd.conf and see if you get a warning 2) make sure trapanalys is executable. 3) try using 'traphandle default /bin/touch /tmp/trap' and see if /tmp/trap is created -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
TRAPs vs INFORMs
Hi all I have read at http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap-v3.html that an INFORM is nothing more than an acknowledged TRAP. nevertheless, i have read at snmp, snmpv3, snmpv3 and rmon. 3 edition by stalling that an INFORM is sent by an snmpv2 entity acting in a manager role, on behalf of an application, to another snmpv2 entity acting in a manager role, to provide management information to an application using the latter entity. I have the doubt that if my agent can send an INFORM to the manager, so that (my agente) is not acting as a manager. I need pieces of code where INFORMs are sent and received, to use then as models for my manager (receive) and agent (sent). Could somebody help me, please? Thanks a lot. Gemma --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Subagent failure on GETBULK
On Mon, 6 Jun 2005 16:46:47 +1000 Mark wrote: MH Case 4) MH == MH However, MH When I send a get bulk request to the agent with TWO OID's from MY part of MH the MIB tree (.1.3.6.1.4.1.14010.1.3.2.1 and .1.3.6.1.4.1.14010.1.3.2.2) MH the master SNMP agent receives the request, the subagent locks up, and the MH snmpbulkget command fails. MH MH Master Agent Output: MH MH Received SNMP packet(s) from 127.0.0.1 MH GETBULK message, non-rep=0, max_rep=10 MH -- SNMPv2-SMI::enterprises.14010.1.3.2.1 MH -- SNMPv2-SMI::enterprises.14010.1.3.2.2 MH netsnmp_call_handlers() called illegally Can you set a breakpoint in netsnmp_call_handlers() and see which of the 4 conditions fail? MH Q1) Is there anything my sub-agent must explicitly do in order to handle MH this type of GETBULK command? (I have read net-snmp already breaks these MH down into GETNEXT requests automatically) I don't think so. I'm guessing it's a bug in the library or one of the handlers. MH Q3) For Case 2) above, the output of snmpgetbulk (not shown) seems to MH suggest that the snmpd is responding simultaneously to 2 separate requests MH (GETBULK 10, GETBULK 10). Is this type of request handled correctly when MH passed off to a sub-agent whose table handlers are of the type get_first / MH get_next ? It should be, but there might be bugs... -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Public IANA number?
On Tue, 07 Jun 2005 16:23:56 +0100 Dave wrote: DS It might be possible to host this under the 'netSnmp' tree, DS if you don't want to register an enterprise number of your own. DS But I don't think there's anything specifically set aside for DS this by IANA. That's basically what 'enterprises' is for. There is the experimental branch... -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Slightly OT: Can I _set_ interface speed via a standard MIB?
On Tue, 07 Jun 2005 11:17:08 -0400 [EMAIL PROTECTED] wrote: CRC I see RFC1213-MIB::ifSpeed is read-only. Is there a MIB entry that will CRC allow me to force a specific speed for an interface? No, but some OS support configuring it in snmpd.conf (see interface directive in man page). -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Installation:net-snmp-5.1.2 tar:check sum error
On Tue, 7 Jun 2005 15:21:14 -0500 Wu, wrote: WLA I tried to download net-snmp-5.1.2.tar.gz from Sourceforge download page WLA of the net-snmp download , I selected net-snmp-5.2.1.tar.gz to download WLA to my pc then ftp to my server, then I gunzip net-snmp-5.2.1.tar.gz, WLA after that I did tar -xvf ~snmp/deploy/net-snmp.5.2.1.tar, I encounter WLA tar: directory check sum error. I believe this is a know issue with sun's tar. Try getting the version from the sun's freeware ports. I believe you can find links somewhere in the archives.. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: The ip address on teh eth0 of the device
On Wed, 8 Jun 2005 16:58:28 +0800 Jim wrote: JSIs there such mib oid which can provide the IP address on the eth0 of JSthe device? Correlation between the ipAddressTable/ipAddrTable and the ifTable should work. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: TRAPs vs INFORMs
On Wed, 2005-06-08 at 16:05, Gemma Sánchez wrote: i have read at snmp, snmpv3, snmpv3 and rmon. 3 edition by stalling that an INFORM is sent by an snmpv2 entity acting in a manager role, on behalf of an application, to another snmpv2 entity acting in a manager role, to provide management information to an application using the latter entity. Given that this talks about snmpv2 entity, I strongly suspect that this particular portion of text hasn't been updated to match the changes introduces with SNMPv3. The fact that it talks about manager role is another warning sign. Checking the SNMPv3 specs, the *only* place that this phrase appears is in the list of changes from RFC 1907 to RFC 3418, where it says: - Replaced references to manager role, agent role and SNMPv2 entity with appropriate terms from RFC 2571; SNMPv3 did away with the idea of manager roles and agent roles. Instead, it talks about notification originators and notification receivers. An INFORM request is sent from a notification originator to a notification receiver. A notification originator is defined as an application that sends notifications (INFORMs or TRAPs), and a notification receiver is defined as an application that receives them. I have the doubt that if my agent can send an INFORM to the manager, so that (my agent) is not acting as a manager. Your agent is acting as a notification originator, so it is perfectly at liberty to send INFORMs. I need pieces of code where INFORMs are sent and received, to use then as models for my manager (receive) and agent (sent). See agent/agent_trap.c::send_trap_to_sess() for generating INFORMs, and apps/snmptrapd.c for receiving them. Note that the receiving side is mostly handled within the Net-SNMP library. By the time that snmptrapd kicks in, traps and informs are handled identically. Dave --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: TRAPs vs INFORMs
On Wed, 8 Jun 2005 17:05:09 +0200, Gemma Sánchez [EMAIL PROTECTED] said: Gemma nevertheless, i have read at snmp, snmpv3, snmpv3 and rmon. 3 Gemma edition by stalling that an INFORM is sent by an snmpv2 Gemma entity acting in a manager role, on behalf of an application, Gemma to another snmpv2 entity acting in a manager role, to provide Gemma management information to an application using the latter Gemma entity. You should ignore that statement in the book. That's simply incorrect. I honestly can't believe that was written in the book. Gemma I need pieces of code where INFORMs are sent and received, to Gemma use then as models for my manager (receive) and agent Gemma (sent). Could somebody help me, please? If you're using our agent, you don't need to worry about it. Simply use the APIs provided for sending traps/informs from the agent and it takes care of the rest. -- Wes Hardaker Sparta, Inc. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Walk ends badly when proxy enabled
Robert Story wrote: On Wed, 8 Jun 2005 09:39:24 -0400 Robert wrote: RS That does sound like a bug in our agent. It should move on to the next RS tree. I'm not familair with the proxy code, but I can take a quick look and RS see if it's something easy. I'm not sure if this will fix the issue, or if it is the right thing to do, but it's the best I can come up with in 5 minutes.. Let me know if it helps... I'll give it a try, but I got a fix from the Squid folks that's been working for me. See bug #1317 in the Squid Bugzilla database. The Net-SNMP agent receives the getnext for the last OID returned by my code and gives it back to my code. I respond with NULL because I don't have anything after that OID, so the agent turns around and gives the same OID to Squid, which is registered for the lexically next group of OIDs. Squid broke things by returning no-such-name. With the Squid patch it responds with its first OID and the walk proceeds happily down the Squid tree. What confused me at first was the getnext with multiple OIDs issued by the Net-SNMP agent to the Squid agent. That only happened when my MIB ended in a table. When I stuck a dummy scalar at the end it behaved more as I would expect. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Net-SNMP and ip aliasing
On Fri, 03 Jun 2005 09:57:28 +0100, Dave Shield [EMAIL PROTECTED] said: Dave One possibility might be to link a particular interface (in Dave the master agent) with a corresponding context, and have the Dave subagent register the various MIB using these contexts. Dave You'd still need to add code to handle the I/F - context mapping Dave to the master agent, but that would at least work within the Dave basic AgentX framework. Dave Wes - any thoughts on that idea? I suggested the use of contexts, and so did Robert but I'd be leery of tying a context to an address within the master agent. My reaction is what benefit does that buy you?. Use straight contexts instead, IMHO. The fundamental issue is that you're trying to separate stuff based on addressing, which the only reason I can think of for doing that in a legitimate way is for emulation of multiple hosts on a single host. Doing it for any reason other than a test-lab is a bad idea, IMHO (IMVHO). -- Wes Hardaker Sparta, Inc. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Net-SNMP and ip aliasing
Quoting Wes Hardaker [EMAIL PROTECTED]: On Fri, 03 Jun 2005 09:57:28 +0100, Dave Shield [EMAIL PROTECTED] said: Dave One possibility might be to link a particular interface (in Dave the master agent) with a corresponding context, and have the Dave subagent register the various MIB using these contexts. Dave You'd still need to add code to handle the I/F - context mapping Dave to the master agent, but that would at least work within the Dave basic AgentX framework. Dave Wes - any thoughts on that idea? I suggested the use of contexts, and so did Robert but I'd be leery of tying a context to an address within the master agent. My reaction is what benefit does that buy you?. Use straight contexts instead, IMHO. The fundamental issue is that you're trying to separate stuff based on addressing, which the only reason I can think of for doing that in a legitimate way is for emulation of multiple hosts on a single host. Doing it for any reason other than a test-lab is a bad idea, IMHO (IMVHO). -- Wes Hardaker Sparta, Inc. Dave, Wes, Thanks for the response. I want/need to do this because we us ip aliasing to simulate actual devices on a network. I would rather not have my subagent read one huge mib for all devices. I want a request to come in and my subagent would pick the correct mib tree and retreive the value. Not sure if this is a solid approach or not. Thanks Glenn Glenn MacGregor HighStreet Networks - This mail sent through IMP: http://horde.org/imp/ --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: snmptrapd's community name
On Wed, 08 Jun 2005 19:07:08 +0900, Dan Keimatsu [EMAIL PROTECTED] said: Dan Please teach the method of setting community in snmptrapd. Currently snmptrapd trapd always accepts any community name. If you want security, you should consider using SNMPv3 instead. -- Wes Hardaker Sparta, Inc. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
snmptrapd timeticks
Hi, I am trying to write a trap handler with net-snmp. I found that, the systemuptime passing to the trap-handler is translated by snmptrapd to dd:hh:mm:ss.ss format. How can I keep the systemuptime in second format? --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Counter64 - snmpset command.
On Wed, 08 Jun 2005 14:52:43 +0100, Dave Shield [EMAIL PROTECTED] said: Dave On Wed, 2005-06-08 at 14:00, Pamidipati Suresh-G20238 wrote: What variable type has to be given to snmpset on the command line to set the value of counter64 variable. Dave You can't. Dave Counters are inherently read-only. Dave See the SNMP specifications. Net-SNMP provides writable INT64 and UINT64 datatypes, but we're the only implementation I know of that supports them and they're not a standard (though it was proposed as one, the IETF didn't bite). -- Wes Hardaker Sparta, Inc. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: 'exec' problem
On Mon, 06 Jun 2005 13:57:44 +0300, Risto Vaarandi [EMAIL PROTECTED] said: Risto However, in many occasions the snmpd agent reports the Process fault Risto string, but 0 as the exit status of the script. I am experiencing this Risto problem on SuSe SLES9 platform - both with snmpd 5.1 agent that comes Risto with SLES9, and snmpd 5.2.1 agent that I have compiled from the source. It is likely that the script is getting called twice. And it returns two different results. The way the exec processing works, it *may* call the script multiple times. EG, once for the exit code and once for the string. -- Wes Hardaker Sparta, Inc. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: why snmpget always returned timeout' ?
On Mon, 6 Jun 2005 17:29:16 +0800 (CST), wanxia qu [EMAIL PROTECTED] said: wanxia But when issuing any snmpget, Timeout:No Response from wanxia localhost is returned. wanxia What should i do next? You need to configure it to accept your community string or SNMPv3 user. Run snmpconf -g basic_setup for help in getting started. -- Wes Hardaker Sparta, Inc. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: help sending trap from within process
On Thu, 2 Jun 2005 20:24:54 -0400, Chuck Cottrill [EMAIL PROTECTED] said: Chuck I am not very happy with how the resulting snmp trap generation Chuck function gets its arguments, nor how the arguments (dest port, Chuck source host, OID, etc) are provided to this function. Can you show us what you have so far? That would help. It's actually not extremely difficult, but it does take a bit of code. You have to create a session and then send a trap or inform pdu through it. The argument parsing is very complex, as you noticed, because we try and provide so many options. Chuck Have I missed something in net-snmp that offers this api? If you make your long-running application an agent or a sub-agent you'll find the API for that situation is a bit nicer. -- Wes Hardaker Sparta, Inc. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: help sending trap from within process
On Thu, 2 Jun 2005 20:24:54 -0400, Chuck Cottrill [EMAIL PROTECTED] said: Chuck Custom software with embedded MIB support using the table helper handlers Chuck and agentx. Ahh... missed that till a second ago. You don't want to look through snmptrap.c to figure out what to do if this is code within the agent. Instead look through agent/mibgroup/examples/notification.c to see how mib modules should be sending traps. -- Wes Hardaker Sparta, Inc. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
TRAPs vs INFORMs (2)
Hi all !!! I am try to send inform through the next code. I cant get it. When this function is executed, the agent crash. It try to resend 5? times the inform before get down. I use a similar code to generate TRAPs and this is in order to send TRAPs. Could somebody help me? Thanks. Gemma void send_inform(int receiver, int typeofinform, oid *var_oid, size_t var_oid_len, int val, int mt) { netsnmp_pdu *inform, // PDU en la que viajara el INFORM. *response; netsnmp_session *ss, session; // session para enviar los INFORMs. int result, responseOK; inform = snmp_pdu_create(SNMP_MSG_INFORM); // Creo y formo la PDU del INFORM. snmp_pdu_add_variable( inform, var_oid, var_oid_len, ASN_INTEGER, (u_char *) typeofinform, sizeof(typeofinform)); snmp_pdu_add_variable( inform, var_oid, var_oid_len, ASN_TIMETICKS, (u_char *) mt, sizeof(mt)); snmp_sess_init(session); session.peername=strdup(DIR_CENTRODECONTROL); SOCK_STARTUP; ss=snmp_open(session); // Abre la session result = snmp_synch_response(ss, inform, response); responseOK = (result == STAT_SUCCESS response-errstat == SNMP_ERR_NOERROR); flog = fopen (FICHERODELOGSUB, a); if (responseOK) fprintf(flog, \nsend_inform: OK ); else fprintf(flog, \nsend_inform: NO OK); fclose(flog); snmp_close(ss); // Cierra la session } --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Slightly OT: Can I _set_ interface speed via a standard MIB?
On Tue, 07 Jun 2005 11:17:08 -0400 [EMAIL PROTECTED] wrote: CRC I see RFC1213-MIB::ifSpeed is read-only. Is there a MIB entry CRC that will allow me to force a specific speed for an interface? No, but some OS support configuring it in snmpd.conf (see interface directivein man page). Thanks but I need to do this dynamically for testing (and I want to make sure end users never see these entries with snmpwalk or whatever). Here's an idea: - I add speed setting entries to my enterprise MIB - I set up security so that those entries are excluded from all views - On my test machine, I add a view or remove the restriction so I can see those entries Does that sound good? Any better ideas? Chris --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Slightly OT: Can I _set_ interface speed via a standard MIB?
On Wed, 08 Jun 2005 14:28:46 -0400, [EMAIL PROTECTED] said: cnelson Thanks but I need to do this dynamically for testing (and I cnelson want to make sure end users never see these entries with cnelson snmpwalk or whatever). Here's an idea: cnelson - I add speed setting entries to my enterprise MIB cnelson - I set up security so that those entries are excluded from all views cnelson - On my test machine, I add a view or remove the restriction so I can cnelson see those entries cnelson Does that sound good? Any better ideas? Generally, I think that's a good idea. I'd remove the code entirely before sending it to the end user, though, if you don't want them to be able to ever see it. -- Wes Hardaker Sparta, Inc. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Walk ends badly when proxy enabled
On Wed, 08 Jun 2005 09:36:07 -0700 John wrote: JH I'll give it a try, but I got a fix from the Squid folks that's been JH working for me. See bug #1317 in the Squid Bugzilla database. JH The Net-SNMP agent receives the getnext for the last OID returned JH by my code and gives it back to my code. I respond with NULL JH because I don't have anything after that OID, so the agent turns JH around and gives the same OID to Squid, which is registered JH for the lexically next group of OIDs. Squid broke things by returning JH no-such-name. With the Squid patch it responds with its first OID and JH the walk proceeds happily down the Squid tree. Interesting.. does it survive getting out of the squid tree and move onto the next OID? i.e. what does squid return for a get-next on its last object, and does net-snmp handle that case? -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: help sending trap from within process
On Thu, 2 Jun 2005 20:24:54 -0400 Chuck wrote: CC I need advice on how to generate snmp traps within a compiled process. CC CC Architecture constrains prevent me from just forking/shelling out to the CC snmptrap executable. CC CC Ideally, I would like functions to build a trap and send it. Try running mib2c on your mib with the mib2c.notify.conf file. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Package for FreeBSD 3.3
We have FreeBSD 3.3 and 3.4 running in remote offices as DNS/DHCP servers. They contain net-snmp 4 and I'd like to upgrade. Can I drop in the current 5.2.x package on them? --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
Re: Walk ends badly when proxy enabled
Robert Story wrote: On Wed, 08 Jun 2005 09:36:07 -0700 John wrote: JH I'll give it a try, but I got a fix from the Squid folks that's been JH working for me. See bug #1317 in the Squid Bugzilla database. JH The Net-SNMP agent receives the getnext for the last OID returned JH by my code and gives it back to my code. I respond with NULL JH because I don't have anything after that OID, so the agent turns JH around and gives the same OID to Squid, which is registered JH for the lexically next group of OIDs. Squid broke things by returning JH no-such-name. With the Squid patch it responds with its first OID and JH the walk proceeds happily down the Squid tree. Interesting.. does it survive getting out of the squid tree and move onto the next OID? i.e. what does squid return for a get-next on its last object, and does net-snmp handle that case? Unfortunately not, but for another reason. Squid's SNMP agent code (built into the Squid application) returns some table entries in non-lexical order, which breaks the walk inside of Squid's MIB. One table is indexed by the IP address, but Squid always returns the entry for 127.0.0.1 first, regardless of the IP address of the server. --- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20 ___ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
RE: The ip address on teh eth0 of the device
Thanks Robert. I understand your approach. It seems a good way to get the information what I am looking for. Thanks again! -Jim -Original Message- From: Robert Story [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 08, 2005 11:17 PM To: Jim Su Cc: Net-Snmp-Users Subject: Re: The ip address on teh eth0 of the device On Wed, 8 Jun 2005 16:58:28 +0800 Jim wrote: JSIs there such mib oid which can provide the IP address on the eth0 of JSthe device? Correlation between the ipAddressTable/ipAddrTable and the ifTable should work. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: http://www.net-snmp.org/ irc://irc.freenode.net/#net-snmp Archive: http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users You are lost in a twisty maze of little standards, all different.