Re: SNMPv3 Debian Question

2017-06-06 Thread Pranesh Kulkarni
I meant for snmpv2 On Wed, Jun 7, 2017 at 3:40 AM, Wes Hardaker wrote: > Pranesh Kulkarni writes: > > > [root@localhost ~]# snmpset -c private localhost sysContact.0 s > "adminstrator" > > SNMPv2-MIB::sysContact.0 = STRING: adminstrator > > Wait if that w

Re: SNMPv3 Debian Question

2017-06-06 Thread Pranesh Kulkarni
Then net-snmp agent will not the set the values which has been sent by "set" commands if the object value is configured in snmpd.conf file. following series of command to show it. cat /etc/snmp/snmpd.conf syscontact admin . [root@localhost ~]# snmpget -c public localhost sysContact.0

Re: how to increase timeout value

2017-06-06 Thread Pranesh Kulkarni
Add -t TIMEOUT option in snmpget,snmpwalk commands #snmpwalk -v 2c -c public localhost -t 30 system On Mon, Jun 5, 2017 at 6:34 PM, deepak.sachan deepak.sachan < deepak.sac...@deal.drdo.in> wrote: > hi, > My agent is slow in responding to the request. > so how can i increase time out value?? >

Re: snmp v3 adding user

2016-12-27 Thread Pranesh Kulkarni
on of net-snmp set '/var/lib/net-snmp/' as default > snmp persistent directory and few (may be old) > net-snmp sets '/var/net-snmp/' as default persistent directory. > > Check default persistent directory in config options 'net-snmp-config > --configure'

snmp v3 adding user

2016-12-20 Thread Pranesh Kulkarni
Hi All, When creating new user for snmpv3 using net-snmp-create-v3-user command, # net-snmp-create-v3-user -A asdfghjkl -X qwertyuio -x DES -a MD5 abcd adding the following line to /var/lib/net-snmp/snmpd.conf: createUser abcd MD5 "asdfghjkl" DES qwertyuio adding the following line to /etc/snm

Re: SNMP v3 and v2

2016-06-29 Thread Pranesh Kulkarni
ti change the existence code. On Wed, Jun 29, 2016 at 10:59 PM, Niels Baggesen wrote: > Den 27-06-2016 kl. 12:27 skrev Pranesh Kulkarni: > > Hi All, > > > > I have the existence code for SNMP v3 agent generated with mib2c . Can > > the same code used for V3. >

SNMP v3 and v2

2016-06-27 Thread Pranesh Kulkarni
Hi All, I have the existence code for SNMP v3 agent generated with mib2c . Can the same code used for V3. Only configuration is different in V3 ? which can ne Please clarify me. -- Thanks, Pranesh -- Attend Shape: An

Re: Automic Mib not readable ?

2016-03-21 Thread Pranesh Kulkarni
Hi serverStarted NOTIFICATION-TYPE OBJECTS { agentWorkSysID, agentWorkObject, agentWorkInteger1, agentWorkInteger2 } STATUS current DESCRIPTION "UC4 Server started" ::= { 3400 } Usually it refers OID , what 3400 represnts ?? On Mon, Mar 7, 2016 at 9:20 PM, External Nicolas TREELS -CAMPUS- < exte

Re: SNMP traps from client to master fails

2016-02-13 Thread Pranesh Kulkarni
I think you have missed the line in client 1 /etc/snmp/snmd.conf trap2sink SERVER_IPDDR public OR firewall on server for port 162 On Fri, Feb 12, 2016 at 7:08 PM, Aslam Abbas wrote: > Hi All, > > I am trying to setup SNMP monitoring in my network. > > SERVER : 10.21.8.109CONFIG:

SNMPWALK EndOfMIbView EndOfData

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: mib file to map an trap oid

2015-10-29 Thread Pranesh Kulkarni
*Traps* *SNMPD STOP* *# /etc/init.d/snmpd stop* Shutting down snmpd: [ OK ] #snmptrapd -f -Le NET-SNMP version 5.7.2.1 AgentX subagent connected NET-SNMP version 5.7.2.1 2015-10-30 11:46:35 localhost [UDP: [127.0.0.1]:33534->[127.0.0.1]:162]: DISMAN-EVENT-M

Re: Forward SNMPv3 traps from snmptrapd to snmpc

2015-10-05 Thread Pranesh Kulkarni
instead of 127.0.0.1 give actual IP address On Thu, Sep 3, 2015 at 12:11 PM, Sanjay Singh wrote: > How can i forward the Traps received by SNMPTRAPd to SNMPc (Castle Rock > Manager) Both are running on the same machine (Windows 7) > > My entry for snmptrapd.conf is: > > authUser log,execute,net

Re: snmptrapd does not show any logs

2015-09-28 Thread Pranesh Kulkarni
starting snmptrapd *# snmptrapd -Lf /tmp/snmptraps.log* *#/etc/init.d/snmpd restart* *# cat /tmp/snmptraps.log* NET-SNMP version 5.7.2.1 AgentX subagent connected NET-SNMP version 5.7.2.1 2015-09-28 15:59:45 localhost [UDP: [127.0.0.1]:35283->[127.0.0.1]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance

Re: snmpwalk on table works but snmpget on the same fails

2015-09-21 Thread Pranesh Kulkarni
1) Check SNMP agent is running or not 2) check with snmpgetnext On Mon, Sep 21, 2015 at 7:29 PM, Pushpa Thimmaiah < pushpa.thimma...@gmail.com> wrote: > Hi, > > I have defined new mib table and generated corresponding .c and .h file > using tool 'mib2c'. > I am able to walk on the newly created

ENTITY-MIB

2015-09-09 Thread Pranesh Kulkarni
Hi All, We are monitoring software process , single Entity . When I read ENTITY-MIB , it says if only one instance is there , entityLogical group can be omitted, Can we have sysDescr , can we go ahead. But Our EMS always look for ENTITY-GROUP. Thanks, Pranesh ---

Re: Could not receive traps

2015-06-30 Thread Pranesh Kulkarni
Hi Ganesh If you were able to receive traps on same machine then Pls check 1) is manager is able to ping agent 2) if yes , check also any firewall between manager and agent. On Tue, Jun 30, 2015 at 4:47 PM, wrote: > Hi, > > I am using net-snmp-5.7.2. > > My agent is running on windows xp wi

Re: Need of snmpDaemon while sending snmp traps

2014-11-21 Thread Pranesh Kulkarni
ushpa.thimma...@gmail.com> wrote: > Is there any difference between sending traps through snmpd and snmptrapd > ? how to make agent to send example traps that are defined by me? > > On Thu, Nov 20, 2014 at 6:28 PM, Pranesh Kulkarni > wrote: > >> snmptrap is the command whi

Re: Need of snmpDaemon while sending snmp traps

2014-11-20 Thread Pranesh Kulkarni
meticks: (3150010) 8:45:00.10 > iso.3.6.1.6.3.1.1.4.1.0 = OID: iso.3.6.1.4.1.8072.2.3.1 > iso.3.6.1.4.1.8072.2.1.1 = INTEGER: 4455 > > > result: system1, ie172.16.1.131 able to send traps without snmpd > > > On Thu, Nov 20, 2014 at 3:51 PM, Pranesh Kulkarni > wrote: > >> &

Re: Need of snmpDaemon while sending snmp traps

2014-11-20 Thread Pranesh Kulkarni
please check with ps -eaf | grep snmpd The SNMP agent is the one which sends trap. In case if the agent is not running , the trap receiver may be receiving traps from the other agent(other machine) please check the ipaddress in the trap PDU. On Thu, Nov 20, 2014 at 2:47 PM, Pushpa Thimmaiah

Re: agentx example gives compile errors

2014-10-16 Thread Pranesh Kulkarni
so should I modify my "make"? how can I include this path into where > net-snmp looks for for my header files? > > On 14 October 2014 22:30, Pranesh Kulkarni wrote: > >> Hi, >> >> the declarations for the above functions are in >> >> #includ

Re: agentx example gives compile errors

2014-10-14 Thread Pranesh Kulkarni
Hi, the declarations for the above functions are in #include #include #include #include which are not included properly , it should get automatically with CFLAGS=-I `net-snmpf-config --cflags` check with this command "net-snmp-config --cflags" on your terminal , and check the output p

Re: mib2c mfd for ifTable

2014-09-24 Thread Pranesh Kulkarni
Hi Kenneth, I could do both snmpget and snmpset . Thanks for your help Pranesh -- Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-th

Re: mib2c mfd for ifTable

2014-09-19 Thread Pranesh Kulkarni
else ? Pranesh On Thu, Sep 18, 2014 at 11:48 AM, Pranesh Kulkarni wrote: > > Hi All, >> >> I used mib2c compiler for generating mfd option for ifTable >> >> I am not getting the values for snmpwalk >> >> #snmpwalk -v 2c -c public localhost ifTable >&g

mib2c mfd for ifTable

2014-09-17 Thread Pranesh Kulkarni
Hi All, I used mib2c compiler for generating mfd option for ifTable I am not getting the values for snmpwalk #snmpwalk -v 2c -c public localhost ifTable IF-MIB::ifTable = No Such Object available on this agent at this OID I have correctly configured config file. running the master agent as /u

Re: No response from localhost

2014-09-09 Thread Pranesh Kulkarni
Hi Dharm, Use the minimal snmpd.conf syslocation ServerRomm syscontact Admin rocommunity public localhost rwcommunity private localhost Once you chage the snmpd.conf , make sure that you restart the agent and check On Wed, Sep 3, 2014 at 2:53 PM, Dharm S wrote: > Hi All, > > I am us

Re: How to configure snmpd.conf file via CLI?!

2010-08-17 Thread Pranesh Kulkarni
you can use command "snmpconf" On Tue, Aug 17, 2010 at 12:38 PM, Alexander King wrote: > > > Dave and all: > I want to know whether I can configure the snmpd.conf file via CLI,such as > write some settings into the file via LCI.and the commands.Thank you! > com2sec local localhost publ

Re: LoadMib function

2009-05-29 Thread Pranesh Kulkarni
You Can check your mib file with , http://www.simpleweb.org/ietf/mibs/validate/ On Fri, May 29, 2009 at 2:38 PM, Sowmya P Venkatesh wrote: > Hi Dave, > > How to find whether the given mib File is a valid mib or not? > Can we use LoadMib ? > > Regards, > Sowmya > > > > -

Re: snmp_parse_oid error

2009-04-08 Thread Pranesh Kulkarni
It may be firewall issue OR access-control issue add your remote system ip address in snmpd.conf and check once again On Wed, Apr 8, 2009 at 6:09 PM, Harendra Pratap Singh < harendra.si...@globallogic.com> wrote: > Hi All, > > If i run "snmpwalk -v 1 -c public localhost system" at the snmp bo

Re: unable to Install netsnmp5.4.2.1 on Redhad 9.0

2009-03-25 Thread Pranesh Kulkarni
http://net-snmp.sourceforge.net/wiki/index.php/FAQ:Compiling_02 On Wed, Mar 25, 2009 at 12:58 PM, Niranjan V.G wrote: > > Dear All, > > I have a problem installing snmp 5.4.2.1 on redhat 9, I am > doing the following > > 1) untar the files > 2) ./configure -- this is working fin

Re: Error running snmpd on linux

2009-03-24 Thread Pranesh Kulkarni
This is harmless , just apply official patch 1805971,then you will not see these warnings http://sf.net/support/tracker.php?aid=1805971 On Wed, Mar 25, 2009 at 4:50 AM, Rodolfo Leffa wrote: > Hi, > > I have extended the net-snmp agent to provide some information. It works > fines on windows and

Re: mib2c gives an error "you didn't give me a valid OID to start with.."

2009-03-24 Thread Pranesh Kulkarni
You have to set the environmental variable If it is bash shell, export MIBS=ALL If it is csh shell, setenv MIBS ALL On Wed, Mar 25, 2009 at 10:20 AM, Tanisha Kashyap < tanisha.kash...@aricent.com> wrote: > Hi, > > > > I am trying to generate the code using: mib2c -c mib2c.scalar

Re: net-snmp 5.4.2.1: Error in make :gcc: /usr/local/fnmt/lib/libsocks.so: No such file or directory

2009-03-24 Thread Pranesh Kulkarni
http://net-snmp.sourceforge.net/wiki/index.php/FAQ:Compiling_02 I hope it might solve your problem On Tue, Mar 24, 2009 at 6:58 PM, Chetan Mahadev wrote: > Hi, > > Any body to help me here? > > On Mon, Mar 23, 2009 at 9:55 PM, Chetan Mahadev > wrote: > >> Hi Thomas, >> >> >What configure opti

Re: MIB

2009-03-11 Thread Pranesh Kulkarni
On Thu, Mar 12, 2009 at 10:36 AM, Tanisha Kashyap < tanisha.kash...@aricent.com> wrote: > Hi > > > > I need to write a MIB Module for supporting SNMP Version1. > > > > I have a few questions: > > 1) Do SMIv1 and v2 refer to any specific version of the SNMP protocols. Eg: > is SMIv1 specific to SN

Re: Trap

2009-03-04 Thread Pranesh Kulkarni
an't...You are Right" -- Henry > Ford > ---------- > > *From:* Pranesh Kulkarni [mailto:pranes...@gmail.com] > *Sent:* Wednesday, March 04, 2009 2:25 PM > *To:* Tanisha Kashyap > *Cc:* net-snmp-users@lists.sourceforge.net > *Subject:* Re: Tra

Re: Trap

2009-03-04 Thread Pranesh Kulkarni
On Wed, Mar 4, 2009 at 12:25 PM, Tanisha Kashyap < tanisha.kash...@aricent.com> wrote: > Hi, > > > > I want to send a trap to the NMS which contains just a text information > indicating that a certain event is about to begin. > > Do I need a MIB variable for this or is there a way to send text >

Re: SET request

2009-02-27 Thread Pranesh Kulkarni
On Fri, Feb 27, 2009 at 11:24 AM, Tanisha Kashyap < tanisha.kash...@aricent.com> wrote: > Hi, > > > > I have written a small piece of agent code in perl to implement GET and > SET. > > The Get and Set work fine when I do snmpget/set from the CLI. However when > I do the Set from an NMS installed

Re: SET request

2009-02-27 Thread Pranesh Kulkarni
I think you have to give your NMS machine name/ipaddress in your configuration file snmpd.conf and check with GET/SET request On Fri, Feb 27, 2009 at 1:52 PM, Dave Shield wrote: > 2009/2/27 Tanisha Kashyap : > > I have written a small piece of agent code in perl to implement GET and > SET. > >

Re: SNMPD logs to syslog when it receives any snmp request

2009-02-18 Thread Pranesh Kulkarni
Actually i meant for disabling logging in your sub agent , so I told you call this function "snmp_disable_log()" . Sorry for misunderstanding question. You can try the snmpd with this option, (but am not sure) snmpd -Lsd tcp:localhost:705 -p /var/run/snmpd.pid i have taken out "-a" option whic

Re: Vs: net-snmp-5.4.2.1-mips core

2009-02-18 Thread Pranesh Kulkarni
en: master. > > /usr/local/share/snmp/snmpd.conf: line 411: Warning: Unknown token: > agentXsocket. > > NET-SNMP version 5.4.2 > > > > Thanks & Regards, > > *Raghu* > > > -- > > *From:* Pranesh Kulkarni [mailto:pranes

Re: Vs: net-snmp-5.4.2.1-mips core

2009-02-18 Thread Pranesh Kulkarni
in your snmpd.conf add these two lines master agentx ( you have added this line only) agentXsocket /var/agentx/master . the do the command "ls /var/agentx" to check really the agentx connection exists ???/ On Wed, Feb 18, 2009 at 5:47 PM, Raghu Ramaraj wrote: > Hi Dave > Pls

Re: net-snmp-5.4.2.1-mips core

2009-02-17 Thread Pranesh Kulkarni
you should give MIB module name , not MIB file name On Tue, Feb 17, 2009 at 6:53 PM, Dave Shield wrote: > 2009/2/17 Raghu Ramaraj : > > I have tested like this > > "snmpget –v1 -c democommunity localhost MIBfileName::nodename " > > > > > That will never work. > If you're using snmpget, th

Re: SNMPD logs to syslog when it receives any snmp request

2009-02-17 Thread Pranesh Kulkarni
call "snmp_disable_log()" function. Thanks, Pranesh On Tue, Feb 17, 2009 at 6:33 PM, wrote: > Hi All, > > We are using Net-snmp-5.4.2.1. We are seeing that SNMPD logs the following > messages in syslog for every snmp request that it receives. Is there any way > to disable these messages from

is agentx support is there in 5.0.9 on solaris ????

2009-02-17 Thread Pranesh Kulkarni
Hi All, We wrote a net-snmp subagent on linux. It worked fine. Now when we want port it to solaris-10(net-snmp 5.0.9 which ships with solaris-10),facing bit problems Able to compile my subagent and connected to snmpd(master agent) using agentx protocol.But while quering , it does not give val

Re: How can I define my own trap?

2009-01-27 Thread Pranesh Kulkarni
In OBJECTS{ , ,zzz , ) define all the information i.e. (define the same number of fields which you are taking from mysql database) which you want to send as the trap then define OBJECTS , should be defined in MIB with MAX-ACCESS accessible-for-notify On Tue, Jan

Re: Compilation error (MIB)

2009-01-27 Thread Pranesh Kulkarni
itz just "C" error I think ur using FILE *fp and using fp for fp = popen( ) , But some where you have decleared as fp .. for this only these errors are coming ciscoDmpMIBHdmi.c:18: error: conflicting types for 'fp' ciscoDmpMIBHdmi.c:16: error: previous declaration of 'fp' was here just che

Re: Net SNMP usage problem with prior installation

2008-09-10 Thread Pranesh Kulkarni
another configuration file "snmptrapd.conf" for traps . You can checkout for the traps. Pranesh On Wed, Sep 10, 2008 at 4:19 PM, Mohan M <[EMAIL PROTECTED]> wrote: > Hi Mike, > > Thanks for quick feedback. Yes I was doing some configuration mistake and > would like to share with you. > > Net-SN

opensolaris net-snmp 5.0.9 perl support

2008-09-09 Thread Pranesh Kulkarni
Hi All, While installing net-snmp 5.0.9(we know its old , but we are using this one) on opensolaris, ./configure --enable-perl make make install net-snmp is installed and running , But when we do *mib2c* , it says that *perl modules are not installe

snmpd dead but subsys locked

2008-08-29 Thread Pranesh Kulkarni
Hi , I have net-snmp 5.3.1 which comes with Red Hat Linux 5 . when I issued the command /usr/sbin/snmpd , it runs for a while and stops. The message is " snmpd dead but subsys locked" Again tried with snmpd -f -Le -Dread_config , Segmemtation fault occured. Here are some other details. #uname

RMON with Net-Snmp

2008-07-30 Thread Pranesh Kulkarni
Hi All , I have implemented snmp agent using net-snmp. I am relatively new to RMON . I want to implement RMON in net-snmp . Please help me implementing the RMON. Pranesh . - This SF.Net email is sponsored by the Mobl

Re: Getting Too Long Error

2008-06-20 Thread Pranesh Kulkarni
<[EMAIL PROTECTED]> wrote: > I have created PDU using following API > > > > pdu = snmp_pdu_create(SNMP_MSG_GET); > > > > Doesn't it populate version by default ? > > > > Regards, > > Rucha > > > > *From:* Pranesh Kulkarni [mai

Re: Getting Too Long Error

2008-06-19 Thread Pranesh Kulkarni
n", length); > (gdb) n > PDU Length = 4 > 139 status = snmp_synch_response(ss, pdu, &response); > (gdb) p length > $4 = 4 > > Regards, > Rucha > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Dave Shield

Re: Getting Too Long Error

2008-06-19 Thread Pranesh Kulkarni
Just check your PDU size , it might be greater than 1500 , which is exeeding ethernet MTU size .. So Too Big Error is coming. Pranesh On Wed, Jun 18, 2008 at 7:01 PM, Rucha <[EMAIL PROTECTED]> wrote: > Hello All, > > > > I have written a simple program using Version 1 of SNMP with get request.

getting values for ver 5.4.1 but not for 5.3.1

2008-04-18 Thread Pranesh Kulkarni
Hi , I used net-snmp-5.4.1 and was able to get the values for command snmpget and snmpwalk with master/subagent . Now I am using net-snmp-5.3.1 for some reasons, but I am not able to get the values for snmpwalk. if I do snmpwalk, snmpwak -v 2c -c public SMPLE-MIB::smpleTable No Such Obje

Re: Need help

2008-04-17 Thread Pranesh Kulkarni
> Can we assign severity to alarms? i.e. Critical, major, minor, Warning > etc. > Yes .. we can assign severity to alarms .. Define the severity of > alarm(Critical,major,...)and associated objects with alarm in the MIB . > Depanding on the condition you can send the alarm . > > > > > >

Re: test scripts for subagent

2008-04-10 Thread Pranesh Kulkarni
On Thu, Apr 10, 2008 at 11:06 PM, Mike Ayers <[EMAIL PROTECTED]> wrote: > > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On > > Behalf Of Pranesh Kulkarni > > Sent: Thursday, April 10, 2008 5:39 AM > > >I have written the subagen

test scripts for subagent

2008-04-10 Thread Pranesh Kulkarni
Hi All, I have written the subagent which communicates with master agent through AgentX protocol . Now I want to test the subagent. Will running over $Installdir/testing/RUNTESTS will test the subagent also or only master agent. If it doesnot test the subagent then , how should I use th

Re: error on subcontainer '' insert (-1)

2008-04-08 Thread Pranesh Kulkarni
On Tue, Apr 8, 2008 at 5:12 PM, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote: > Hi All, > I am using net-snmp 5.4.1 and fedora 5 , > > When I running agent , am getting these errors , > > #/usr/local/sbin/snmpd -f -L > Turning on AgentX master support. > NET

error on subcontainer '' insert (-1)

2008-04-08 Thread Pranesh Kulkarni
Hi All, I am using net-snmp 5.4.1 and fedora 5 , When I running agent , am getting these errors , #/usr/local/sbin/snmpd -f -L Turning on AgentX master support. NET-SNMP version 5.4.1 error on subcontainer '' insert (-1) error on subcontainer '' insert (-1) error on subcontainer '' insert (-1

Re: Re: Error mibII/system_mib.c:68: error: `NETSNMP_SYS_CONTACT' undeclared here (not in a function)

2008-04-08 Thread Pranesh Kulkarni
On Tue, Apr 8, 2008 at 2:58 PM, <[EMAIL PROTECTED]> wrote: > > > snmpd: error while loading shared libraries: libnetsnmpagent.so.15: cannot > open shared object file: No such file or directory Give a symbolic link to that library , ln -s libelf.so.15 /usr/lib/libelf.so and

Re: Get , Get-next ...

2008-04-04 Thread Pranesh Kulkarni
On Thu, Apr 3, 2008 at 6:30 PM, Dave Shield <[EMAIL PROTECTED]> wrote: > On 02/04/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote: > >>>I am testing the snmpagent, from some other free > >>> mib-browers( Windows) and my agent is net-snmp( Linux syst

Re: Get , Get-next ...

2008-04-02 Thread Pranesh Kulkarni
>> I am able to get the values from localhost, but when query from mib-browser , its not giving any values . > > Hope this helps. > > Regards, > Suresh. > > > > -Original Message- > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On

Get , Get-next ...

2008-04-01 Thread Pranesh Kulkarni
Hi All, I installed and configured the net-snmp 5.4.1 . The agent is running and able to query the values with snmpwalk command on local machine. But if I query the the name from different system(computer) , its saying TimeOut No response. ( from Windows) Help in this regard will be

Re: Net-SNMP (ASAP)

2008-03-27 Thread Pranesh Kulkarni
math <[EMAIL PROTECTED]> wrote: > > Hi Kulkarni, > > Yesterday I have tried it with snmpconf -g basic_setup , but it didn't > create any snmptrapd.conf file, it created only snmpd.conf file for > agent. > > > > *"Pranesh Kulkarni" <[EMAIL P

Re: Net-SNMP (ASAP)

2008-03-26 Thread Pranesh Kulkarni
With snmpconf , we can configure snmp.conf , snmpd.conf and snmptrapd.conf Thanks, Pranesh On Thu, Mar 27, 2008 at 12:39 AM, Umesh Kamath <[EMAIL PROTECTED]> wrote: > > Dave, > > Is there any command like snmpconf to config snmptrapd.conf file . Or do > we need to manually create snmptrapd.co

Re: No Response from localhost

2008-03-26 Thread Pranesh Kulkarni
Please check once again the config file snmpd.conf The agent isn't configured to accept commands with the community "public" or for "localhost"(might be you have given address instead of localhost") Thanks, Pranesh On Wed, Mar 26, 2008 at 12:58 PM, komang adi <[EMAIL PROTECTED]> wrote: > I ha

Re: Sending trap from source code

2008-03-23 Thread Pranesh Kulkarni
Hi All, If I want to recompile my mib pranesh-MIB, what the .h contents should be ?? I went through some sample .h files , It contains config_require lines. Can some one explain me about this Pranesh On Thu, Mar 20, 2008 at 7:01 PM, Ron Rader <[EMAIL PROTECTED]> wrote: > From

Re: Sending trap from source code

2008-03-19 Thread Pranesh Kulkarni
M, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote: > I recompiled the snmpd with --with-mib-modules="examples/notification" .. > How to send the traps from the agent now ?? > > On Wed, Mar 19, 2008 at 6:52 PM, Ron Rader <[EMAIL PROTECTED]> > wrote: > > > > From

Re: Sending trap from source code

2008-03-19 Thread Pranesh Kulkarni
I recompiled the snmpd with --with-mib-modules="examples/notification" .. How to send the traps from the agent now ?? On Wed, Mar 19, 2008 at 6:52 PM, Ron Rader <[EMAIL PROTECTED]> wrote: > > From: Pranesh Kulkarni [mailto:[EMAIL PROTECTED] > >After modifying

Sending trap from source code

2008-03-19 Thread Pranesh Kulkarni
Hi All, I have the sample MIB , with four tables and three types of trap. I am able to do snmpget, snmpwalk operation using Agentx Support. My next task is to send the traps from the agent. I have generated the source code using mib2c -c mib2c.notify.conf the two file gen

Re: Size of the Recv-Q of TCP socket gets increased

2008-02-24 Thread Pranesh Kulkarni
So, you mean to say that in version 5.4.1, this problem of Recv-Q doesn't > exist? > > > > First of all, how can I be sure that it's a problem in Net-SNMP? Can you > please advise? > > > > Thanks, > > Sadhana > -- > > *Fro

Re: Size of the Recv-Q of TCP socket gets increased

2008-02-24 Thread Pranesh Kulkarni
> Net_SNMP version used: > > > > [EMAIL PROTECTED] app]$ rpm -qa | grep -i net-snmp > > net-snmp-devel-5.0.9-2.30E.3 > > net-snmp-5.0.9-2.30E.3 > > net-snmp-utils-5.0.9-2.30E.3 > You are using old version . Better switch to net-snmp version 5.4.1 , which is much improvised . > > > [EMA

Re: subagent

2008-02-17 Thread Pranesh Kulkarni
On Feb 16, 2008 5:37 PM, Magnus Fromreide <[EMAIL PROTECTED]> wrote: > > On fre, 2008-02-15 at 16:44 +0530, Pranesh Kulkarni wrote: > > Hi , > > I have written a sample MIB which has 3 tables and 5 scalar > > variables. I want to have this to be a subagent and g

subagent

2008-02-15 Thread Pranesh Kulkarni
Hi , I have written a sample MIB which has 3 tables and 5 scalar variables. I want to have this to be a subagent and get connected to a standard net-snmp snmp agent /usr/local/sbin/snmpd by agentx support. The table values will get at the run the time from user code. I used the Pl

snmpwalk --no response when issued to sub-agent through master-agent

2008-02-15 Thread Pranesh Kulkarni
-- Forwarded message -- From: Pranesh Kulkarni <[EMAIL PROTECTED]> Date: Fri, Feb 15, 2008 at 12:36 PM Subject: Re: snmpwalk --no response when issued to sub-agent through master-agent To: Dave Shield <[EMAIL PROTECTED]> Cc: Net-snmp-users On Tue, Feb 12, 2008 at 3

Re: snmpwalk --no response when issued to sub-agent through master-agent

2008-02-14 Thread Pranesh Kulkarni
Keep discussions to the list, where others can both learn > and offer advice. Thanks. ] > > On 11/02/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote: > > > > > Does it successfully register the table with the master agent > > > I

Re: snmpwalk --no response when issued to sub-agent through master-agent

2008-02-12 Thread Pranesh Kulkarni
n'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 11/02/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote: > > > > > Doe

Re: Error in the snmpd.conf file....

2008-02-11 Thread Pranesh Kulkarni
I think already some other process is using port number 1161 , Please check with netstat -an | grep 1161 On Feb 11, 2008 6:49 PM, BIbhudatta Nayak <[EMAIL PROTECTED]> wrote: > hi, > > My snmp agent application name is "mysnmpproj". > I have a mysnmpproj.conf > when i run my snmp agent progra

Re: snmpwalk --no response when issued to sub-agent through master-agent

2008-02-11 Thread Pranesh Kulkarni
On Feb 11, 2008 4:49 PM, Dave Shield <[EMAIL PROTECTED]> wrote: > On 11/02/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote: > > > Does it successfully register the table with the master agent > > NET-SNMP version 5.4.1 AgentX subagent connected

Re: snmpwalk --no response when issued to sub-agent through master-agent

2008-02-11 Thread Pranesh Kulkarni
On Feb 11, 2008 4:20 PM, Dave Shield <[EMAIL PROTECTED]> wrote: > On 11/02/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote: > > I am running ... my subagent as > ># ./simpleTable -f -L -x "tcp:localhost:7058" > > >The subagent does connect

snmpwalk --no response when issued to sub-agent through master-agent

2008-02-11 Thread Pranesh Kulkarni
Hi All, I am runnig master agent as , # /usr/local/sbin/snmpd , and my subagent as # ./simpleTable -f -L -x "tcp:localhost:7058" Configuration file snmpd.conf , entry is, master agentx agentxsocket tcp:localhost:7058 The subagent does connect to the master agent.

Re: mib2c linker errors ifTable

2008-02-06 Thread Pranesh Kulkarni
Thanks, Pranesh On Feb 6, 2008 3:10 PM, Dave Shield <[EMAIL PROTECTED]> wrote: > On 05/02/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote: > > So when I run the subagent, > > ./simpleTable -f -L > > > Its saying > > Warning: Failed t

Re: mib2c linker errors ifTable

2008-02-05 Thread Pranesh Kulkarni
another configuration file for the subagent ? Thanks, Pranesh On Feb 5, 2008 3:04 PM, Dave Shield <[EMAIL PROTECTED]> wrote: > On 05/02/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote: > > I created my module and generated using mib2c tool. > > $ mib2c -c mib2c.mfd.c

Re: mib2c linker errors ifTable

2008-02-04 Thread Pranesh Kulkarni
On Feb 1, 2008 9:14 PM, Dave Shield <[EMAIL PROTECTED]> wrote: > On 01/02/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote: > > May be this sounding simple to you , please help me in this regard, > > It's not a matter of being "simple" or complex. &

Re: !"registration != duplicate" failed agent_registry.c:535

2008-02-04 Thread Pranesh Kulkarni
thx Dave , I applied the patch , now those log statements are not coming On Feb 4, 2008 2:44 PM, Dave Shield <[EMAIL PROTECTED]> wrote: > On 04/02/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote: > > But in the log file /var/log/snmpd.log , its saying &g

Master agent/sub agent

2008-02-04 Thread Pranesh Kulkarni
Hi , I want to have a subagent to master net-snmp agent. Dircectory structure is *~/net-snmp-5.4.1* and I have wriiten my mib module simple-MIB in /usr/local/share/snmp/mibs directory and checked with snmptranslate command. I am generating C files using mib2c tool in *~/simpleTable .* I cre

!"registration != duplicate" failed agent_registry.c:535

2008-02-03 Thread Pranesh Kulkarni
Hi All, I have installed net-snmp 5.4.1 with following steps. 1) ./configure --with-ldflags=-L/usr/lib64 2) make 3 )make install Then I ran the agent using /usr/local/sbin/snmod and snmget command *snmpget -c public localhost system.sysDescr.0 *is also giving me system description But in

Re: mib2c linker errors ifTable

2008-02-01 Thread Pranesh Kulkarni
g make and make install ... how to test the my generated code will be part of the agent. May be this sounding simple to you , please help me in this regard, Thanks in advance, Pranesh On Feb 1, 2008 7:58 PM, Dave Shield <[EMAIL PROTECTED]> wrote: > On 01/02/2008, Pranesh Kulkarn

Re: mib2c linker errors ifTable

2008-02-01 Thread Pranesh Kulkarni
Hi , I am going through how to make subagent . I have written mib(xyz) and loaded /usr/local/share/snmp/mibs and tested with snmptranslate. Using mib2c tool , I generated code for the scalar and table and then configured , make and make install . Then I ran snmpd if I issue snmpget it replies ,

Re: mib2c linker errors ifTable

2008-01-31 Thread Pranesh Kulkarni
directory) ./ifTable: symbol lookup error: ./ifTable: undefined symbol: netsnmp_baby_steps_access_multiplexer_get Is this is library linking issue ?? Thanks, Pranesh On Jan 31, 2008 4:28 PM, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote: > Hi Dave, >From which relative pa

Re: mib2c linker errors ifTable

2008-01-31 Thread Pranesh Kulkarni
PM, Dave Shield <[EMAIL PROTECTED]> wrote: > On 31/01/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote: > >With the makefile of Subagent, these are the libraries linking, > > > > -L/usr/lib64 -L/usr/local/lib -lnetsnmpmibs > -lnetsnmpage

Re: mib2c linker errors ifTable

2008-01-31 Thread Pranesh Kulkarni
<[EMAIL PROTECTED]> wrote: > On 31/01/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote: > > I have installed net-snmp 5.2.4 package. > > That's a fairly old version of the code. > If you are installing things yourself, then we'd suggest you work > with the

mib2c linker errors ifTable

2008-01-31 Thread Pranesh Kulkarni
Hi All, I have installed net-snmp 5.2.4 package. I want to write subagent for my mib . So I was going through tutorials of mib2c with ifTable. I am able to generate source code and modified according tutorials page , but while linking its giving error Thanks, Prak here is the snap sho