diff options
author | John Southworth <john.southworth@vyatta.com> | 2012-05-07 18:05:00 -0700 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2012-05-07 18:05:00 -0700 |
commit | 781e0278d943db6ee3019b2180cb3924bf3a0253 (patch) | |
tree | 957a79e4d3afe272b2bf44e57e21d8c35aaa6f0f /scripts | |
parent | da1ab20a60be699a5ac80d61285b414d05b6f46f (diff) | |
download | vyatta-cfg-system-781e0278d943db6ee3019b2180cb3924bf3a0253.tar.gz vyatta-cfg-system-781e0278d943db6ee3019b2180cb3924bf3a0253.zip |
Turn on vrrp snmp traps by default
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/keepalived/vyatta-keepalived.pl | 1 |
1 files changed, 1 insertions, 0 deletions
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 ); } |