how to send notification from a subagent

2005-01-20 Thread θ‹—θΏŽεŽ
I'm trying to extend a subagent basing on example-demon.c(a subagent example downloaded from the tutorial html), and integrate the subagent process with my other processes into a program. then all processes in the program can send notification to master. I think I can use send_trap_to_sess(n

dot1dTpFdb table - could be huge

2005-01-20 Thread Fong Tsui
I am trying to expose data for dot1dTpFdbTable and wonder this table could be huge. If a switch has 24 interfaces with a lot of VLANs, the entries of this table could be thousands. Does anybody know how big a table entry SNMP agent can support? Is there any limit? If it is a problem, does anybody

RE: solaris configure (and compile) warnings

2005-01-20 Thread No Spam
--- Bruce Shaw <[EMAIL PROTECTED]> wrote: > I wasn't aware that it was a Solaris-specific issue. I've compiled under > linux and gotten similar warning messages. then perhaps it's dependent on some other factor. for me at least, i get the warnings using solaris 8, but i don't get them using red

Re: moving agent processing modes to baby-steps

2005-01-20 Thread Magnus Fromreide
On Fri, Jan 14, 2005 at 01:44:01PM -0500, Robert Story wrote: > > I am 100% confident that I can write a helper than will ensure that modules > using the existing state map will be called at the right time, and will need > no > modifications to work with the new state. > One question: Given the

RE: solaris configure (and compile) warnings

2005-01-20 Thread Bruce Shaw
I wasn't aware that it was a Solaris-specific issue. I've compiled under linux and gotten similar warning messages. > NS> the results of initial testing are that i can just ignore the warnings > NS> (both the configure and compile warnings) and that the resulting snmp > build > NS> is still work

Re: solaris configure (and compile) warnings

2005-01-20 Thread No Spam
--- Robert Story <[EMAIL PROTECTED]> wrote: > On Tue, 18 Jan 2005 16:49:54 -0800 (PST) No wrote: > NS> the results of initial testing are that i can just ignore the warnings > NS> (both the configure and compile warnings) and that the resulting snmp > build > NS> is still working fine. (at least

Re: pass_persist

2005-01-20 Thread Robert Story
On Mon, 10 Jan 2005 10:12:29 +0100 Ola wrote: OC> My concern is that it appears to me as if there is one pass process started OC> for each remote ip quering the agent..? When i query my agent from my first OC> computer I see 1 pass process, when I then query the agent from another OC> computer anot

Re: Bug in register_mib_reattach_node()

2005-01-20 Thread Robert Story
On Fri, 24 Dec 2004 01:14:17 -0500 (EST) Igor wrote: IB> register_mib_reattach_node() does not initialize reg_parms.contextName IB> which cases agentx subagents to dump when the agentx socket is not present IB> or when the socket connection breaks. IB> IB> Is reg_parms.contextName = NULL; suffic

Re: pass_persit BIT fields

2005-01-20 Thread Robert Story
On Tue, 11 Jan 2005 10:35:22 +0100 Ola wrote: OC> Hi! OC> The problem arises for example when i want to return just bit 20 set. OC> (0x08) - byte[0] = 0x00, byte[1] = 0x00, byte[2] = 0x08(no problem OC> when bits are set also in the two first bytes...) OC> OC> " OC> OID_Print(pOutputOID); O

Re: solaris configure (and compile) warnings

2005-01-20 Thread Robert Story
On Tue, 18 Jan 2005 16:49:54 -0800 (PST) No wrote: NS> the results of initial testing are that i can just ignore the warnings NS> (both the configure and compile warnings) and that the resulting snmp build NS> is still working fine. (at least to the extent that it has been tested.) Yes, you can s

Re: Using other MIB scalars in a GET

2005-01-20 Thread Robert Story
On Mon, 17 Jan 2005 13:47:09 -0100 (EDT) Ricardo wrote: RLAA> I have two variables in my MIB definition, one is writable (represents RLAA> the number of a link), and the other is read-only (represents the status RLAA> of a link). In the handler's code for the link status variable (into the RLAA> GE

Re: Please Help

2005-01-20 Thread Robert Story
On Fri, 14 Jan 2005 12:31:07 +0100 Wagner, wrote: WT> I want to add MIB RFC-1213 and WINDOWS-NT-PERFORMANCE. See the FAQ: http://www.net-snmp.org/FAQ.html#How_do_I_add_a_MIB_to_the_agent_ WT> >snmpd -V -LF log.txt -c c:\usr\etc\snmp\snmpd.conf.txt -D -I WT> RFC-1212;WINDOWS-NT-PERFORMANCE The -

Re: snmpset to handle table set

2005-01-20 Thread Robert Story
On Wed, 19 Jan 2005 02:28:17 -0800 (PST) Amit wrote: AC> I am actually checking the possibility how "snmpset" command can be used to AC> set a variable inside the table, also can we use it to generate entirely AC> new row, and fill the value in that. Yes, it can do both. See the tutorial on the we

understanding snmptrapd STDOUT output

2005-01-20 Thread Christopher Fowler
I'm getting the following from snmptrapd: flaky.opsup.com 127.0.0.1 iso.3.6.1.2.1.1.3.0 0:0:00:42.08 iso.3.6.1.6.3.1.1.4.1.0 iso.3.6.1.4.1.14264.1.1.0.3 iso.3.6.1.4.1.14264.1.1.7.1.1 7 iso.3.6.1.4.1.14264.1.1.7.1.1 7 My trap includes one variable as 'iso.3.6.1.4.1.14264.1.1.7.1.1' with the value