Snmpd not answering if an unknown context is used in query from client

2020-03-06 Thread daniele
Hello everybody, I'm using NET-SNMP 5.7.3 with SSL support enabled and I can properly configure the daemon to run SNMPV3 with authNoPriv users. At run time my subagent will register OIDs with a configurable context name. Everything is working perfectly. However I can see a minor but unexpected be

Re: Query MIB internally during snmpd initialization

2018-08-22 Thread Wes Hardaker via Net-snmp-coders
Michael Wu writes: > I have a situation where the pass persist scripts take some time to run due > to the size of the custom mibs it needs > to generate. When pass persist script gets started by snmpd, the external > query (snmpwalk for example) would time > out. To get around t

Query MIB internally during snmpd initialization

2018-08-13 Thread Michael Wu
I have a situation where the pass persist scripts take some time to run due to the size of the custom mibs it needs to generate. When pass persist script gets started by snmpd, the external query (snmpwalk for example) would time out. To get around this issue I was thinking to let snmpd start the

Query on Delete Permissions

2018-04-11 Thread Madhusudhana R
Hi All, I have a query on how to delete the permission for a SNMPv3 user dynamically. More precisely, I have added an SNMPv3 user and deleted the user using snmpusm create and delete commands. If I delete the user, the permission set to that user is still not deleted. Ex: *I created a user

Query on SET phases for table objects

2018-04-04 Thread Madhusudhana R
Hi Coders, I have a query regarding the SET phases for table objects. The phases of SET are as follows: MODE_SET_RESERVE10 MODE_SET_RESERVE21 MODE_SET_ACTION2 MODE_SET_COMMIT 3 MODE_SET_FREE 4 MODE_SET_UNDO 5 SCALAR Objects: When I do SET with multiple

Query on SET phases for table objects

2018-04-04 Thread Madhusudhana R
Hi Coders, I have a query regarding the SET phases for table objects. The phases of SET are as follows: MODE_SET_RESERVE10 MODE_SET_RESERVE21 MODE_SET_ACTION2 MODE_SET_COMMIT 3 MODE_SET_FREE 4 MODE_SET_UNDO 5 SCALAR Objects: When I do SET with multiple

Re: Trap session query

2017-12-14 Thread Robert Story
On Thu, 14 Dec 2017 09:45:18 + Madhusudhana wrote: MR> Below is the configuration, where all 3 sessions are destined MR> to same IP and port (could be a wrong configuration). In this MR> case, will there be 3 trapsessions to same destination IP:port? MR> Or will SNMP filter out the duplicated s

RE: Trap session query

2017-12-14 Thread Madhusudhana R
Hi Robert/Coders, I had asked a question related to traps which can be seen in this mail thread. Thanks Robert for your answer. In relation to that, I have one more query again. Below is the configuration, where all 3 sessions are destined to same IP and port (could be a wrong configuration

Re: Trap session query

2017-11-23 Thread Robert Story
On Thu, 9 Nov 2017 11:34:53 + Madhusudhana wrote: MR> My query is regarding trap sessions. MR> I have a below configuration where I have a trap user MR> 'Operator1'created with 3 trap sessions with different IP: Port MR> as shown below. MR> MR> createUser Operator

Trap session query

2017-11-09 Thread Madhusudhana R
Hi Coders, My query is regarding trap sessions. I have a below configuration where I have a trap user 'Operator1'created with 3 trap sessions with different IP: Port as shown below. createUser Operator1 MD5 "password@123" trapsess -v 3 -u Operator1 -l authNoPriv 192.168.0

Dynamic context registration query

2016-05-25 Thread Lakshmipathy, Sridhar
Hi , I am currently implementing dynamic context registration via IF-Table. In the init_ifTable , I did the following changes . _ifTable_initialize_interface(user_context, flags,NULL); _ifTable_initialize_interface(user_context, flags,"context1"); _ifTable_initialize_interface(user_c

Working on Python SNMP table query extension, contribute?

2015-07-16 Thread [email protected]
Hi Coders, I've started to work on a small Python C extension package, incorporating your Net-SNMP Python bindings. It allows to query a SNMP table, and provides the result in form of a dictionary of dictionaries. See https://github.com/haxtibal/netsnmptable for more details, examples

Re: Query related to net-snmp package

2015-01-25 Thread Robert Story
are you running? What OS? Does it peg at 100% immediately, or after your first query? Robert -- Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Sla

RE: Query related to net-snmp package

2015-01-04 Thread Rajkumar Purohit
[mailto:[email protected]] Sent: Monday, December 15, 2014 3:00 PM To: [email protected] Subject: Query related to net-snmp package Is there a fix for the 100 % cpu utilization due to snmp process? If yes, please tell me the link of the patch and what version of net-snmp contains this

Query related to net-snmp package

2014-12-26 Thread aman sharma
Is there a fix for the 100 % cpu utilization due to snmp process? If yes, please tell me the link of the patch and what version of net-snmp contains this patch? please do the needful...its gating. -- *Thankyou* * Aman Sharma* *(Sharda University)* ---

please help just a minor query

2014-07-08 Thread Vipul Bagga
i am compiling snmp-net on a linux module only with specific module , i want a snmpd disk for getting trap : can you please help which module should i include to have disk option : Also please give some steps to folllow . Sample : "CONFIGURE_OPTIONS+=--with-mib-modules=host/hr_system,host/hr

Re: a query regarding AgentX and snmpd

2014-06-10 Thread sarath azad
Hello,   Could you please tell the scenario when agentx_reopen_session() and register_mib_reattach() functions be called from run_alarms() in AgentX process? Here we have a main agent “snmpd” process and snmp_agentx process.   Does these functions be called when we looses connection between ma

a query regarding AgentX and snmpd

2014-06-06 Thread sarath azad
  Hello,   Could you please tell the scenario when agentx_reopen_session() and register_mib_reattach() functions be called from run_alarms() in AgentX process? Here we have a main agent “snmpd” process and snmp_agentx process.   Does these functions be called when we looses connection between main

Re: Query related to memory leaks and read errors in snmptrap command

2014-02-13 Thread Bill Fenner
On Wed, Feb 12, 2014 at 12:41 PM, Chaitanya Gulhane < [email protected]> wrote: > Hi Bill, > > Thanks for the reply. > > Actually I wanted to use Net-SNMP APIs to send traps from my code instead > of direct calling snmptrap. I saw that my code was having leaks. So I > curiously tested fo

Re: Query related to memory leaks and read errors in snmptrap command

2014-02-10 Thread Bill Fenner
On Thu, Feb 6, 2014 at 7:11 AM, Chaitanya Gulhane < [email protected]> wrote: > > Hi, > > I was using net-snmp 5.6.2 and have built the code and installed it. > > I was using valgrind over snmptrap command. > Following is the command I ran. > > valgrind --leak-check=full --log-file=log_s

Fwd: Query related to memory leaks and read errors in snmptrap command

2014-02-06 Thread Chaitanya Gulhane
Hi, I was using net-snmp 5.6.2 and have built the code and installed it. I was using valgrind over snmptrap command. Following is the command I ran. valgrind --leak-check=full --log-file=log_snmptrap snmptrap -v 2c -c public "" localhost UCD-TRAP-TEST-MIB::demoTrap Following is the valgrind lo

Re: Bug 3532090: snmpd crashes on query hrDeviceDescr

2012-06-16 Thread Niels Baggesen
On Fri, Jun 15, 2012 at 04:13:47PM -0400, Robert Story wrote: > On Tue, 12 Jun 2012 21:56:55 +0200 Niels wrote: > NB> The server in question has only 8 active network interfaces, but > NB> experimentations with network setup (subinterfaces, vlans) makes the > NB> ifindex grow when interfaces are

Re: Bug 3532090: snmpd crashes on query hrDeviceDescr

2012-06-15 Thread Robert Story
On Tue, 12 Jun 2012 21:56:55 +0200 Niels wrote: NB> The server in question has only 8 active network interfaces, but NB> experimentations with network setup (subinterfaces, vlans) makes the NB> ifindex grow when interfaces are removed and re-created Which OS? NB> [...] I think NB> that we may

Bug 3532090: snmpd crashes on query hrDeviceDescr

2012-06-12 Thread Niels Baggesen
This bug demonstrates a really nasty problem, with a server that has been through many network reconfiguration so that the kernels ifindex now has reached 37875 ... which never can fit into the statement > return (HRDEV_NETWORK << HRDEV_TYPE_SHIFT) + HRN_index; (found at line 243 of agent/m

Re: Query For SNMP NOTIFICATION-TYPE

2011-05-09 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 5 May

Re: Query For SNMP NOTIFICATION-TYPE

2011-05-05 Thread Dave Shield
On 5 May 2011 08:43, Dashang Trivedi wrote: >     My MIb file contain this macro >  highCpuUsage NOTIFICATION-TYPE [snip] If this is a notification object, then it can *only* be used as part of a "snmptrap" (or similar) command. There is no information

Query For SNMP NOTIFICATION-TYPE

2011-05-05 Thread Dashang Trivedi
Dear Sir, My Self Dashang Trivedi .My Objective is to add Private MIB and compile that file and perform snmpget and snmpset operation. My MIb file contain this macro highCpuUsage NOTIFICATION-TYPE

Re: SNMP -GET-Query on a Not-Accessible Mib object

2011-03-14 Thread Dave Shield
On 14 March 2011 07:12, Manjit wrote: > A Get Query on a table index whose syntax is not-accessible is giving > result as "No Such Object available on this agent at this OID". That is correct, yes. > Is it the correct error response returned by the Agent Yes. See RFC 190

SNMP -GET-Query on a Not-Accessible Mib object

2011-03-14 Thread Manjit
Hi All, A Get Query on a table index whose syntax is not-accessible is giving result as "No Such Object available on this agent at this OID". e.g usmUserTable's column userName is not-accessible. Below is result of the GET query on this object. snmpget -v 2c -c priva

Re: GETNEXT does not complete query processing at occurrence of error GenError in Agentx subagent.

2011-02-28 Thread Phill Xenox
Hi! Probably problem in function int check_getnext_results (netsnmp_agent_session *asp) from snmp_agent.c (a line 2798). There is no check of the status of request. If the status of request is erroneous, function check_getnext_results all can return 1 (request GETNEXT correct). It is necessary

Re: GETNEXT does not complete query processing at occurrence of error GenError in Agentx subagent.

2010-11-17 Thread Phill Xenox
Tue, 16 Nov 2010 16:28:10 + письмо от 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 bot

Re: GETNEXT does not complete query processing at occurrence of error GenError in Agentx subagent.

2010-11-16 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. ] 2010/11

Re: GETNEXT does not complete query processing at occurrence of error GenError in Agentx subagent.

2010-11-11 Thread Dave Shield
On 11 November 2010 15:16, Robert Story wrote: > On Thu, 11 Nov 2010 09:20:22 +0300 Phill wrote: > PX> Has faced a strange situation. There are 4 tables in one MIB-file. All > tables are realised in the subagent through AgentX. Net-SNMP works as the > master. All fields of the table have type Un

Re: GETNEXT does not complete query processing at occurrence of error GenError in Agentx subagent.

2010-11-11 Thread Robert Story
On Thu, 11 Nov 2010 09:20:22 +0300 Phill wrote: PX> Has faced a strange situation. There are 4 tables in one MIB-file. All tables are realised in the subagent through AgentX. Net-SNMP works as the master. All fields of the table have type Unsigned32. If any table contains an error (for example n

GETNEXT does not complete query processing at occurrence of error GenError in Agentx subagent.

2010-11-11 Thread Phill Xenox
Hi All! Has faced a strange situation. There are 4 tables in one MIB-file. All tables are realised in the subagent through AgentX. Net-SNMP works as the master. All fields of the table have type Unsigned32. If any table contains an error (for example negative value, the subagent returns genErro

Query about Neighbor unreachability detection.

2010-09-22 Thread Manjit
Hi All, Please guide me w.r.t the below implementation of snmp 5.5: Function _load_v6 is added in netsnmp 5.5 .( file name : ip-mib/data-access/arp_linux.c) This function implements the Neighbor unreachability detection. Please let me know about the function get_translation_table_info, fillup_ent

Re: Just a query.

2009-09-22 Thread Wes Hardaker
> On Mon, 21 Sep 2009 10:37:52 +0530, Hemant Soundankar > said: HS> I just want to kno weather 1 subagent can handle multiple MIBs. HS> And if yes please guide me. Yes, you simply call the registration functions more than once. -- Wes Hardaker Please mail all replies to net-snmp-coders

Just a query.

2009-09-20 Thread Hemant Soundankar
Hello, I just want to kno weather 1 subagent can handle multiple MIBs. And if yes please guide me. Thank you -Hemant Soundankar -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer

Re: IPV6 related query

2009-09-11 Thread Wes Hardaker
> On Wed, 9 Sep 2009 15:00:26 +0530, Deepali Singalkar > said: DS> Further when I issue the snmpget command with ipv6 address as specified in DS> the response to FAQ_Application 28 DS> snmpget -v 3 -n '' -l authPriv -u myuser -A my_password 'udp6:[::1]:161' -l DS> authNoPriv sysUpTime.0

IPV6 related query

2009-09-09 Thread Deepali Singalkar
To enable the ipv6 support for the agent I included below line in snmpd.conf agentaddress udp:161,tcp:161,udp6:161,tcp6:161 When I start the agent as snmpd -f -L I get below message getaddrinfo: Name or service not known Further when I issue the snmpget command with ipv6 address as specified in

Re: query on VACM Config

2009-07-24 Thread Dave Shield
2009/7/24 B V Narasimhulu : > rocommunity jjk > group network-admin v2c jjk Do _not_ try and mix the short-form ("rocommunity") and long-form (com2sec/group/access) styles of access control. That way madness lies. > I want to exclude the ifTable mib while paring the MIBs with one community >

query on VACM Config

2009-07-24 Thread B V Narasimhulu
Hi, I'm doing view configuration so that I want to exclude the ifTable mib while paring the MIBs with one community string. I made the configuration as below. But I am not able to achieve what I want with this config. Please suggest me if I am any config over here. -- view all included .1 vie

Re: Quick query regd. the parsing of MIBs

2009-02-13 Thread Dave Shield
2009/2/13 B V Narasimhulu : > >From my code, the mib is displyes as (IF-MIB::ifTable.2.1.7.1 = INTEGER: 1) Where does that '2' come from? The OID of ifAdminStatus is IF-MIB::ifTable.1.7 > My code snapshot is: > > > {IFADMINSTATUS, ASN_INTEGER, RWRITE, var_ifEntry,

Quick query regd. the parsing of MIBs

2009-02-13 Thread B V Narasimhulu
Hi, When the do snmpget/walk for the ifTable for the original net-snmp agent (snmpd). I'm getting the o/p as below. Whereas when i do snmpwalk/get for my own generated code ( using mib2c for ifTable), but the o/p is different. >From my code, the mib is displyes as (IF-MIB::ifTable.2.1.7.1 = INT

Re: query: send_easy_trap issue

2009-01-22 Thread Dave Shield
2009/1/22 B V Narasimhulu : > Why the net-snmp routine: send_easy_trap(x,x) sending trap TWICE for every > time when call that routine ? What does your 'snmpd.conf' file contain? Dave -- This SF.net email is sponsored by

query: send_easy_trap issue

2009-01-22 Thread B V Narasimhulu
Hi, Have one query on traps. Why the net-snmp routine: send_easy_trap(x,x) sending trap TWICE for every time when call that routine ? Thanks in advance. Regards, Narasi Check out the all-new Messenger 9.0! Go to http://in.messenger.yahoo.com

Re: Query reg Net-SNMP5.4.2.1

2008-12-21 Thread Nikos Balkanas
Have you considered running valgrind on it? BR, Nikos - Original Message - From: VenkatRangan Govindarajan To: [email protected] Cc: [email protected] Sent: Sunday, December 21, 2008 9:12 AM Subject: Query reg Net-SNMP5.4.2.1 Hi, Thanks for

Query reg Net-SNMP5.4.2.1

2008-12-21 Thread VenkatRangan Govindarajan
Hi, Thanks for the responses regarding the query about mtrace(). Although we find that after SET/GET we observe the snmpd daemon using up some 4 KB from the free memory, so we would like to know if any bug has been reported on this . In fact the memory is not being freed back at all, hence the OOM

Query regd. fetching integer variable in sub-agent coding (generated thru mib2c)

2008-12-01 Thread bhuvaneswar.lalith
Hi, I have a query regarding fetching integer values - I wrote a sub agent and it is working fine for string values. But for a specific part of MIB tree, I have to update the integer values. For that I used "mib2c" and generated the sample code. I used this option - "

RE: Is it possible to expand the timeout duration of an SNMP query?

2008-11-12 Thread Need Help
an <[EMAIL PROTECTED]> wrote: From: Prasanna Varadharajan <[EMAIL PROTECTED]> Subject: RE: Is it possible to expand the timeout duration of an SNMP query? To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Date: Tuesday, November 11, 2008, 8:20 PM Yes you can, in

Re: Is it possible to expand the timeout duration of an SNMP query?

2008-11-11 Thread Magnus Fromreide
On Tue, 2008-11-11 at 12:26 -0800, Need Help wrote: > I am using NetSNMP v5.4.1 and I am using a subagent to gather data for > my MIB. > > When performing a SNMP query which needs to gather a bunch of data, > sometimes the SNMP query times out thus resulting in no data being >

Is it possible to expand the timeout duration of an SNMP query?

2008-11-11 Thread Need Help
I am using NetSNMP v5.4.1 and I am using a subagent to gather data for my MIB. When performing a SNMP query which needs to gather a bunch of data, sometimes the SNMP query times out thus resulting in no data being displayed.  I am assuming this is because the master agent has timed out waiting

Re: Why does SNMP query return HEX string value instead of text string?

2008-11-10 Thread Magnus Fromreide
mån 2008-11-10 klockan 12:19 -0800 skrev Need Help: > You stated "decision by your client". Does this mean that when the > "snmpget" command is made and the data is returned, then the "snmpget" > logic determines to display the results as hex? Basically, is the > "snmpget" command which you are c

Re: Why does SNMP query return HEX string value instead of text string?

2008-11-10 Thread Need Help
quot;client"? --- On Mon, 11/10/08, Magnus Fromreide <[EMAIL PROTECTED]> wrote: From: Magnus Fromreide <[EMAIL PROTECTED]> Subject: Re: Why does SNMP query return HEX string value instead of text string? To: [EMAIL PROTECTED] Cc: "net-snmp Coders" Date: Monday, Novembe

Re: Why does SNMP query return HEX string value instead of text string?

2008-11-10 Thread Magnus Fromreide
mån 2008-11-10 klockan 06:02 -0800 skrev Need Help: > > I am using NetSNMP v5.4.1. > > I am issuing the following SNMP command: > > /usr/bin/snmpget -v 2c -c myaccess_ro 127.0.0.1 pageAppCodeModules.0 > > This command usually returns a string value like: > > "000-03341-85696-216|DATAPAGE=1(A

Why does SNMP query return HEX string value instead of text string?

2008-11-10 Thread Need Help
I am using NetSNMP v5.4.1. I am issuing the following SNMP command:   /usr/bin/snmpget -v 2c -c myaccess_ro 127.0.0.1 pageAppCodeModules.0 This command usually returns a string value like: "000-03341-85696-216|DATAPAGE=1(Application Code Modules)|DATASECTION=TABLE(Downloaded Object List)|Modu

Re: How to stop an SNMP query on an empty table from occurring

2008-07-03 Thread Need Help
Thanks for the explanation. --- On Thu, 7/3/08, Dave Shield <[EMAIL PROTECTED]> wrote: From: Dave Shield <[EMAIL PROTECTED]> Subject: Re: How to stop an SNMP query on an empty table from occurring To: [EMAIL PROTECTED] Cc: "net-snmp Coders" Date: Thursday, July 3, 2008,

Re: How to stop an SNMP query on an empty table from occurring

2008-07-03 Thread Dave Shield
2008/7/3 Need Help <[EMAIL PROTECTED]>: > I am wondering what happens when a SNMP query is performed on this table? What sort of query? If it's a GET request on a given entry within the table, your code should detect that this particular row does not exist, and would return '

How to stop an SNMP query on an empty table from occurring

2008-07-03 Thread Need Help
I am designing my first MIB and have defined a Table (ie: UsedInterfacesTable) which holds all information relating to used interfaces.  If there are no used interfaces then this table will not get populated.  I am wondering what happens when a SNMP query is performed on this table?   I am

snmpd.conf file query

2008-06-17 Thread M. Zeeshan - IMS
hi dears just started working a couple of days ago, so sorry to disturb you in a rush, question may be foolish, but let me pls following command that is given on net-snmp site does not work aith my attached snmpd.conf file snmpget localhost NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0

Re: Query regarding the SNMP Subagent coding.

2008-06-05 Thread Bhuvan
: Dave Shield <[EMAIL PROTECTED]> To: Bhuvan <[EMAIL PROTECTED]> Cc: net-snmp Coders Sent: Thursday, June 5, 2008 10:45:57 AM Subject: Re: Query regarding the SNMP Subagent coding.     [ Normally, I'd delay responding to private email for a day,       and then start with a plea to

Query regarding the SNMP Subagent coding.

2008-06-04 Thread Bhuvan
Hi,   I am an amateur to SNMP coding. I have the following two basic queries regarding subagents. Can some one help me out with this?   According to tutorial,I executd the $ net-snmp-config --compile-subagent mysubagent nstAgentSubagentObject.c and generated the executable file mysubagent. I exe

Query on community string

2008-05-20 Thread saifulla Mohd Abdul
Hi, If I configure the snmp community string as "abcd" in net-snmp agent. And do snmpwalk with community [EMAIL PROTECTED], it is working. Is this expected behaviour? Regards, Saif __ Sent from Yahoo! Mail. A Smarter Email http://uk.

Query on Notification filtering

2007-11-14 Thread hussaini.mukadam
Hi In our project, we are using Net-SNMP version 5.3.0.1 provided by Windriver Linux. There is a requirement to do notification filtering as per the RFC 2573n. I would like to know whether notification filtering is supported by NET-SNMP 5.3.0.1 version or any latest versions of NET-SN

RE: Failed to query IPv6 enabled snmpd remotely

2007-11-07 Thread Emi Yanagi
- From: Mitsuru Chinen [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 06, 2007 5:01 PM To: Emi Yanagi Cc: [email protected] Subject: Re: Failed to query IPv6 enabled snmpd remotely On Tue, 6 Nov 2007 08:06:16 -0800 "Emi Yanagi" <[EMAIL PROTECTED]> wrote: >

Re: Failed to query IPv6 enabled snmpd remotely

2007-11-06 Thread Mitsuru Chinen
On Tue, 6 Nov 2007 08:06:16 -0800 "Emi Yanagi" <[EMAIL PROTECTED]> wrote: > Okay, I re-compiled with IPv6 enabled for the remote machine. Now it > appears sometimes query with IPv6 address worked, but other times it > returned "No Response". Ping6 always succee

RE: Failed to query IPv6 enabled snmpd remotely

2007-11-06 Thread Emi Yanagi
, November 06, 2007 10:11 AM To: Emi Yanagi Cc: [email protected] Subject: Re: Failed to query IPv6 enabled snmpd remotely On 06/11/2007, Emi Yanagi <[EMAIL PROTECTED]> wrote: > $ snmpwalk udp6:'[fe80::200:50ff:fe3d:7aac]':161 sysUpTime > SNMPv2-MIB::sysUpTime.0

Re: Failed to query IPv6 enabled snmpd remotely

2007-11-06 Thread Dave Shield
On 06/11/2007, Emi Yanagi <[EMAIL PROTECTED]> wrote: > Snmpgetnext is the same, sometimes got response, other times not. > > I have the following v6 community directives in snmpd.conf: > rwcommunity6 private > rocommunity6 public OK - so it doesn't look as if this is related to the agent struggli

Re: Failed to query IPv6 enabled snmpd remotely

2007-11-06 Thread Dave Shield
On 06/11/2007, Emi Yanagi <[EMAIL PROTECTED]> wrote: > $ snmpwalk udp6:'[fe80::200:50ff:fe3d:7aac]':161 sysUpTime > SNMPv2-MIB::sysUpTime.0 = Timeticks: (46605) 0:07:46.05 > > $ snmpwalk udp6:'[fe80::200:50ff:fe3d:7aac]':161 sysUpTime > Timeout: No Response from udp6:[fe80::200:50ff:fe3d:7aac]:161

RE: Failed to query IPv6 enabled snmpd remotely

2007-11-06 Thread Emi Yanagi
Hi Dave, Okay, I re-compiled with IPv6 enabled for the remote machine. Now it appears sometimes query with IPv6 address worked, but other times it returned "No Response". Ping6 always succeeded though. $ /bin/ping6 fe80::200:50ff:fe3d:7aac -I eth1 PING fe80::200:50ff:fe3d:7aac

Re: Failed to query IPv6 enabled snmpd remotely

2007-10-29 Thread Dave Shield
On 24/10/2007, Emi Yanagi <[EMAIL PROTECTED]> wrote: > But when I query remotely from a machine different than where snmpd is > running, I got "Unknown host" if using IPv6 address. > snmpwalk running on the remote machine doesn't have IPv6 enabled, but I > don&#x

Failed to query IPv6 enabled snmpd remotely

2007-10-24 Thread Emi Yanagi
Dear net-snmp-coders, I have a problem when query IPv6 enabled snmpd remotely. * I added rwcommunity6 directive in /etc/snmp/snmpd.conf * I started snmpd with 'udp:161, udp6:161' options * I can query successfully using both IPv6 and IPv4 addresses locally.

Query :why trap is not generated using virtual IP address?

2007-08-22 Thread jagadeesan.murugesan
HI, I have configured multiple Ip address in my system.(.ie ) Ip aliasing (virtual IP address).And I am running many snmpdaemon with different Ipaddress .But when trap generated for particular snmpdaemon.The manager receives only the actual Ip address of the agent system.It is not receiving th

Re: MIB design query (specifying the range for TC TruthValue)

2007-06-06 Thread Dave Shield
On 06/06/07, Jayaprakasha Guddenahalli Naganna <[EMAIL PROTECTED]> wrote: > It will be treated as write-only object. Based on set operation on this > object we will do some action. (Ex: reboot switch) Then you need to enumerate all of the values that can be written (not just the values that will b

RE: MIB design query (specifying the range for TC TruthValue)

2007-06-06 Thread Jayaprakasha Guddenahalli Naganna
Thanks. I will use INTEGER with single enum. -Original Message- From: Adam Bell [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 06, 2007 10:48 PM To: Jayaprakasha Guddenahalli Naganna Cc: [email protected] Subject: RE: MIB design query (specifying the range for TC

RE: MIB design query (specifying the range for TC TruthValue)

2007-06-06 Thread Adam Bell
kasha Guddenahalli Naganna Sent: Wednesday, June 06, 2007 1:06 PM To: Dave Shield Cc: [email protected] Subject: RE: MIB design query (specifying the range for TC TruthValue) It will be treated as write-only object. Based on set operation on this object we will do some action. (Ex: r

RE: MIB design query (specifying the range for TC TruthValue)

2007-06-06 Thread Jayaprakasha Guddenahalli Naganna
Naganna Cc: [email protected] Subject: Re: MIB design query (specifying the range for TC TruthValue) On 06/06/07, Jayaprakasha Guddenahalli Naganna <[EMAIL PROTECTED]> wrote: > I have designed a column which support only value 'true (1)'. I have used > syntax

Re: MIB design query (specifying the range for TC TruthValue)

2007-06-06 Thread Dave Shield
to know whether it is valid or not. What is the point of having this object at all? If it will *always* have the value true, then why would anything need to query it? Dave - This SF.net email is sponsored by DB2 Expres

MIB design query (specifying the range for TC TruthValue)

2007-06-06 Thread Jayaprakasha Guddenahalli Naganna
Hi All, I have a question on how to specify the possible value (range) of the TruthValue column? I have designed a column which support only value 'true (1)'. I have used syntax as "TruthValue { true(1) }" to tell users that it supports only one possible value i.e true(1). I want to know wh

Fw: Internal query fails to get delegated object's value

2007-04-27 Thread Emi . Yanagi
Let me explain more details on what I was doing and what I think was happening. I created an iquery session for calling netsnmp_query_get(). The iquery session has fd=5. When I query for local objects registered by the master agent, everything works fine. But when I query for delegated object

Re: Internal query fails to get delegated object's value

2007-04-19 Thread Emi . Yanagi
After dig into this problem deeper, it looks to me that internal query session's callback_magic is NULL, thus handle_snmp_packet() will create a delegated session (fd=10) to get the subagent response. The internal query session(fd=5) then is waiting for the subagent response forever. I

Internal query fails to get delegated object's value

2007-04-18 Thread Emi . Yanagi
Dave, I reproduced the same problem that internal query for a delegated object returns (-2), by using netsnmp_query_get and internal query session. It works perfectly fine when query for objects registered in the master agent though. I collected and analyzed lots of debug messages and found out

Re: Query

2007-04-10 Thread Dave Shield
On 09/04/07, satishkr <[EMAIL PROTECTED]> wrote: > I am Using NetSNMP Library for Sending traps to OMC. Now i want to develop a > code for recieving traps from OMC(remote system) how shall i go about it ... Have a look at the application 'snmptrapd', which does precisely this. You might also wish

Query

2007-04-10 Thread satishkr
Hi , I am Using NetSNMP Library for Sending traps to OMC. Now i want to develop a code for recieving traps from OMC(remote system) how shall i go about it I have read many times RFC for SNMP but i am not getting how to define a MIB. What it is ? shall i define my own MIB? my knowledge regard

Re: Getbulk query...

2007-04-05 Thread Dave Shield
] On 05/04/07, Senthil Nathan <[EMAIL PROTECTED]> wrote: > Regarding my query, > I have generated the c skeleton code by using iterator config in the MIB2c > tool. > My query is, > > When i do the get bulk request from my EMS application written in java > based advent

During getBulk query..

2007-03-27 Thread Senthil Nathan
Hi, I seek your help regarding my projectt. Here, i am using netsnmp5.3.1 version. I have generated c codes by using mib2c which create code skelton based on mib2c iterator conf option . My snmp agent get the values from other sub system not its own. My issue is, when i make get bulk query

Re: query regarding SNMP

2007-03-13 Thread Dave Shield
On 09/03/07, nishant singh <[EMAIL PROTECTED]> wrote: > I have to get device information(Like its name and location) > using SNMP in c++ environment(In windows)... > Plz can anybody send me some sample codes in C++ regarding > how to create SNMP packets,send and How to get the information.. Pleas

query regarding SNMP

2007-03-12 Thread nishant singh
Hi ... I have to get device information(Like its name and location) using SNMP in c++ environment(In windows)...I m new to C++ and networking domain...Plz can anybody send me some sample codes in C++ regarding how to create SNMP packets,send and How to get the information..I will be thankful to u

RE: Query on configuring master and subagent in net-snmp

2007-01-22 Thread Lokeswara B ,Bangalore
[email protected]; [email protected] Subject: RE: Query on configuring master and subagent in net-snmp Hi, Thanks for your response. As I am new to net-snmp. I used the example mib(only leaf node) from net-snmp tutorials and tried to implement our project relate

RE: Query on configuring master and subagent in net-snmp

2007-01-22 Thread vijaya.dlakshmi
. Regards Vijaya -Original Message- From: [EMAIL PROTECTED] on behalf of Dave Shield Sent: Sat 1/20/2007 7:52 PM To: Vijaya Lakshmi D (WT01 - IP-Multimedia Carrier & Ent Networks) Cc: [email protected]; [email protected] Subject: Re: Query on configu

Re: Query on configuring master and subagent in net-snmp

2007-01-22 Thread Dave Shield
On 22/01/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Using mib2c, I am generating .c and .h files. But it is giving only skeleton > program. That's right. Mib2c can construct the framework of your MIB module - the code for handling the SNMP side (the syntax of the MIB). But it can't know

Re: Query on configuring master and subagent in net-snmp

2007-01-20 Thread Dave Shield
On 20/01/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > d) ./mysubagent & > But after running the step "d" , it is looking for /var/agentx/master file. Please see the FAQ entry How can I run AgentX with a different socket address? (http://net-snmp.sourceforge.net/wiki/index.php/FAQ

Re: does agentx can work in mib query as sub tree ?

2007-01-03 Thread Robert Story
On Fri, 29 Dec 2006 00:20:29 +0100 Kobi wrote: KV(> I've question about the agentx work as sub tree, KV(> for example the ifTable in MIb2 is currently implemented ,i want to add KV(> another instance to the table from the agentx, KV(> I've compiled the ifTable,with mib2c, and registered the ifTab

does agentx can work in mib query as sub tree ?

2006-12-28 Thread Kobi Vaknin (kvaknin)
Hello , I've question about the agentx work as sub tree, for example the ifTable in MIb2 is currently implemented ,i want to add another instance to the table from the agentx, I've compiled the ifTable,with mib2c, and registered the ifTable ,but i receive only one request in the agentx (the colum

Re: failure to query registered OID from my subagent using smux/agentx ...

2006-09-14 Thread Dave Shield
On 24/08/06, Jayaprakasha Guddenahalli Naganna <[EMAIL PROTECTED]> wrote: > But sub agent > can register sub trees of top level OID registered in master agent by > sending priority as -1. If a subagent registers something at a lower level t

RE: failure to query registered OID from my subagent using smux/agentx ...

2006-08-24 Thread Jayaprakasha Guddenahalli Naganna
Even If I am not running subagent I am able to query .1.3.6.1.2.1.4.21 table (ipRouteTable). When I run master agent with "-I-ip " subagent is able to register .1.3.6.1.2.1.4 tree and able to query both the tables. (.1.3.6.1.2.1.4.21 and .1.3.6.1.2.1.4.24) That means subagent can'

Re: failure to query registered OID from my subagent using smux/agentx ...

2006-08-24 Thread Dave Shield
not forwarding request to > subagent when snmpwalk runs on .1.3.6.1.2.1.4 OID. Is this true? It depends how you configured the master agent. But that's quite likely - the ip group is part of a default build. What happens when you *don't* run the subagent - can you query this subtree or

failure to query registered OID from my subagent using smux/agentx ...

2006-08-24 Thread Jayaprakasha Guddenahalli Naganna
implemented .1.3.6.1.2.1.4.21 and .1.3.6.1.2.1.4.24 tables.     Problem is I am not able to query any entries from those tables.     Can anyone tell me what the reason is? (same problem with agentx also)       What I suspected is Master agent already contains registration

Re: Query about System Group - Reg

2006-04-06 Thread Thomas Anders
madhan raj wrote: Iam using Net-SNMP-5.3.0.1 in my router. I have one doubt about the "System Group". In system group we have the following variables which are writable: SysContact (1.3.6.1.2.1.1.4.0), SysName (1.3.6.1.2.1.1.5.0) and SysLocation (1.3.6.4.2.1.1.6.0

Query about System Group - Reg

2006-04-06 Thread madhan raj
  Hi All,       Iam using Net-SNMP-5.3.0.1 in my router. I have one doubt about the "System Group". In system group we have the following variables which are writable:         SysContact (1.3.6.1.2.1.1.4.0),         SysName (1.3.6.1.2.1.1.5.0) and         SysLocation (1.3.6.4.2.1.1.6.0). I

  1   2   >