How to create Master agent Sub-agents.

2009-09-16 Thread purushotam rao
Dear Sir, For my project I am using net-snmp. I have divided the SNMP parameters in three categories. Alarms-mib.txt Controls-mib.txt Configuration-mib.txt Each of these mibs should be placed in three different sub-agents. But master agent should be available on the standard transport address

How to create Master-Agent Sub-agent

2009-09-16 Thread purushotam rao
For my project I am using net-snmp. I have divided the SNMP parameters in three categories. Alarms-mib.txt Controls-mib.txt Configuration-mib.txt Each of these mibs should be placed in three different sub-agents. But master agent should be available on the standard transport address to

Re: agent_check_and_process: select info

2009-09-16 Thread Bart Van Assche
On Tue, Sep 15, 2009 at 11:16 PM, Mike Ayers mike_ay...@tvworks.com wrote:  Then reboot!  Apps (any apps) should certainly be able to handle clock changes, forward or back, of a second or less, without blinking.  Time zone changes are nice to have, but some things barf on those (I have a cell

Dynamic Loading of Module

2009-09-16 Thread MURTHY VARUN HARSH-PWC843
Hi, I want to deploy a module (private MIB) without having to compile it and link it with snmpd. Do I need to use a different configuration file when I do mib2c on my MIB? Also is it right that after I build a .so out of the generated and modified C file I just have to add its location in

Re: GCC warnings compiling mib2c output

2009-09-16 Thread Dave Shield
2009/9/14 Christopher Nelson chris.nelson.1...@gmail.com:  Recently, we upgraded compilers and we're seeing a lot of warnings about dereferencing type-punned pointer will break strict-aliasing rules Well, the warning is technically correct. The memdup call *does* re-cast these pointers in a

Re: GCC warnings compiling mib2c output

2009-09-16 Thread Christopher Nelson
 Recently, we upgraded compilers and we're seeing a lot of warnings about dereferencing type-punned pointer will break strict-aliasing rules Well, the warning is technically correct. The memdup call *does* re-cast these pointers in a potentially non-safe manner.   But memdup is working with

config

2009-09-16 Thread Darshan Ghumare
Hi all, I have used following command to configure NET-SNMP-5.4.2.1 ./configure --disable-debugging --enable-mini-agent --datadir=/root/share --bindir=/root/snmp/bin --sbindir=/root/snmp/sbin --libexecdir=/root/snmp/sbin --libdir=/root/snmp/lib --disable-applications --disable-set-support

Re: GCC warnings compiling mib2c output

2009-09-16 Thread Christopher Nelson
I suppose you could consider tweaking the call to use 'void' rather than 'char' pointers.   In retrospect, that would have been a better choice, and might keep your compiler happy.   But note that this change would have to be applied throughout the whole codebase. I'm running up against a

Re: GCC warnings compiling mib2c output

2009-09-16 Thread Bart Van Assche
On Wed, Sep 16, 2009 at 2:08 PM, Christopher Nelson chris.nelson.1...@gmail.com wrote: I suppose you could consider tweaking the call to use 'void' rather than 'char' pointers.   In retrospect, that would have been a better choice, and might keep your compiler happy.   But note that this

Compile problem

2009-09-16 Thread Андрей Долгушин
Greetings! I try compile this package for PowerPC platform. Configuration string is: ./configure --host=i686-pc-linux-gnu --target=powerpc --prefix=$HOME/ppc_install --exec-prefix=$HOME/ppc_exec_install --disable-embedded-perl --disable-scripts --with-cc=powerpc-405-linux-gnu-gcc

RE: Need help on snmpv3 AuthPrev trap

2009-09-16 Thread Mike Ayers
From: Gaikwad, Rupesh [mailto:rupesh_gaik...@bmc.com] Sent: Tuesday, September 15, 2009 10:21 PM Actually, I am trying with a perl script directly to decrypt the incoming encrypted data by using If you are using net-snmp tools, they will decrypt the data for you. If you are not

RE: agent_check_and_process: select info

2009-09-16 Thread Sam V
I agree. On an embedded system, there are applications that can't be simply rebooted. There has to be a way for net-snmp agent to recover from this. Date: Wed, 16 Sep 2009 08:32:48 +0200 Subject: Re: agent_check_and_process: select info From: bart.vanass...@gmail.com To:

Problem with snmptable, snmpwalk for a table with gaps in column ids

2009-09-16 Thread Aaron Young
I've experienced an issue with 5.4.2.1 where my table has non-contiguous column ids, and both snmpwalk and snmptable seem to stop at the gap. i.e. (column ids 2,3,10) snmptable -v2c -Ci -c public localhost:1616 mxOtherTable SNMP table: MPATHIX-MIB::mxOtherTable index

RE: How to create Master-Agent Sub-agent

2009-09-16 Thread Mike Ayers
From: purushotam rao [mailto:ups...@gmail.com] Sent: Tuesday, September 15, 2009 11:17 PM For my project I am using net-snmp. I have divided the SNMP parameters in three categories. Alarms-mib.txt Controls-mib.txt Configuration-mib.txt Each of these mibs should be placed in

Re: Problem with snmptable, snmpwalk for a table with gaps in column ids

2009-09-16 Thread Aaron Young
I tried using the valid_columns struct, didn't change anything: netsnmp_table_set_multi_add_default_row( table, 2, ASN_OCTET_STR, 0, NULL, 0, 3, ASN_INTEGER, 0, defaultState, sizeof( defaultState ), 20, ASN_OCTET_STR, 0, NULL, 0,

RE: config

2009-09-16 Thread Mike Ayers
From: Darshan Ghumare [mailto:darshan.ghum...@gmail.com] Sent: Tuesday, September 15, 2009 11:18 PM My requirements are, 1 snmpd need to support only SNMPv2c. I don't think you can build without v3. 2 snmpd need to support GET,GETNEXT ,GETBULK send traps. 3 Need to support only