dinamic creation of rows in a table (3)

2005-04-21 Thread Gemma Sánchez
Hi again I have followed the procedure that Dave prescribed me and now I have the template generated by *mib2c -c mib2c.create-dataset.conf -f newsub00 subestacion*, I know this template manages automatically row creation and deletion, but now I need to define a subhandler for aeEvTable,

Re: AGENT EXT SIT ON NAILS - 8

2005-04-21 Thread Dave Shield
On Thu, 2005-04-21 at 06:27, Parthiban Naliiamudali wrote: my settings: In the /usr/local/share/snmp/snmpd.conf file # SECTION: Trap Destinations trapsink localhost necops 1950 trapsink

R: How decode the trap fields on a windows machine

2005-04-21 Thread AESYS S.p.A. [Enzo Arlati]
Your hint was helpfull. Using snmptrap -Ddump I was able to recognize the trap received. But you are right on one point, to decode the packet is a real mess thanks -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] conto di Dave Shield Inviato: martedì 19 aprile 2005

Re: Question about locations for mib loading

2005-04-21 Thread Dave Shield
On Wed, 2005-04-20 at 20:32, Fabio Margarido wrote: I've set MIBDIRS and it worked... only problem is that I still have to put the default mib dir in the path cause if I don't net-snmp doesn't find the default mibs. How did you set MIBDIRS? MIBDIRS=some:list:of:directories or

Re: AGENT EXT SIT ON NAILS - 9

2005-04-21 Thread Dave Shield
On Thu, 2005-04-21 at 11:00, Parthiban Naliiamudali wrote: when i send a snmptrap it gives Missing value/type ... here is the copy paste of the terminal.. $ snmptrap -v 2c -c public 172.29.5.102:1950

dinamic creation of rows in a table (4)

2005-04-21 Thread Gemma Sánchez
Hi Dave's response has disorientated me in some way. If I have understood it correctly, perphaps I have been making my agent badly. Until now, when I had to define a subhandler to give a special behaviour to the column of a table, I used to define global variables that contain the values

Re: Problem on 64 bit machine: Timeout: No response from localhost

2005-04-21 Thread Radek Vokál
Latest version of Fedora net-snmp has the following patch which fixes this issue ... Radek On Wed, 2005-04-20 at 10:26 +0800, LIAO, GUANGDENG wrote: Hi all, When I run the command line : snmptable -v1 -c test localhost ip.ipAddrTableon 64bit machine, the result is :Timeout: No response from

Re: dinamic creation of rows in a table (4)

2005-04-21 Thread Dave Shield
On Thu, 2005-04-21 at 11:31, Gemma Sánchez wrote: Dave's response has disorientated me in some way. grin Yes, I'm good at doing that! Now if you'll just sit on this swivel chair and close your eyes, we'll proceed to the next stage. :-) Until now, when

Re: Question about net-SNMP test

2005-04-21 Thread Wes Hardaker
On Wed, 20 Apr 2005 18:58:07 -0700 (PDT), Tian WenQiang [EMAIL PROTECTED] said: Tian 1. Is there any commercial support for Xerces-C++ Tian exist? How much dose it cost? We wouldn't know that. We're not in charge of Xerces-C++. Tian 2. What the test method of net-SNMP, how many test Tian

RE: SNMP PROXY HELP!

2005-04-21 Thread Rustagi, Sandeep (Sandeep)
Hi Wes, Thanks for the response. I tried what is mentioned but not able to do so. I have added these lines in the snmpd.conf view all_view included .1 80 com2sec -Cn vrf1 device1_sec default public group mrtg_grp v1 device1_sec access mrtg_grp vrf1 any noauth exact all_view none none proxy -v

Re: Question about locations for mib loading

2005-04-21 Thread Fabio Margarido
I set it with MIBDIRS=dir, but what is the difference? It was empty anyway, so if I added to the var it would and up with the same content... It only worked when I also added /usr/local/share/snmp/mibs to it. For that matter, I added it with MIBDIRS=/usr/local/share/snmp/mibs:$MIBDIRS after I had

Re: Question about locations for mib loading

2005-04-21 Thread Dave Shield
On Thu, 2005-04-21 at 16:05, Fabio Margarido wrote: I set it with MIBDIRS=dir, but what is the difference? There's a hardwired default list of MIB directories (let's say it's /usr/local/share/snmp/mibs:$HOME/.snmp/mibs) If you set MIBDIRS=/tmp/mibs then you're saying forget about

Re: Problem on 64 bit machine: Timeout: No response from localhost

2005-04-21 Thread Robert Story
On Thu, 21 Apr 2005 12:59:42 +0200 Radek wrote: RV On Wed, 2005-04-20 at 10:26 +0800, LIAO, GUANGDENG wrote: RV Hi all, RV When I run the command line : snmptable -v1 -c test localhost RV ip.ipAddrTableon 64bit machine, the result is :Timeout: No response from RV localhost. The snmpd is

Re: Are there any examples of SNMP::TrapSession - I'll be darnedIf I can get it to work!

2005-04-21 Thread Gary Clark
Has anybody ran purify on this ? Cheers, Garyc - Original Message - From: Wes Hardaker [EMAIL PROTECTED] To: Andy Ford [EMAIL PROTECTED] Cc: Wes Hardaker [EMAIL PROTECTED]; [EMAIL PROTECTED]; Net-Snmp (E-mail) net-snmp-users@lists.sourceforge.net Sent: Wednesday, April 20, 2005 1:43 PM

array_user.conf row creation

2005-04-21 Thread George, Geo
Hi, I am using mib2c.array_user.conf (Net Snmp version 5.0.9) for implementing a private MIB. When my agent starts up, I need to read information from external data source (driver IOCTL, API etc) and populate the information to table rows.( It could be around 50 100 rows once it is

Re: Net-SNMP 5.1.2 Memory leaks

2005-04-21 Thread Gary Clark
Ahh! I have just put the donkey outfit on and am now sitting in a corner pretending I dont exist. Basically in my history with net-snmp project I assumed better. Now much wiser, but still as stupid as a donkeys ass and shining with pride I realized that I modified code in the table_array.c which

Re: Problem on 64 bit machine: Timeout: No response from localhost

2005-04-21 Thread Robert Story
Eek, made a cut-n-paste error in my last msg.. On Thu, 21 Apr 2005 13:32:23 -0400 Robert wrote: RS The real problem is that the old api uses snmp_set_var_value, not RS snmp_set_var_value (which is where Radek's patch is), and ^^ should be snmp_varlist_add_variable. It looks

Re: snmpset and reboot

2005-04-21 Thread Robert Story
On Wed, 20 Apr 2005 10:12:47 +0100 Dave wrote: DS On Wed, 2005-04-20 at 09:25, Vincent AARON wrote: DS I wonder if it's possible to reboot those Linuxbox using DS snmpset command. DS DS There isn't an OID to reboot the system in any configuration DS that we supply, no. You could try asking

Re: Processing unsupported objects

2005-04-21 Thread Robert Story
On Thu, 21 Apr 2005 21:48:37 +0530 Sridhar wrote: SS In our setup we don't have the support for the ifHC* objects of SS ifXTable. When ifXTable is queried from the manager values are not SS returned for ifHC* objects. As I observed after receiving the value for SS ifOutBroadcastPkts; there is some

Re: array_user.conf row creation

2005-04-21 Thread Robert Story
On Thu, 21 Apr 2005 13:20:30 -0700 George, wrote: GG Does the current array_user code handles this ?(version 5.0.9) row GG creation during startup ? If so can anyone tell some example? Yes. simply add them in the init function. Examples here: