From 781e0278d943db6ee3019b2180cb3924bf3a0253 Mon Sep 17 00:00:00 2001 From: John Southworth Date: Mon, 7 May 2012 18:05:00 -0700 Subject: Turn on vrrp snmp traps by default --- scripts/keepalived/vyatta-keepalived.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/keepalived/vyatta-keepalived.pl b/scripts/keepalived/vyatta-keepalived.pl index d0eb11ca..60b02608 100755 --- a/scripts/keepalived/vyatta-keepalived.pl +++ b/scripts/keepalived/vyatta-keepalived.pl @@ -468,6 +468,7 @@ sub vrrp_update_config { if ( defined $sync_groups && $sync_groups ne "" ) { $output = $sync_groups . $output; } + $output = "global_defs {\n\tenable_traps\n}\n" . $output; $output = "#\n# autogenerated by $0\n#\n\n" . $output; keepalived_write_file( $conf_file, $output ); } -- cgit v1.2.3