snmpget + snmpset

2005-06-02 Thread Alaios
Hi.. i am a noob to the snmd server.. i have used the following command snmpget -v1 -c public localhost .1.3.6.1.2.1.4.8.0 to acquire the value of ipInDiscrads.. I also want to set my own value so i try to do this using snmpset .. i think that i have a security problem.. so what should i do next?

Now, traps directly using IP address of NMS, are received as quickly as those using 'localhost' ?

2005-06-02 Thread wanxia qu
hello,everyone   Traps ,using IP address of NMS in snmptrap command directly, are received very slowly, so I suspect it's related with DNS. Aftering adding the followig lines to DNS, traps, sent from localhost and wxqu, which using IP address of NMS, reach NMS immediately !    172.26.4.44  localhos

help sending trap from within process

2005-06-02 Thread Chuck Cottrill
I need advice on how to generate snmp traps within a compiled process. Architecture constrains prevent me from just forking/shelling out to the snmptrap executable. Ideally, I would like functions to build a trap and send it.   I examined the snmptrap.c source code with the plan to extr

Re: Adding MIB to Agent

2005-06-02 Thread Wes Hardaker
> On Mon, 30 May 2005 10:34:36 +0530, "Priya" <[EMAIL PROTECTED]> said: Priya> In FAQ it is specified that to add MIB to agent coding is to be Priya> done. I have one query that ,Should code be added to existing Priya> file?if yes which file. Or new file is to be created in which Priya> dire

Re: traps, directly using IP address of NMS, are received more slowly than those using 'localhost' on the same machine?

2005-06-02 Thread Wes Hardaker
> On Tue, 31 May 2005 23:14:34 +0800 (CST), wanxia qu <[EMAIL PROTECTED]> > said: wanxia> I replaced "localhost" with the IP address of the wanxia> NMS(172.26.4.44), and it works. Please don't write to both mailing lists with the same question. FYI, I answered you on the other. -- Wes

Re: SMUX support in net-SNMP

2005-06-02 Thread Wes Hardaker
> On Tue, 31 May 2005 11:41:24 -0700, "Srinivasan Kandalam" <[EMAIL > PROTECTED]> said: Srinivasan> Planning to do migration from SNMP v2 to v3. Yay! Srinivasan> Want to understand, whether net-snmp support SMUX? Yes. Srinivasan> Have to implement on both windows as well as Solaris.

Re: SNMPv3 traps and snmptrapd

2005-06-02 Thread Wes Hardaker
> On Wed, 1 Jun 2005 17:21:06 +0900, "Jiro Iida" <[EMAIL PROTECTED]> said: Jiro> I am involved in the SNMPv3 agent's development now$B!"(Band Jiro> trying send SNMPv3 Traps. BTW, have you read our description about how to set up SNMPv3 trap sending/receiving: http://www.net-snmp.org/tutori

Re: snmpwalk table problem

2005-06-02 Thread Wes Hardaker
> On Wed, 01 Jun 2005 15:55:48 -0500, Greg L Robillard <[EMAIL PROTECTED]> > said: Greg> The walk begins with an index of 0, then a 1. For some reason, Greg> the next occurrance triggers a request->processed = 1 with an Greg> index of 0. The remaining indexes are 1,2,3,4,5,6. Normal. Gr

Re: traps directly using IP address of NMS, are received more slowly than those using 'localhost' on the same machine?

2005-06-02 Thread Wes Hardaker
> On Thu, 2 Jun 2005 08:41:05 +0800 (CST), wanxia qu <[EMAIL PROTECTED]> > said: wanxia> "mysleep" writes oid and its value into a shared memory, which wanxia> will be read by another applicatioin "waitmsg". wanxia> If I use "localhost", rather than "172.26.4.44", waitmsg wanxia> receive

Re: add one compiler argument to CFLAGS

2005-06-02 Thread Wes Hardaker
> On Thu, 2 Jun 2005 15:27:49 +0800, "Jim Su" <[EMAIL PROTECTED]> said: Jim> --with-cflags="-g -O2 -DPROD_VERSION=411" Jim> The make ran successfully. Just want to double check with the Jim> experienced users see if this is a correct way to add additional Jim> compiler argument. That's corre

Re: net-snmp snmpv3 with oracle OEM snmp

2005-06-02 Thread Wes Hardaker
> On Thu, 2 Jun 2005 14:00:48 +0200, "Mieden, Rick van der" <[EMAIL > PROTECTED]> said: Rick> We are trying to get net-snmp and the oracle enterprise manager working Rick> together with the use of snmpv3. Rick> Snmpv3 for net-snmp (5.2.1) is working ok. Rick> Net-snmp and the Intelligen

Re: how to send a notification

2005-06-02 Thread Wes Hardaker
> On Thu, 2 Jun 2005 17:30:19 +0530, "Namita" <[EMAIL PROTECTED]> said: namita> I use the SCO trap to generate a trap like this.(Generic trap) namita> Trap_send localhost public 3 namita> Now, I want to send a Notification. namita> What do I do? Our tutorial explains how to use our snmptrap

Re: Net-SNMP and ip aliasing

2005-06-02 Thread Wes Hardaker
> On Thu, 2 Jun 2005 11:16:14 -0400, Glenn MacGregor <[EMAIL PROTECTED]> > said: Glenn> I am in the process of writing a subagent for net-snmp. I have Glenn> it working to a point. The system that the subagent will run on Glenn> may have virtual ipaddress assigned. I know I get the reque

Net-SNMP and ip aliasing

2005-06-02 Thread Glenn MacGregor
Hi All, I am in the process of writing a subagent for net-snmp. I have it working to a point. The system that the subagent will run on may have virtual ipaddress assigned. I know I get the requests into my subagent from any ip (virtual or physical) but is there a way to get the actual ip the snmpg

Implementing custom handler

2005-06-02 Thread Sridhar S
Robert, This is regarding a reply I came accross in URL: http://sourceforge.net/mailarchive/message.php?msg_id=9372258 In this reply you mentioned that user can register a custom handler to cache the data by accessing the backend, and then call the generated handler to act upon the data. (Please

how to send a notification

2005-06-02 Thread Namita
Hi. I use the SCO trap to generate a trap like this.(Generic trap) Trap_send localhost public 3 Now, I want to send a Notification. What do I do? Thanks and Regards, Namita. ***NOTE*** Deccanet Designs Ltd is now Flextroni

net-snmp snmpv3 with oracle OEM snmp

2005-06-02 Thread Mieden, Rick van der
Hi all,   We are trying to get net-snmp and the oracle enterprise manager working together with the use of snmpv3. Snmpv3 for net-snmp (5.2.1) is working ok. Net-snmp and the Intelligence Agent of oracle is working as well, together, but I don’t have the possibility to use snmpv3 anymor

add one compiler argument to CFLAGS

2005-06-02 Thread Jim Su
Hi Greeting: I'd like to add one compiler argument to CFLAGS. I have read the configure file. It doesn't say how to add an additional variable (e.g -DPROD_VERSION=123). From "configure -help" To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. --with-cfl