"Stand-alone" applications

This is a discussion on "Stand-alone" applications within the SNMP Users forums, part of the Networking and Network Related category; Hello all, I have tried to figure this out from the FAQ and docs for Net-SNMP, but still escapes ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-11-2006
David Arthur
 
Posts: n/a
Default "Stand-alone" applications

Hello all,

I have tried to figure this out from the FAQ and docs for Net-SNMP, but
still escapes me...

The FAQ entry "How can I get the agent to generate a trap (or inform)?"
contains the statement:

"Note that these APIs are only available within the agent (or
subagents), and are not available to stand-alone applications.
The code for 'snmptrap' shows an approach to use in such a case."

I used the mib2c to generate a subagent program that contained my MIB
objects and sent a trap every time an alarm went off (from some example
code). Now I have an application that does numerous other things, but would
like to send SNMP traps when certain events (known to my application) occur.

Would such an application be an agent/subagent, or a "stand-alone"
application? (I am guessing that it is "stand-alone", as the code from the
mib2c generated piece won't work in the new app.)

Any clarification is appreciated!

TIA,
DA


-------------------------------------------------------------------------
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?p...rge&CID=DEVDEV
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:12 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0