Re: snmpset - where does the newly set value get stored

2004-09-03 Thread Ernest SO
I use "snmptranslate -IR -Td coldStart" to check OID. The result is SNMPv2-MIB::coldStartcoldStart NOTIFICATION-TYPE -- FROM SNMPv2-MIB DESCRIPTION "A coldStart trap signifies that the SNMP entity, supporting a notification originator application, is reinitializing itself and that its

loadable module initialization

2004-09-03 Thread Kalin Simeonov
Hi, all I have a question about the loadable module (shared object) support. I have to attach to some shared memory on initialization. If the memory does not exist I must not create it. In this case some kind of error shall be reported to the snmp daemon and the module shall not be loaded. The

Re: Problems in creating AgentX subagent

2004-09-03 Thread Rana
Hi, I performed the operation export MIBDIRS=/usr/share/snmp/mibs Then I performed the following steps 1. I started the snmp demon using the command snmpd -c /root/snmpd.conf 2. I started the example-demon on a terminal ./example-demon It showed the message

Re: Problems in creating AgentX subagent

2004-09-03 Thread Carlos Cantu
So if you run into more problem you can't solve on your own, you'd better remove the older Net-SNMP version. I'm running into the same problem on my system. My SuSE install comes with 4.2.5 preloaded and the libs are in /usr/lib. My 5.0.8 that I installed manually put the libs in

Re: Problems in creating AgentX subagent

2004-09-03 Thread Thomas Anders
Carlos Cantu wrote: I'm running into the same problem on my system. My SuSE install comes with 4.2.5 preloaded and the libs are in /usr/lib. My 5.0.8 that I installed manually put the libs in /usr/local/lib. Mixing 4.x and 5.x on the same system is much less problematic than mixing 5.x and

MIB files needed for Dynix/ptx 4.4.x

2004-09-03 Thread Aaron
Does anyone know of where I could aquire the MIB files (either ASN or OID format) for Dynix/ptx 4.4.x? The man pages on the system cover the specific items that may be queried; however, they do not cover the location of the mib files. Any information pointing me in the right direction would

Secure access to agent

2004-09-03 Thread cnelson
I want to limit access to the net-snmp agent (snmpd) to only secure (encrypted) channels. In the simplest case, I can include rouser and rwuser in snmpd.conf and omit rocommunity and rwcommunity. Is that right? If i want to get a little more sophisitcated, I can omit v1 and v2c from my

Workin compile on Tru64

2004-09-03 Thread Michael Sierchio
Are there patches to make config/compile work on Tru64? The native toolchain barfs on some macro redefinitions. Is it necessary to use gcc? And, if so, the next question would of course be -- is there a binary package for net-snmp and/or gcc? Thanks in advance, apologies for the naivete (I've

Re: Add a useful utility into agent

2004-09-03 Thread Niels Baggesen
On Wed, Sep 01, 2004 at 12:13:01PM +0800, Jim Su wrote: 1. To continue the experiment suggested by Robert I did the following - [EMAIL PROTECTED] ~/jim/Src/net-snmp/agent$ gcc -g -O2 -Dlinux -o .libs/snmpd snmpd.o ../../authutil/lic_util.o

Sending both trap and inform from the net-snmp agent?

2004-09-03 Thread Rachel Wang
I saw the man page of snmpd that you can configure the agent to send snmp v2 traps using trap2sink and notification using informsink at the same time. This is a very useful feature. Is there anywhere else that documents more details of how to correlate the specific types of the trap or