support for multicasting

2004-07-06 Thread Sanjib Nath
Hi, Does netsnmp support for multicasting? I have a multicast address and I want to make snmpd listen to that address against snmpget request at that multicast address i.e. snmpget . Please help me. Thanks & regards, Sanjib. --- This SF.Net

RE: IPv6

2004-07-06 Thread Fong Tsui
Have you launch it as: snmpd udp6:161 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Tuesday, July 06, 2004 11:53 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: IPv6 I can't seem to get the IPv6 stuff working correctly

RE: IPv6

2004-07-06 Thread Brian . Blietz
I can't seem to get the IPv6 stuff working correctly. Or should I say, it "might" be working, but I can't prove it. My setup: Target PPC embedded system running snmpd Host linux system: Redhat 9, 2 NIC cards - note that it has 2 NIC cards I want to query the target, so ::1 will not work for my IP

Re: When snmpd is started as daemon, stops responding

2004-07-06 Thread Coders
On Tue, 6 Jul 2004 16:08:46 +0200 Grasic wrote: GI> Example works fine... until I start it in deamon mode (without swich -f). GI> Then process is started (viewable with ps -ef), default udp port is opened GI> (viewable with netstat), but deamon does not respond any more. Can you post the *exact* c

RE: Net-snmp

2004-07-06 Thread Collins, Laurence F.
Wes, Thanks for the replay. My script is used to check our hospitals interfaces. I do an snmpwalk to check for any ports connected to a certain IP address. I then clean up the data and post it to a webpage. However I get so many of the general errors it would be hard to use this in a production

RE: When snmpd is started as daemon, stops responding

2004-07-06 Thread Brian . Blietz
Have you tried to start the daemon as the root user? -Original Message- From: Grasic Igor [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 06, 2004 9:09 AM To: [EMAIL PROTECTED] Subject: When snmpd is started as daemon, stops responding Hello, I'm newcomer at net-snmp community. In ou

Solaris HAL best practices - comments please

2004-07-06 Thread Bruce Shaw
I'm working in conjuction with Dave Shield on the concept of creating a common store of code for a Hardware Abstration Layer for net-snmp. This will resolve (hopefully) the problem of having two or more sets of code doing the same thing (often using different/conflicting methods). This relates sp

When snmpd is started as daemon, stops responding

2004-07-06 Thread Grasic Igor
Hello, I'm newcomer at net-snmp community. In our firm we want to build snmp agent, responsible for collecting data about status of connected HW modules to the main platform, running on embedded Linux. Our test system is still running on RH 9.0. I used mib2c compiler, access_functions template

Re: AW: how to send a v3 trap

2004-07-06 Thread Dave Shield
> I didn't add the createUser line. If i add it is now working only for > informs(snmpinform or snmptrap -Ci). But it is not working for traps(using > snmptrap command without -Ci). Why is it so? But i am able to send v2 > traps. Have you read the SNMPv3 trap/inform tutorial page? See http:

AW: how to send a v3 trap

2004-07-06 Thread Pedot, Wolfgang
> > I was fighting with this myself, > > did you add a createUser line to the snmptrapd.conf file in > /var/net-snmp? > > > > This will send a coldstart-inform to snmptrapd on localhost > with an uptime of 42 > > timeticks: > > snmpinform -v 3 -u testuser -a MD5 -A password -x DES -X > ppasswo

Re: Architecture help needed..

2004-07-06 Thread Coders
On Tue, 6 Jul 2004 13:57:12 +0200 Arne wrote: AB> RS> How are you going to get the data to the agent? Shared memory? AB> RS> database? How big is the array? AB> AB> At the moment, I use a global variable protected by a pthread_mutex. AB> RS> [...] I'm thinking is adding a cache handler to an arr

Re: AW: how to send a v3 trap

2004-07-06 Thread madanagopal
> I was fighting with this myself, > did you add a createUser line to the snmptrapd.conf file in /var/net-snmp? > > This will send a coldstart-inform to snmptrapd on localhost with an uptime of 42 > timeticks: > snmpinform -v 3 -u testuser -a MD5 -A password -x DES -X ppassword -l authPriv > loca

Re[2]: Architecture help needed..

2004-07-06 Thread Arne Brutschy
Hi, [EMAIL PROTECTED] wrote: RS> On Mon, 5 Jul 2004 23:24:01 +0200 [EMAIL PROTECTED] wrote: AD>> I implemented the config management with help of the array-user table, AD>> which worked fine for me. The other part of the software is more AD>> dynamic: A thread collects traffic statistics (how man

Re: Architecture help needed..

2004-07-06 Thread Coders
On Mon, 5 Jul 2004 23:24:01 +0200 [EMAIL PROTECTED] wrote: AD> I implemented the config management with help of the array-user table, AD> which worked fine for me. The other part of the software is more AD> dynamic: A thread collects traffic statistics (how many octets on which AD> port) and store

Re: question in the beginning index in OBJECT IDENTIFIER

2004-07-06 Thread Dave Shield
[Firstly, can you please send plain unencoded text. The base64 encoding with an "unusual" charset makes it harder to read the contents of your message. Thanks.] > One question regarding the OBJECT IDENTIFIER in your NET-SNMP-MIB.tx file. > Do you always have to

question in the beginning index in OBJECT IDENTIFIER

2004-07-06 Thread Jim Su
Hi Greeting: One question regarding the OBJECT IDENTIFIER in your NET-SNMP-MIB.tx file. Do you always have to begin the OBJECT from {xxx 1} or you can skip the {xxx 1} and start from {xxx 2}? For example, netSnmpObjects OBJECT IDENTIFIER ::= {netSnmp 1} Can you cha

Re: How do I add a MIB to the agent?

2004-07-06 Thread John Lash
make sure that the dlmod line is correct in your config file. dlmod mymodule /opt/lib/myplugin Then try running something like this: ./snmpd -f -L -D -c snmpd.conf 2>foo The -D throws lots of debugging output. Now go back and grep for the name of your module. You should have

Re: question about snmp code

2004-07-06 Thread Dave Shield
> I have difficult in understanding the code of the net-snmp . > Could you give me a hand? What in particular? It's much easier to offer advice or assistance when you've got a specific query. Something general like "flow of the code" is very difficult to respond to. You don't even say whether

Re: find OID - Question

2004-07-06 Thread Dave Shield
> I need to set the threshold of a generic OID. > > How can i simulate the GET command inside the agent ? Have a look at the 'disman' group of MIB handlers. This covers both "internal GET" requests, and thresholds. See 'agent/mibgroup/disman/*' Dave ---

question about snmp code

2004-07-06 Thread hwzhang
Net-snmp-coders,您好! I am a beginner and intrestd in the net-snmp .Now I take up the development of the snmp in Visual c++ in win2000 operation system. I have difficult in understanding the code of the net-snmp . Could you give me a hand? Especially on the flow of the code about