Re: Agent+Sub-Agent

2021-09-17 Thread Magnus Fromreide
On Wed, Sep 08, 2021 at 02:17:14PM -0400, Bill Fenner wrote: > On Fri, Sep 3, 2021 at 3:43 AM Feroz wrote: > > > My question is, is there a way to block an agent from responding to > > queries ( by timeout), till time the sub-agent connects to the agent. > > > > No, the master agent always live

Re: Agent+Sub-Agent

2021-09-17 Thread Feroz
how about to have a flag, that will be set to TRUE in handle_master_agentx_packet() and check the flag in handle_snmp_packet() *master_admin.c* case AGENTX_MSG_PING: asp->status = agentx_ping_response(session, pdu); +subagent_connected = TRUE; break; *snmp_agent.c*

Re: Agent+Sub-Agent

2021-09-12 Thread Feroz
For my testing I added "proxy -v2c -c public udp:127.0.0.1:9 .1.3" in snmpd.conf file.. Unfortunately I still get "No Such Instance currently exists at this OID", for some time, whenever I restart the sub-agent. On Wed, Sep 8, 2021 at 11:47 PM Bill Fenner wrote: > On Fri, Sep 3, 2021 at 3:43 AM

Re: Agent+Sub-Agent

2021-09-10 Thread Feroz
Hi Bill, I have only one sub-agent running on the same box. Let me test by adding the proxy configuration in snmpd.conf that you shared. i.e: "proxy udp:127.0.0.1:9 .1.3" Thanks a lot for your response. -Feroz On Wed, 8 Sep, 2021, 11:47 pm Bill Fenner, wrote: > On Fri, Sep 3, 2021 at 3:43 AM

Re: Agent+Sub-Agent

2021-09-08 Thread Bill Fenner
On Fri, Sep 3, 2021 at 3:43 AM Feroz wrote: > My question is, is there a way to block an agent from responding to > queries ( by timeout), till time the sub-agent connects to the agent. > No, the master agent always lives under the impression that it knows everything. You may be able to fake i

Re: Agent not responding to standard MIB browser (i reasoning)

2017-12-20 Thread Robert Story
On Tue 2017-12-19 09:54:57+0530 Deepak wrote: > I am able to get/set parameters of my agent from my Ubuntu based > client PC through command line - > > [snip] > > Now I have loaded MIB into i reasoning MIB browser. From them i am > unable to fetch agent`s parameters. Then this is really a que

Re: Agent X callbacks and proxys

2012-01-26 Thread Robert Story
On Fri, 20 Jan 2012 21:15:02 + Alexandre wrote: AJ> 1. Is it possible, using net-snmps agentX implementation, to be both AJ> a sub-agent and master agent? That's an interesting question. I'm guessing it wouldn't work currently, but probably wouldn't be too hard to do... AJ> 2. Is

Re: Agent worked for a while, then stopped responding.

2011-10-03 Thread ESWAR RAO
Hi Wes, Thanks for the help. After attaching the strace I could see both snmpd and sub-agent got hung at a point when sub-agent was sending a trap. There were no snmpget/walk requests when this situation occurred. snmpd // strace -p 7886 Process 7886 attached - interrupt to quit sen

Re: Agent worked for a while, then stopped responding.

2011-09-14 Thread Wes Hardaker
> On Mon, 12 Sep 2011 18:35:13 +0530, ESWAR RAO said: ER> Please let me know how to proceed in debugging this issue in ER> net-snmp? This page may help you get started with a debugger: http://www.net-snmp.org/wiki/index.php/Debugger For gdb, you'll want to run 'gdb -p PID' where PID is t

Re: Agent Reporting usmStatsNotInTimeWindows

2011-08-04 Thread Doug Manley
SM> How many devices are monitored? Thousands. SM> Generally this kind of behavior observed in our network monitoring tool, SM> because of devices are having same engine ID. We know with 100% certainty that there are no *current* devices with the same engine ID. I am not asking for how to troub

RE: Agent Reporting usmStatsNotInTimeWindows

2011-08-04 Thread Mygapula, Sudheer IN BLR SISL
Hello, How many devices are monitored? Generally this kind of behavior observed in our network monitoring tool, because of devices are having same engine ID. Please check once whether two devices in network are having same engine ID? Thanks, Sudheer. From: naj

Re: Agent Reporting usmStatsNotInTimeWindows

2011-08-03 Thread Robert Story
On Thu, 28 Jul 2011 15:30:03 -0400 Doug wrote: DM> WH> The SNMPv3 specifications say that a running manager should allow its DM> WH> notion of an agents clock values to go forward, but not backward.  Thus, DM> WH> we're doing what we're supposed to do: we won't accept *older* values DM> WH> than wh

Re: Agent Reporting usmStatsNotInTimeWindows

2011-07-28 Thread Doug Manley
WH> The SNMPv3 specifications say that a running manager should allow its WH> notion of an agents clock values to go forward, but not backward.  Thus, WH> we're doing what we're supposed to do: we won't accept *older* values WH> than what we have cached (but would accept newer values).  So, we're W

Re: Agent Reporting usmStatsNotInTimeWindows

2011-06-23 Thread Wes Hardaker
> On Thu, 23 Jun 2011 05:26:04 -0400, said: > We are using net-snmp5.2.6 library to communicate with switches SNMP agent. 5.2.6 is rather old at this point, you might consider upgrading to a newer release. > Our manager was working fine for some time without any issues. after > some days t

Re: agent/object_monitor.c

2011-05-12 Thread Robert Story
On Tue, 26 Apr 2011 09:31:23 -0700 Wes wrote: WH> MF> What is the purpose of agent/object_monitor.c? WH> WH> My recollection was that it was the start of a process for monitoring WH> variables... Maybe it never got used or finished. Looking at the code, it looks like it was created as a way for

Re: agent/object_monitor.c

2011-04-26 Thread Wes Hardaker
> On Fri, 22 Apr 2011 11:34:16 +0200, Magnus Fromreide > said: MF> What is the purpose of agent/object_monitor.c? My recollection was that it was the start of a process for monitoring variables... Maybe it never got used or finished. Robert? -- Wes Hardaker Please mail all replies t

Re: Agent Shutdown problem

2009-06-16 Thread Robert Story
On Wed, 06 May 2009 18:09:25 +0530 sanjaykumar wrote: S> Basically when application reboot then it facing problem in "init_mib_modules()" S> and it crash. S> Backtrace show that most of crash come after "netsnmp_container_get_ct" S> I run the valgrind and getting most of the same problem S> Could

Re: Agent got stopped automatically

2009-06-15 Thread Robert Story
On Thu, 4 Jun 2009 12:12:03 + hareesh wrote: H> Sorry. Mistakenly I have sent the wrong file. I am sending the actual file. H> Please have a look Those are all non-fatal errors... Are you getting a core file? Have you tried running with debug enabled? -

Re: Agent got stopped automatically

2009-06-04 Thread hareesh
Sorry. Mistakenly I have sent the wrong file. I am sending the actual file. Please have a look On Thu, Jun 4, 2009 at 12:01 PM, Dave Shield wrote: > 2009/6/4 hareesh : > > Now I am facing a new problem . I have installed the Net-SNMP 5.4.1.2 > agent. > > Not according to the log you posted. > Th

Re: Agent got stopped automatically

2009-06-04 Thread Dave Shield
2009/6/4 hareesh : > Now I am facing a new problem . I have installed the Net-SNMP 5.4.1.2 agent. Not according to the log you posted. This is running the (obsolete) version 5.1.2 Dave -- OpenSolaris 2009.06 is a cutting

Re: Agent development

2008-07-24 Thread Dave Shield
2008/7/22 deka aditia <[EMAIL PROTECTED]>: > ... I didn't find any configuration file named mib2c.scalar_group.conf > where should i find this ?? My apologies - it seems that there isn't a mib2c template for this. You're probably best off using mib2c.scalar.conf to generate the initial code file,

Re: Agent development

2008-07-21 Thread deka aditia
I'm sorry i didn't find any configuration file named mib2c.scalar_group.conf ... where should i find this ?? (i allready build my agent, thanx for your help dave) On Mon, Jul 7, 2008 at 6:18 PM, Dave Shield <[EMAIL PROTECTED]> wrote: > 2008/7/7 deka aditia <[EMAIL PROTECTED]>: > > if it is, then

Re: Agent development

2008-07-12 Thread Magnus Fromreide
On Tue, Jul 08, 2008 at 11:47:09AM +0700, deka aditia wrote: > On 7/7/08, Dave Shield <[EMAIL PROTECTED]> wrote: > > > > 2008/7/7 deka aditia <[EMAIL PROTECTED]>: > > > > > if it is, then what should i do when i have some scallar object (up to 1) > > > > > > should i make an exutable for each of th

Re: Agent development

2008-07-07 Thread deka aditia
On 7/7/08, Dave Shield <[EMAIL PROTECTED]> wrote: > > 2008/7/7 deka aditia <[EMAIL PROTECTED]>: > > > if it is, then what should i do when i have some scallar object (up to 1) > > > > should i make an exutable for each of them and link to main agent ?? > > > See http://www.net-snmp.org/wiki/index

Re: Agent development

2008-07-07 Thread Dave Shield
2008/7/7 deka aditia <[EMAIL PROTECTED]>: > if it is, then what should i do when i have some scallar object (up to 1) > > should i make an exutable for each of them and link to main agent ?? See http://www.net-snmp.org/wiki/index.php/FAQ:Coding_11 > is there any way that more comfortable which

Re: Agent development

2008-07-07 Thread deka aditia
This is the valid link > > > - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source

Re: Agent development

2008-07-07 Thread deka aditia
{ I'm sorry, i've made this mistake again } On 7/7/08, Dave Shield <[EMAIL PROTECTED]> wrote: > > 2008/7/7 deka aditia <[EMAIL PROTECTED]>: > > > Anyone know how to write mib module for a scalar object ? > > just by using mib2c -c mib2c.scalar.conf $name just producing 2 file .. > > (object.c an

Re: Agent development

2008-07-07 Thread Dave Shield
2008/7/7 deka aditia <[EMAIL PROTECTED]>: > Anyone know how to write mib module for a scalar object ? > just by using mib2c -c mib2c.scalar.conf $name just producing 2 file .. > (object.c and object.h) That's a good start, yes. > i dont know what should i do ..., it's completely different when

Re: Agent development

2008-07-07 Thread deka aditia
On 7/2/08, Dave Shield <[EMAIL PROTECTED]> wrote: > > 2008/7/2 deka aditia <[EMAIL PROTECTED]>: >> I would suggest that you concentrate on developing a MIB > >> module for your particular needs, and use this within the > >> existing Net-SNMP agent framework. > > > > Now i got what you want, > >

Re: Agent development

2008-07-02 Thread Dave Shield
2008/7/2 deka aditia <[EMAIL PROTECTED]>: >> I would suggest that you concentrate on developing a MIB >> module for your particular needs, and use this within the >> existing Net-SNMP agent framework. > Now i got what you want, > you suggest me to develop a sub agent in existing agent, right ? Th

Re: Agent development

2008-07-01 Thread deka aditia
On Tue, Jul 1, 2008 at 6:28 PM, Dave Shield <[EMAIL PROTECTED]> wrote: >[ 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 lis

Re: Agent development

2008-07-01 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. ] 2008/6

Re: Agent development

2008-06-30 Thread Dave Shield
2008/6/30 deka aditia <[EMAIL PROTECTED]>: > currently i'm developing an application that will listen to SNMP Port, > when there is snmp packet incoming then my application will translate > the request and send it back to user . That sounds suspiciously like an "SNMP agent". We provide exactly suc

Re: Agent Extension

2007-11-29 Thread kujtim . hyseni
Hi, attaching to arbitrary port works fine. The problem requires implementing snmp_add_full with respective routines, which doesn't work. Here is the code (for transport) ptp_tr = netsnmp_transport_open_server("agentx", "ptpext"); ... (for session) main_session = snmp_add_full(&def_sess, ptp_tr,

Re: Agent Extension

2007-11-29 Thread Dave Shield
On 28/11/2007, <[EMAIL PROTECTED]> wrote: > main_session = snmp_add_full(&def_sess, ptp_tr, NULL, ptpagentx_parse, >NULL, NULL, NULL, ptpagentx_checkpacket, NULL); The seventh parameter is the routine called to encode the request into a data packet - ready for sending out over the network. If

Re: Agent Extension

2007-11-14 Thread Dave Shield
On 13/11/2007 <[EMAIL PROTECTED]> wrote: > And how is the procedure of integrating this to the agent. Just by calling > the mentioned routines or should provide the adding by ./configure before > installation too. Fundamentally, all you need to do is add the relevant code files to the build proces

Re: Agent Extension

2007-11-13 Thread kujtim . hyseni
And how is the procedure of integrating this to the agent. Just by calling the mentioned routines or should provide the adding by ./configure before installation too. Please explain the steps as follow. Kujtim > On 26/10/2007, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: >> there was nothing h

Re: agent extension problem

2007-11-06 Thread Dave Shield
On 02/11/2007, wqs <[EMAIL PROTECTED]> wrote: > I've written a MIB and used mib2c to generate the c template. > After modify,configure,make,make install,I ran the command: >"snmpwalk -m ALL -c public -v2c localhost sysConfigMib" , > and gotSYS-CONFIG-MIB::sysConfigMib = > No more varia

Re: Agent Extension

2007-10-29 Thread Dave Shield
On 26/10/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > there was nothing helpful in snmplib/fd_event_manager.c > Since the routines are original and there is no example, please send the > simplest example, where it implements register_{read,write}fd(). > I must implement sending the (new pro

Re: Agent Extension

2007-10-29 Thread kujtim . hyseni
Hi Dave, there was nothing helpful in snmplib/fd_event_manager.c Since the routines are original and there is no example, please send the simplest example, where it implements register_{read,write}fd(). I must implement sending the (new protocol!) messages via agent. Waiting for answer! Kujtim

Re: Agent Extension

2007-10-03 Thread kujtim . hyseni
Hi again and thanks for answering. > Alternatively, if your protocol doesn't match SNMP sufficiently > to fit into the netsnmp_pdu structure, then you can use the ... the protocol is totally different from SNMP - PTP (Precision Time Protocol) defined by IEEE-1588 standard. It's data management sid

Re: Agent Extension

2007-09-25 Thread Dave Shield
On 24/09/2007, <[EMAIL PROTECTED]> wrote: > Hi, > > how to extent the agent to support new user defined protocol, other than > 1, 2c and 3. There are two possibilities. If the new protocol is similar to SNMP, then you need to: - provide a routine to take an incoming request, and parse

Re: Agent exits when walking custom MIB more than once

2006-08-23 Thread Dave Shield
On 23/08/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I've implemented code to integrate a custom MIB with the > SNMP agent, and everything in general works fine. > However, attempting to do > a snmpwalk a second time invariably causes the agent to > crash. You need to determin

Re: Agent for FreeBSD supporting compaq branch

2006-08-18 Thread Wes Hardaker
> "t" == timon <[EMAIL PROTECTED]> writes: t> I would like to monitor the hardware performance of the ProLiant t> Server DL380, but the compaq OID is not included by default in the t> configuration of the NEt-SNMP agent.I think that the agent could be t> extended to show that information .Doe

Re: Agent

2006-02-01 Thread Wes Hardaker
> On Tue, 31 Jan 2006 16:08:54 +0200, Michael G <[EMAIL PROTECTED]> said: Michael> I am using the iterator helper. Michael> Can the application set some info (private to application) in the Michael> initialize_table_xxx() function, that will be available for the Michael> xxx_get_next_data_poin

Re: Agent Extensibility

2005-10-25 Thread Robert Story
On Tue, 25 Oct 2005 14:49:05 -0300 Jordan wrote: JJLDS> > I suggest you build a version with debug enabled, for testing. JJLDS> JJLDS> Do I have to put a directive in Makefile or I compile with configure JJLDS> shown by the site? No, the default configure parameters should leave debugging enabl

Re: Agent Extensibility

2005-10-25 Thread Jordan Janeiro Lopes da Silva
> On Mon, 24 Oct 2005 16:56:59 -0300 Jordan wrote: > JJLDS> > snmpd -f -Lo -Dagentx > JJLDS> > JJLDS> This commando doesn't shows me any message of debug > in the JJLDS> console that runs the daemon. > > Sounds like your libraries are compile without debug, which is going > to mak

Re: Agent Extensibility

2005-10-25 Thread Robert Story
On Mon, 24 Oct 2005 16:56:59 -0300 Jordan wrote: JJLDS> >snmpd -f -Lo -Dagentx JJLDS> JJLDS> This commando doesn't shows me any message of debug in the JJLDS> console that runs the daemon. Sounds like your libraries are compile without debug, which is going to make it difficult t

Re: Agent Extensibility

2005-10-24 Thread Jordan Janeiro Lopes da Silva
> JJLDS> in the file. Then I've added the line > JJLDS> netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID, >JJLDS> NETSNMP_DS_AGENT_X_SOCKET, "localhost:16100"); > > Ok, first of all, stop the agent and run it in the foreground in > debug mode: > > snmpd -f -Lo -Dag

Re: Agent Extensibility

2005-10-24 Thread Robert Story
On Fri, 21 Oct 2005 17:13:40 -0300 Jordan wrote: JJLDS> in the file. Then I've added the line JJLDS> netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID, JJLDS> NETSNMP_DS_AGENT_X_SOCKET, "localhost:16100"); Ok, first of all, stop the agent and run it in the foreground in debu

Re: Agent Extensibility

2005-10-24 Thread Jordan Janeiro Lopes da Silva
, 21 Oct 2005 20:34:01 -0400 Subject: Re: Agent Extensibility > On Fri, 21 Oct 2005 17:13:40 -0300 Jordan wrote: > JJLDS> Robert, I've executed both agents with root permission and > they write JJLDS> in the file. Then I've added the line JJLDS>

Re: Agent Extensibility

2005-10-24 Thread Dave Shield
On Fri, 2005-10-21 at 17:13 -0300, Jordan Janeiro Lopes da Silva wrote: > Robert, I've executed both agents with root permission and they write in the > file. Then I've added the line > netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID, > NETSNMP_DS_AGENT_X_SOCKET, "localhost

Re: Agent Extensibility

2005-10-21 Thread Robert Story
On Fri, 21 Oct 2005 17:13:40 -0300 Jordan wrote: JJLDS> Robert, I've executed both agents with root permission and they write JJLDS> in the file. Then I've added the line JJLDS> netsnmp_ds_set_string(NETSNMP_DS_APPLICATION_ID, JJLDS> NETSNMP_DS_AGENT_X_SOCKET, "localhost:16

Re: Agent Extensibility

2005-10-21 Thread Jordan Janeiro Lopes da Silva
ot; <[EMAIL PROTECTED]> Sent: Fri, 30 Sep 2005 20:19:03 -0400 Subject: Re: Agent Extensibility > On Mon, 26 Sep 2005 15:14:16 -0700 Wes wrote: > > WH> >>>>> On Thu, 15 Sep 2005 15:53:09 -0300, "Jordan Janeiro Lopes > da Silva" WH> WH> Jordan>

Re: Agent with multiple tables

2005-10-02 Thread Robert Story
On Tue, 27 Sep 2005 12:35:02 -0300 Jordan wrote: JJLDS> Each module has the apropriate initialize function. I don´t know what´s JJLDS> going on. I´m sorry but I realized that when the tables are filled, JJLDS> they return the correct result, but when the table is empty and I use JJLDS> snmptable or

Re: Agent Extensibility

2005-10-02 Thread Robert Story
On Mon, 26 Sep 2005 15:14:16 -0700 Wes wrote: WH> > On Thu, 15 Sep 2005 15:53:09 -0300, "Jordan Janeiro Lopes da Silva" WH> WH> Jordan> Then I tried to execute the WH> Jordan> sub-agent and then I´ve found some errors like: "Failed to WH> Jordan> connect to the agentx master agent: Unknown ho

Re: agent hangs sending notifications

2005-10-02 Thread Robert Story
On Fri, 16 Sep 2005 15:38:37 -0400 [EMAIL PROTECTED] wrote: DRC> In testing agentx sub-agent notifications I have run into problems. I DRC> have a subagent with an alarm callback which wakes every 2 seconds to DRC> send a notification. DRC> DRC> I consistently see the agent hang within a few hour

Fw: Re: Agent with multiple tables

2005-09-27 Thread Jordan Janeiro Lopes da Silva
Sorry sending the message just for you Wes, I´ve forgot to fill the other adress. []´s -- Forwarded Message --- From: "Jordan Janeiro Lopes da Silva" <[EMAIL PROTECTED]> To: Wes Hardaker <[EMAIL PROTECTED]> Sent: Tue, 27 Sep 2005 11:29:56 -0300 Subject: R

Re: Agent Extensibility

2005-09-26 Thread Wes Hardaker
> On Thu, 15 Sep 2005 15:53:09 -0300, "Jordan Janeiro Lopes da Silva" > <[EMAIL PROTECTED]> said: Jordan> I´m new in coding master agent. I´m trying to develop a master Jordan> agent (a table) and a sub-agent(another table). I´ve created Jordan> the snmpd.conf with master agentx. Then I e

Re: Agent with multiple tables

2005-09-26 Thread Wes Hardaker
> On Mon, 26 Sep 2005 18:19:33 -0300, "Jordan Janeiro Lopes da Silva" > <[EMAIL PROTECTED]> said: Jordan> I´m having problems with my agent that implements two tables Jordan> (a control table and a result table). But the agents just Jordan> answer my queries for one table, when I query th

Re: agent hangs sending notifications

2005-09-19 Thread Wes Hardaker
drtyler> I consistently see the agent hang within a few hours. In the drtyler> agent trace I see what I believe is a ping from the subagent. drtyler> I believe it is a ping because 1) it is time for the periodic drtyler> subagent to agent ping, and 2) byte count received = 20. BTW, you may try t

Re: Agent MIBs:Notification Filtering

2005-05-13 Thread Robert Story
On Fri, 13 May 2005 03:50:00 -0700 (PDT) Ajit wrote: AB> This seems pending. We've table implementation for AB> NOTIFICATION mib. But filtering doesn't happen. AB> AB> We've added to the implementation to filter the traps AB> based on entries in the snmpNotifyFilterTable. Thus AB> the TARGET/NOTIF

Re: Agent Extension

2005-04-08 Thread John Pfaff
Dave Shield actually answered this another thread (agent example puzzle) and it turned out to be access control.On Apr 8, 2005 12:08 PM, Robert Story <[EMAIL PROTECTED]> wrote:On Mon, 4 Apr 2005 12:52:30 -0400 John wrote:JP> snmpget -c public -v 1 localhost nstAgentModuleObject.0JP> Error in packet

Re: Agent Extension

2005-04-08 Thread Robert Story
On Mon, 4 Apr 2005 12:52:30 -0400 John wrote: JP> snmpget -c public -v 1 localhost nstAgentModuleObject.0 JP> Error in packet JP> Reason: (noSuchName) There is no such variable name in this MIB. JP> Failed object: NET-SNMP-TUTORIAL-MIB::nstAgentModuleObject.0 Did you configure the nstAgentModuleOb

Re: Agent Extension

2005-04-04 Thread John Pfaff
quot; will > > help you with command related stuff. > > > > Bernhard > > > > > -Original Message- > > > From: John Pfaff [mailto:[EMAIL PROTECTED] > > > Sent: Montag, 04. April 2005 16:57 > > > To: [email protected]

Re: Agent Extension

2005-04-04 Thread John Pfaff
MIBS=ALL"? "man snmp.conf" and "man snmpcmd" will > help you with command related stuff. > > Bernhard > > > -Original Message- > > From: John Pfaff [mailto:[EMAIL PROTECTED] > > Sent: Montag, 04. April 2005 16:57 > > To: net-sn

Re: Agent Extension

2005-04-04 Thread Dave Shield
On Mon, 2005-04-04 at 02:08, John Pfaff wrote: > I generated my code with mib2c -c mib2c.int_watch.conf my-mib.txt. > I do ./configure --with-mib-modules="my-mib" I see .o files, so I > know it's getting compiled, but when I do snmpget all I get is > noSuchName. Have you tried working through th

RE: Agent Extension

2005-04-04 Thread Penz, Bernhard
Hi, Do you say "export MIBS=ALL"? "man snmp.conf" and "man snmpcmd" will help you with command related stuff. Bernhard > -Original Message- > From: John Pfaff [mailto:[EMAIL PROTECTED] > Sent: Montag, 04. April 2005 16:57 > To: net-snmp-coders@

Re: Agent Extension

2005-04-04 Thread John Pfaff
Also, I tried using the nstAgentModuleObject and can't get a response for it either. On Apr 4, 2005 10:21 AM, John Pfaff <[EMAIL PROTECTED]> wrote: > It's in /usr/share/snmp/mibs with all of the other mibs. I can do > snmptranslate and see it just fine. > > On Apr 4, 2005 1:16 AM, [EMAIL PROTECT

Re: Agent Extension

2005-04-04 Thread John Pfaff
It's in /usr/share/snmp/mibs with all of the other mibs. I can do snmptranslate and see it just fine. On Apr 4, 2005 1:16 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Have you included MIB file to the right place? try use OID number to see if > you can get the data. > > -res > > - Ori

Re: Agent Extension

2005-04-03 Thread res0d1zz
Have you included MIB file to the right place? try use OID number to see if you can get the data. -res - Original Message - From: "John Pfaff" <[EMAIL PROTECTED]> To: Sent: Sunday, April 03, 2005 6:08 PM Subject: Agent Extension I'm sure there's probably a step I'm missing, but I can'

Re: Agent Code

2005-03-16 Thread Robert Story
On 7 Mar 2005 15:56:09 - Jude wrote: JAAP> First i configured using JAAP> JAAP> --with-mib-modules="examples/notification" JAAP> JAAP> so i get the notification trap being sent every 30 seconds. Now i JAAP> am trying to configure with JAAP> JAAP> --with-mib-modules=myProjFile JAAP> JAAP> T

Re: Re: Agent Code

2005-03-08 Thread Jude Amal Anand P
thanx for your help. Now i've got another problem. First i configured using --with-mib-modules="examples/notification" so i get the notification trap being sent every 30 seconds. Now i am trying to configure with --with-mib-modules=myProjFile This myProjFile also sends traps once the agent is Sta

Re: Agent Code

2005-02-25 Thread Robert Story
On 24 Feb 2005 09:31:50 - Jude wrote: JAAP> 1. How do i start it.? What is the command to start my Agent JAAP> alone. How do i stop the other agent processes. The procedure for stopping the agent varies by platform. For example, on some Linux systems it is 'service snmpd stop'. But on any sys

Re: agent not working

2005-02-15 Thread Robert Story
On Mon, 14 Feb 2005 09:33:03 -0800 (PST) Shivali wrote: SG> i tried working with these two files SG> nstAgentSubagentObject.c & the .h file as suggested in SG> the tutorial of home page but on compilation it gave SG> the error message : usr/lib/libnetsnmpagent.so: SG> undefined reference to `hosts

RE: agent not working

2005-02-14 Thread Gurusidhesh Hiremath
Check if you are giving -fPIC shared library flag in your Makefile -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shivali Gupta Sent: Monday, February 14, 2005 11:03 PM To: [email protected] Subject: agent not working i have snmp vers

Re: Agent access configuration

2005-02-11 Thread Wes Hardaker
> On Fri, 11 Feb 2005 16:10:18 +0100, "Vincenzo Cicerone" <[EMAIL > PROTECTED]> said: Vincenzo> I've my custom agent running on a remote machine with Vincenzo> windows xp embedded At the start of the agent i read this Vincenzo> message: Run the agent with -Dread_config to find out exactl

Re: agent monitor

2004-12-11 Thread Wes Hardaker
> On Thu, 25 Nov 2004 17:16:13 +0100, Sven Herzing <[EMAIL PROTECTED]> said: Sven> I'm trying to extend the agents monitor capabilities, so that Sven> I'll get a trap every time the monitor does perform a check. But Sven> now I'm a bit confused where those traps are sent(a bit cisco Sven> styl

Re: Agent X subagent traps not working

2004-10-20 Thread Users
On Tue, 12 Oct 2004 18:56:50 -0400 Andy wrote: AS> What about moving it up a level into snmp.conf, or if we are spwaning AS> more config files then maybe snmptools.conf. gack! blech! ptuii! No, no spawning of new config files. We already have to check for too many as is. AS> The applications s

Re: Agent X subagent traps not working

2004-10-12 Thread Andy Smith
Please forgive me but I am going to spam the -coders list too since it is a good place for this discussion. I have been thinking about implementing something similar in an app I am working on, but if the functionality can be had in the Net-SNMP package so much the better. don hammer wrote: Hi a

Re: Agent Extension: help

2004-09-14 Thread Coders
On 14 Sep 2004 13:00:41 +0530 Divakar wrote: DY> I'm working on QNX 4.25 and TCP/IP 5.0. DY> We use Watcom 10.6 compiler and we recently got the source code of snmp DY> from QSS. Then you will have to contact them for support. We only support Net-SNMP here. -- Robert Story; NET-SNMP Junkie

Re: agent extension MIB

2004-06-09 Thread Wes Hardaker
> On Wed, 09 Jun 2004 10:35:25 +0100, Dave Shield <[EMAIL PROTECTED]> said: Dave> On balance, I'd still prefer to change the behaviour immediately, Dave> but I can well understand the reasons to proceed more cautiously. Dave> Would you be happy with deprecating this in 5.2 and dropping it in 5

RE: agent extension MIB

2004-06-09 Thread Bruce Shaw
I'm still here. I'm just kinda stumped (and busy) at the moment. >Majority support? Hah! >There seems to be a general lack of interest in any aspect of the development of this package at the moment :-( >I'm going through another phase of wondering how long we'll be able to continue to keep it g

Re: agent extension MIB

2004-06-09 Thread Coders
On Wed, 09 Jun 2004 10:35:25 +0100 Dave wrote: DS> > My proposal: DS> > DS> > 1) new token for new mib ('extend'?) DS> > 2) document new token in man page. Mark old option as deprecated DS> > 3) optionally log warning at startup for old token DS> > 4) in a future release, drop old token su

Re: agent extension MIB

2004-06-09 Thread Dave Shield
Robert> I'd say there should be a configure option to choose the new/old Robert> style implementation. Dave> configure --with-mib-modules=ucd-snmp/extensible Robert> I assume that this would enable the old-style? Yup Robert> And the new style has a new name? Or is in a new directory?

Re: agent extension MIB

2004-06-08 Thread Coders
On Tue, 08 Jun 2004 09:58:23 +0100 Dave wrote: DS> It's clearly premature for us to stop shipping these files with DS> the source distribution. What I'm really suggesting is to DS> omit this module from the default configuration. DS> It would still be available, but you'd have to ask for it expl

Re: agent extension MIB

2004-06-08 Thread Dave Shield
DS> The reason I'm mentioning it here, is to float the idea of dropping DS> the 'ucd-snmp/extensible' module completely - as from v5.2 RS> Gack! I don't like the sound of that at all! OK - that was probably badly phrased (and badly thought through). It's clearly premature for us to stop shipping

Re: agent extension MIB

2004-06-07 Thread Coders
On Mon, 07 Jun 2004 17:00:09 +0100 Dave wrote: DS> The reason I'm mentioning it here, is to float the idea of dropping DS> the 'ucd-snmp/extensible' module completely - as from v5.2 Gack! I don't like the sound of that at all! DS> The advantage of doing so is that it avoids the need to have two D

Re: agent extension MIB

2004-06-07 Thread Dave Shield
Those of you who follow activity on the CVS main branch may have noticed that I've been working on a re-implementation of the old UCD-SNMP-MIB::extTable - taking the same basic idea but making it somewhat more flexible. Up to now, this has been a completely new MIB (NET-SNMP-EXTEND-MIB), but I've