Hi,
thanks for the answer...that helped zillions. I hope to write some of my
own soon. I am wondering which OID to use for new mibs.
thanks,
zix
On Thu, May 27, 2010 at 12:14 AM, Wes Hardaker <
[email protected]> wrote:
> >>>>> On Mon, 24 May 2010 17:07:47 +0530, gunsnroses <[email protected]>
> said:
>
> g> there are a couple of more traps that I would like to write. So,
> g> I am looking towards how to write a new one if not supported. How do I
> go
> g> about those(trap getting generated when our system configuration file
> g> changes, not size, so I have to do some md5sum checking, customised
> g> linkupDown etc). I am keen to know the know how do I link my application
> g> code with trap addresses in snmpd.conf and monitor by "monitor" command
> g> support in snmpd.conf file?
>
> If you need to write new traps in C-code take a look at the examples in:
>
> agent/mibgroup/examples/notification.c
>
> If you need to do it from another script, you might consider using the
> "agentxtrap" command, assuming you have a snmpd running with agentx
> support turned on.
> --
> Wes Hardaker
> Cobham Analytic Solutions
>
------------------------------------------------------------------------------
_______________________________________________
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