Re: how to make agent able to send traps? - SNMP

This is a discussion on Re: how to make agent able to send traps? - SNMP ; On 18/07/07, vincenzobonvino@tin.it wrote:
> For example, I want that it send me a trap about an integer Managed Object
> everytime it becomes odd or even.
> How can i do it?
Have a look at the snmpd.conf(5) man ...

Re: how to make agent able to send traps?

On 18/07/07, vincenzobonvino@tin.it wrote:
> For example, I want that it send me a trap about an integer Managed Object
> everytime it becomes odd or even.
> How can i do it?

Have a look at the snmpd.conf(5) man page, and in particular,
the section entitled ACTIVE MONITORING

I'm not sure how easy it would be to support an odd/even notification.
That would rely on the DisMan Expression MIB, which is incomplete
(and most untested). But you should certainly be able to monitor
simple boolean comparisons using the Event MIB.