How to configure net-snmp to expose the agentx_send_ping() function

Larry Hayes <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CAG3KfNbZExE6_gKdFbv9twLgfkYoapwrhLK2YR0m_b+QS1Q+kA@mail.gmail.com>
OS: Linux
Net-SNMP version: 5.7.3
Build Env: OpenEmbedded yocto

I am trying to build a sub agent that generates traps for events
originating from another process.
I do not want to start trying to generate traps until the snmpd agent is
running.

So I am trying to use agentx_send_ping() to detect when the snmpd agent is
up.

I have this working.  But my question is there any configuration options
that will install the needed header files in a DEST_DIR/usr/include
directory so I can build my sub agent in a somewhat normal way without
adding install copy lines to copy the headers out

I see the net-snmp headers being installed in a xxx/usr/include/net-snmp
directory but the header that includes the the agentx_send_ping() seems to
live outside of the net-snmp directory in an agent directory.

Thanks
Larry

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.