Re: Setting sysDescr with a module?

2009-07-21 Thread manu kumar
U can do by build the net-snmp stack with : ./configure --prefix= --with-out-mib-modules="mibII/system_mib mibII/sysORTable" From: Dave Shield To: Andrea Sen Cc: net-snmp-users@lists.sourceforge.net Sent: Thursday, July 16, 2009 5:13:13 PM Subject: Re: Se

Re: Regarding snmpTargetAddrTable

2009-04-01 Thread manu kumar
;" v2c noauthexact none none none master agentx agentXSocket tcp:127.0.0.1:705 ____ From: Dave Shield To: manu kumar Cc: net-snmp-users@lists.sourceforge.net Sent: Wednesday, April 1, 2009 2:31:08 PM Subject: Re: Regarding snmpTargetAddrTable 2

Re: Regarding snmpTargetAddrTable

2009-04-01 Thread manu kumar
HI, Please let me know how to put the "snmpTargetAddrTable" info into the snmp.conf file. please give me some example. Thank's, kumar From: Dave Shield To: manu kumar Cc: net-snmp-users@lists.sourceforge.net Sent: Wednesday, April 1,

Regarding snmpTargetAddrTable

2009-03-31 Thread manu kumar
Hi All, I am trying to query the Agnet to get the "snmpTargetAddrTable" , But when ever I am querying it gives No so such OID. Result: snmpwalk -v2c -c temp123 192.168.xx.xx snmpTargetAddrTable SNMP-TARGET-MIB::snmpTargetAddrTable = No Such Object available on this agent at this OID Wh

Regarding the "snmpTargetAddrTable" , Unable to get the output of this table

2009-03-31 Thread manu kumar
Hi All, I have a Subagent and able to exclude the "snmpTargetAddrTable" present in Agnet and Able to build my own code "snmpTargetAddrTable" using mib2c . Subagent and Agent is running fine. but when ever I am querying it gives No so such OID. Result: snmpwalk -v2c -c temp123 19

Is it ok..to give a same Agent snmpd.conf file to the SubAgentdemon code : init_snmp(snmpd.conf)

2009-02-23 Thread manu kumar
Hi All, I have a question in implementing the SubAgent , In the "example-demon.c" it says /* example-demon will be used to read example-demon.conf files. */ init_snmp("example-demon"); So Instead of "example-demon" is ok to give the "snmpd.conf" file of Agent an

Re: extending the snmp agent through many exec's

2009-02-19 Thread manu kumar
Hi All, First of all Thanks Dave for valuable support. Well My requirement is like this: 1) I have a Agent and Sub-Agent Running on My system.( I am using C coding ) 2) While Run time , I have a multiple Sub-Agents implemented by third party and they p

Re: Please hlep me , I Need..a examples programs how to use "pass" and pass_persist (snmpd.conf)

2009-02-18 Thread manu kumar
From: manu kumar To: "net-snmp-users@lists.sourceforge.net" Sent: Thursday, February 19, 2009 12:16:27 PM Subject: Please hlep me , I Need..a examples programs how to use "pass" and pass_persist (snmpd.conf) Hi All, I am in a

Please hlep me , I Need..a examples programs how to use "pass" and pass_persist (snmpd.conf)

2009-02-18 Thread manu kumar
Hi All, I am in a need to implement a method , 1) I will get a root OID from Event and I am configurating that in snmpd.conf , So that any snmp get,set request will come to this point. 2) Based on the root OID , I have to handle any query's (get,set,get-next,wa

Re: net-snmp-5.4.2.1-mips core

2009-02-17 Thread manu kumar
I hope this will work, Try by quering : snmpget -v2 -c democommunity localhost (NET-SNMP-EXAMPLES-MIB::netSnmpExamples)MIBfileName::nodename From: Raghu Ramaraj To: "net-snmp-users@lists.sourceforge.net" Sent: Tuesday, February 17, 2009 3:30:20 PM Subject

Re: can i use the random index number for a simple table.

2009-02-17 Thread manu kumar
SNMPWALK ... The snmpwalk command is designed to perform a sequence of chained GETNEXT requests automatically. it follows the next oid of ur Table. OID x.x.x.1 x.x.x.9 x.x.x.10 From: ve

Re: How to use "--with-out-mib-modules=yyy, zzz" to avoid "system table"

2009-02-04 Thread manu kumar
e" To: manu_infot...@yahoo.co.in Cc: net-snmp-users@lists.sourceforge.net Date: Wednesday, February 4, 2009, 3:16 PM 2009/2/4 manu kumar : > I have used --with-out-mib-modules="mibII/system_mib" to avoid > "system" (SNMPv2-MIB::system) inforamtion so that I can re-w

Re: how to do reconnection by subagent in code?

2009-02-04 Thread manu kumar
Hope this will help " /*calling a set snmpset to reload the snmpd.conf file , set UCD-SNMP-MIB::versionUpdateConfig.0   will reload the agent with new settings*/ --- On Wed, 2/4/09, Alexander Bubnov wrote: From: Alexander Bubnov Subject: Re: how to do reconnection by subagent in code?

How to use "--with-out-mib-modules=yyy, zzz" to avoid "system table"

2009-02-04 Thread manu kumar
Hi All,   I have used  --with-out-mib-modules="mibII/system_mib" to avoid "system" (SNMPv2-MIB::system) inforamtion so that I can re-write my "system" (SNMPv2-MIB::system) Information. But its not working .. so  any one..please help in fixing the problem.. ---

Need help in runing AgentX with a different socket address

2007-11-14 Thread manu kumar
Hi All, I am trying to run Agentx(subagent) with a different socket address , I modify the snmpd.conf by placing " agentxsocket localhost:705 " after "master agentx" and added to the "subagent.c" file to indicate the subagent should use port 705: " netsnmp_ds_set_string(NETSNMP_DS_APPLICATIO

Ref: How to Over Write the IF-MIB data

2007-09-21 Thread manu kumar
Hi dudes, I am trying to overwrite the IF-MIB. I want to overwrite index,some data in the columns, So how is it possible . If any one has idea on it please tell me the steps to solve this problem or if any doc available please send it. Thanks & Regards Manu

Ref: How to Over Write the IF-MIB data

2007-09-21 Thread manu kumar
Hi dudes, I am trying to overwrite the IF-MIB. I want to overwirte index,some data in the coloums, So how is it possible . If any one has idea on it please tell me the setps to solve this problem or if any doc avialable please send it. Thank's & Regards Manu ---

Regarding Generating source code with mib2c

2007-08-19 Thread manu kumar
Hi dude's, I have a problem in generating a source code (*.h and *.c) with mib2c , i.e my problem is if the MIB contains scalars,Tables,Notificationstypes how to generat the source code in which i can have code to SET and GET the data of scalars,Tables,Notifications . it will

Recording generating a c sources code for MIB "NET-SNMP-TEST-MIB DEFINITIONS"

2007-08-18 Thread manu kumar
Hi floks, I have a problem with the mib2c in generating sources code for the MIB "NET-SNMP-TEST-MIB DEFINITIONS(as it contains a scaler , table and notification fields. "show below") ". When i run this command mib2c -c mib2c.mfd.conf NET-SNMP-TEST-MIB DEFINITIONS it is asking few opt

neeed help in snmptrap conf file

2007-07-23 Thread manu kumar
Hi , can any one help me in creating snmptarp.conf file and I have my own xx.mib file , in that mib file contains a variables v1 and v2 .Now i have to gerate a snmptarp alrets when the varibles v1 and v2 values incerases 100 (v1>100 i have to generate a snmptrap alret) How to Generate snm

"can any one help to slove problem "configure the new MIB file -- " $ ./configure --with-mib-modules="netSnmpTutorialMIB""

2007-07-11 Thread manu kumar
Hi ALL, I had problem while "configure the new MIB file", as I created a new file.txt and able to compile it and I got xxx.h and xxx.c . I modified the xxx.c file to get and set the value and placed the xxx.h and xxx.c file in ./agent/mibgroup folder After that I am try to do this" $ ./

How to Run the Agent after make install

2007-07-03 Thread manu kumar
-- Forwarded message -- From: manu kumar <[EMAIL PROTECTED]> Date: Jul 3, 2007 8:07 PM Subject: How to Run the Agent after make install To: [EMAIL PROTECTED] Hi Dave Shield, I have Installed net-snmp , After make install Instruction i can able to see the all fi