Re: external application asks agent to send a trap - how to

Joao Miguel Ferreira <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Tue, 2007-03-13 at 12:40 +0000, Dave Shield wrote:
> On 09/03/07, Joao Miguel Ferreira <[email protected]> wrote:
> > Is there some kind of entry point in the snmpd agent that would allow an
> > external aplication to ask the agent to send a trap to the trapsinks ?
> 
> Only if you write the external application as an AgentX subagent.
> It could then issue an AgentX notification request, which would be
> sent out from the main agent to all configured destinations.
> 
> Such a subagent wouldn't have to handle GET or SET requests.
> If it didn't register any OIDs, then the master agent wouldn't send
> any requests to it.
> 

That's the approach I was looking for. Never used AgentX before but it
seems like a good time to learn.

Thank you.

jmf

> That's probably the cleanest way.
> 
> Dave


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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.