RE: Are SNMP INFORMS availbe in the version of Net-SNMP we use ???

2006-12-14 Thread Kurapati M-G19456
I am talking about the traps processing at SNMPTRAP daemon. Can a TRAP daemon be configured to work only on a specific traps? Regards Mahesh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Thursday, December 14, 2006 9:31 PM To: Kurapa

Re: sending traps from embedded AgentX subagent

2006-12-14 Thread Dave Shield
On 14/12/06, David Arthur <[EMAIL PROTECTED]> wrote: > >OK - try running the master agent with the '-d' flag. > >Does it see the trap request coming from the subagent? > > This is what I get if I start with "snmpd -d -Dagentx -mall": Just to check - this is the master agent you are running here, y

Re:

2006-12-14 Thread Dave Shield
On 14/12/06, Crouching Tiger <[EMAIL PROTECTED]> wrote: > Considering both approaches: > several independent SNMP Agents, > and one Master Agent and several subagents; > > which one of them do you consider to be the best approach? What information are you wanting to monitor? Are you interested i

Re:

2006-12-14 Thread Kapil Sharma
In my opinion, the "best approach" depends upon your network size, complexity and requirements. The primary argument against master agent - slave agent is complexity. However, the master agent can perform functions like protocol translation that would not be possible in the traditional master-s

net-snmp-users@lists.sourceforge.net

2006-12-14 Thread Crouching Tiger
Hi there, Considering both approaches: several independent SNMP Agents, and one Master Agent and several subagents; which one of them do you consider to be the best approach? Many thanks. - Take Surveys. Earn Cash. Influe

RE: sending traps from embedded AgentX subagent

2006-12-14 Thread David Arthur
Dave, My apologies for the private email a bit ago, was unintentional reply button haste...won't happen again! >OK - try running the master agent with the '-d' flag. >Does it see the trap request coming from the subagent? This is what I get if I start with "snmpd -d -Dagentx -mall": No log hand

Re:

2006-12-14 Thread Dave Shield
On 14/12/06, Crouching Tiger <[EMAIL PROTECTED]> wrote: > Having several SNMP Agents running in the same machine, > how does one of these Agents know that this Agent is the > destination of a SET command received from the Master? Are you talking about several separate SNMP agents (which will typic

net-snmp-users@lists.sourceforge.net

2006-12-14 Thread Crouching Tiger
Hi there, Having several SNMP Agents running in the same machine, how does one of these Agents know that this Agent is the destination of a SET command received from the Master? I don't know much about this protocol as you may see. Thank's in advance.

Re: sending traps from embedded AgentX subagent

2006-12-14 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 14/1

Re: sending traps from embedded AgentX subagent

2006-12-14 Thread Dave Shield
On 14/12/06, David Arthur <[EMAIL PROTECTED]> wrote: > The send_easy_trap(5, 0) call is made after the init_xxx() calls and the > agent processing loop is started. In the code fragment you posted, the "send_easy_trap(5, 0)" call is only made after the agent processing loop has *finished*. At which

Re: DEBUGMSGTL question

2006-12-14 Thread Dave Shield
On 14/12/06, Hai Wang <[EMAIL PROTECTED]> wrote: > if I do not specify –disable-debugging while compiling net-snmp, > DEBUGMSGTL in my subagent do not log, DEBUGMSG et al will only log messages when the command-line option -D{token} is given (where {token} is the first parameter of the DEBUGMSG*

RE: sending traps from embedded AgentX subagent

2006-12-14 Thread David Arthur
Thanks for the response Dave, Very sorry...The EGP neighbor loss *IS* the cold start trap I mistakenly referred to that I want to get from the subagent. I used EGP trap so I could tell it apart from the master cold start trap easily. The send_easy_trap(5, 0) call is made after the init_xxx() calls

Re:

2006-12-14 Thread Dave Shield
On 14/12/06, Crouching Tiger <[EMAIL PROTECTED]> wrote: > How many SNMP Agent instances may be running in the same machine? No fixed limit > Which port(s) are used by SNMP Agent? Port 161 is the standard SNMP port. There may be some higher (non-fixed) ports used, depending on the trapsink etc co

DEBUGMSGTL question

2006-12-14 Thread Hai Wang
Hello, I have a question here, I am writing snmp subagent with net-snmp-5.3.1, I compiled net-snmp with -disable-debugging, but I found out DEBUGMSGTL in my subagent started to do the logging, if I do not specify -disable-debugging while compiling net-snmp, DEBUGMSGTL in my subagent do

net-snmp-users@lists.sourceforge.net

2006-12-14 Thread Crouching Tiger
Hi everyone, I have these simple questions: How many SNMP Agent instances may be running in the same machine? Which port(s) are used by SNMP Agent? Thank you all. Merry Christmas. - Take Surveys. Earn Cash. Influence the

Re: sending traps from embedded AgentX subagent

2006-12-14 Thread Dave Shield
On 14/12/06, David Arthur <[EMAIL PROTECTED]> wrote: > I am unable to get traps from an embedded subagent. > init_agent("agentSNMPAlert"); // init agent library > init_agentSNMPAlert();// run MIB module init > init_snmp("agentSNMPAlert");

Re: Are SNMP INFORMS availbe in the version of Net-SNMP we use ???

2006-12-14 Thread Dave Shield
On 14/12/06, Kurapati M-G19456 <[EMAIL PROTECTED]> wrote: > Is there a good way to suppress a Trap today i.e. does Net-SNMP provide > us with a command line utility that may be used for suppressing TRAPs. What do you mean by "suppressing traps"? Are you talking about traps generated by the agent,

sending traps from embedded AgentX subagent

2006-12-14 Thread David Arthur
Hello all: I am unable to get traps from an embedded subagent. I have a C++ application that runs a module containing an embedded AgentX subagent. Though there are other app-specific things going on in between, the following is the code that relates to the embedded subagent. (I have verified that

Re:

2006-12-14 Thread Dave Shield
On 14/12/06, Hamid Taromian <[EMAIL PROTECTED]> wrote: > i`v installed your example mib.i can see the mib node.i`ve added .c .h file > to mibgroup and /. configure and make and make install but for get and set i > have no access to the data and i recieve no object at this oid. Please see the check

Re: snmpset is not working

2006-12-14 Thread Dave Shield
On 14/12/06, Prabhu M <[EMAIL PROTECTED]> wrote: > I am using net-snmp version 5.4. I tried the example in the > agent/mibgroup/examples/scalar_int.c. snmpget gives the > proper values. The following command > > snmpset -m ALL -v 2c -c public 192.168.3.187 .1.3.6.1.4.1.8072.2.1.1.0 i 100 > > gives

RE: Are SNMP INFORMS availbe in the version of Net-SNMP we use ???

2006-12-14 Thread Kurapati M-G19456
All, Is there a good way to suppress a Trap today i.e. does Net-SNMP provide us with a command line utility that may be used for suppressing TRAPs. Regards Mahesh - Take Surveys. Earn Cash. Influence the Future of IT Join S

[no subject]

2006-12-14 Thread Hamid Taromian
i`v installed your example mib.i can see the mib node.i`ve added .c .h file to mibgroup and /. configure and make and make install but for get and set i have no access to the data and i recieve no object at this oid. - Need a quick answer? Get one in minutes from

snmpset is not working

2006-12-14 Thread Prabhu M
Dear all, I am using net-snmp version 5.4. I tried the example in the agent/mibgroup/examples/scalar_int.c. snmpget gives the proper values. The following command snmpset -m ALL -v 2c -c public 192.168.3.187 .1.3.6.1.4.1.8072.2.1.1.0 i 100 gives the following error Error in packet. Reason : noA

Re: openbsd 4.0 snmpd core dumps with vlan interface number higher as 9

2006-12-14 Thread [EMAIL PROTECTED]
ok, it seems its a problem of a variable definition in snmpd, isn't it ? Thomas On Wednesday 13 December 2006 23:30, Brian A. Seklecki wrote: > That's awesome! > > BTW, I submitted a PR on this yesterday but haven't gotten the automated > response. Will forward to you if I do. > > ~BAS > > On We

Re: "Stand-alone" applications

2006-12-14 Thread Dave Shield
On 11/12/06, David Arthur <[EMAIL PROTECTED]> wrote: > I used the mib2c to generate a subagent program that contained my MIB > objects and sent a trap every time an alarm went off (from some example > code). Now I have an application that does numerous other things, but would > like to send SNMP tr

Re: MAX-ACCESS of table index

2006-12-14 Thread Dave Shield
On 14/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have a doubt regarding table index. In MIB table sometimes the index > is not-accessible and some time the index is read-only. > My doubt is how to decide whether the table index will be read-only or > not-accessible. As long as there i

Re: Subagent as master

2006-12-14 Thread Dave Shield
On 14/12/06, Srivastava, Namburi (IE10) <[EMAIL PROTECTED]> wrote: > Is it possible to configure the subagent as master agent? Not easily, no. > Can it be done in the following way? > I tried doing that by changing the agent_subagent = 0 in the sub-agent main > function. That used to work, when