[acassen/keepalived] 2a187b: Fix keepalived snmp configuration
Alexandre Cassen <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <554cc0053c0cb_76823fbacd6eb2bc1581d@hookshot-fe5-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/acassen/keepalived
Commit: 2a187bf1949c0a9ef5c08ac20f1c99cda7654253
https://github.com/acassen/keepalived/commit/2a187bf1949c0a9ef5c08ac20f1c99cda7654253
Author: Sameer Agrawal <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M Makefile.in
M configure.in
Log Message:
-----------
Fix keepalived snmp configuration
- Creating a patch for keepalived snmp configuration
Signed-off-by: Colin Docherty <[email protected]>
Commit: b7ddfe9ae351aefd370abfaf4aff921698f7d1c5
https://github.com/acassen/keepalived/commit/b7ddfe9ae351aefd370abfaf4aff921698f7d1c5
Author: Alan Dewar <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/core/snmp.c
Log Message:
-----------
Change comments to match kernel style
- Change comments to match kerenl style
Signed-off-by: Colin Docherty <[email protected]>
Commit: 26d61eaaf47358ce0f1bd12618ad185db282ff8e
https://github.com/acassen/keepalived/commit/26d61eaaf47358ce0f1bd12618ad185db282ff8e
Author: Alan Dewar <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/check/check_snmp.c
M keepalived/core/snmp.c
M keepalived/include/snmp.h
M keepalived/vrrp/vrrp_snmp.c
Log Message:
-----------
Fix the keepalived mib and agentx warnings
During Keepalived startup, about twenty "duplicate registration" and a
couple of "Failed to connect to the agentx master agent" warning messages
were issued. Pairs of the "Failed to connect" warning messages were logged
every two minutes.
The "duplicate registration" warnings happened because VRRP called
snmp_agent_init twice, once for the keepalived-vrrp MIB, and once for the
rfc2787-vrrp MIB, however each call to snmp_agent_init also tried to register
the keepalived-global MIB (which holds data like Keepalived version number,
SMTP server details, and a "from" email address). It was the second attempt
to register this keepalived-global MIB that generated the "duplicate
registration" warning.
The registration of the keepalived-global MIB is now only done once under the
control of a static variable. init_agent is also called just once under the
control of the same static variable to prevent it logging a warning message.
The "Failed to connect" warnings occur because Keepalived does not know how
to connect to the SNMP AgentX master server. By default the Agent X master
server is listening for MIB registrations on a local TCP socket with a port
number of 705.
Signed-off-by: Colin Docherty <[email protected]>
Commit: 76f9ce36ae389983b48a83a933182739786908c9
https://github.com/acassen/keepalived/commit/76f9ce36ae389983b48a83a933182739786908c9
Author: Michael Littlejohn <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/vrrp/vrrp_scheduler.c
M keepalived/vrrp/vrrp_sync.c
Log Message:
-----------
Fix VRRP preemption taking too long
VRRP preemption may not work correctly due to group expiry timers
being incorrectly manipulated while running down the MDT. Also,
preemption can be disrupted if the VRRP group receives an
advertisement while running down it's timer.
Signed-off-by: Colin Docherty <[email protected]>
Commit: 565beea8af0982c5a0c63487a09385fd3d40303a
https://github.com/acassen/keepalived/commit/565beea8af0982c5a0c63487a09385fd3d40303a
Author: John Southworth <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/include/vrrp.h
M keepalived/include/vrrp_data.h
M keepalived/vrrp/vrrp.c
M keepalived/vrrp/vrrp_daemon.c
M keepalived/vrrp/vrrp_data.c
M keepalived/vrrp/vrrp_scheduler.c
M lib/signals.c
Log Message:
-----------
Initial Implementation of VRRP statistics
* Add VRRP counters, This is needed by the VRRP-MIB, and will provide
better insight into the operation of VRRP for users.
* Add SIGUSR1 and SIGUSR2 handlers
- SIGUSR1 allows users to dump current state of VRRP instacnes to
/tmp/keepalived.data
- SIGUSR2 allows users to dump VRRP counters to
/tmp/keepalived.stats
Signed-off-by: Colin Docherty <[email protected]>
Commit: 991f7c94609336a0267432239cadca0b8dc54ba5
https://github.com/acassen/keepalived/commit/991f7c94609336a0267432239cadca0b8dc54ba5
Author: John Southworth <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/vrrp/vrrp.c
Log Message:
-----------
Copy old VRRP stats on reload
- Copy old VRRP stats on reload
Signed-off-by: Colin Docherty <[email protected]>
Commit: 9b3dbb85791a5fa1cba76f4970a0b5bbf353373b
https://github.com/acassen/keepalived/commit/9b3dbb85791a5fa1cba76f4970a0b5bbf353373b
Author: John Southworth <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
A keepalived/include/vrrp_print.h
M keepalived/vrrp/Makefile.in
M keepalived/vrrp/vrrp_daemon.c
A keepalived/vrrp/vrrp_print.c
Log Message:
-----------
Seperate printing functions from vrrp_daemon.c
- Seperate state printing code from vrrp_daemon.c so that the code is better
organized.
Signed-off-by: Colin Docherty <[email protected]>
Commit: a50e95b3cabc7026f55626afaac2c38c35110150
https://github.com/acassen/keepalived/commit/a50e95b3cabc7026f55626afaac2c38c35110150
Author: John Southworth <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/include/vrrp_print.h
M keepalived/vrrp/vrrp_print.c
Log Message:
-----------
Finish implementation of data printing functions
- Finish implementation of data printing functions
Signed-off-by: Colin Docherty <[email protected]>
Commit: 34cbf8ad9d98f8a9da37625612793436575d18ad
https://github.com/acassen/keepalived/commit/34cbf8ad9d98f8a9da37625612793436575d18ad
Author: John Southworth <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/include/vrrp.h
M keepalived/vrrp/vrrp.c
M keepalived/vrrp/vrrp_data.c
Log Message:
-----------
Track master router priority in VRRP
- Track master router priority in VRRP
Signed-off-by: Colin Docherty <[email protected]>
Commit: c85942d2450ffd63ae75b65e2468f5edb5a63259
https://github.com/acassen/keepalived/commit/c85942d2450ffd63ae75b65e2468f5edb5a63259
Author: Michael Littlejohn <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/vrrp/vrrp_print.c
Log Message:
-----------
Added 'Master priority' output to show vrrp detail
"show vrrp detail" command generates an error when used on a virtual router
in BACKUP state
Created a new patch to add the missing 'Master Priority' field to the
output from the vrrp process. This is then correctly passed out to the CLI,
fixing the error.
Signed-off-by: Colin Docherty <[email protected]>
Commit: 5c4177381bee24f9f7fbe33b8dc20c2d9cc2bccb
https://github.com/acassen/keepalived/commit/5c4177381bee24f9f7fbe33b8dc20c2d9cc2bccb
Author: Sameer Agrawal <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/include/vrrp.h
M keepalived/include/vrrp_data.h
M keepalived/include/vrrp_notify.h
M keepalived/include/vrrp_print.h
M keepalived/vrrp/vrrp_data.c
M keepalived/vrrp/vrrp_notify.c
M keepalived/vrrp/vrrp_parser.c
M keepalived/vrrp/vrrp_print.c
M keepalived/vrrp/vrrp_snmp.c
Log Message:
-----------
Enhance keepalived vrrp to configure mltp-scripts
Currently, keepalived vrrp only allows to configure single notification
script. This is a limitation ans should be extended so that keepalived
vrrp can notify multiple scripts about vrrp state changes.
Signed-off-by: Colin Docherty <[email protected]>
Commit: a30a7c3e47701bc9aa7c4dbbe9408cec168ea569
https://github.com/acassen/keepalived/commit/a30a7c3e47701bc9aa7c4dbbe9408cec168ea569
Author: Sameer Agrawal <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/vrrp/vrrp_data.c
M keepalived/vrrp/vrrp_print.c
Log Message:
-----------
Don't display ipsec ah password in log files
When authentication type is selected as ipsec ah,
password should not be displayed in the log files.
Signed-off-by: Colin Docherty <[email protected]>
Commit: 89f910217097c1201ff15922a52facc668aa4ab4
https://github.com/acassen/keepalived/commit/89f910217097c1201ff15922a52facc668aa4ab4
Author: David Stapleton <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/include/vrrp.h
M keepalived/include/vrrp_notify.h
M keepalived/vrrp/vrrp.c
M keepalived/vrrp/vrrp_data.c
M keepalived/vrrp/vrrp_notify.c
M keepalived/vrrp/vrrp_scheduler.c
Log Message:
-----------
Fix notify upon reload
When a notify script is configured after Keepalived has been started,
if other notify scripts are already configured, these scripts get
reinvoked even if the state has not changed. This occurs when in backup
state. When in master state, no notifications are sent out at all if a
new notify script is configured.
For the backup case, this problem occurs when the daemon is reloaded.
This causes vrrp to leave the state it's currently in, go to the init
state and from there, go back to backup. However, this transition
causes the notify scripts to be invoked, causing a redundant
notification to be sent. For the master case, there is no call to
notify_instance_exec(), hence why no notifications are seen at all.
The solution is to add a new field to the vrrp struct that stores the
notify scripts that were configured before reload. A new function has
been added to take advantage of this new field. Instead of calling
notify_instance_exec() when we are in the init state, we now call
notify_instance_exec_init(). This is a proxy function that modifies
the 'script' member of a vrrp structure to point to a new list
containing only scripts that have not previously been configured,
thereby preventing the sending of notifications that have already been
sent. This new list is created by utilising the new vrrp struct field.
Inside this new function, notify_instance_exec() is called using the
modified VRRP instance. When this call returns, the member is reset
back to its original value.
Signed-off-by: Colin Docherty <[email protected]>
Commit: 02e1959a6c819a6ae33a60f549abbf4475114c78
https://github.com/acassen/keepalived/commit/02e1959a6c819a6ae33a60f549abbf4475114c78
Author: Jonas Johansson <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/include/vrrp.h
M keepalived/vrrp/vrrp.c
M keepalived/vrrp/vrrp_data.c
M keepalived/vrrp/vrrp_scheduler.c
M lib/utils.c
M lib/utils.h
Log Message:
-----------
Keepalived extension to support VRRP version 3
Major changes:
- Updated vrrp_header and _vrrp_t struct to support version 3
params.
- Support to build vrrp_v3 packet
Signed-off-by: Colin Docherty <[email protected]>
Commit: 92a96d19e026b9731d600e25c1bf3055849ef087
https://github.com/acassen/keepalived/commit/92a96d19e026b9731d600e25c1bf3055849ef087
Author: Jonas Johansson <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/include/vrrp.h
M keepalived/vrrp/vrrp.c
M keepalived/vrrp/vrrp_parser.c
Log Message:
-----------
Keepalived extension to support VRRP version 3 (2)
- Handler for version.
Signed-off-by: Colin Docherty <[email protected]>
Commit: e62f1f54cfae32205af935a6697529e45b8f2c3a
https://github.com/acassen/keepalived/commit/e62f1f54cfae32205af935a6697529e45b8f2c3a
Author: Jonas Johansson <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/include/vrrp.h
M keepalived/vrrp/vrrp.c
M keepalived/vrrp/vrrp_data.c
M keepalived/vrrp/vrrp_parser.c
M lib/timer.h
Log Message:
-----------
Keepalived extension to support VRRP version 3 (3)
- Timer changes to support centi-sec
Signed-off-by: Colin Docherty <[email protected]>
Commit: 7ec7c8d62a2873c49240304038cf9c71e55a8465
https://github.com/acassen/keepalived/commit/7ec7c8d62a2873c49240304038cf9c71e55a8465
Author: Colin Docherty <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/include/vrrp.h
M keepalived/include/vrrp_if.h
M keepalived/include/vrrp_ipaddress.h
M keepalived/vrrp/vrrp.c
M keepalived/vrrp/vrrp_data.c
M keepalived/vrrp/vrrp_if.c
M keepalived/vrrp/vrrp_ipaddress.c
M keepalived/vrrp/vrrp_parser.c
M keepalived/vrrp/vrrp_scheduler.c
M lib/utils.c
M lib/utils.h
Log Message:
-----------
Keepalived extension to support accept mode for v3
Keepalived extension to support accept mode for VRRPv3
-Handler for accept-mode to get the value from conf file.
-Adding “iptables” drop rule /firewalls for virtual IPs
from keepalived daemon when Accept_Mode is false and
VRRP instance entering master state. And deleting the
same when VRRP instance is leaving master.
-Handling firewalls during reload configuration.
Signed-off-by: Colin Docherty <[email protected]>
Commit: a483211402bb52f7c9f913e30a527cb69212a8a2
https://github.com/acassen/keepalived/commit/a483211402bb52f7c9f913e30a527cb69212a8a2
Author: Colin Docherty <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/include/vrrp.h
M keepalived/include/vrrp_if.h
M keepalived/include/vrrp_ipaddress.h
M keepalived/vrrp/vrrp.c
M keepalived/vrrp/vrrp_if.c
Log Message:
-----------
Fix up limitations of keepalived VRRPv3
The current Keepalived is supporting IPv6 but it is not fully functional and it is not as per RFC5798.
Following are the issues identified and changes done:
- IPv6 address population.
- Correction of Checksum in case of IPv6.
- Getting source address from received advertisements.
- Populating source address in sent VRRP advertisements.
Commit: 84a4f0aa0b6400e1d6bca2c7ec813fa5c30a8439
https://github.com/acassen/keepalived/commit/84a4f0aa0b6400e1d6bca2c7ec813fa5c30a8439
Author: Colin Docherty <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/vrrp/vrrp_print.c
Log Message:
-----------
Improve display output for VRRPv3
- Changed data-type of mcast_saddr to sockaddr_storage to support IPv6 also.
- Added new parameters version, accept, weight updated advertisement
interval for operational command show output.
Signed-off-by: Colin Docherty <[email protected]>
Commit: 202fdb8089086858dbb567e7b387402ec8b440e6
https://github.com/acassen/keepalived/commit/202fdb8089086858dbb567e7b387402ec8b440e6
Author: Colin Docherty <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M doc/KEEPALIVED-MIB
M keepalived/include/vrrp_snmp.h
M keepalived/vrrp/vrrp_snmp.c
Log Message:
-----------
MIB enhancements for accept-mode
The following changes are done to support VRRPv3.
- KEEPALIVED-MIB update to support Accept mode
- Code update to handle Accept mode.
Signed-off-by: Colin Docherty <[email protected]>
Commit: ce4f7b991301cdb4b1d6907c841e6b85dc236e63
https://github.com/acassen/keepalived/commit/ce4f7b991301cdb4b1d6907c841e6b85dc236e63
Author: David Stapleton <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M keepalived/include/vrrp.h
M keepalived/vrrp/vrrp.c
Log Message:
-----------
Fix mismatched advertisement interval
In VRRP version 3, all BACKUP routers must set their advertisement
intervals to match the current MASTER's. Although not explicitly
stated in RCF5798, when the MASTER falls over or forfeits its
MASTER status, the new MASTER should not continue to use the old
MASTER's advertisement interval value and should instead use its
locally configured value.
To achieve this, a new field has been added to the VRRP structure
that stores the most recent advertisement interval of the current
MASTER. We track changes to the current MASTER's interval and update
this new variable accordingly. The value is only updated when we are
in BACKUP state and reconfiguring the local advertisement interval
has no effect on it.
Signed-off-by: Colin Docherty <[email protected]>
Commit: 960e99d6cb7eeac670592a59173edac8f027e510
https://github.com/acassen/keepalived/commit/960e99d6cb7eeac670592a59173edac8f027e510
Author: Alexandre Cassen <[email protected]>
Date: 2015-05-08 (Fri, 08 May 2015)
Changed paths:
M Makefile.in
M configure.in
M doc/KEEPALIVED-MIB
M keepalived/check/check_snmp.c
M keepalived/core/snmp.c
M keepalived/include/snmp.h
M keepalived/include/vrrp.h
M keepalived/include/vrrp_data.h
M keepalived/include/vrrp_if.h
M keepalived/include/vrrp_ipaddress.h
M keepalived/include/vrrp_notify.h
A keepalived/include/vrrp_print.h
M keepalived/include/vrrp_snmp.h
M keepalived/vrrp/Makefile.in
M keepalived/vrrp/vrrp.c
M keepalived/vrrp/vrrp_daemon.c
M keepalived/vrrp/vrrp_data.c
M keepalived/vrrp/vrrp_if.c
M keepalived/vrrp/vrrp_ipaddress.c
M keepalived/vrrp/vrrp_notify.c
M keepalived/vrrp/vrrp_parser.c
A keepalived/vrrp/vrrp_print.c
M keepalived/vrrp/vrrp_scheduler.c
M keepalived/vrrp/vrrp_snmp.c
M keepalived/vrrp/vrrp_sync.c
M lib/signals.c
M lib/timer.h
M lib/utils.c
M lib/utils.h
Log Message:
-----------
Merge pull request #144 from coldoch/master
Upstreaming efforts from vyatta
Compare: https://github.com/acassen/keepalived/compare/9dedb7f01c0b...960e99d6cb7e
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel