RE: Compilation Problem with 5.3.1

2006-09-20 Thread Amit Gupta
Hello Sir, I have elfutils-devel-0.97-5.i386.rpm already installed on my machine. Wont it work with the new version ? Regards - amit "Srivastava, Namburi (IE10)" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 09/21/2006 10:59 AM To "Amit Gupta" <[EMAIL PROTECTED]> cc net-snmp-users@l

Regarding snmpwalk

2006-09-20 Thread Ravi S M
Hi     After running snmpd as /usr/local/sbin/snmpd daemon runs. After this   When I Run   snmpget -v 1 -c whatever localhost sysUpTime.0 snmpwalk -v 2c -c whatever -m ALL localhost .1.3 | more   I am getting -> Timeout: No Response from localhost Please suggest on this...   >

RE: Compilation Problem with 5.3.1

2006-09-20 Thread Srivastava, Namburi (IE10)
My Make is now failing at usr/bin/ld: cannot find -lelf collect2: ld returned 1 exit status make[1]: *** [snmpd] Error 1 make[1]: Leaving directory `/home/amit/netsnmp/net-snmp-5.3.1/agent' Please install the following rpm package elfutils-devel-0.76-3.i386.rpm   Regards, Sri.   **

Re: Compilation Problem with 5.3.1

2006-09-20 Thread Amit Gupta
Hi Thomas, Thanks for the response.  I could move forward but still not able to complete it, My Make is now failing at usr/bin/ld: cannot find -lelf collect2: ld returned 1 exit status make[1]: *** [snmpd] Error 1 make[1]: Leaving directory `/home/amit/netsnmp/net-snmp-5.3.1/agent' I have che

Re: Net-snmp port to send out trap?

2006-09-20 Thread Leo Lei
Connie Chan£º === 2006-09-21 11:06:49 === >Does is also use port 162? net-snmp-5.3.0.1 snmpd and snmptrapd running on the same mathine. [EMAIL PROTECTED] leiy]# tcpdump -i lo -s 1024 udp and dst port 162 tcpdump: listening on lo 11:39:12.612785 localhost.32775 > localhost.snmp

Re: vacmViewTreeFamilyTable with default VACM model

2006-09-20 Thread Leo Lei
Dave Shield£º === 2006-09-20 19:10:39 === > >Yes - that's correct. i have walked thourgh vacm_conf.c, the original texts are: _all_ included.0 _all_ included.1 _all_ included.2 _none_ excluded.0 _none_ excluded

Net-snmp port to send out trap?

2006-09-20 Thread Connie Chan
Hi, I would like to know which port does the net-snmp use to **send out** trap? Does is also use port 162? If so, how can I change the port? Thanks Connie - Take Surveys. Earn Cash. Influence the Future of IT Join SourceF

SNMP Agent on Windows CE

2006-09-20 Thread Acon Cheung, Alex William
Hi. Does the SNMP Agent run on Windows CE 5? I could use any recommendations on how to get it working. I performed a search on this topic in the mail archive and found that in 02/2004 Mike Slifcak issued a survey on the use of Net-SNMP on windows platforms. Are the results posted somewhere?

Re: Re: view OID mask?

2006-09-20 Thread Dave Shield
On 20/09/06, John Rouillard <[EMAIL PROTECTED]> wrote: > I was scratching my head until I saw the text above. Even with the newer man page text (as quoted earlier in this thread) ? Oh :-( > I think putting > the example and explantion above in the man page would make it m

Re: Re: view OID mask?

2006-09-20 Thread John Rouillard
On Wed, Sep 20, 2006 at 09:50:50AM +0100, Dave Shield wrote: > On 20/09/06, Leo Lei <[EMAIL PROTECTED]> wrote: > The idea of the "ifRow4" view is to match any OID of the form > .1.3.6.1.2.1.2.2.1.x.4 > (ignoring the column subidentifier) i.e. the row with index '4'. > > Setting this against a

Re: exec question

2006-09-20 Thread danny zhong
thanks for your reply. so what i need to do is just put all the starting and stoping script in the /etc/init.h/ and then use the procfix with setting the prErrFix to 1, in order to call the starting or stoping script? am i correct? just for making sure, will the "procfix" only do "trigger", or

Re: exec question

2006-09-20 Thread Dave Shield
On 20/09/06, danny zhong <[EMAIL PROTECTED]> wrote: > since the daemon program is in the remote site computer, and i don't want > the daemon program start when the remote computer start. i only want the > daemon program start when i "triggered" it. Fair enough. I'd still recommend that you write a

Re: exec question

2006-09-20 Thread danny zhong
since the daemon program is in the remote site computer, and i don't want the daemon program start when the remote computer start. i only want the daemon program start when i "triggered" it. Actually, in my project, there are more daemon program need to be "triggered" in the same remote comput

Re: exec question

2006-09-20 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 20/0

Re: Regarding Configuration of snmp agent

2006-09-20 Thread Thomas Anders
Ravi S M wrote: > What I mean in this question was, I want to monitor free radius > serverthrough NET-SNMP, so if I kill free radius server > > 1) How SNMP agent detects it > 2) Is there any mechanism for detecting it and sending trap > signal to Manager? The snmpd.c

RE: Regarding Configuration of snmp agent

2006-09-20 Thread Ravi S M
Hi Thomas Thanks > You'd need to ask the free radius people about their integration with > NET-SNMP and the shutdown behavior of their server. What I mean in this question was, I want to monitor free radius server through NET-SNMP, so if I kill free radius server 1) H

Re: Table iterator when index is sorted

2006-09-20 Thread Sachin Mishra
I didn't get any response for this, so I am resending just in case... Thanks, Sachin On Mon, 2006-09-18 at 12:12 +0530, Sachin Mishra wrote: > In my subagent I have data which is already sorted w.r.t. to index. > Should I use iterate.conf or array-user.conf to generate the subagent > template

Re: Regarding Configuration of snmp agent

2006-09-20 Thread Dave Shield
> > what I want to check is if I kill radius server is it sends trap to SNMP > > manager if am correct or how it reacts(agent). > > You'd need to ask the freeradius people about their integration with > net-snmp and the shutdown behaviour of their server. But note that FreeRadius uses the (obsolet

RE: SubAgent crash in net-snmp-5.2.2

2006-09-20 Thread Pamidipati Suresh-G20238
Title: Message All,   Patch is submitted for checking the -ve value of FD before calling FD_ISSET() in _sess_read() function, snmp_api.c file. Following is the link for the same. http://sourceforge.net/tracker/index.php?func=detail&atid=312694&aid=1562100&group_id=12694   Regards, Suresh.  

Re: vacmViewTreeFamilyTable with default VACM model

2006-09-20 Thread Dave Shield
On 20/09/06, Leo Lei <[EMAIL PROTECTED]> wrote: > i snmpwalk the vacmViewTreeFamilyTable, as the following: [snip] > i translate these to the following texts using the snmpd.conf directive: > // _all_ included0 > // _all_ included1 > // _all_ included

Re: Regarding Configuration of snmp agent

2006-09-20 Thread Thomas Anders
Ravi S M wrote: > smux_accept: setsockopt SO_RCVTIMEO: Option not supported by protocol AFAICS, it fails to set the receive timeout for the socket. I'd tend to ignore that unless you see a real problem functionality-wise. > * So now if I kill free radius server it shows as below in snmpd.log > >

vacmViewTreeFamilyTable with default VACM model

2006-09-20 Thread Leo Lei
hi, net-snmp 5.3.0.1 snmpd.conf: rocommunity nssro i snmpwalk the vacmViewTreeFamilyTable, as the following: [EMAIL PROTECTED] leiy]# snmpwalk -v 2c -c nssro localhost snmpVacmMIB | grep vacmView SNMP-VIEW-BASED-ACM-MIB::vacmViewSpinLock.0 = INTEGER: 0 SNMP-

Re: SNMPD crashing (5.3.1)

2006-09-20 Thread Thomas Anders
[EMAIL PROTECTED] wrote: > Thanks for the reply. I have tried the same with latest CVS version > http://www.net- > snmp.org/nightly/tarballs/net-snmp-cvs-MAIN_20060920_0329.tar.gz. Still > has the same problem. Looks like this is bug 1556259 (http://sourceforge.net/tracker/index.php?func=detail&ai

RE: Regarding Configuration of snmp agent

2006-09-20 Thread Ravi S M
Hi Thomas Thanks for your answers, my NET-SNMP daemon is running properly with free radius server. > Please try the patch attached to this bug report: > [ 1527930 ] snmpd doesn't accept authentication from smux sub-agent > https://sourceforge.net/support/tracker.php?aid=1527930 I did

Re: configure?

2006-09-20 Thread Thomas Anders
JakubTrejbal wrote: > I have already configured net-snmp version 5.0.9 for uClinux for arm platform > received on CD by WAGO producer (WAGO Linux). WAGO producer deliver CD with > all neccessery already configured (toolchain for cross-compilling, uClinux + > packages like net-snmp, ...). > Now I

Re: view OID mask?

2006-09-20 Thread Dave Shield
On 20/09/06, Leo Lei <[EMAIL PROTECTED]> wrote: > for the sub-identifier ifTable.1, i think we can set the corresponding mask > bit to 1(exact match) > or 0(wildcard), cause it's the only mib node for administrative purpose under > ifTable. > > so i get 0xff:a0 or 0xff:20 > 1 1 1 1 1 1 1 1 1 0

Re: SNMPD crashing (5.3.1)

2006-09-20 Thread Thomas Anders
[EMAIL PROTECTED] wrote: > We are using Net-SNMP 5.3.1 version and we have SNMP Agent daemon > getting killed when continuously doing operations > Of linkup/linkDown. . > Each time the gdb stack trace shows different line numbers in > disman/event/ mteTrigger.c file. Can you try 5.4.pr

Re: Compilation Problem with 5.3.1

2006-09-20 Thread Thomas Anders
Amit Gupta wrote: > I ahave just downloaded the Netsnmp 5.3.1 source code and trying to build > it there on the Linux machine. > [...] > /usr/lib/libpopt.so: could not read symbols: File in wrong format Looks like you're building on x86-64. Please use LDFLAGS=-L/usr/lib64 ./configure ... && m

Re: view OID mask?

2006-09-20 Thread Leo Lei
Dave Shield£º === 2006-09-20 16:50:44 === >The idea of the "ifRow4" view is to match any OID of the form >.1.3.6.1.2.1.2.2.1.x.4 >(ignoring the column subidentifier) i.e. the row with index '4'. > >Setting this against a bit pattern of the relevant subidentifiers gives: > >

Re: Re: view OID mask?

2006-09-20 Thread Dave Shield
On 20/09/06, Leo Lei <[EMAIL PROTECTED]> wrote: > i had mistaken the word "sub-identifier", for example, for view OID ifEntry, > i had thought > the sub-identifers is 1(ifIndex) - 22(ifSpecific) under ifEntry. No - the term "subidentifier" refer to the individual numbers (or names) within an OID.

Re: Re: view OID mask?

2006-09-20 Thread Leo Lei
Dave Shield£º thank you! i had mistaken the word "sub-identifier", for example, for view OID ifEntry, i had thought the sub-identifers is 1(ifIndex) - 22(ifSpecific) under ifEntry. === 2006-09-20 16:00:30 === > > view ifRow4 included .1.3.6.1.2.1.2.2.1.0.4 0xff:a0

Re: exec question

2006-09-20 Thread Dave Shield
On 20/09/06, danny zhong <[EMAIL PROTECTED]> wrote: > int main(void){ > while(1){ > > } > } > > and i put the execution command of this file in a script file called > run.sh, in the snmpd.conf, i add > > exec .1.3.6.1.4.1.2021.53 run /bin/sh /home/danny/run.sh No - that won't work. "exec" is desi

Re: view OID mask?

2006-09-20 Thread Dave Shield
On 20/09/06, Leo Lei <[EMAIL PROTECTED]> wrote: > are there any example illustrating the usage of the view OID mask? i have > read the part of > view directive in the snmpd.conf(5) > and the vacmViewTreeFamilyMask definition in VACM rfc, but i can't understand > it. thanks. The latest version of