On 19/07/07, Mateus Interciso wrote:
> Hello, I'm trying to implement a simple snmptrap, that checks if a
> process is running, and if it's not, fire up an email telling the
> proccess crashed, stuff like this.


Please see the snmpd.conf(5) man page.
In particular, the sections on
a) SYSTEM INFORMATION ("Process Monitoring")
and
b) ACTIVE MONITORING ("DisMan Event MIB")



> Now, I've been reading the net-snmp tutorial on snmptraps, and as far as
> I've understood, I need a custom MIB file right?


Wrong.
The Net-SNMP agent includes support for this already.

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
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users