Re: Reg: SNMP Output - Need to Get Object Name in stead of OID

2011-04-28 Thread Manjit
export MIBDIRS=/usr/share/snmp/mibs export MIBS=ALL Biswajit Mandal wrote: > Hi, > While doing snmpwalk on agent, I am getting the output in OID format, > as below: > $snmpwalk -v 2c -c "public" 1 > > iso.3.6.1.2.1.2.2.1.17.7 = Counter32: 0 > iso.3.6.1.2.1.2.2.1.17.8 = Counter3

Re: USM status not in time window.

2011-04-12 Thread Manjit
It is issue related to time synchronization between agent and manager. Read RFC 3414( section 2.3 ) for more information. Regards, Manjit Mygapula, Sudheer IN BLR SISL wrote: > > Hello All, > > > > I am facing problem with SNMP v3 communication. > > > > >

Re: snmget for v3 => Unknown Object Identifier

2011-04-07 Thread Manjit
Please paste all the output . ( v2 with oid and name) also( v3 with oid and name ). Make sure you have exported variables MIBDIRS and MIBS. Regards, Manjit akshata s harkantra wrote: > Hi, > > I am using snmpget command using v3 for retrieving the variable. > > snmpget -v 3

Re: MIB Tree implementation

2011-03-28 Thread Manjit
Thanks David, Are we using any Hash Table or tree implementation in this ? or only list. Regards, Manjit Dave Shield wrote: On 28 March 2011 08:29, Manjit wrote: > How the handlers are registered for a particular oid. This basically uses 'netsnmp_register_handler()

MIB Tree implementation

2011-03-28 Thread Manjit
id. What data structure net-snmp using to implement this. A brief explanation will help me a lot. Regards, Manjit -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and

Re: Example : data_set is not working

2011-03-17 Thread Manjit
Oops ...I was doing wrong. Actually didnt use the "make install" and was using /usr/local/sbin directory for running the snmpd. Thanks Dave, for your help and sorry for my quick question . Dave Shield wrote: > On 17 March 2011 09:55, Manjit wrote: > >> I am trying

Example : data_set is not working

2011-03-17 Thread Manjit
e it work. I can see in the file data_set.c, code for creating rows with some values are present. Please, help me out. Regards, Manjit -- Colocation vs. Managed Hosting A question and answer guide to determining t

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

2011-03-14 Thread Manjit
n this agent at this OID Is it the correct error response returned by the Agent or it should return "NO ACCESS". Please provide me some help to understand this. Regards, Manjit -- Colocation vs. Managed Hosting A

Re: Support for ipNetToMediaTable.

2011-03-09 Thread Manjit
will help me debuging things. As i have gone through the code and find that init_inetToMediaTable is used to work with ipNetToPhysicaltable. Regards, Manjit Dave Shield wrote: On 9 March 2011 09:08, Manjit wrote: I am using net-snmp 5.4.2.1 . For my system i need to support

Re: Support for ipNetToMediaTable.

2011-03-09 Thread Manjit
Want to know why the request is going here. Is my table is registered properly in the tree. Regards, Manjit Niels Baggesen wrote: > Den 09-03-2011 10:08, Manjit skrev: >> I am using net-snmp 5.4.2.1 . >> For my system i need to support ipNetToMediaTable and ipNetToMedia table

Support for ipNetToMediaTable.

2011-03-09 Thread Manjit
/snmpwalk -On -v 2c -c private 172.16.8.186 ipNetToMediaTable .1.3.6.1.2.1.4.22 = No Such Instance currently exists at this OID Please let me know, what should i do to support both. Regards, Manjit -- Colocation vs

Re: persistency ?

2011-03-02 Thread Manjit
am not sure whether this method is appropriate or not. Regards, Manjit sujata patra wrote: While shutting down it is trying to save some data. I am running my agent as master-agent as non-root. As the permission is not there it shows the bewlo informations. Creating directory: /var/net-snmp

Re: Dependency of StorageType on EngineID ???

2011-02-25 Thread Manjit
se for a permanent row, is it to have a just backup or the snmp application should start using these backup data ?? Please help me understand this concept. Regards, Manjit As per Wes Hardaker wrote: >>>>>> On Mon, 21 Feb 2011 10:49:42 +0530, Manjit >>>>>> sa

Dependency of StorageType on EngineID ???

2011-02-20 Thread Manjit
increase by one after every reboot ? Regards, Manjit -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security

Re: snmp trap reciever sample program

2011-02-14 Thread Manjit
Hi Vamsi, To have a good idea about the trap receiver you can see the file snmptrapd.c in netsnmp/apps directory. This is the file used for snmptrapd. You can get an idea for writing such application. Regards, Manjit Vamsi Krishnam Raju D wrote: > HI Iam the beginner of SNMP and star

Re: How to run snmptrapd deamon

2011-02-11 Thread Manjit
./snmptrapd -c snmptrapd.conf -f -Lo Vamsi Krishnam Raju D wrote: > Hi.. > this is vamsi working in CDOT.Currently we are planning to use net-snmp stack. > when I try to run the trap receiver with > " snmptrapd -F "%02.2h:%02.2j TRAP%w.%q from %A\n" localhost:8001 " > command and "snmptrapd -

Re: How to change ifOperStatus of IF-MIB

2011-02-11 Thread Manjit
I think you can do a snmp set to change this value or look into function netsnmp_arch_interface_container_load. Dong-Yuan Shih wrote: > hi all > > gre tunnel interface is always down of ifOperStatus > another daemon handle heathy check and save alive or dead to file > i want to change this val

ISSUE WITH SNMP-NOTIFICATION-MIB::snmpNotifyFilterTable

2010-12-06 Thread Manjit
et me know why RowStatus is returning 5 in place of notReady. Regards, Manjit -- What happens now with your Lotus Notes apps - do you make another costly upgrade, or settle for being marooned without product support? Ti

Re: Issue with handling large sub-identifiers

2010-11-17 Thread Manjit
>> Sent: 17. november 2010 15:05 >> To: Manjit >> Cc: net-snmp-coders@lists.sourceforge.net >> Subject: Re: Issue with handling large sub-identifiers >> >> On Wed, 17 Nov 2010 12:45:40 +0530 Manjit wrote: >> M> The subidentifier is changed to 4294967295

Issue with handling large sub-identifiers

2010-11-16 Thread Manjit
6.8.86 1.3.6.1.2.1.92.1.1.1.4294967295 NOTIFICATION-LOG-MIB::nlmConfigGlobalEntryLimit.4294967295 = No Such Object available on this agent at this OID Is there something wrong with my understanding ? Regards, Manjit -- Beautiful is writing s

Re: Not able to set a column in ifTable.

2010-11-07 Thread Manjit
, which is causing the interfaces to created again and my new set value is lost and the old value again comes. Are we deleting the container and creating again after some time period ? Please let me help to understand this. Robert Story wrote: > On Tue, 02 Nov 2010 12:16:50 +0530 Manjit wrote:

Not able to set a column in ifTable.

2010-11-01 Thread Manjit
IF-MIB::ifAdminStatus.9 = INTEGER: up(1) Please help me to resolve this issue. Regards, Manjit -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 f

error while changing admin status

2010-10-28 Thread Manjit
::ifAdminStatus.9 Can some one hint me ..what should be the issue for this error, and where i should look for it in the net-snmp code. Some pointers can help me to start debugging. Thanks in Advance, Manjit -- Nokia and AT&a

Re: Reportable Flag in SNMPv3 header data

2010-10-20 Thread Manjit
Thanks Wes. Wes Hardaker wrote: >>>>>> On Wed, 20 Oct 2010 11:15:12 +0530, Manjit >>>>>> said: >>>>>> > > M> Yes Wes ...i am trying to understand the concept. > > Ah. In that case I'd suggest writing to

Re: Reportable Flag in SNMPv3 header data

2010-10-19 Thread Manjit
Yes Wes ...i am trying to understand the concept. As i read in RFC 3412: a. if reportable flag is 0 for a confirmed class of packets, then also the receiver should process it as though it had been set to 1. b . if reportable flag is 1 for a unconfirmed class of packets, then also the receiver sho

Reportable Flag in SNMPv3 header data

2010-10-19 Thread Manjit
Regards, Manjit -- Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers

Query about Neighbor unreachability detection.

2010-09-22 Thread Manjit
, fillup_entry_info functions. If possible provide me some references to work with Neighbor unreachability detection. Regards, Manjit -- Start uncovering the many advantages of virtual appliances and start using them to simplify

Re: Memory leak when doing snmpwalk

2010-07-22 Thread Manjit
Hi , Valgrind report w.r.t this leak will help people to analyse the exact cause. Regards, Manjit Abhimanyu Chowdhary wrote: > Hi, > > When I do snmpwalk over mib-2, agent crashes after like 15 hours > because of memory leak. > Now, what I have seen is the memory only leaks w

Re: Running snmptrapd in IPv6

2010-07-22 Thread Manjit
Thanks Dave ... Dave Shield wrote: > On 21 July 2010 14:16, Manjit wrote: > >> Yes, i have configured the ipv6. >> ./configure --with-mib-modules="mibII/ipv6" >> > > That includes support for the IPv6 MIB modules. > It does not include support

Re: Running snmptrapd in IPv6

2010-07-21 Thread Manjit
:162 -- errno 0 ("Success") Am i missing something ? Dave Shield wrote: > On 21 July 2010 11:27, Manjit wrote: > >> I want to run snmptrapd to accept traps coming from agent in IPV6. >> Please provide me the command used for that. >> I am trying the below

Running snmptrapd in IPv6

2010-07-21 Thread Manjit
open udp6:162 -- errno 0 ("Success") Regards, Manjit -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/s

Issue with Scan_count variable

2010-06-23 Thread Manjit
code ) if (rc) 519 DEBUGMSGTL(("access:systemstats", "unknown stat %s\n", line)); 520 else 521 ++scan_count; Are we missing something in this co

Double free in clear_context

2010-05-25 Thread Manjit
=0x91de8a0) at agent_registry.c:1685 #13 0x00122f21 in clear_subtree (sub=0x91de258) at agent_registry.c:1685 : : : #69 0x00122f7a in clear_context () at agent_registry.c:1721 Do we have any fix for this issue. Thanks in Advance, Manjit

Re: snmpTranslate

2010-05-17 Thread Manjit
Please let me know the snmptranslate options used by you. Regards, Manjit Rathod, Nitin wrote: > > Hello, > > I’m using snmptranslate utility for converting MIB files into textual > description specially for TRAPS. But using the snmpTranslate utility > netsnmp version 5

Re: Clarification about run_alarms() function

2010-05-13 Thread Manjit
tdown. Please let me know your comment on this. Regards, Manjit Manjit wrote: > Hi Robert, > Thanks for the reply. > Please find below the valgrind report for the growing leak : > a) Below report when snmp is up and running : > > 255 (108 direct, 147 indirect) bytes in 3 blocks

Re: Clarification about run_alarms() function

2010-05-11 Thread Manjit
that Leak ( definitely lost memory ) is increased from 255 to 10,200 bytes. Why the run_alarms function calls the function to load the container always if it already has been done once. I am new to the container concept, please give me some pointers to work with this issue. Regards, Manjit

Clarification about run_alarms() function

2010-05-07 Thread Manjit
the system will be affected if i will not call (or comment ) function ? Best Regards, Manjit -- ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https

Re: Help in getting inform work in v3

2010-04-12 Thread Manjit
Hi, How to configure a user for noauth using snmptrapd.conf. Regards, Manjit Wes Hardaker wrote: >>>>>> On Mon, 12 Apr 2010 06:20:44 -0700, Fatima Peter >>>>>> said: >>>>>> > > FP> So, for "noauth" u

Re: Help in getting inform work in v3

2010-04-12 Thread Manjit
you need to change the authentication protocol eg snmptrap -d -Ci -v 3 -a SHA -A mypassword -x AES -X mypassword -l authPriv -u informtest localhost 0 .1.3.6.1.6.3.1.1.5.4.0 content of snmptrapd.conf : createUser informtest SHA mypassword AES authUser log,execute,net informtest Regards, Manjit Dave

Re: Help in getting inform work in v3

2010-04-09 Thread Manjit
To receive inform the snmptrapd.conf need not to have -e engineID . Please check http://www.net-snmp.org/wiki/index.php/TUT:Configuring_snmptrapd_to_receive_SNMPv3_notifications#Configuring_a_SNMPv3_INFORM_User If you remove -e from snmptrap command then also snmptrapd will receive infrom because

Re: How to make snmp get non-blocking

2010-03-31 Thread Manjit
dont want the snmp thread to be blocked for the response coming from the secondary Manager. Dave Shield wrote: > On 31 March 2010 05:49, Manjit wrote: > >> I am running snmpd agent as a thread with some primary manager. >> As a result of some actions agent gets a list of sec

How to make snmp get non-blocking

2010-03-30 Thread Manjit
sending the Informs we are doing discovery by sending a SNMP GET to the secondary Managers. But the issue is the SNMP Get is a blocking operation and waits for the response. Is there any way to make it non-blocking. Please let me know your views. Regards, Manjit

Segmentation fault with snmptable command

2010-03-15 Thread Manjit
his OID [r...@localhost make]# snmpget -v 2c -c demopublic localhost .1.3.6 SNMPv2-SMI::dod = No Such Object available on this agent at this OID I am using NET-SNMP version: 5.5. Correct me if i am wrong somewhere ?? Regar

Meaning of #defines

2010-03-12 Thread Manjit
i will not enable these in my application , will it change the agent behaviour. Thanks in Advance, Manjit -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs

Re: Clarification required on createAndGo & createAndWait approach implementation

2010-03-03 Thread Manjit
needed to create the row, and the agent automatically creates the row and make rowstaus to active. One of these two approach is used depending upon criticality of the row. Regards, Manjit Prasanna Varadharajan wrote: > > Hi All, > > This query is regarding createAndWait and

Re: snmpset response

2009-12-23 Thread Manjit
You can use some OID to send the meaningful information, and everytime you do the set include those OID. Other than OID response you can not get anything else. Dave Shield wrote: > 2009/12/23 nathan : > >> I am just wondering if I can customize the response as a result of a snmpset. >> >