Re: filter interfaces in snmp-get output

2018-08-19 Thread Fatemeh Mehdizadeh
08:02, Fatemeh Mehdizadeh >> wrote: >> >> hi, I have interfaces eth0,eth1, eth2, pflog0 ,ipfw0 on my system. >> when I want to see my intefaces with snmp-get, it shows all of >> interfaces. I want to see jus

Re: filter interfaces in snmp-get output

2018-08-18 Thread Ilya Etingof
gt; > hi, I have interfaces eth0,eth1, eth2, pflog0 ,ipfw0 on my system. > when I want to see my intefaces with snmp-get, it shows all of > interfaces. I want to see just eth0 - eth2 and not the pflog and > ipfw0. How should I do

filter interfaces in snmp-get output

2018-08-18 Thread Fatemeh Mehdizadeh
hi, I have interfaces eth0,eth1, eth2, pflog0 ,ipfw0 on my system. when I want to see my intefaces with snmp-get, it shows all of interfaces. I want to see just eth0 - eth2 and not the pflog and ipfw0. How should I do this? Thanks all

SNMP GET/GET NEXT failed to execute.

2018-03-01 Thread Nirmalraj DURAI
Hi, We have installed and configuring Net-SNMP V3 in windows box. We are facing issues in executing commands. Initially, we are getting authorization error and after adding the "authuser" log,execute the authorization error was resolved. But, now we are getting different error. C:\8770\bin>sn

Re: SNMP get response result

2014-03-14 Thread Joel Hansell
, Ballarpure, Akshay (EXT-Tata Consultancy Ser - IN/Hyderabad) wrote: > Thanks Joel for quick response. > > > > We can get snmp-get response = 1 only in case of timeout or there are any > other scenarios where we can get it as "1" ? > > > > -- > > With

RE: SNMP get response result

2014-03-14 Thread Ballarpure, Akshay (EXT-Tata Consultancy Ser - IN/Hyderabad)
Thanks Joel for quick response. We can get snmp-get response = 1 only in case of timeout or there are any other scenarios where we can get it as "1" ? -- With regards, Akshay From: ext Joel Hansell [mailto:joel.hans...@gmail.com] Sent: Thursday, March 13, 2014 3:48 PM To: Ballarpu

Re: SNMP Get error

2014-03-13 Thread Bill Fenner
parser. It's possible that iReasoning is trying to do you a favor and use a forgiving ASN.1 parser. Bill On Wed, Mar 12, 2014 at 7:35 PM, Ruan Batista wrote: > Hi, > > When I execute a snmp get in a especific server, it return the follow > errors: > > - (is a reserve

RE: SNMP Get error

2014-03-13 Thread Ruan Batista
cian Skype: ruan_diego Phone: (47)9159-9022 Twitter: @ruandbatista Linkedin: @ruanbatista Facebook: @ruan.dbatista From: Joel Hansell [mailto:joel.hans...@gmail.com] Sent: quinta-feira, 13 de março de 2014 07:06 To: Ruan Batista Cc: net-snmp-users@lists.sourceforge.net Subject: Re: SNMP Get e

Re: SNMP get response result

2014-03-13 Thread Joel Hansell
turned from the Agent, then you'll have to parse the printed output. Best regards, Joel Hansell On Thu, Mar 13, 2014 at 7:04 AM, Ballarpure, Akshay (EXT-Tata Consultancy Ser - IN/Hyderabad) wrote: > Hello, > I would like to know the response of snmp get in case of failure. We are >

Re: SNMP Get error

2014-03-13 Thread Joel Hansell
it. I don't want to recommend any particular tool, but search terms such as "mib browser" or "MiB compiler" should give good results. Best regards, Joel Hansell Den 13 mar 2014 00:42 skrev "Ruan Batista" : > Hi, > > When I execute a snmp get in a esp

SNMP get response result

2014-03-12 Thread Ballarpure, Akshay (EXT-Tata Consultancy Ser - IN/Hyderabad)
Hello, I would like to know the response of snmp get in case of failure. We are getting zero in most of the success cases. If we can get 1 in case of timeout, shall we use value of "$?" as snmp success and failure (0 and 1 respectively) on Solaris box ? please reply asap. Thanks T

SNMP Get error

2014-03-12 Thread Ruan Batista
Hi, When I execute a snmp get in a especific server, it return the follow errors: - (is a reserved word): At line 710 in /usr/local/share/snmp/mibs/SV7000GUI-MIB.txt OBJECT (is a reserved word): At line 710 in /usr/local/share/snmp/mibs/SV7000GUI-MIB.txt : (is a reserved word): At line 710 in

Re: help- when running embedded SNMP get errors

2010-09-07 Thread Wes Hardaker
Those errors are the results of you not running "make install" first. The MIB errors can generally be ignored, however, as the agent really doesn't "need" the MIBs. However, these: Failed to create the persistent directory for /var/net-snmp/snmpd.conf read_config_store open failure on /var

help- when running embedded SNMP get errors

2010-09-05 Thread Naama Bar Menachem
Hi I have compiled SNMP using config file containing: #!/bin/bash CC=mips64-octeon-linux-gnu-gcc\ LD=/home/naamab/projects/eclipse/env/cavium-sdk/tools-gcc-4.3/mips64-oct eon-linux-gnu/bin/ld\ ./configure --target=mips64-octeon-linux-gnu\ --build=mips64-octeon-linux-gnu\ --

Re: SNMP Get return wrong value from AgentX

2010-05-13 Thread majid namnabat
I think there were conflict between serial signal SIGIO, and agent_check_and_process(0) function. Also I have an important 100 ms timer. Is there there was a conflict between this timer and the timer of agent_check_and_process(0) function. Please help me! On 5/11/10, majid namnabat wrote: > De

SNMP Get return wrong value from AgentX

2010-05-12 Thread majid namnabat
Dear, I use an agentX with NetSNMP 5.5. The mib variables set via serial port and I use interrupt-based program for this purpose. The rate of date refresh is high. and the problem, when I want to read variables via Get command. sometimes this command return 0 value for that variable, whereas I am s

Re:RE: Re:RE: Re:RFC 4293 IPv6 default router lifetime SNMP get error

2010-04-06 Thread Alexander King
0 09:36 AM To: "new...@foxmail.com"; Subject: RE: Re:RE: Re:RFC 4293 IPv6 default router lifetime SNMP get error Can you help me track my problem status? I am not a net-snmp org member and really don’t know the rules to have my voice heard. Thanks. SJ Chen Chunghwa Telecom

Re: Question regarding SNMP GET response PDU

2007-12-06 Thread Dave Shield
On 04/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I would like to inform that I am trying to learn SNMP form William > Stallings SNMP,SNMPV2,Snmpv3,and RMON 1 and 2. Yup - that's a reasonable book, I found it a bit repetative when describing the three versions of SNMP, and not partic

RE: Question regarding SNMP GET response PDU

2007-12-04 Thread somenath.pal
Hi Dave, Many thanks for your response and suggestion. I would like to inform that I am trying to learn SNMP form William Stallings SNMP,SNMPV2,Snmpv3,and RMON 1 and 2. In this book it is mentioned that noSuchInstance will be put in the value field .But it was not clear for me that it is

Re: Question regarding SNMP GET response PDU

2007-12-04 Thread Dave Shield
On 04/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I would like to verify my understanding. > So "noSuchInstance" is a ASN1 type. Sort of. See RFC 1905, section 3 for the definition of the VarBind structure. > I would like to know more about how the coding is being done. Could you >

RE: Question regarding SNMP GET response PDU

2007-12-04 Thread somenath.pal
Hi Dave, Many thanks for the response. I would like to verify my understanding. So "noSuchInstance" is a ASN1 type .So while encoding the PDU it will be different than other type such as INTEGER, GAUGE32 etc. So manger while decoding will come to knows that it is ""noSuchInstance". Please let me

Re: Question regarding SNMP GET response PDU

2007-12-04 Thread Dave Shield
On 04/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > suppose noSuchInstance pseudo-values is 10 No. It doesn't work that way, The exception pseudo-value *is* "noSuchInstance" This is essentially a type in its own right - distinct from integer, octet string, OID, etc > Then how manag

RE: Question regarding SNMP GET response PDU

2007-12-04 Thread somenath.pal
age- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On >Behalf Of Dave Shield >Sent: Tuesday, December 04, 2007 2:22 PM >To: Somenath Pal (WT01 - TES-Access Networks) >Cc: net-snmp-users@lists.sourceforge.net >Subject: Re: Question regarding SNMP GET response PDU >

Re: Question regarding SNMP GET response PDU

2007-12-04 Thread Dave Shield
On 04/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have one basic question regarding SNMPv2 GET response PDU. > Suppose manager has queried for 3 attributes say v1, v2, v3, v4 > > Now suppose the response for the attributes are as follows. > > V1success > V2 erro

Question regarding SNMP GET response PDU

2007-12-03 Thread somenath.pal
Hi All, I have one basic question regarding SNMPv2 GET response PDU. Suppose manager has queried for 3 attributes say v1, v2, v3, v4 Now suppose the response for the attributes are as follows. V1success V2 error (No Such instance) V3 error (No su

Re: SNMP get querry for table with display string as index

2007-07-26 Thread Dave Shield
On 25/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > snmpget -r 0 -t 1000 -v2c -c AdminAdmin 192.168.221.176 > maxAlarmDefReportMode.\"LOSS OF > SIGNAL\".1.3.6.1.4.1.637.74.1.1.5.1.1.1.4 > > But it is failing. Try escaping the spaces as well: snmpget maxAlarmDefReportMode.\"LOSS\

RE: SNMP get querry for table with display string as index

2007-07-25 Thread somenath.pal
@lists.sourceforge.net Subject: RE: SNMP get querry for table with display string as index Hi Somanath, Did you try snmpget by specifying ascii values of each character in display string index..? If you do so, and if display string index object in your MIB is not fixed length octet string, then you

RE: SNMP get querry for table with display string as index

2007-07-25 Thread somenath.pal
@lists.sourceforge.net Subject: RE: SNMP get querry for table with display string as index Hi Somanath, Did you try snmpget by specifying ascii values of each character in display string index..? If you do so, and if display string index object in your MIB is not fixed length octet string, then you

RE: SNMP get querry for table with display string as index

2007-07-25 Thread Pamidipati Suresh-G20238
Pamidipati Suresh-G20238; net-snmp-users@lists.sourceforge.net Subject: RE: SNMP get querry for table with display string as index Hi Suresh, I have tried snmpwalk it is fine. snmpwalk -r 0 -t 1000 -v2c -c AdminAdmin 192.168.221.176 maxAlarmDefReportMode MAX-ALARM-MIB::maxAlarmDefReportMod

RE: SNMP get querry for table with display string as index

2007-07-25 Thread somenath.pal
D because it is defined as IMPLIED in MIB. Regards, Somanath -Original Message- From: Pamidipati Suresh-G20238 [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 25, 2007 4:16 PM To: Somenath Pal (WT01 - TES-Access Networks); net-snmp-users@lists.sourceforge.net Subject: RE: SNMP get querry

RE: SNMP get querry for table with display string as index

2007-07-25 Thread Pamidipati Suresh-G20238
; and \", while sending snmpget/set request. Regards, Suresh. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, July 25, 2007 3:48 PM To: net-snmp-users@lists.sourceforge.net Subject: SNMP get querry for table with dis

SNMP get querry for table with display string as index

2007-07-25 Thread somenath.pal
Hi ALL, I need to quarry a MIB table .In that table index is display string and OID. In the string space can be there. (For example LOSS OF SIGNAL) My doubt how can I query on that table. I tried the bellow request snmpget -r 0 -t 1000 -v2c -c AdminAdmin 192.168.221.176 maxAlarmDefReportMode.\"

Re: Obtain the return OID from a SNMP Get Next response

2007-06-13 Thread Dave Shield
On 13/06/07, Sven Koos <[EMAIL PROTECTED]> wrote: > How can I obtain the returned OID for a SNMP Get Next operation? The 'variables' field of the returned OID contains a linked list of netsnmp_variable_list structures. Each of these contains an OID/value pair, corresponding t

Obtain the return OID from a SNMP Get Next response

2007-06-12 Thread Sven Koos
How can I obtain the returned OID for a SNMP Get Next operation? I've been using SNMP V1 und the function "snmp_sess_synch_response". I'm getting the appropriate and correct response. The "enterprise"-field in the response pdu struct is empty. Than

Re: SNMP GET ERROR

2007-02-12 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 09/0

Re: SNMP GET ERROR

2007-02-09 Thread Dave Shield
On 09/02/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >HERE I HAVE ATTACHED MY WMAN-IF MIB- TXT FILE FRO YOUR REFERENCE.. > PLEASE FIND ATTACHED FILE... Thanks. That's confirmed my guess. .1.3.6.1.2.1.10.184.1.1.1.1.1.6 is indeed the OID of the MIB object WMAN-IF-MIB::wmanIfBsSfCsSpecifi

Re: SNMP GET ERROR

2007-02-09 Thread Dave Shield
On 09/02/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > snmpget -v 2c -c public localhost .1.3.6.1.2.1.10.184.1.1.1.1.1.6 > WMAN-IF-MIB::wmanIfBsSfCsSpecification = No Such Instance currently exists > at this OID It would be a lot easier to help you if you supplied a copy of the WMAN-IF-MIB fi

SNMP GET ERROR

2007-02-09 Thread [EMAIL PROTECTED]
HI.. DURING SNMPGET OPERATION I GOT THIS RESULT.. SNMPD ALSO RUNNING... snmpget -v 2c -c public localhost .1.3.6.1.2.1.10.184.1.1.1.1.1.6 WMAN-IF-MIB::wmanIfBsSfCsSpecification = No Such Instance currently exists at this OID THIS IS MY CONF FILE... ANY CHANGES IN CONF FILE..PLEASE LET ME KNOW

RE: Doing Snmp Get on Table with 2 index columns

2006-09-05 Thread Pamidipati Suresh-G20238
On Behalf Of Amit GuptaSent: Tuesday, September 05, 2006 4:26 PMTo: net-snmp-users@lists.sourceforge.netSubject: Doing Snmp Get on Table with 2 index columnsHi, I have implemented a table using NetSnmp toolkit that is indexed by two values - one integer value(componentType) and one

Doing Snmp Get on Table with 2 index columns

2006-09-05 Thread Amit Gupta
Hi, I have implemented a table using NetSnmp toolkit that is indexed by two values - one integer value(componentType) and one string(componentId). I am able to perform an snmpwalk and snmpgetnext successfully, but when I perform an snmpget, I am unable to retrieve the value of the parameter.  

Re: Is it safe to invoke an SNMP Get within a sub-agent?

2006-04-26 Thread Wes Hardaker
> On Wed, 26 Apr 2006 15:27:17 +0300, "Makavy, Erez (Erez)" <[EMAIL > PROTECTED]> said: Erez> My solution - is it safe? Erez> - Erez> Within the access_method of my (agentx) sub-agent, within the mode Erez> MODE_GET, I basically invoke these net-snmp API fu

Is it safe to invoke an SNMP Get within a sub-agent?

2006-04-26 Thread Makavy, Erez (Erez)
Hey,   What do I need -- I want to invoke an SNMP get ( send an SNMP request PDU to the master agent), within a sub-agent (on the same system). In particular within a netsnmp_mib_handler - access_method. Meaning that when the sub-agent receive a request for some OID1

Re: how SNMP get system run-time parameters (CPU/mem/network etc)

2005-08-09 Thread Robert Story
On Wed, 03 Aug 2005 11:11:37 -0700 lei wrote: LC>I am just wondering how SNMP retrieve run-time system LC> parameters. LC> . LC>I know the daemon will get the default value for some of LC> those parameters from the corresponding MIB files but how LC> SNMP gets those run-time parameter

how SNMP get system run-time parameters (CPU/mem/network etc)

2005-08-03 Thread lei cao
Hi there, I am just wondering how SNMP retrieve run-time system parameters. For example: somebox$ snmpwalk -l authPriv -u me -A "somepassword" localhost will give output like this: HOST-RESOURCES-MIB::hrDeviceDescr.768 = STRING: GenuineIntel: Intel(R) Pentium(R) 4 CPU 2.40GHz HOS

Re: snmp get

2004-10-08 Thread Dave Shield
[ Sorry for the delay in responding to this ] > I want to create a SET snmp_pdu(using functions provided by the > library), but I cannot find how to set the value to set. Probably the place place to start would be 'apps/snmpset.c' Basically, you'll need to create a suitable PDU, using '

snmp get

2004-08-11 Thread Claudio Lori
Hello, I'm a newbye in writing C code and using net-snmp library. I want to create a SET snmp_pdu(using functions provided by the library), but I cannot find how to set the value to set. Can anyone help me? Regards Claudio Lori University of Milan Italy ---

Re: Type of SNMP(GET, GETNEXT, and SET)request from the net-snmp libr ary to the var_xxx() stub.

2004-06-14 Thread Wes Hardaker
> On Fri, 11 Jun 2004 10:28:51 +0530, Kurapati M-G19456 <[EMAIL PROTECTED]> said: Kurapati> Can you let us know the new API to use? If there is any Kurapati> tutorial on this??? Reference to an example implementation Kurapati> would help me a lot. There are some examples in agent/mibgroup/ex

RE: Type of SNMP(GET, GETNEXT, and SET)request from the net-snmp libr ary to the var_xxx() stub.

2004-06-10 Thread Kurapati M-G19456
Cc: [EMAIL PROTECTED] Subject: Re: Type of SNMP(GET, GETNEXT, and SET)request from the net-snmp libr ary to the var_xxx() stub. >>>>> On Mon, 7 Jun 2004 09:16:02 +0530, Kurapati M-G19456 >>>>> <[EMAIL PROTECTED]> said: Kurapati> We are developing an A

Re: Type of SNMP(GET, GETNEXT, and SET)request from the net-snmp libr ary to the var_xxx() stub.

2004-06-09 Thread Wes Hardaker
> On Mon, 7 Jun 2004 09:16:02 +0530, Kurapati M-G19456 <[EMAIL PROTECTED]> said: Kurapati> We are developing an Agentx based subagent. We are Kurapati> implementing the MIB objects as implemented by NET-SNMP for Kurapati> interfaces mib in interfaces.c. But we require the type of Kurapati> t

Type of SNMP(GET, GETNEXT, and SET)request from the net-snmp libr ary to the var_xxx() stub.

2004-06-06 Thread Kurapati M-G19456
Hi, We are developing an Agentx based subagent. We are implementing the MIB objects as implemented by NET-SNMP for interfaces mib in interfaces.c. But we require the type of the operation being performed in the var_() stub called by NET-SNMP library. In the function netsnmp_old_api_help