Re: Urgent :: Response time for V1 and V3 are different .Why?????

2007-10-29 Thread pavithra s
Sorry V3 is quicker than V1 , Even i thought the processing time for V3 will be more because of the authentication and other related work. But it is happening other way round. On 10/30/07, pavithra s <[EMAIL PROTECTED]> wrote: > > thanks for the immediate response.. > > But V1 is quicker t

Re: Re: Re: The elements of one table, their OID is discontinous.

2007-10-29 Thread Jack Chen
Dear All: When walk to "myTestSecondField1", then break, and show "problem encountered in myTestSecondFieldTable_handler: unknown column" in /var/log/snmpd.log. I use version 5.3.1. My friend tell me, the version 5.2.2 can not. B/R, Jack I use this MIB text file: MY-TEST-MIB.my MY-TEST-MIB

Re: Urgent :: Response time for V1 and V3 are different .Why?????

2007-10-29 Thread pavithra s
thanks for the immediate response.. But V1 is quicker than V3 , Also i ll verify the link u have sent. Regards, AuraPavi On 10/29/07, Thomas Anders <[EMAIL PROTECTED]> wrote: > > pavithra s wrote: > > snmpget /snmpwalk for the same oid takes different time for SNMP Version > > 1 and Vers

Re: duplex discovery

2007-10-29 Thread Max
I am not a C/C++ star but would be happy to help with design or requirements documentation or research or POC code for this, I have access to Solaris 9/10 hosts and RHEL Linux. Should this be started as a section on the Wiki? Is there documentation you can refer me to, Dave, so that I can RTFM ab

Is it possible to retrieve oid from mib node name

2007-10-29 Thread Shawn_He
Suppose mib node names in a subtree are all unique, is it possible to retrieve an oid using a node name? Is there a way to do that in net-snmp? The reason I might want to do that is I am thinking of not using mib2c compiler which is a little bit cumbersome to me. -- Shawn He Online Technology O

Re: duplex discovery

2007-10-29 Thread Dave Shield
On 29/10/2007, Max <[EMAIL PROTECTED]> wrote: > That is the big question, I think the answer is that some vendors > provide this in extension MIBs but there is no common support for > ETHERLIKE with SNMP on hosts, which is too bad. This is a huge > undertaking but would be a huge win for Net-SNMP

Re: duplex discovery

2007-10-29 Thread Max
That is the big question, I think the answer is that some vendors provide this in extension MIBs but there is no common support for ETHERLIKE with SNMP on hosts, which is too bad. This is a huge undertaking but would be a huge win for Net-SNMP if it does not provide this information already. On t

RE: duplex discovery

2007-10-29 Thread Bruce Shaw
OK, anybody know the API for reporting duplex settlings for all the network drivers for linux and *BSD (all hardware platforms) AIX, HP-UX, windoze and all our other supported platforms? >Cisco does support Etherlike, at least on the 19xx, 29xx, 37xx, and 65xx lines of devices. >>If it doesn't

Re: duplex discovery

2007-10-29 Thread Max
Hi, Cisco does support Etherlike, at least on the 19xx, 29xx, 37xx, and 65xx lines of devices. I have a script that auto-maps a Cisco network (including getting L3 info for end user devices when available) using CDP, it gets the duplex settings from the devices using the ETHERLIKE-MIB's duplex OI

RE: Configuring Net-SNMP 5.3.1 to send/receive SNMPv3 traps

2007-10-29 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of thee.johnatron > Sent: Sunday, October 28, 2007 11:13 AM > *** > Is it possible to configure Net-SNMP 5.3.1 to successfully > send and receive SNMPv3 traps? If so, how? > *** > > Below I have included the files that succ

Access to linked list when using mib2c.create-dataset.conf

2007-10-29 Thread vsaavedra
Whem using mib2c with the following option : mib2c -c mib2c.create-dataset.conf how can I access to the linked list where data is saved ? Thanks in advance! - This SF.net email is sponsored by: Splunk Inc. Still grepping t

RE: duplex discovery

2007-10-29 Thread Bruce Shaw
I was just running a bit of code through my head. Unfortunately it only works on a platform you don't need to support. Oh, well. >And unfortunately it is really only useful if it is universal, since all of the connections I'd want to monitor have some switch device on one side and a windows or l

Re: How to make snmp agent send linkUp & linkDown traps?

2007-10-29 Thread Praseed V Gopal
Hi, Can anybody help me out to solve the problem described below. Thanks Praseed. - Original Message From: Praseed V Gopal <[EMAIL PROTECTED]> To: net-snmp-users@lists.sourceforge.net Sent: Thursday, 25 October, 2007 5:31:55 PM Subject: How to make snmp agent send linkUp & linkDown trap

Re: duplex discovery

2007-10-29 Thread Les Mikesell
Dave Shield wrote: > Oh, I agree. Adding support for the EtherLike-MIB would be well worth > doing. If anyone wishes to volunteer to implement this, they would be > welcomed with open arms, riches, fame and immortality (or some > subset of these). > > The main problem with an Open Source proj

TestAndInc in a Table

2007-10-29 Thread vsaavedra
Is it possible to use a TestAndIncr Object as a leaf in a table ? Ad if so, how can I have access to that leaf ? Thanks !!- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? St

Re: Dell MIBs

2007-10-29 Thread Thomas Anders
[EMAIL PROTECTED] wrote: > Is there any way to reduce the polling time or cpu consumption ? > how can I restrict the snmp access to OIDs, we don't need > all those information. It's fully up to you to decide what and how often to poll and configure your NMS (which does the polling) accordingly.

RE: Dell MIBs

2007-10-29 Thread snmp
Hi, no I just started all services with following script that comes with Dell Managed Node: /usr/bin/srvadmin-services.sh start and snmp is enabled : sudo /opt/dell/srvadmin/dataeng/bin/dataeng getsnmpstatus Data Engine SNMP enabled but we have one concern which it is about the performance. some

RE: Issue in starting the snmpd daemon for net-snmp 5.4.

2007-10-29 Thread Rajendra, Singh
Hi Dave , Thank you very much for your reply. Actually , I solved the problem. It was because of duplicate ip Addresses on two different interfaces. Once I changed one of them the problem disappeared. Dave, I see Lot of people facing the same issue , I feel it would be good if we list the above o

Re: duplex discovery

2007-10-29 Thread Dave Shield
On 29/10/2007, Les Mikesell <[EMAIL PROTECTED]> wrote: > > What do you mean by "stock ... MIBs"? > > I meant what you see in a full snmpwalk of a device OK. >and I don't see > anything that looks like a duplex setting even from the Ciscos. Then I suspect you'r

Re: duplex discovery

2007-10-29 Thread Les Mikesell
Dave Shield wrote: > On 25/10/2007, Les Mikesell <[EMAIL PROTECTED]> wrote: >>> To monitor the setting, you might have a look at the Etherlike-MIB >>> http://net-snmp.sourceforge.net/docs/mibs/EtherLike-MIB.txt. >> Does that mean it is not in the stock Cisco/Linux/Windows MIBs? > > What do you mea

Re: sendv2trap() ... who to change generic id?

2007-10-29 Thread Dave Shield
On 28/10/2007, Torben Surmer <[EMAIL PROTECTED]> wrote: > I use the sendv2trap() function like shown in the notification example to > send a snmp trap from my subagent. I now whant to send a warnstart trap OK - then pass the OID of the warmStart notification to sendv2trap(). If you're using "trap

Re: Is it possible to get information across two related tables, in one Get operation

2007-10-29 Thread Dave Shield
On 27/10/2007, Anuradha Bhakta <[EMAIL PROTECTED]> wrote: > I would like to know if it is possible to get information across two > tables, in one single "Get" request. Yes. Just ask for the OIDs that you are interested in. You can supply as many as you like (within reason), scattered across the wh

Re: problem about mibs

2007-10-29 Thread Dave Shield
On 26/10/2007, Fan Zhang <[EMAIL PROTECTED]> wrote: > if I use the following line to read oid, it gets nothing > read_objid("sysDescr.0", anOID, &anOID_len); Try read_objid("SNMPv2-MIB::sysDescr.0", anOID, &anOID_len); Does that work? Dave ---

Re: snmpset for creating instances

2007-10-29 Thread Dave Shield
On 26/10/2007, Marcos Majo <[EMAIL PROTECTED]> wrote: > I have these 3 instances: > SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.1 = STRING: "Default" > SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.2 = STRING: "Normal" > SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.28 = STRING: "hide" > and I want to create a 4th one (SNMPv2-SMI::mib

Re: -lnetsnmpmibs -lnetsnmpagent - lnetsnmphelpers Not Found

2007-10-29 Thread Dave Shield
On 25/10/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > In one of the example Makefiles, it points to libraries that are > referenced in net-snmp-config labeled NSC_BASE_SUBAGENT_LIBS which is > assigned the value "-lnetsnmpagent -lnetsnmphelpers - lnetsnmp". So when > I attempt to build, it

Re: Problem With snmpgetnext & walk

2007-10-29 Thread Dave Shield
On 26/10/2007, NetSnmp User <[EMAIL PROTECTED]> wrote: > the master is sending the snmpget request to subagent with the oid > of the next object along with some dump appending at the end of the oid. > Like: > {1,3, 6, 1, 4, 1, 1700, 2, 100, 36, 1, 1, 1001, 1 } How are you registering the t

Re: how can I set the generic id of a trap, send from a subagent

2007-10-29 Thread Dave Shield
On 25/10/2007, Torben Surmer <[EMAIL PROTECTED]> wrote: > is it possible to send a trap from a agentx subagent with an generic id > other then 6? Yes - if you send one of the "standard" traps from the subagent, then this should be sent out as an SNMPv1 trap from the master agent using the appropri

Re: duplex discovery

2007-10-29 Thread Dave Shield
On 25/10/2007, Les Mikesell <[EMAIL PROTECTED]> wrote: > > To monitor the setting, you might have a look at the Etherlike-MIB > > http://net-snmp.sourceforge.net/docs/mibs/EtherLike-MIB.txt. > > Does that mean it is not in the stock Cisco/Linux/Windows MIBs? What do you mean by "stock ... MIBs"?

Re: print numerical and text OID snmptrapd

2007-10-29 Thread Thomas Anders
Dave Shield wrote: > On 24/10/2007, Noah <[EMAIL PROTECTED]> wrote: >> is there any way to log both the numerical and textual OID information >> received by snmptrapd. > > No - you can either display OIDs using the numeric form or by name. > You can't do both at the same time. ... unless you feed

Re: (genError) A general failure occured

2007-10-29 Thread Dave Shield
On 25 Oct 2007 06:56:45 -, girish <[EMAIL PROTECTED]> wrote: > when I issue a snmpwalk command its giving this error: > Error in packet. > Reason: (genError) A general failure occured > Failed object: MY-MIB::MyTraceTable What happens if you try a single "snmpgetnext" request on one of the

Re: help~

2007-10-29 Thread Dave Shield
On 25/10/2007, HongGuo Liu <[EMAIL PROTECTED]> wrote: > I want to write procedures to search unknown network equipments by using > net-snmp's API.Could you tell me how can i do? You will need to be a lot clearer about exactly what you are wanting to do. Not just "search unknown network equipme

Re: print numerical and text OID snmptrapd

2007-10-29 Thread Dave Shield
On 24/10/2007, Noah <[EMAIL PROTECTED]> wrote: > is there any way to log both the numerical and textual OID information > received by snmptrapd. No - you can either display OIDs using the numeric form or by name. You can't do both at the same time. Dave --

Re: load MIBs and receive traps

2007-10-29 Thread Dave Shield
On 24/10/2007, Noah <[EMAIL PROTECTED]> wrote: > I am wondering if snmptrapd can report the trap based on the > NOTIFICATION data found in the mib files? snmptrapd will report the actual contents of the trap. This may or may not be the same as the expected contents of the trap (i.e. the definition

Re: net-snmp slow with kernel 2.6.x

2007-10-29 Thread Thomas Anders
Cédric Molinier wrote: > For the test: my SNMP manager sends (each second) a GET request only on > "sysObjectId" variable of mibII, and > with Ethereal, I measure response time of snmp server. That doesn't help enough to determine *where* the time is spent. You really need to explore your options

Re: Issue in starting the snmpd daemon for net-snmp 5.4.

2007-10-29 Thread Dave Shield
On 22/10/2007, Rajendra, Singh <[EMAIL PROTECTED]> wrote: > I have compiled the net-snmp 5.4.1 without perl & embedded perl support. But > when I try to run it on my target Machine the snmpd service is not starting. > Output with -f-Le flags > ./snmpd -f -Le > netsnmp_assert !"registration != d

Re: net-snmp slow with kernel 2.6.x

2007-10-29 Thread Cédric Molinier
Hi, >For the moment, I tested net-snmp 5.0.9 and 5.2.1; > Both of those versions are really, really, really stale and no longer in > development. > Have you considered 5.4.1? Yes, I just test 5.4.1 with uClinux kernel 2.6.x. It works, but response time of snmp server is not performant (80 ms).

Re: net-snmp 5.4.1 on RHEL 4 gives error: error on subcontainer 'ia_addr' insert (-1)

2007-10-29 Thread Aleksey Tsalolikhin
I have the same problem. Aleksey On 10/23/07, Rajendra, Singh <[EMAIL PROTECTED]> wrote: > > > Hi All, > > I am trying to upgrade net-snmp to net-snmp 5.4.1 from net-snmp5.1.2 on > Red Hat Enterprise Linux 4 systems. I start the service with -f -Le options. > > I get this error on output error

Re: Urgent :: Response time for V1 and V3 are different .Why?????

2007-10-29 Thread Thomas Anders
pavithra s wrote: > snmpget /snmpwalk for the same oid takes different time for SNMP Version > 1 and Version 3. Is there any difference between v1 and v3 in retriving > the values. For SNMPv3, you'll likely see SNMP engine ID discovery in action as well as additional processing on both sides depe