Re: DisMan monitor

2009-11-10 Thread Dave Shield
2009/11/9 rangeli nepal rangeli.ne...@gmail.com: You suggested :  monitor -r 60 -o  .1.3.6.1.4.1.3658.5000  Partner Down2 nsExtendResult  != 0 I think you meant,  nsExtendObjects instead of  .1.3.6.1.4.1.3658.5000? Err... no. That wouldn't make sense. The monitor line will look for

Re: Retrieval of a single row from read-only Table

2009-11-10 Thread Dave Shield
2009/11/10 forumde...@tataelxsi.co.in forumde...@tataelxsi.co.in:       I have a standard Mib. It has a read only Table which has a primary key. I am able to retrieve values for the table view.         But I want to retrieve only a single row from whole table view. I have the key details for

Re: Question about mib2c.create-dataset.conf

2009-11-10 Thread Dave Shield
2009/11/9 X Z b...@live.com: I use mib2c.create-dataset.conf to generate codes for a table, but I got the following error: conflicting types for myTable_free and myTable_load. I use the cache method, it creates the following codes in the header file: NetsnmpCacheLoad myTable_load;

Re: Retrieval of a single row from read-only Table

2009-11-10 Thread forumde...@tataelxsi.co.in
Thanks, But my requirement is I know the key values but I am not aware where (as in which row ) it will appear. It is something like MAC address of the CPEs connected to my system. I know the MAC address but I dont know, rather I don want to take pains in doing table view and finding

Re: Retrieval of a single row from read-only Table

2009-11-10 Thread Dave Shield
2009/11/10 forumde...@tataelxsi.co.in forumde...@tataelxsi.co.in:  But my requirement is I know the key values but I am not aware where (as in which row ) it will appear.   It is something like MAC address of the CPEs connected to my system. Retrieving information from a MIB table is

Re: Retrieval of a single row from read-only Table

2009-11-10 Thread forumde...@tataelxsi.co.in
The table is indexed by the MAC address and it is a read only table. So I have added Private Mib parameter that takes the Key value from the user as a set parameter. I am able to retrieve the details of all the parameters for that key value and storing it into a structure. I want to

Re: Retrieval of a single row from read-only Table

2009-11-10 Thread Dave Shield
2009/11/10 forumde...@tataelxsi.co.in forumde...@tataelxsi.co.in:      Table X is read only table      It is indexed by MAC address.        Table Y = private Mib      y is Table Y parameter that is settable      y fetches the MAC address from the user and fetches the data for that MAC

Re: snmp newbie trying to use net-snmp as an Agent

2009-11-10 Thread seshu babu
Thanks a lot ! Dave for the detailed info. On Mon, Nov 9, 2009 at 3:14 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: 2009/11/5 seshu babu seshum...@gmail.com: 1. The net-snmp-devel rpm doesn't have a mib2c compiler that means I can do away with the mib2c compiler instead depend on

HOST-RESOURCES-MIB::hrSystemProcesses = No Such Object available on this agent at this OID

2009-11-10 Thread shashidhara
Hi all, I have installed net-snmp-5.4.2.1 in Win 2003. When I do snmpwalk on some OID's its giving following error snmpwalk -v2c -c public localhost .1.3.6.1.2.1.25.1.6 HOST-RESOURCES-MIB::hrSystemProcesses = No Such Object available on this agent at this OID. Please let me know how to solve

Re: DisMan monitor

2009-11-10 Thread rangeli nepal
Thanks again. Now I get following trap and if I do snmptranslate on each oids, it make sense every penny that you suggested. TRAP[requestID=1058144330, errorStatus=Success(0), errorIndex=0, VBS[1.3.6.1.2.1.1.3.0 = 0:02:15.16; 1.3.6.1.6.3.1.1.4.1.0 = 1.3.6.1.2.1.88.2. 0.1;

RE: Question about mib2c.create-dataset.conf

2009-11-10 Thread X Z
I didn't change anything but I am still getting the same error: myTable.c:117: error: conflicting types for myTable_free myTable.h:16: error: previous declaration of myTable_free was here I did include the following headers: #include net-snmp/net-snmp-config.h #include

Re: MIB architecture

2009-11-10 Thread Fulko Hew
On Tue, Nov 10, 2009 at 10:45 AM, Hansen, Jared jhan...@integ.com wrote: I am trying to import some MIBs for a 3COM switch into my SNMP administrator. It is sometimes the case that the ucdavis library hits an error which causes the entire mib to be discarded. I am new to the structure of

How to Change Agent identification?

2009-11-10 Thread Tony Sperbeck
I am using SolarWinds Orion NPM. I have it working with a RHEL box using the net-snmp agent. However, Orion returns net-snmp as the vendor. Is there a way to adjust the net-snmp agent so that when Orion polls it, it returns myString as the vendor? Schwabe

Re: How to Change Agent identification?

2009-11-10 Thread Dave Shield
2009/11/10 Tony Sperbeck tsperb...@enzy.com: I am using SolarWinds Orion NPM.  I have it working with a RHEL box using the net-snmp agent.  However, Orion returns “net-snmp” as the vendor.  Is there a way to adjust the net-snmp agent so that when Orion polls it, it returns “myString” as the

snmpget query error

2009-11-10 Thread purushotam rao
Dear Sir, When I give the snmpwalk command, I am getting the following error.* *Please find the attached .c and .h along with this mail for your kind reference. If possible please correct the code. *Query:[r...@localhost ~]*# snmpwalk -v 2c -c devasena localhost .1.3.6.1.4.1.10296.1.1000.1

snmpget query error

2009-11-10 Thread purushotam rao
-- Forwarded message -- From: purushotam rao ups...@gmail.com Date: Nov 11, 2009 10:02 AM Subject: snmpget query error To: net-snmp-users-requ...@lists.sourceforge.net, net-snmp-users@lists.sourceforge.net Cc: devasen...@gmail.com, ups...@gmail.com, shalini...@gmain.com Dear Sir,