Help! "No Such Object available on this agent at this OID" about NET-SNMP

2007-06-12 Thread Goodshirly
Hi,all I'm doing some job with the NET-SNMP upon Linux.But there is something strange arised. I wanted to write a MIB module of my own,but i didn't know how to start with it. So i followed the tutorial in the web site: http://net-snmp.sourceforge.net/wiki/index.php/TUT:Writing_a_MIB_Modul

snmp_sess_close(ss) with exception error under Win2003

2007-06-12 Thread Sven Koos
Providing the following snmp_sess sequence the last operation snmp_sess_close(ss) provides to an exception error under Windows 2003. snmp_sess_init( &session ); ... sessp = snmp_sess_open(&session); ss = snmp_sess_session(sessp); ... pdu = snmp_pdu_create(SNMP_MSG_GETNEXT); ... read_objid(OidStr,

Obtain the return OID from a SNMP Get Next response

2007-06-12 Thread Sven Koos
How can I obtain the returned OID for a SNMP Get Next operation? I've been using SNMP V1 und the function "snmp_sess_synch_response". I'm getting the appropriate and correct response. The "enterprise"-field in the response pdu struct is empty. Thank You for help. Regards, Sven. -

Re: question about net-snmp V 5.4

2007-06-12 Thread Thomas Anders
Jeremy Scholz wrote: > I recently upgraded to version 5.4 from 5.1 because I was having issues > with > ifLastChange. I am able to see these values now, but with 5.1 when there > was a vpn connection made it would show ifDesc as ppp0 and an associated > ifIndex, but after the vpn connection was di

configure errors.Please guide me on this.

2007-06-12 Thread mushtaq khan
Hi, Iam building net-snmp package for mips64-octeon based board. And i gave following options to the configure. ./configure --with-cc=mips64-octeon-linux-gnu-gcc --with-ar=mips64-octeon-linux-gnu-ar --host=mips64 --target=mips64-octeon-linux --build=i386-pc-linux-gnu --prefix=/home/mushtaq/s

How to configure sub-agent to connect to snmpd on another machine

2007-06-12 Thread Shivani Garg
Greetings to all. Can anyone help me with this. My master agent snmpd daemon is running on a different machine. How can I configure my sub-agent to connect to the same? Thanks. Regards, Shivani - This SF.net email is sponsor

versionRestartAgent can't be changed.

2007-06-12 Thread goon863
hi, i am trying to restart my uclinux agent by snmp,but the value of versionRestartAgent seens can't be changed to 1. [EMAIL PROTECTED] snmp]# snmpset -v2c -c public 192.168.1.126 UCD-SNMP-MIB::versionRestartAgent.0 i 1 UCD-SNMP-MIB::versionRestartAgent.0 = INTEGER: 1 [EMAIL PROTECTED] snm

Is there any option to check, what mibs are supported by the package.

2007-06-12 Thread mushtaq khan
Hi, Is there any option, where i can check what are the mibs supported by the Net-snmp package. Thanks, Mushtaq - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and ta

What are mibs supported by Net-snmp

2007-06-12 Thread mushtaq khan
Hi, What are the mibs supported by Net-Snmp package. Thanks, -Mushtaq - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just dat

Re: State of snmpNotifyFilterTable

2007-06-12 Thread George Donato
> The net-snmp-5.4 FAQ says the "snmpFilterTable", etc. > is "present and can be manipulated and updated, but > the information is not consulted..." > > Does anybody know the status of if/when the > tables will be consulted? It looks like it's been there since 5.3 - from its announcement: > s

Re: Is there a support for MIPS-64 in Net-Snmp

2007-06-12 Thread mushtaq khan
Hi, It looks like Net-Snmp has a support for mips64, i found mips64 in basic-machine set in file config.sub. Can any one suggest me, what should be the options for ./configure (executable)? Thanks, -Mushtaq - This SF.net e

RE: subagent crash on timeout with SIGPIPE

2007-06-12 Thread Makavy, Erez (Erez)
I use verison 5.3.1 Erez. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Shield Sent: Wednesday, June 06, 2007 11:31 PM To: Makavy, Erez (Erez) Cc: net-snmp-users@lists.sourceforge.net Subject: Re: subagent crash on timeout with SIGPIPE On 06/06/0

Is there a support for MIPS-64 in Net-Snmp

2007-06-12 Thread mushtaq khan
Hi, Does Net-Snmp supports MIPS 64-bit processor. What efforts are involved in adding a support for new-processor. Thanks, Mushtaq - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of

Re: Facing a problem with Dynamic MIB Module load

2007-06-12 Thread mushtaq khan
Hi Dave, Thanks for replying, I could successfully load the MIB module. Thanks, -Mushtaq Dave Shield wrote: > On 09/06/07, mushtaq khan <[EMAIL PROTECTED]> wrote: > >> I went through the SNMP tutorial for loading dynamically created MIB >> module. But when run the command "snmpset localhost >> U

question about net-snmp V 5.4

2007-06-12 Thread Jeremy Scholz
I recently upgraded to version 5.4 from 5.1 because I was having issues with ifLastChange. I am able to see these values now, but with 5.1 when there was a vpn connection made it would show ifDesc as ppp0 and an associated ifIndex, but after the vpn connection was disconnected, these values would

Re: Facing a problem with Dynamic MIB Module load

2007-06-12 Thread Dave Shield
On 09/06/07, mushtaq khan <[EMAIL PROTECTED]> wrote: > I went through the SNMP tutorial for loading dynamically created MIB > module. But when run the command "snmpset localhost > UCD-DLMOD-MIB::dlmodStatus.1 i load" > > The result i got is : > dlmodStatus.1 = load(4) That is correct. The response