More on SNMP Trap issue

James Mckenzie <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <22660447.1158353908819.JavaMail.root@elwamui-muscovy.atl.sa.earthlink.net>
Having read through the FAQ and User's guides on-line I found that I need to add a monitor line.  However the examples are a little more than confusing:

>For example:
>######
>proc smail
>proc mdlogd
>
>monitor -r 30 -i -o prNames.1 -o prErrMessage.1 "Process smail" prErrorFlag.1 !=0
>monitor -r 30 -i -o prNames.2 -o prErrMessage.2 "Process Solstice Disksuite SNMP trap" prErrorFlag.2 !=0
>
>To monitor disks, do the same.  An example:
>
>########
># This example sends a trap if root has less than 10% available and /usr6 less t
>han 90%
>#
>disk / 10%
>disk /usr6 90%
>
>monitor -i -r 30 -o dskPath.1 -o dskErrorMsg.1 "root file system" dskErrorFlag.1 !=0
>monitor -i -r 30 -o dskPath.2 -o dskErrorMsg.2 "ORACLE file system" dskErrorFlag.2 != 0
>#########
>
Which line is correct and will generate a SNMP Trap to my monitoring system?

Thank you.

James McKenzie


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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.