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

Subagent

2006-12-12 Thread Srivastava, Namburi (IE10)
Hi, I have compiled a sub-agent. Now what is that I should do to run this guy as master agent? (before that, is it possible to do this way or not?) Regards, Sri. *

subagent prob

2004-08-19 Thread deepa chakkunni
hi all, i was trying with subagent daemon tutorial. I have added the mib'NET-SNMP-TUTORIAL.mib' in /usr/local/share/snmp/mibs/ and executed the command export MIBS=ALL. I hav added master agentx in my conf file. The example deamon is successfully created. Still my snmpget is saying

Subagent problem

2004-08-25 Thread deepa chakkunni
hi all, I posted a question earlier regarding it. I was following the instructions in the subagent tutorial. The first method:- net-snmp-config --compile-subagent mysubagent nstAgentSubagentObject.c showed these errors generating the tmporary code file: netsnmptmp.16304.c void

subagent issue

2004-09-28 Thread Tina Agarwal
older. But when I try to cross compile my subagent (by making changes in its make file), it generates error as: /usr/local/lib/libnetsnmpagent.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: ***[example-demon] Error 1 This may be because it tries to read the

subagent issue

2004-09-28 Thread Tina Agarwal
binary/lib folder. But when I try to cross compile my subagent (by making changes in its make file), it generates error as: /usr/local/lib/libnetsnmpagent.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status make: ***[example-demon] Error 1 This may be

agentx subagent

2004-12-06 Thread Carlos Cantu
If using an agentx sub-agent to connect to net-snmp master agent, what kind of connection is set up for communication? That is, is the packet structure passed in as part of the agentx api calls or do I need to set up a socket or named pipe for communication. I'm doing a select to know when a pa

subagent question

2005-03-09 Thread Vishwanath Kalbagilmath
Hello, Can SNMP subagent written/compiled with net-snmp master agent work with a different SNMP master agent (might be propratery)? tia. -- Vish --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds o

Subagent OID

2009-03-05 Thread Samer Vazdekis
Hi there, How can I configure my agentx subagent to send a specific subagent OID along with the open-pdu. The master agent is seeing this OID (SNMPv2-SMI::enterprises.8072.3.2.8) when handling an open-pdu. Thanks. _ Reunite

subagent securityName

2009-04-24 Thread Kurtzberg, David W.
Hello, I'm working on an net-snmp subagent to implement SNMP GET requests. In my function to handle the SNMP request, I would like to be able to see the SNMPv3 security name for the user that issued the request. So if I run: snmpget -v 3 -l authPriv -u tempUser [...] I would like to be ab

Subagent timeout

2009-05-25 Thread Joan Landry
All, Is there a mechanism to prevent a call to agent_check_and_process(0)from shutting down the subagent from a timeout condition. I have a situation where it takes 2 minutes to reload some of the tables and unfortunately when I call agent_check_and_process after 2 minutes the code in net-snmp

Subagent question

2009-05-29 Thread Mario . Hebert
I am trying to use a subagent to access our enterprise MIB. I am using the daemon created when I built net-snmp. I build my subagent with : net-snmp-config --compile-subagent mysubagent mycompiledmib.c mycompiledmib.c was generated using: mib2c -c mib2c.scalar.conf mycompiledmib I

subagent crash

2009-08-14 Thread Raghu Ramaraj
Hi , I am facing problem while calling external lib API from subagent. It's crashing the subagent. I have generated the subagent using mib2c. 1) Could you give me the points to resolve? 2) Do need to follow anything when I call external shared lib API (.so.)? Thanks & Regar

SNMP subagent

2009-10-13 Thread Shahrukh Ahamed
Hi All, I have a solaris box. The SNMP agent is running on 161. I have another agent running on 164. I want to register this 164 agent as subagent to master snmp agent running on 161 so i can get data of 164 mib through this a single port communication. Can anyone help me with the steps

Subagent hanging

2007-04-20 Thread rama p
Hi , We are using Net-SNMP Master Agent and subagent functionality. In some scenarios our subagent needs to report lot of traps around 60 -70 at once to the SNMP agent. After sending some of the traps our subagent stops responding to all queries. It is not crashing but going into some waiting

Re: subagent

2008-02-15 Thread Dave Shield
On 15/02/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote: > I am using now mib2c.mfd.conf option , but with 3 tables , have to run > as 3 separate subagent which inturn should be registered with master agent. No, you don't. You can compile all three tables into a single su

Re: subagent

2008-02-16 Thread Magnus Fromreide
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 get connected to a > standard net-snmp snmp agent > /usr/local/sbin/snmpd by agentx suppor

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

Re: subagent

2008-02-20 Thread Magnus Fromreide
On mån, 2008-02-18 at 11:14 +0530, Pranesh Kulkarni wrote: > > Hi , > I am using now mib2c.mfd.conf option , but with 3 tables , have to > run as 3 separate subagent . > Which will be best option from performance wise or architrcture wise > Keeping 3 subagagents for 3

subagent hang

2011-04-14 Thread Babin, Eddie T
I frequently get hung with a subagent/master agent connection with the following output in my log: lock in _callback_lock sleeps more than 100 milliseconds in snmp_unregister_callback netsnmp_assert lock_holded < 100 failed callback.c:137 _callback_lock() This may clear after some durat

subagent only?

2006-02-08 Thread brisse
Hi, is it possible to use net-snmp to bind to an existingmaster agent? For example, on aix5.3 I have already a snmpd daemon running. Is it possible to use the net-snmp library to build a subagent and bind to the existing master agent?? (Someting like extended-snmp on tru64

Subagent info

2006-05-25 Thread Brendan Simon
subagent by processing each OID. Correct? Thanks for any help clarifying subagents :) Cheers, Brendan. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat

Subagent info

2006-05-26 Thread Brendan Simon
destination subagent by processing each OID. Correct? Thanks for any help clarifying subagents :) Cheers, Brendan. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat

snmp subagent

2006-06-05 Thread Xianan s Zhang
Hi, I need to develop a snmp subagent right now. I know that net-snmp supports AgentX defined in RFC 2741. But does anybody know whether net-snmp also supports the older agent/subagent standard DPI 2.0 which is defined in RFC 1592? Thank you very much

J.AgentX subagent

2006-08-04 Thread Baltazar Francois
I am having trouble to set up an agentX with the J.AgentX implementation. This implementation use the udp protocol, so I set the snmpd.conf with this parameters : master agentx agentXSocket udp:705 The registering of the subagent is OK as show this output log : Received 52 bytes from UDP

Subagent logging

2006-12-01 Thread Peter Bauer
Hi all, i have a rather simple sub-agent here and need some logging facility for it with loglevels and a timestamp in the logfile. I am currently using the snmp_log function. It compiles and i started the snmpd with -LF d /var/log/snmp.log but none of the snmp_log messages are written to the file,

Re: subagent prob

2004-08-20 Thread Gary Clark
netsnmpusers" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, August 20, 2004 12:52 AM Subject: subagent prob > hi all, > i was trying with subagent daemon tutorial. I have > added the mib'NET-SNMP-TUTORIAL.mib' in > /usr/local/share/snmp/mibs/ and

subagent giving error

2004-09-03 Thread Gururaja Rao
Hi,   I am new to net-snmp, and I am getting the following error, when I run the subagent.   I built the subagent using the net-snmp-config command I enabled the master agent to use agentx protocol for subagent communication Run the snmpd Then, when I ran the subagent

Subagent listening port

2004-09-15 Thread Isaac E. Wagner
I have a subagent which I am trying to have listen to a different port than /var/agentx/master. In my snmpd.conf file I added the line AgentXSocket localhost:9995. As far as I can tell the snmpd program actually does start listening to this port. However, I can't seem to get the subagent to l

Re: subagent issue

2004-09-28 Thread Dave Shield
when I try > to cross compile my subagent (by making changes in its make file), it > generates error as: > /usr/local/lib/libnetsnmpagent.so: could not read symbols: Invalid > operation > collect2: ld returned 1 exit status > make: ***[example-demon] Error 1 > > This may

Re: subagent issue

2004-09-28 Thread Users
gt; like libnetsnmpagent.so in the /home/tina/snmpdbinary/lib folder. But DS> > when I try to cross compile my subagent (by making changes in its make DS> > file), it generates error as: DS> > /usr/local/lib/libnetsnmpagent.so: could not read symbols: Invalid DS> > operatio

Re: subagent issue

2004-09-29 Thread Tina Agarwal
Thanx for the reply, Dave. But my Makefile contains minimal things. And I am not able to comprehend whether I am missing something or adding something extra..Below is my Makefile for the cross compilation of subagent. Please tell me what's the problem with this

Re: subagent issue

2004-09-29 Thread Dave Shield
p, and remove *all* trace of the Net-SNMP suite from your system. Then cross-compile the master agent (without shared libraries). Then cross-compile your subagent. If you've got stuff hanging around that you don't actually want to use, it'

Re: agentx subagent

2004-12-11 Thread Wes Hardaker
> On Mon, 6 Dec 2004 11:49:14 -0700, Carlos Cantu <[EMAIL PROTECTED]> said: Carlos> If using an agentx sub-agent to connect to net-snmp master Carlos> agent, what kind of connection is set up for communication? agentx, by default on unix, uses a named pipe: /var/agentx/master -- Wes Hardak

Re: agentx subagent

2004-12-16 Thread Carlos Cantu
Thanks, I'll look into it. Carlos> If using an agentx sub-agent to connect to net-snmp master Carlos> agent, what kind of connection is set up for communication? agentx, by default on unix, uses a named pipe: /var/agentx/master --- SF ema

Re: subagent question

2005-03-16 Thread Robert Story
On Thu, 10 Mar 2005 11:07:09 +0530 Vishwanath wrote: VK> Can SNMP subagent written/compiled with net-snmp master agent work with VK> a different SNMP master agent (might be propratery)? Yes. -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> Ar

agent , subagent query

2005-03-17 Thread Vijay Krishna
Title: agent , subagent query Can we have an agent running on one machine, and sub agent running on a different machine and both communicating via agentx.   - - - - - - - Appended by Scientific-Atlanta, Inc. - - - - - - - This e-mail and any attachments may contain information

Subagent scalar group

2005-08-10 Thread Glenn MacGregor
Hi All, I am using register_scalar_group to register for some oids in my agentx subagent. I can do get's no problem. When I try to walk it works but the oid that is asked for (and returned) is not completly correct. snmpget -c public -v1 10.1.1.1 .1.3.6.1.4.1.2234.67.12.4.1.1.0 The above re

FW: Subagent OID

2009-03-10 Thread Samer Vazdekis
Would adding a new interface to specifically set the open-pdu subagent OID be a good idea?. It will overwrite the oid given to snmp_add_var() in agentx_open_session(), in ./agent/mibgroup/agentx/client.c Note: I have net-snmp version 5.2.1.2 From: sbazd...@hotmail.com To: net-snmp-users

RE: Subagent OID

2009-03-10 Thread Samer Vazdekis
Yes I did try the "sysobjectid" directive but didn't work. Looking at code, I see the open-pdu OID is always set to the sysObjectId. I have a multiple agentx subagents in the system and each should have it's own unique subagent OID. In /agent/mibgroup/agentx/client.c int

RE: Subagent OID

2009-03-10 Thread Samer Vazdekis
One problem, keep getting this warning. Warning: Unknown token: sysObjectID So, sysObjectID keeps it's default value. > Date: Tue, 10 Mar 2009 15:10:37 + > Subject: Re: Subagent OID > From: d.t.shi...@liverpool.ac.uk > To: sbazd...@hotmail.com &

Re: subagent securityName

2009-04-24 Thread Dave Shield
2009/4/24 Kurtzberg, David W. : > I’m working on an net-snmp subagent to implement SNMP GET requests. In my > function to handle the SNMP request, I would like to be able to see the > SNMPv3 security name for the user that issued the request. Sorry - that's simply not possib

RE: Subagent timeout

2009-05-26 Thread Mike Ayers
s my subagnet from running. How does the master agent shut your subagent down? I know of no protocol operation for this. Do you mean, perhaps, that your subagent is crashing because it expects the master to still be waiting after two minutes? SNMP operations are expected to be

RE: Subagent timeout

2009-05-27 Thread Joan Landry
I found that the actual time or delay is 10 seconds. What I have determined is if the subagent delays for 10 seconds during a get operation net-snmp closes it's pipe and the subagent program receives signal SIGPIPE, Broken pipe. I added a SIGPIPE handler to the subagent to prevent it from

Re: Subagent timeout

2009-05-27 Thread Bart Van Assche
On Wed, May 27, 2009 at 1:40 PM, Joan Landry wrote: > I found that the actual time or delay is 10 seconds. What I have > determined is if the subagent delays for 10 seconds during a get > operation net-snmp closes it's pipe and the subagent program receives > signal SIGPIPE, B

Re: subagent crash

2009-08-16 Thread Thomas Anders
Raghu Ramaraj wrote: > I am facing problem while calling external lib API from > subagent. It’s crashing the subagent. I have generated the subagent > using mib2c. > > 1) Could you give me the points to resolve? > > 2) Do need to follow anything when I call externa

problem in subagent

2009-08-19 Thread Darshan Ghumare
Hi, I have created subagent using $*net-snmp-config --compile-subagent mysubagent nstAgentSubagentObject.c* $./mysubagent mysubagent: symbol lookup error: /usr/lib/libnetsnmpagent.so.15: undefined symbol: boot_DynaLoader Regards Darshan -- Darshan® Pablo Picasso<h

RE: SNMP subagent

2009-10-13 Thread Steve Stetka
<566693750910130527w76ad82c4y530015ef27d26...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Shah=2C I'm a newbie who just got done implementing a subagent based on the example= -demon tutorial

subagent in windows

2009-11-23 Thread Azade
Hi i install net-snmp with visual studio 2008 , and it work fine, but now i need to create a subagent , an a special port how can i do this? thank in advance -- Best Regards, Azade Fotouhi -- Let Crystal Reports handle

subagent Compilation error

2010-07-08 Thread Alexander King
/bin/sh ../libtool --mode=link gcc -g -O2 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -DPERL_USE_SAFE_PUTENV -DDEBUGGING -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.10.0/x86_64-linux-thread-multi/CORE -o snmpd snmpd.lo -L../snmplib/.libs -

Agentx subagent registering

2008-02-25 Thread oknets10
Hello, I'm trying to run an agentx master & subagent using the original snmpd. Opening the session has succeeded, but all the registration is failed with error 263 (duplicate). I see in the messages that the subagent is sending, that the NON_DEFAULT_CONTEXT bit is set, but the leng

Solaris Subagent Problem

2008-02-26 Thread Michael Musenbrock
Hi All! I'm working on Solaris 10 (SunOS 5.10) x86, with net-snmp 5.0.9 running, and try to write an snmp-subagent. I thought I should start with the delivered demos, but i'm not able to run demo_module_8, found under '/usr/demo/sma_snmp/demo_module_8' as expected. It seems,

subagent not working

2008-03-20 Thread Joan Landry
I have spent the last two days trying to get the NET-SNMP-TUTORIAL-MIB.txt subagent tutorial to work. I have followed all the instructions. When I run ./example_demo& I get the following errors and I am not able to do a get on the object in the mib. netsnmp_assert !"registration !=

monitoring subagent states

2008-11-05 Thread Sam Vazdekis
I'm running a system with a master agentx and multiple subagents. I need to send a notification when a subagent goes down, crashes for example. How can the master agent monitor the state of subagents. does it keep track of ping requests?. Is there anything in net-snmp that supports this oper

Attached Subagent files

2012-06-14 Thread Magda Stefan
Here is all the files that I wrote. isubag.tar.gz Description: GNU Zip compressed data -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed a

subagent implementation questions

2013-11-13 Thread Michael Shcwarcz
Hello, I'm implementing Net-SNMP subagents under one master agent (snmpd). We only support get/getnext/getbulk requests. I have a question regarding the agent_check_and_process() function which is called in the main loop of the subagent: 1. Is it necessary to

accessing subagent requests

2016-02-08 Thread Mike Smith
Hi, I'm trying to build a "Bridge" to connect my data model to a net-snmp subagent. The MIB defines some tables, each identified by several columns with from 1 to 3 indices, depending on specific table. I have an interface API into my data storage (external) which can quickly p

Location of subagent

2006-01-10 Thread Sridhar Addagada
Hello guys, I wrote my subagent based on the example at the net-snmp site. But I want to know which is the best location that i sould have the subagent. Should it be under agent/mibgroup or should i have a different dir at the same level as agent. Thanks, Sridhar

Re: subagent only?

2006-02-09 Thread Dave Shield
snmp library to build a subagent That much is definitely possible. > and bind to > the existing master agent?? You would need to check the documentation for the AIX agent. We don't have access to AIX kit, so don't know how extensible the AIX

Re: Subagent info

2006-05-30 Thread Brendan Simon
determine the destination subagent by processing each OID. Correct? Thanks for any help clarifying subagents :) Cheers, Brendan. --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest

Re: Subagent info

2006-05-31 Thread Thomas Anders
Brendan Simon wrote: I wish to know if agentx and/or smux portable across operating systems and architectures? eg. If I have one host system with an Intel processor running Vxworks with snmp research stack, can it easily talk agentx or smux to a slave system with a PowerPC processor running Lin

Re: snmp subagent

2006-06-06 Thread Thomas Anders
Xianan s Zhang wrote: > I know that net-snmp supports AgentX defined in RFC 2741. But does > anybody know whether net-snmp also supports the older agent/subagent > standard DPI 2.0 which is defined in RFC 1592? Use AgentX. Anything else is either not implemented (DPI 2.0) or depreca

Subagent as master

2006-12-13 Thread Srivastava, Namburi (IE10)
Hi, Is it possible to configure the subagent as master agent? Can it be done in the following way? I tried doing that by changing the agent_subagent = 0 in the sub-agent main function. Also, while I run my subagent with the snmpd.conf file, it gave me the following error %mysubagent

agentx subagent support

2007-02-23 Thread maddy
Hi, I tried to implement the agentx subagent support example but I am getting a few errors. After building the example demon using the makefile and starting the master agent, When I change the root to ./example-demon & I get the error below Error: Failed to connect to the agentx master a

Reconnect subagent automatically

2018-10-21 Thread Rajaa, Mukuntha (Nokia - IN/Bangalore)
Hi, I am using subagent mainly for "traps". So I am not using "agent_check_and_process". From what I understand, "agent_check_and_process" polls on to the connection between snmpd and subagent for any incoming request. My subagent is not serving any request

Subagent snmp set problem

2004-06-14 Thread Glenn MacGregor
Hi All, Very sorry about all the questions regarding subagents. I am now trying to get my subagent to process set requests. I use a delegated method for gets and need to do the same for sets. So in my handler I just set delegated to 1 and put the request on a queue. From there I return to my

Error while running subAgent

2004-06-30 Thread asawari.teredesai
Title: Error while running subAgent Hi all  I'm getting following error while running subAgent file while working on net-SNMP 5.1.  I'm running subAgent as follows:  ./subAgent Error message--- "./subAgent: relocation error: ./subAgent: undefined symbol: netsnmp

Segmentation Fault in Subagent

2004-07-29 Thread Reitberger, Susan
Title: Segmentation Fault in Subagent I am running the main agent and a subagent which communicate via the agentx protocol. When I try to set a read-only variable that the subagent is responsible for, the nonWritable error comes back to the command line but the subagent has a segmentation

Subagent crashing(Core dump)

2004-08-12 Thread Sasikumar Bodathula
Hi, My subagent(Trap & notification) is crashing with core dump.This happens when a large number of alarms(600/sec) is pumped to the subagent. Net-snmp version : net-snmp-5.1.1-1. --- SF.Net email is sponsored by Shop4tech.com-Lowest p

RE: subagent giving error

2004-09-06 Thread Kurapati M-G19456
Title: Message Check for the following:   1.  Is the master agent listening to port number 705? netstat -apn|grep 705   2.  Is your subagent configured with the Master Agent's IP address?   3.  export SNMPCONFPATH to the directory where the SubAgent's con

Re: subagent giving error

2004-09-07 Thread Users
On Fri, 3 Sep 2004 17:52:39 -0600 Gururaja wrote: GR> I am new to net-snmp, and I am getting the following error, when I run the GR> subagent. GR> GR> "Error: Failed to connect to the agentx master agent: Unknown host (No such GR> file or directory)" Are you running the

RE: subagent giving error

2004-09-07 Thread Gururaja Rao
Thanks Robert. I forgot to run the subagent as the same user as the master agent (root), hence the problem. It's working now. Regarding the agentx director, it exists under /var/agentx instead of /var/net-snmp/agentx. Thanks, Guru -Original Message- From: Robert Story [mailto:[

Re: Subagent listening port

2004-09-17 Thread Users
On Wed, 15 Sep 2004 13:48:00 -0600 Isaac wrote: IEW> I have a subagent which I am trying to have listen to a different port IEW> than /var/agentx/master. In my snmpd.conf file I added the line IEW> AgentXSocket localhost:9995. As far as I can tell the snmpd program IEW> actuall

Re: Subagent listening port

2004-09-19 Thread Isaac E. Wagner
Thank you!!! - Original Message - From: "Robert Story (Users)" <[EMAIL PROTECTED]> To: "Isaac E. Wagner" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, September 17, 2004 1:00 PM Subject: Re: Subagent listening port > On Wed, 15 Sep

which form of subagent?

2004-09-30 Thread Tina Agarwal
Hi All,   Please tell me should I make my subagent as a demon or make just an executable(using net-snmp-config utility). Which one is more reliable and why?   Regards! Tina

Subagent -> agent communication port

2005-01-31 Thread Struminski, Przemek
Hi, What is the default port number master agent is listening for subagent's registation. Can/How this port be modyfied from the configuration files? Thanks, Przemek Struminski --- This SF.Net email is sponsored by: IntelliVIEW -- Interactiv

conf file for subagent

2005-03-17 Thread Vijay Krishna
Title: conf file for subagent I am using the sub agent program from tutorial toolkit(example-demon). How do I pass a configuration file to this sample program???(like example-demon.conf) Any suggestions are welcome. Thanks vijay - - - - - - - Appended by Scientific-Atlanta, Inc

Re: agent , subagent query

2005-03-18 Thread Robert Story
On Thu, 17 Mar 2005 02:34:47 -0500 Vijay wrote: VK> Can we have an agent running on one machine, and sub agent running on a VK> different machine and both communicating via agentx. Yes, but it is unsecure. -- Robert Story; NET-SNMP Junkie Support: Archive:

Subagent failure on GETBULK

2005-06-06 Thread Mark Hansen
(.1.3.6.1.4.1.14010.1.3.2.1) the master SNMP agent and subagent handles this case as expected. snmpbulkget -v2c -c public linux4 .1.3.6.1.4.1.14010.1.3.2.1, which prints: SNMPv2-SMI::enterprises.14010.1.3.2.1.0 = INTEGER: 2 SNMPv2-SMI::enterprises.14010.1.3.2.2.0 = INTEGER: 0 SNMPv2-SMI::enterpris

AgentX Subagent under Win32

2005-09-05 Thread Stefano Pagani
Hi,   I'm trying to run an AgentX subagent under Windows. The SNMP Agent is running with the AgentXSocket localhost:705.   I set the same Socket in my Subagent, with   netsnmp_ds_set_string, but it doesn't work. I became following error: Error: Failed to connect to the agentx mas

Re: FW: Subagent OID

2009-03-10 Thread Dave Shield
2009/3/10 Samer Vazdekis : > Would adding a new interface to specifically set the open-pdu subagent OID > be a good idea?. It will overwrite the oid given to snmp_add_var() in > agentx_open_session(), in ./agent/mibgroup/agentx/client.c That doesn't feel necessary. Just use th

generating subagent for tables

2009-03-23 Thread Vinod Nanjaiah
Hi, I have written a MIB file for tables based on the sample given in NET-SNMP-EXAMPLES-MIB.txt. My subagent will interact with external data source (Database) for get/set operations. Which is the best Config file to use in this case (mib2c.mfd.conf, mib2c.iterate.conf, etc)? Using mfd

subagent and EndOfSubtree event

2009-05-20 Thread Sergey Matveychuk
Hi! What is a correct way to say we're reached End Of Subtree by subagent for GETNEXT request? Most natural way I see - to return error. But it does not look good by snmpwalk: NET-SNMP-MIB::netSnmp.2.1.2.0.5.98 = INTEGER: 0 NET-SNMP-MIB::netSnmp.2.1.2.0.5.99 = INTEGER: 0 NET-SNMP-MIB::ne

how to compile subagent

2009-05-25 Thread 项克林
hi ,everyone! int the tutrial on the www.net-snmp.org. it only give how to compile subagent by makefile,.Howerver,,i wonder how set option such as include directory and lib diectory in eclipse. And who can explain the makefile.espically what about net-snmp-config .How to deal with net-snmp-config

Re: problem in subagent

2009-08-20 Thread Wes Hardaker
>>>>> On Wed, 19 Aug 2009 15:14:27 +0530, Darshan Ghumare >>>>> said: DG> I have created subagent using DG> $*net-snmp-config --compile-subagent mysubagent nstAgentSubagentObject.c* DG> $./mysubagent DG> mysubagent: symbol lookup error: /usr/lib/l

subagent dynamic table data

2010-01-20 Thread Ashish vashishtha
Hi Dave and All, i am implementing sub agent in my existing application p1using agentx. i have to support only get and get next not set(it should be read only from outside). my problem is that table rows can be modified at any instant it can not be static ones and always available. like i have

Subagent example application problem

2010-04-28 Thread Nadia Bibbs
Hi, I am new to net-snmp and I am trying to run the example application that is given on the website but the master doesn't seem to forward the get request onto the subagent. Well, I believe that is how it should work. snmpd output: Turning on AgentX master support. td

Cant load subagent anyway

2010-08-17 Thread Nedimar Turatti
Hi, I cant get subagents to work on 5.4.2.1, on Ubuntu 10.04. snmpd.conf has: pass .1.3.6.1.4.1.2021.255 /bin/sh /usr/local/passtest Log shows: Aug 16 19:03:54 nedimar-laptop snmpd[24692]: /etc/snmp/snmpd.conf:39 examining: pass .1.3.6.1.4.1.2021.255 /bin/sh /usr/local/passtest Aug 16 19:03

Provifing ipAddrTable through subagent

2010-08-20 Thread Deepali Singalkar
Thanks for the solution for providing ifTable through subagent. I could override the ifTable of master agent successfullly by ifTable of subagent by using option -I -ifTable. But same is not working for ipAddrTable, with option -I -ipAddrTable Is this because ipAddrTable is depricated

net-snmp subagent compatibility

2007-04-02 Thread Sukwoo Kang
Hello all, I would like to know if there is any way to build my (custom) subagent binary which works well on different operating systems (e.g., Redhat EL4, EL5, Suse9, 10), each of which has different net-snmp versions and configuration options. There is a problem when I build my subagent on

Agent & Subagent connection status

2008-02-17 Thread girish
Hi all,   I'm using agent-subagent approach. I want to know how we can get information that master and subagents have been connected. Also whenever master goes down i want to inform the same to my subagent.  How I get this information..??? Any api for the same? Here i

Re: Agentx subagent registering

2008-02-25 Thread Dave Shield
On 25/02/2008, oknets10 <[EMAIL PROTECTED]> wrote: > I'm trying to run an agentx master & subagent using the original snmpd. > > Opening the session has succeeded, but all the registration is failed with > error 263 (duplicate). If you're using the same binary f

Re: Solaris Subagent Problem

2008-02-26 Thread Dave Shield
t; It seems, that the subagent is registered, according to the snmp-logfile [1], > but i can't do an snmpget request > Maybe somebody can give me a hint what todo or had a similar problem. There's a checklist of possible problems in the FAQ entry I've added my code to this

Re: Agentx subagent registering

2008-02-27 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 26/02

Re: Agentx subagent registering

2008-02-27 Thread oknets10
Hello Dave, Thanks again for your help. I have changed the registering of system in system_mib.c as follow: from: REGISTER_MIB("mibII/system", system_variables, variable1, system_variables_oid); to: register_mib_context( "mibII/system", (struct variable *)syste

Re: Agentx subagent registering

2008-02-27 Thread Dave Shield
On 27/02/2008, oknets10 <[EMAIL PROTECTED]> wrote: > I have changed the registering of system in system_mib.c as follow: [snip] Looks OK at first glance. > I have try first to check it in the master agent, and I got the following > response: > > SNMPv2-MIB::sysDescr.0 = No Such Object avail

Re: Agentx subagent registering

2008-02-27 Thread oknets10
Isn't the fact that I'm getting a response from the agent, is indicating that I have the required mapping ? Anyway, following is the relevant mapping from my snmpd.conf: rocommunity mas-public rwcommunity mas-privae rocommunity sub-public rwcommunity sub-privae com2sec mas-Sec-Ro default mas-publ

Re: Agentx subagent registering

2008-02-27 Thread Dave Shield
On 27/02/2008, oknets10 <[EMAIL PROTECTED]> wrote: > The command was: > snmpget -v 2c -c sub-public 192.168.1.1 sysDescr.0 And have you got anything configured to map the community "sub-public" into the context "sub1" ? Dave PS: Note that I'm now away for a long weekend, so you'll have t

Re: Agentx subagent registering

2008-02-27 Thread oknets10
Hello Dave, The command was: snmpget -v 2c -c sub-public 192.168.1.1 sysDescr.0 Omri On Wed, Feb 27, 2008 at 5:43 PM, Dave Shield <[EMAIL PROTECTED]> wrote: > On 27/02/2008, oknets10 <[EMAIL PROTECTED]> wrote: > > I have changed the registering of system in system_mib.c as follow: > > [snip]

Re: Agentx subagent registering

2008-02-28 Thread Dave Shield
On 27/02/2008, oknets10 <[EMAIL PROTECTED]> wrote: > Isn't the fact that I'm getting a response from the agent, is indicating > that I have the required mapping ? No. > Anyway, following is the relevant mapping from my snmpd.conf: [snip] > rocommunity mas-public > rwcommunity mas-privae > roc

  1   2   3   4   5   6   7   8   >