Re: can we send trap and normal value of same object

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 21/05/07, Vishal Nandanwar <[email protected]> wrote:
> I am developing a agent in which some parameters are traps and some are
> scalar objects.

It's not particularly clear what you mean by this.
What do you mean by "parameters" in this context?

>                          I have problem if instead of trap I have to send
> normal vallue of that object how to send?

If you're sending information from the agent, then this message must
take the form of a notification (i.e. a trap) - which *must* be defined
as a NOTIFICATION-TYPE object.
   However this trap can take a list of "normal" objects as the payload
for the trap, so it's perfectly valid (and usual) to include such values
as *part* of the trap - but not "instead" of it.


Dave

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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.