--- Unsubscribe---

2008-09-04 Thread Syed Shamim Ahamed A S M
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what i

[no subject]

2008-09-04 Thread Syed Shamim Ahamed A S M
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it i

Two CentOS 5 boxes with different results.

2008-09-04 Thread drew einhorn
I have two CentOS 5 boxes with net-snmp-5.3.1 installed on each. I built a snmpd.conf on the first by tweaking the default /etc/snmp/snmpd.conf and it's working. I copied the snmpd.conf from the first box to the second. When snmpd is started on the second box, it complains with: Sep 4 22:43:53

Re: snmpd does not start!!!

2008-09-04 Thread Ricardo Schmidt
PROBLEM SOLVED! 2008/9/4 Ricardo Schmidt <[EMAIL PROTECTED]> > Hey people! > > Look, I try to start snmpd using the line: # /usr/sbin/snmpd > But nothing happens... it seems the snmpd does not start. > I search for it in the running processes (ps -A) after trying to start, but > I find no snmpd

snmpd does not start!!!

2008-09-04 Thread Ricardo Schmidt
Hey people! Look, I try to start snmpd using the line: # /usr/sbin/snmpd But nothing happens... it seems the snmpd does not start. I search for it in the running processes (ps -A) after trying to start, but I find no snmpd running. So, what is it?! Something missed?! Thanks and regards!

snmpget only shows the help contend and do not execute!

2008-09-04 Thread Ricardo Schmidt
Hello, I'm following the tutorial found in: http://www.net-snmp.org/wiki/index.php/TUT:Writing_a_MIB_Module#The_MIB_Module_API My objective is to learn how to compile a MIB to the net-snmp and get it working. I did everything as the tutorial described. Downloaded the files and copied them into t

Re: Compiling my program (use Lib's Net-SNMP) with Mingw in Windows

2008-09-04 Thread Jarod
Help please, I am doing wrong? $ gcc demo1.c -o demo1 -I/c/usr/include/ -lsnmp In file included from demo1.c:1: c:/usr/include/net-snmp/net-snmp-config.h:1541: error: syntax error before "uint32_t" c:/usr/include/net-snmp/net-snmp-config.h:1541: warning: data definition has no type or storage c

RE: net-snmp dumping core in internal_register_config_handler

2008-09-04 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Devender Reddy > Sent: Monday, August 18, 2008 3:10 AM > If that is so, then can you please let us know what is type > value that needs to be passed to init_snmp api to avoid the > reading of configuration files etc.

Re: problem using ports other than 161/162

2008-09-04 Thread Daniel Gibby
Ah-ha! the problem wasn't that hard to solve once I started looking at the packets sent and received... I looked at them by putting dumpPacket true logTimestamp true into my /etc/snmp/snmp.conf file. The problem was that I hadn't setup the remote snmpd to accept snmp traffic with com2sec. I h

subagent control of only one object in a mib module

2008-09-04 Thread Joan Landry
I would like to know if there is a way to control one object in a module from the subagent, yet allow the rest of the objects to be controlled by the master agent. Specifically I would like to have the subagent control (handle the get and set) for snmpEnableAuthenTraps, but allow the master agent

Re: problem using ports other than 161/162

2008-09-04 Thread Daniel Gibby
Sorry, Ctrl+Enter along with being distracted sent the email before I was finished... I was just wondering if anyone had seen a howto or site that chronicled someone changing their SNMPd to run on ports other than 161/162. I've found many people talk about their ISP blocking the ports, but n

Re: problem using ports other than 161/162

2008-09-04 Thread Daniel Gibby
Thanks for the tip, it does seem to do something, but times out and gives no response received... Maybe I'm not understanding what the snmptrap is for and the protocol isn't working correctly. I can telnet (I'm using tcp now, remember?) to port 10161 and port 10162 from either machine, but snmp

Re: Is NOTIFICATION TYPE necessary to send trap?

2008-09-04 Thread Raghavendra Prasad
Dear Wes, Could you please be bit more explicit. I seem to have implemented what have you suggested in the following small example it works and successfully sends the traps I am sending trap for the following mib node: configType OBJECT-TYPE SYNTAX INTEGER {

Re: Re: Re: found a compiling optimization problem

2008-09-04 Thread xiao ren
Again, I found the same problem on AIX platform. This time I use xlC_r to compile my manager program, and it turned out to be the same: .1.3.6.1.2.1.2.2: Unknown Object Identifier (Sub-id not found: (top) -> 1) I don't use any optimization flag with xlC_r this time. HELP! --

RE: error while using gdb

2008-09-04 Thread Shardul Kumar
Hi, Following is the list of lib and executable file for snmp . How can I load all Symbols at a time so that I will get this error. If any solution is there please suggest. Snmpd ---à executable libnetsnmp.so.15.0.0 libnetsnmpmibs.so.15.0.0 libnetsnmpagent.so.15.0.

Re: problem using ports other than 161/162

2008-09-04 Thread Dave Shield
2008/9/4 Daniel Gibby <[EMAIL PROTECTED]>: > I just changed the server to listen on tcp, how do I test it with > snmpwalk via tcp? snmpwalk . tcp:host:10161 Dave - This SF.Net email is sponsored by the Moblin Your Mov

RE: error while using gdb

2008-09-04 Thread Bhaskararao vakamullu
It means the gdb couldn't read any symbols that's why it displays ??. The error seem to be in the executable where there will not be any code symbols loaded for this. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shardul Kumar Sent: Thursday, Sept

error while using gdb

2008-09-04 Thread Shardul Kumar
Hi, While using gdb I have set the break pt for the function and Going through line by line using next command after a certain line I got the following error (gdb) n 0x2afec870 in ?? () from /usr/syrah/lib/libnetsnmpmibs.so.15 Could any one suggest me what this out put is ? After