RE: I have implemted a Vacm table and register to my Subagent(agentx)::Implemented a snmpcommunity-Table and snmptargetTable butAgentis taking snmpcommunity string form snmpd.conf

2008-10-06 Thread Mike Ayers
> From: kumar undurthi [mailto:[EMAIL PROTECTED] > Sent: Monday, September 29, 2008 4:54 PM > I have attached the snmpd.conf file. In the The attachment did not arrive. You may need to jar it up or add a harmless extension, like ".dat", to get it through. > snmpd.conf

Re: How does a cache handler work?

2008-10-06 Thread Jörg Westheide
Hi Wes! > I'd look at an example. Say the mibII/udpTable.c file is a good > example. As far as I understood this example uses a global variable to store the cache's data. Is this the usual way? I'd expect a reference to the cache's data to be passed to the (scalar) handler. Where can I find s

RE: Help request snmptrap

2008-10-06 Thread Mike Ayers
> From: Christophe Thévenin [mailto:[EMAIL PROTECTED] > Sent: Friday, September 26, 2008 2:43 AM > I would like create a snmptrap request but I don't understand > the tutorial: http://www.net-snmp.org/wiki/index.php/TUT:snmptrap > I would like send data. > My request is : snmptrap -v 3 host 192

Dynamic add/remove routes in the agent

2008-10-06 Thread Francisco Rodriguez
Hi, I have been playing for a bit with Net-SNMP agent trying to find out a way to modify via SNMP the routing table of a Linux Router. I have first try to delete a routing entry by issuing the command: “snmpset -v 2c -c route-server 10.100.100.2 ip.ipRouteTable.ipRouteEntry.ipRouteType.192.168.14

Re: Compile error: libnetsnmpmibs.so: undefined reference

2008-10-06 Thread Paul Orvin
Wes, Thank you for the response. However, I get an entirely different error when compiling with -lsensors linked. # ./configure --with-mib-modules="ucd-snmp/lmsensorsMib" --with-libs="-lsensors" checking what to build and install... agent apps man local mibs using default persistent mask 077 usi

how can i untain $ARGV from a perl script extending snmp?

2008-10-06 Thread Jordi Moles Blanco
hi, I'm really struggling with this and i would very pleased if you could help me. I'm using a perl script to extend snmp functionality. As you already now, when snmp "passes" the control to the perl script, it enables the flag "-T" . Therefore, the problem is that i can't use any tainted var

init_modules

2008-10-06 Thread Shigris Leonid
Hi, I need Your Help, I'm using net-snmp 5.4.1 I try init my modules by that way: Init_agent ("Myapp"); Init_mymodule1(); Init_mymodule2(); .. Init_snmp("Myapp"); ... ... .. While(1) { Agent_check_and_process(1); } And working fine for me. But if I try init some new modules

Get a value from a table (extern function)

2008-10-06 Thread Arazo Camprecios, Marc
I have created my table with table_data.conf and I'm able to Get/Set values from/to the table. However, I don't know how to store them into my extern program. I have a function which communicates my program with the agent. I'm codifying the Get/Set function into the agent but I don't know what

Re: Re: how to generate net-snmp release version(binary packege)?

2008-10-06 Thread xiao ren
Hi, Thomas I'd like to run my agent on UNIX(AIX, HPUX) or LINUX, and my current net-snmp version is 5.4.2.pre1. I've made a little change on net-snmp, so I prefer to use my own version other than 3rd party's. Thank you! -- ren 2008-10-06 -

RE: MIB Creator Tool

2008-10-06 Thread Arazo Camprecios, Marc
Hi, You could try with the free version of MG-Soft Visual Builder to learn how to create a MIB but remeber that you can't use it with commercial purposes unless you buy the license. Besides, here you can find a very good example of a MIB: http://www.mg-soft.si/builder-example.html Reagr

MIB Creator Tool

2008-10-06 Thread tresh tresh
Hi, Is there a free tool for creating MIBs? I want to create a MIB file, but I'd rather avoid writing it by myself. If there is not such a tool for free. Is there a very easy template (an example file) on the Internet so that I could be able easily and quickly adjust it. Thanks Roman ---

Re: how to generate net-snmp release version(binary packege)?

2008-10-06 Thread Thomas Anders
xiao ren wrote: > I'd like to dispatch my snmpd agent to several different hosts, but I don't > want to compile net-snmp on those machines one by one. To compile it on one > machine and dispatch the binary code on others seems to be the right way. But > I don't know how to do this, could anybody

Re: Re: is it possible to install agent without root priority?

2008-10-06 Thread xiao ren
Hi, Fujita Yes, I've recompile net-snmp with some changes, and for the time being, it runs ok. I list the configuration changes below FYI: 1. add the "--prefix=$YOUR_INSTALL_PATH" option, this way it can be installed into your directory. 2. while running configure script, rename the persistent