Re: need to develop some traps

gunsnroses <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
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.