Re: Query regarding wireless SNMP MIBs

2013-01-16 Thread rakesh zingade
Good to go with SNMPv2-MIB, IF-MIB and MIBs related to IEEE 802.11 standard. Moreover if required you have to implement your own MIB based on your needs with your enterprise OID. For implementing agent and MIBs refer http://www.net-snmp.org/wiki/index.php/Tutorials --rakesh On Thu, Jan 10, 2013

snmp v3 issues

2011-11-18 Thread rakesh zingade
Hi, I am trying to upgrade snmp v2c agent for v3. I did configuration settings provided in README.snmpv3 (using net-snmp-5.4.2.1) I do use some proprietary mib modules using dlmod configured in snmpd.conf. Through net-snmp-config --create-snmpv3-user the users and traces are copied under

printing loaded mib objects

2011-07-18 Thread rakesh zingade
Hi, Is there anyway to get all the loaded mib objects from running snmp agent accept snmpwalk. Can I use something like print_mib() or some API to get list of OIDs loaded in the running snmp agent process? Please suggest some clues. thanks a lot.. -- Rakesh P. Zingade

Re: reduce snmpusm/snmpvacm size

2011-03-15 Thread rakesh zingade
On Tue, Mar 15, 2011 at 6:28 PM, Naama Bar Menachem naama.barmenac...@novelsat.com wrote: Hi I am working on an embedded product, in which every byte counts. Is there a way to reduce the applications size? snmpget, snmpset, snmpvacm, snmpusm – are all of size ~6.4 Mbyte can't you

Re: mibs

2011-03-14 Thread rakesh zingade
plz 1st read FAQs... http://www.net-snmp.org/docs/FAQ.html#Why_do_I_sometimes_get__End_of_MIB__when_walking_a_tree__and_sometimes_not_ On Mon, Mar 14, 2011 at 6:11 PM, geetha ramani geetha...@gmail.com wrote: when i did snmpwalk from client side to my board ,its giving END OF MIB error.

Re: mibs

2011-03-14 Thread rakesh zingade
The question is not clear but seems the solution you need is something like explained in below link: http://www.net-snmp.org/wiki/index.php/Snmpd_proxy I guess you are talking about proxied SNMP? See the section 'Proxy Support' in the snmpd.conf(5) man page. On Mon, Mar 14, 2011 at 6:19 PM,

Re: mibs

2011-03-11 Thread rakesh zingade
On Fri, Mar 11, 2011 at 1:52 PM, geetha ramani geetha...@gmail.com wrote: i am using netsnmp package .how can i add my own mib to the agent. how to create a configuration file for the agent which includes my mib. You can get some info from here:

Re: Agentx master agent failed to respond to ping

2011-02-28 Thread rakesh zingade
bytes to callback: 1 on fd 4 : 00 Any idea whats wrong happening? Thanks... On Mon, Feb 28, 2011 at 1:08 PM, rakesh zingade rakeshzing...@gmail.comwrote: Hi all, I am using net-snmp 5.4.2.1 on RHEL 5.3 64 bit platform. Recently I moved one of my mib table to sub-agent which connects

Agentx master agent failed to respond to ping

2011-02-27 Thread rakesh zingade
Hi all, I am using net-snmp 5.4.2.1 on RHEL 5.3 64 bit platform. Recently I moved one of my mib table to sub-agent which connects master agent on tcp:705. But while doing a walk on that table the sub-agent dies by outputting below messages: *AgentX master agent failed to respond to ping.

Re: need help

2011-02-01 Thread rakesh zingade
execute following command snmpd -f -Le -C -c path to your snmpd.conf or just execute snmpd read man snmpd for more info On Tue, Feb 1, 2011 at 11:55 AM, Chandra Gupta chandr...@techno9indonesia.com wrote: Dear, Hello ..need help…I’m really newbie for using net-snmp. I have

how to avoid too many notifications sending from same source

2010-12-22 Thread rakesh zingade
Hi, I have to restrict trap sending mechanism to do not send more than 2 traps during a short period of time say 500 sec. More on this the restriction is applied for a specific trap from a specific source. If another source send the same trap the that should allowed. I can't have device level

Re: how to generate c file using mib2c for node containg both scalars and table

2010-12-13 Thread rakesh zingade
generate scalar and a table source file, club all together while compiling On Mon, Dec 13, 2010 at 4:54 PM, MAS . mass3m...@gmail.com wrote: Hi All, I want to generate c implementation file and header file for the MIB-NODE file containing both scalars and table. I have generated c file

memory issue in initializing a new snmp session

2010-12-06 Thread rakesh zingade
Hi all, To create a new snmp session I always try to do following: init_snmp(my_session); snmp_sess_init(session_info); session_info.peername = strdup(127.0.0.1); session_info.version = SNMP_VERSION_2c; here I use strdup for assigning a localhost as peername, This leaks memory If we does not

Re: Re: Who can help me to let net-snmp working in arm-linux?

2010-11-29 Thread rakesh zingade
check snmpd.conf .. try executing snmpd with some other user Thanks Regards, Jason -- *发件人:* rakesh zingade *发送时间:* 2010-11-29 15:04:49 *收件人:* Jason *抄送:* net-snmp-users *主题:* Re: Who can help me to let net-snmp working in arm-linux? On Mon, Nov 29, 2010

Re: Who can help me to let net-snmp working in arm-linux?

2010-11-28 Thread rakesh zingade
On Mon, Nov 29, 2010 at 11:38 AM, Jason zh-sh...@163.com wrote: Dear all, I tried to cross-compile net-snmp with arm-linux v3.3.2, it is ok, Whats the errors displayed when you start cross-compiled snmpd on arm-linux board? You may have to cross-compile the required libs and create a static

Re: agentx configuration in snmpd.conf

2010-11-26 Thread rakesh zingade
Thanks Dave I successfully started my agent ... just compiled the package with --with-mib-modules=agentx :) On Tue, Nov 16, 2010 at 7:21 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 16 November 2010 13:14, rakesh zingade rakeshzing...@gmail.com wrote: I did net-snmp-5.4 source

agentx configuration in snmpd.conf

2010-11-16 Thread rakesh zingade
Hi all, I did net-snmp-5.4 source installation by executing ./configure make; make install configured snmpd.conf with agentx by adding master agentx agentXsocket /var/agentx/master but at snmpd executing it throwing warnings: Warning: Unknown token: master. Warning: Unknown token:

agent snmpTargetAddrEntry.c snmpTargetParamsEntry.c

2010-09-08 Thread rakesh zingade
Hi all, I am trying to implement config trap destination API using combination of snmp target mib and snmp notify mib. I have an snmp agent compiled without these two mib support. To add these I copied net-snmp-5.4.2.1/agent/mibgroup/target/*.c code and in my dlmod app calling

Re: Issues seen in SNMP Traps

2010-09-06 Thread rakesh zingade
Just a guess, Can you check the packet length? is it calculated as per the varlist and data. sometimes for incorrect packet snmpd failed to show it as valid trap but the debugger or sniffers shows received trap packet On Mon, Sep 6, 2010 at 11:57 AM, pallavi.deshmu...@wipro.com wrote: Hi , I

Re: how to start snmpd in Ubuntu

2010-09-03 Thread rakesh zingade
. Anyone have any clues on what could be going on here? Stumped, Abraham Varricatt On Thu, Sep 2, 2010 at 6:14 PM, rakesh zingade rakeshzing...@gmail.com wrote: I guess the port 161 is in use .. try with some other port check using # netstat -an | grep 161 before running snmpd

Re: cannot run in Ubuntu 10.04

2010-09-02 Thread rakesh zingade
May the library path is not set. try executing following command # ldd `which snmpget` you will see the linked libraries.. if found any library not found message at linking try to search that library on your system... If you found these libraries e.g. libnetsnmp.so.20 under

Re: how to start snmpd in Ubuntu

2010-09-02 Thread rakesh zingade
Try executing snmpd on foreground # snmpd -f -Lo -C -c path for snmpd.conf see if it generate any error message .. check for valid config stuff in snmpd.conf.. snmpconf -g basic_setup may help to configure snmpd.conf On Thu, Sep 2, 2010 at 3:52 PM, Abraham Varricatt

Re: how to start snmpd in Ubuntu

2010-09-02 Thread rakesh zingade
variable that I mentioned in my .bashrc file. Hints/Help? Even more puzzled, Abraham Varricatt On Thu, Sep 2, 2010 at 4:06 PM, rakesh zingade rakeshzing...@gmail.com wrote: Try executing snmpd on foreground # snmpd -f -Lo -C -c path for snmpd.conf see if it generate any error message

Re: add trap dest via snmpNotifyTable snmpTargetAddrTable

2010-09-01 Thread rakesh zingade
' = INTEGER: readOnly(5) SNMP-TARGET-MIB::snmpTargetAddrRowStatus.'internal0' = INTEGER: active(1) claus-kleins-macbook-pro:~ clausklein$ I hope this helps Claus On 31.08.2010, at 12:28, rakesh zingade wrote: Hi all, I am trying to add trap destination using combination

Fwd: add trap dest via snmpNotifyTable snmpTargetAddrTable

2010-08-31 Thread rakesh zingade
Hi all, I am trying to add trap destination using combination of snmpNotifyTable and snmpTargetAddrTable entities. But the agent seems not entertaining the config that I did. Can you please suggest whats wrong I did and is there something extra needed for adding trap dest? I am executing

Re: need std mib object to add trap destination info

2010-07-29 Thread rakesh zingade
of snmpd running Any guess why this is happening? Thanks in advance... On Sat, Jul 24, 2010 at 12:25 AM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 23 July 2010 14:09, rakesh zingade rakeshzing...@gmail.com wrote: I need to automate adding trap destination instead of having manual

need std mib object to add trap destination info

2010-07-23 Thread rakesh zingade
Hi all, I need to automate adding trap destination instead of having manual trap2sink configured in snmpd.conf. could you please tell me is there any snmp table already available which I can use to add trap dest IP, port and community [performing snmpset operation to do this]. Thanks and

need help on netsnmp_table_row_add_index()

2010-02-25 Thread rakesh zingade
Hi, I have generated code using mib2c.create-dataset.conf for my GetCurrentAlmTable. The table has 3 columns and 1 index of type ASN_OBJECT_ID, I have used netsnmp_table_row_add_index() function to add index of type ASN_OBJECT_ID. sample code: static oid

Re: Little help! (net-snmp 5.5 under Cygwin on WinXP)

2010-02-21 Thread rakesh zingade
On Mon, Feb 22, 2010 at 11:02 AM, Ben Kamen bka...@benjammin.net wrote: My snmp.conf contains: (does it even matter?) mibdirs C:/cygwin/share/snmp/mibs;C:/cygwin/home/bkamen/mibs persistentDir C:/cygwin/snmp/persist tempFilePattern C:/cygwin/temp/snmpdXX mibs

Re: NET SNMP TEXT COMMANDS

2010-02-17 Thread rakesh zingade
How you installed Net-SNMP 5.4.2.1 ? have you used sources tar.gz or its through RPM? you can do once thing, fire below commands it may locate the installed files # updatedb # locate snmpget On Wed, Feb 17, 2010 at 10:08 PM, Ajeet Gupta mailajeetgu...@gmail.comwrote: Hello Everybody I had

Re: SNMPGET....

2010-02-16 Thread rakesh zingade
On Tue, Feb 16, 2010 at 5:53 PM, ganeshyell...@bel.co.in wrote: hi, i have extended the agent by compling nstagentmodule into the agent. (i am using windows xp + netsnmp5.5+ visual studio 2008) i reconfigured the agent using snmpconf command now snmptranslate is working but when i tried

Re: changing behavior of snmpd without a restart

2010-02-10 Thread rakesh zingade
On Mon, Feb 8, 2010 at 2:23 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote: On 8 February 2010 07:04, rakesh zingade rakeshzing...@gmail.com wrote: Is there any way to change behavior of snmp agent (snmpd) dynamically by putting configuration stuff to snmpd.conf? for example in my case I

changing behavior of snmpd without a restart

2010-02-07 Thread rakesh zingade
Hi all, Is there any way to change behavior of snmp agent (snmpd) dynamically by putting configuration stuff to snmpd.conf? for example in my case I have to run snmp agent continuously, restarting is not permitted, in normal situations if anyone updates snmpd.conf, to see these changes reflect

Re: snmp module help

2010-02-04 Thread rakesh zingade
Don't use net-snmp-config at the time of creating object files use it while creating libraries and binaries you are trying to link the libraries to object file ... On Thu, Feb 4, 2010 at 5:09 PM, astal vista astal.vista...@gmail.comwrote: i have install net-snmp package on RHEL5.3.

Re: Re: Can two different versions of NET-SNMP be installed at the same time?

2009-12-29 Thread rakesh zingade
to trouble you again! 在2009-12-29,rakesh zingade rakeshzing...@gmail.com 写道: Yes use configure options --prefix=/usr/local/new-net-snmp and --exec-prefix=/usr/local/new-net-snmp 2009/12/29 cornerbreeze cornerbre...@163.com Hello! If I have installed a NET-SNMP(for example,suppose its version

Re: MIB load order

2009-12-29 Thread rakesh zingade
I guess it automatically done .. the net-snmp $MIBDIRS has .index file and it updated automatically when you restarts snmp services. As per my experience MIB loading order is important, I was facing issues in TRAP OID translation due to incorrect MIB orders On Tue, Dec 29, 2009 at 3:59 PM,

Re: community string

2009-04-06 Thread rakesh zingade
The community type in snmp is ASN_OCTECT_STR The ANS.1 type OCTET STRING is the type used for representing any octet-based value - essentially anything other than a number or an OID. This includes both printable strings and binary string values. On Mon, Apr 6, 2009 at 12:14 PM, Tanisha Kashyap

Re: Error when compiling in OpenBSD: storage size of HRD_info isn't known

2008-02-19 Thread rakesh zingade
FYI... On Feb 18, 2008 8:56 PM, Uttamchandani, Amit [EMAIL PROTECTED] wrote: Hi Rakesh, Thank you for the reply. I tried it with the default config and unfortunately it still failts. Please cc this to the net-snmp list as I am not currently subscribed to it. * ./configure

Re: Error when compiling in OpenBSD: storage size of HRD_info isn't known

2008-02-16 Thread rakesh zingade
On Feb 16, 2008 1:39 AM, Amit Uttamchandani [EMAIL PROTECTED] wrote: Hey guys, Just tried to compile the latest net-snmp release (5.4.1) on this OpenBSD 4.0 system but stumbled into a road block. Here are the steps I took: * Download, untar source. * ./configure --with-python-modules

Re: snmptrapd loosing traps

2007-11-26 Thread rakesh zingade
any errors you are getting check logs in /var/log/messages or in syslog files .. On Nov 26, 2007 3:32 PM, Marc Donner [EMAIL PROTECTED] wrote: Hi i have a problem with snmptrapd version 5.2.3 on debian. it seems as snmptrapd looses some traps. the trap sender and snmptrapd are running on

Re: Traps and ports?

2007-08-06 Thread rakesh zingade
Check your snmptrapd.conf or snmpd.conf file for port settings. The trap default port is 162. On 8/6/07, Artem Fedko [EMAIL PROTECTED] wrote: Hi! I try to generate trap using next command from the tutorial snmptrap -v 1 -c admin host TRAP-TEST-MIB:demotraps 192.168.1.7 6 17 ''

Re: Option to use static link instead of shared object

2007-08-05 Thread rakesh zingade
On 8/6/07, Raymond Pau [EMAIL PROTECTED] wrote: Is there an option in configure to make snmpd use static link instead of shared libs(.so). Ie. instead of distributing 5 files (snmpd + 4 libnetsnmp*.so shared library), distribute 1 highly compact snmpd file without any external library

Difference between SNMPV1 and V2 MIB

2007-06-05 Thread rakesh zingade
Hi, I am very new to snmp... hardly from 3 months I am using it. I wanted to know How can we figure out the given MIB is for snmp V1 version or snmp V2 ? I tried to search the difference on Google but I didn't find any.. Appreciated if someone provides me the information or good link which

Re: Difference between SNMPV1 and V2 MIB

2007-06-05 Thread rakesh zingade
On 6/5/07, Dave Shield [EMAIL PROTECTED] wrote: On 05/06/07, rakesh zingade [EMAIL PROTECTED] wrote: How can we figure out the given MIB is for snmp V1 version or snmp V2? Short answer - it doesn't matter. You should be able to use any MIB with any version of SNMP. Slightly longer answer

Re: snmptrap to localhost

2007-05-22 Thread rakesh zingade
On 5/22/07, Daniel Coelho [EMAIL PROTECTED] wrote: Hi, when I do snmptrap -v 1 -c public not_localhost_IP '' 0 0 '' coldStart.0 the trap is received by the other host (I checked with tcpdump), but when I do snmptrap -v 1 -c public local_IP_or_localhost '' 0 0 '' coldStart.0 I get

Re: snmptrap to localhost

2007-05-22 Thread rakesh zingade
. (172.18.50.103 being my IP) Thanks in advance. Daniel Coelho On 5/22/07, rakesh zingade [EMAIL PROTECTED] wrote: On 5/22/07, Daniel Coelho [EMAIL PROTECTED] wrote: Hi, when I do snmptrap -v 1 -c public not_localhost_IP '' 0 0 '' coldStart.0 the trap is received by the other host (I

Re: problem with mib2c.notify.conf

2007-05-18 Thread rakesh zingade
On 5/17/07, Ashwini Bomble [EMAIL PROTECTED] wrote: Hello, We are developing SNMPv2C agent. We are using linux platform.(kernel -2.4) Net snmp 5.0.9 We have to generate enterprise specific traps. mib2c.scaler.conf, mib2c.conf configuration files are there but mib2c.notify.conf file is not

MIB Consolidation

2007-05-06 Thread rakesh zingade
Can anyone please tell me what is exactly MIB Consolidation? I searched this on Google but did not found useful information which will tell me how the MIB Consolidation is done. Thanks.. -- Rakesh P. Zingade +919860129598 -