[ale] snmptrapd.conf file examples

Ed Landa elanda at xilogix.net
Thu Mar 20 11:02:35 EDT 2008


> Anyone done this before and able to point me at detailed info?

I used snmptrapd about 5 years ago in checking for blade
insertion/removals and it worked well, so as long as the syntax hasn't
changed ... this worked:

traphandle .1.3.6.1.4.1.6767.1.1.900.5 /usr/local/xilogix/bin/handle_blade_change.pl

Parameters passed to the program were:

#! /usr/bin/perl
# Handle blade insertion and removal events

$system = <STDIN>; chomp $system;
$ip = <STDIN>; chomp $ip;
$uptime = <STDIN>; chomp $uptime;
$trap = <STDIN>; chomp $trap;
$message = <STDIN>; chomp $message;


I'm not much use beyond dredging up the old files.  Hopefully this will
get you on the right track.

Ed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.ale.org/pipermail/ale/attachments/20080320/19f57d80/attachment.bin 


More information about the Ale mailing list