>>>>> 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

Reply via email to