Re: response source IP for SNMP walk

2020-05-15 Thread chandrasekharreddy chinnapareddygari
Thanks Bill, I will try . Get Outlook for Android<https://aka.ms/ghei36> From: Bill Fenner Sent: Friday, May 15, 2020 6:07:10 PM To: chandrasekharreddy chinnapareddygari Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: response source IP for SNM

Re: response source IP for SNMP walk

2020-05-15 Thread Bill Fenner
On Wed, May 13, 2020 at 9:47 AM chandrasekharreddy chinnapareddygari < chandrasekhar...@hotmail.com> wrote: > Hi team, > > > I want to change source ip for snmpwalk like changing source IP for traps. > I know , we can use clientaddr for changing source IP for traps. > > > Is there any token is av

Re: response source IP for SNMP walk

2020-05-13 Thread Stuart Henderson
On 2020/05/13 13:45, chandrasekharreddy chinnapareddygari wrote: > Hi team, > > > I want to change source ip for snmpwalk like changing source IP for traps. > I know , we can use clientaddr for changing source IP for traps. > > > Is there any token is available to change source IP for snmpwalk

response source IP for SNMP walk

2020-05-13 Thread chandrasekharreddy chinnapareddygari
Hi team, I want to change source ip for snmpwalk like changing source IP for traps. I know , we can use clientaddr for changing source IP for traps. Is there any token is available to change source IP for snmpwalk. Please help me . Thanks, Chandra Get Outlook for Android

Re: snmp walk timeout MFD_SKIP or MFD_END_OF_DATA

2016-03-21 Thread Pranesh Kulkarni
Thanks Robert. I have added default vales in table , if process is not running. Thanks for providing the debuggig steps which helped me to understand the traversing. On Fri, Mar 4, 2016 at 7:17 PM, Robert Story wrote: > On Fri, 12 Feb 2016 16:07:29 +0530 Pranesh wrote: > PK> I have implemented

Re: snmp walk timeout MFD_SKIP or MFD_END_OF_DATA

2016-03-04 Thread Robert Story
On Fri, 12 Feb 2016 16:07:29 +0530 Pranesh wrote: PK> I have implemented subagent of 5 tables. using mib2c MFD option PK> PK> All 5 tables gives the value when my monitoring process say PK> "XYZ" is running. PK> PK> Now the problem is if my process XYZ is not running , the last PK> three tables d

snmp walk timeout MFD_SKIP or MFD_END_OF_DATA

2016-02-12 Thread Pranesh Kulkarni
Hi All, I have implemented subagent of 5 tables. using mib2c MFD option All 5 tables gives the value when my monitoring process say "XYZ" is running. Now the problem is if my process XYZ is not running , the last three tables dont have any values. while doing snmpwalk on 2nd table , it gives v

Re: Snmp walk

2012-07-28 Thread Lee
On 7/26/12, Anthony Bush wrote: > Hi, > > I need a bit of help with the snmpwalk command. Im trying to run a simple > test on a network switch to see if the ports are on or off using snmpwalk > but I can't seem to figure out the proper command to use in terms of the > arguments and options that ne

Re: Snmp walk

2012-07-27 Thread Dave Shield
On 26 July 2012 16:44, Anthony Bush wrote: > I need a bit of help with the snmpwalk command. Im trying to run a simple > test on a network switch to see if the ports are on or off using snmpwalk > but I can't seem to figure out the proper command to use in terms of the > arguments and options that

Snmp walk

2012-07-27 Thread Anthony Bush
Hi, I need a bit of help with the snmpwalk command. Im trying to run a simple test on a network switch to see if the ports are on or off using snmpwalk but I can't seem to figure out the proper command to use in terms of the arguments and options that need to be included. I keep getting the help o

Re: Net-snmp time out issue for snmp walk request

2012-04-16 Thread Magnus Fromreide
ading it in snmp table. During this it responds back timeout for > the snmp walk request (Timeout: No Response from xxx.xxx.xxx.xx) > > We also tried out using increase cache time out “(define > XX_PORTGROUPTABLE_TIMEOUT 60 “ to 600) and using option –t in snmp > utility side. > D

Net-snmp time out issue for snmp walk request

2012-04-16 Thread Suresh kumar
snmpd fetches current data on every time it gets a walk request(after catche time out time ). However it takes a long time to fetch the data from third party service (CORBA service in our case) and loading it in snmp table. During this it responds back timeout for the snmp walk request (Timeout: No

Re: SNMP walk and get not working

2012-03-27 Thread Vivek Nagaraj
Thanks a lot! That helped. I ran it for port 161 where my subagent was sending the getResponse PDU. I am getting this: dumpx_send: 05 00 dumpx_send: 05 00 dumpv_send: dumpv_send:NULL NULL This seems to be the difference compared to the working condition. I need to work o

Re: SNMP walk and get not working

2012-03-27 Thread Niels Baggesen
Den 27-03-2012 16:18, Vivek Nagaraj skrev: > This is the output I got: > > root@solaris:~# snmpd -Ddump,agentx -f -Lo udp Reread what Robert wrote ... udp: (the colon is important) > Error opening specified endpoint "udp" > Server Exiting with code 1 > root@solaris:~# ps -ef | grep snmp > r

Re: SNMP walk and get not working

2012-03-27 Thread Vivek Nagaraj
This is the output I got: root@solaris:~# snmpd -Ddump,agentx -f -Lo udp No log handling enabled - turning on stderr logging registered debug token dump, 1 registered debug token agentx, 1 netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp_subtree_load() netsnmp_assert

Re: SNMP walk and get not working

2012-03-27 Thread Robert Story
On Tue, 27 Mar 2012 16:49:30 +0530 Vivek wrote: VN> Error opening specified endpoint "" VN> Server Exiting with code 1 Well it's odd that it couldn't open an endpoint. Make sure that no other agent is running, and try # snmpd -Ddump,agentx -f -Lo udp: Then start up the agentx subagent in anoth

Re: SNMP walk and get not working

2012-03-27 Thread Vivek Nagaraj
Thanks a lot for the response. Here is the output: root@solaris:/# snmpd -Ddump,agentx No log handling enabled - turning on stderr logging registered debug token dump, 1 registered debug token agentx, 1 root@solaris:/# netsnmp_assert !"registration != duplicate" failed agent_registry.c:535 netsnmp

Re: SNMP walk and get not working

2012-03-26 Thread Robert Story
On Sat, 24 Mar 2012 08:38:40 +0530 Vivek wrote: VN> Does anybody know how the agenx subagent sends the 'GetResponse' PDU VN> to the subagent once it receives the 'GetRequest', 'GetNextRequest' VN> and 'SetRequest'? The details of the agentx communication is handled by the library. You don't need t

Re: SNMP walk and get not working

2012-03-23 Thread Vivek Nagaraj
Hello, Does anybody know how the agenx subagent sends the 'GetResponse' PDU to the subagent once it receives the 'GetRequest', 'GetNextRequest' and 'SetRequest'? Is there an API that does the above work? I have following doubts: 1) What is the responsibility of the Agentx subagent with respect

Re: SNMP walk and get not working

2012-03-22 Thread Vivek Nagaraj
Niels, Thanks for your response. Mine is a AgentX net-snmp subagent. Thanks, Vivek On Thu, Mar 22, 2012 at 5:42 PM, Niels Baggesen wrote: > On Thu, Mar 22, 2012 at 04:08:07PM +0530, Vivek Nagaraj wrote: >> Any idea why I get this? Is this the issue with my subagent or the >> main agent is not p

Re: SNMP walk and get not working

2012-03-22 Thread Niels Baggesen
On Thu, Mar 22, 2012 at 04:08:07PM +0530, Vivek Nagaraj wrote: > Any idea why I get this? Is this the issue with my subagent or the > main agent is not properly configured? What kind of subagent is this? AgentX, SMUX, Proxy, ... /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.so

SNMP walk and get not working

2012-03-22 Thread Vivek Nagaraj
Hello, I have a SNMP subagent which was working like a charm in the Solaris 10 OS which did not have net-snmp (instead SMA belonging to SUN was used as a master SNMP agent). Now that I migrated to Solaris 11 environment which has net-snmp as the master SNMP agent and SMA is not present post OS ins

Re: Regarding snmp walk time-out

2011-08-25 Thread Dave Shield
On 25 August 2011 08:18, wrote: > We are using the Advent Net API for doing snmp walk on snmp agents. > I would like to know how to increase the time-out for SNMP GTE-NEXT/snmp > walk ? Do we have any method in API to set a higher value for time-out ? We wouldn't know - th

Regarding snmp walk time-out

2011-08-25 Thread praveena.ramachand
Hi Hardaker, We are using the Advent Net API for doing snmp walk on snmp agents. The below function is used to initiate a series of GET-NEXT operations on node. target.snmpGetNextList(); I have attached the block of code from our snmp walk function. We have been using this code for many

Re: Strange behavior with SNMP walk.

2010-09-04 Thread Steve Friedl
> I receive this answer: > > .1.3.6.1.4.1.4491.2.1.20.1.23.1.2.536870914.256 = Hex-STRING: 01 02 03 04 > .1.3.6.1.4.1.4491.2.1.20.1.23.1.2.536870914.16777217 = Hex-STRING: 01 02 03 > .1.3.6.1.4.1.4491.2.1.20.1.23.1.2.536870914.16777218 = Hex-STRING: 01 02 03 04 > But if I perform a full complete SNMP walk > >

Strange behavior with SNMP walk.

2010-09-04 Thread Yehiel Samson
1 02 03 04 .1.3.6.1.4.1.4491.2.1.20.1.23.1.2.536870914.16777217 = Hex-STRING: 01 02 03 .1.3.6.1.4.1.4491.2.1.20.1.23.1.2.536870914.16777218 = Hex-STRING: 01 02 03 04 But if I perform a full complete SNMP walk snmpwalk -One -v2c -c public "IP" > /tmp/file These values do not appear in the output

SNMP Walk behaviour

2008-01-20 Thread Nirmal Choudhary
Hi All, I am using Net-SNMP-5.2.4. When I do snmpwalk then it gives the following error: snmpwalk -v2c -c public 172.25.10.137 sipCommonMIB SIP-COMMON-MIB::sipCommonCfgProtocolVersion.1 = STRING: 2.0 SIP-COMMON-MIB::sipCommonCfgServiceOperStatus.1 = INTEGER: unknown(1) SIP-COMMON-MIB::si

Re: Help me on SNMP walk script urgent

2006-10-06 Thread Dave Shield
On 6 Oct 2006 09:27:26 -, gururaj vishwanath nidoni <[EMAIL PROTECTED]> wrote: > my $snmp = new SNMP::Util(-device => '10.35.0.139', > -community => 'public', > ); > Can anyone tell me whats wrong in this script as it is consistently giving

Help me on SNMP walk script urgent

2006-10-06 Thread gururaj vishwanath nidoni
  Hi Guys, I am currently developing SNMP walk and SNMP query utility using SNMP::Util modules in perl. my script is as below. #! /usr/bin/perl use strict; use SNMP::Util; my $snmp = new SNMP::Util(-device => '10.35.0.139',                         -communi