[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] snmptrapd.conf file examples
- Subject: [ale] snmptrapd.conf file examples
- From: elanda at xilogix.net (Ed Landa)
- Date: Thu, 20 Mar 2008 11:02:35 -0400
- In-reply-to: <[email protected]>
- References: <[email protected]>
> 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