arcserve traps, snmptrapd, into nagios... missing 1 piece

NYCE, GREG greg.nyce at aei.com
Thu Dec 12 21:58:27 CET 2002


I've followed the instructions in the Nagios documentation
http://nagios.sourceforge.net/docs/1_0/int-snmptrap.html in terms of setting
up snmptrapd as a traphandler, and it dutifully fires off the event-handler
script.  However, what I'm wanting to do is somehow move over the trap
"message/status" and pipe that into the output.  See example traps below...
want to move the number of errors/warnings into the Service status.

Dec 11 17:48:41 netmon snmptrapd[5143]: 192.168.1.34: Enterprise Specific
Trap (arcServetrapMed) Uptime: 0:00:00.00,
enterprises.cheyenne.arcServe.arcServeServerName.0 = "BAK01",
enterprises.cheyenne.arcServe.arcServetrapdesc.0 = "BAK01: Backup Operation
Incomplete..Number of Errors/Warnings: 0/6"

Dec 11 20:43:49 netmon snmptrapd[5143]: 192.168.1.34: Enterprise Specific
Trap (arcServetrapMed) Uptime: 0:00:00.00,
enterprises.cheyenne.arcServe.arcServeServerName.0 = "BAK01",
enterprises.cheyenne.arcServe.arcServetrapdesc.0 = "BAK01: Backup Operation
Incomplete..Number of Errors/Warnings: 0/2"

So, is that just a matter of knowing what variable (varbind?) that the
snmptrap would hold that in?  Based on teh documentation, it appears that
the server name is held in $host...

___________________________

greg.nyce at aei.com
970-407-6948 

_______________________________________________________________
This message, including any attachments, may contain information
that is confidential and proprietary information of Advanced 
Energy Industries, Inc.  The dissemination, distribution, use 
or copying of this message or any of its attachments is 
strictly prohibited without the express written consent of 
Advanced Energy Industries, Inc.


-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/




More information about the Users mailing list