Networking

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • multiple Sub-agents managing the same table

    0 answers - 3161 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi again (and sorry for the spam),
    I have tested the function register_int_index to generate an unique index
    and added it in the registration of my table genServerTable.
    I did a test where I launch 4 applications (subagent using AgentX)
    registering rows in the same table; moreover, I log the index returned by
    the function register_int_index (I have to increment it after the call of
    register_int_index, as the first index returned by register_int_index begins
    with 0 instead of 1)
    All seems to be K (in the log and in the attribution of the index):
    Application 1 registers the row 1
    Application 2 registers the row 2
    Application 3 registers the row 3
    Application 4 registers the row 4
    But when I execute a snmpwalk or a snmpget, I only get metrics for the index
    1. The rows 2, 3, and 4 have not been registered.
    I appreciate any help about this problem. and I would like to know if my
    approach (share the same table by several applications) is possible or not.

    >From: "Arnaud BDENAN" <arnboden (AT) hotmail (DOT) com>
    >To: net-snmp-users (AT) lists (DOT) sourceforge.net
    >Subject: multiple Sub-agents managing the same table
    >Date: Fri, 01 Sep 2006 17:15:45 +0200
    >
    >Hi,
    >
    >I have a generic MIB composed with:
    >- table of Servers
    >- table of metrics exposed by a server (generic table: thanks Dave;o) )
    >
    >I want that all my applications share this MIB and register in the same
    >MIB.
    >
    >Question 1: Is it feasible?
    >
    >Question 2: When my application starts, it initializes the tables. This
    >initialization is done for each application. How can I share my table
    >across
    >multiple applications? If all applications, when they start, call the
    >following C function netsnmp_create_table_data_set, what would be the
    >result? How can I manage the index in all applications so that I'm sure
    >that
    >this is unique for each process?
    >
    >Thansk.
    >
    >
    >Express yourself instantly with MSN Messenger! Download today it's FREE!
    >
    >
    >
    >
    >Using Tomcat but need to do more? Need to support web services, security?
    >Get stuff done quickly with pre-integrated technology to make your job
    >easier
    >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
    >
    >
    >Net-snmp-users mailing list
    >Net-snmp-users (AT) lists (DOT) sourceforge.net
    >Please see the following page to unsubscribe or change other options:
    >

    FREE pop-up blocking with the new MSN Toolbar - get it now!
    Using Tomcat but need to do more? Need to support web services, security?
    Get stuff done quickly with pre-integrated technology to make your job easier
    Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
    Net-snmp-users mailing list
    Net-snmp-users (AT) lists (DOT) sourceforge.net
    Please see the following page to unsubscribe or change other options:

Re: multiple Sub-agents managing the same table


max 4000 letters.
Your nickname that display:
In order to stop the spam: 8 + 7 =
QUESTION ON "Networking"

EMSDN.COM