Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolves #1330 inconsistent leading whitespace issue #1331

Merged
merged 1 commit into from
Mar 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ Value AVG_REDUNDANCY_PEER_LATENCY (\d+)
Value AVG_MGMT_GW_LATENCY (\d+)

Start
^\s+Redundancy Mode\s+=\s+${REDUNDANCY_MODE}\s*$$
^\s+Local State\s+=\s+${LOCAL_STATE}\s*$$
^\s+Peer State\s+=\s+${PEER_STATE}\s*$$
^\s+Unit\s+=\s+${UNIT}\s*$$
^\s+Unit ID\s+=\s+${UNIT_ID}\s*$$
^\s+Redundancy State\s+=\s+${REDUNDANCY_STATE}\s*$$
^\s+Mobility MAC\s+=\s+${MOBILITY_MAC}\s*$$
^\s+Redundancy Port\s+=\s+${REDUNDANCY_PORT}\s*$$
^\s+BulkSync Status\s+=\s+${BULKSYNC_STATUS}\s*$$
^\s*Redundancy Mode\s+=\s+${REDUNDANCY_MODE}\s*$$
^\s*Local State\s+=\s+${LOCAL_STATE}\s*$$
^\s*Peer State\s+=\s+${PEER_STATE}\s*$$
^\s*Unit\s+=\s+${UNIT}\s*$$
^\s*Unit ID\s+=\s+${UNIT_ID}\s*$$
^\s*Redundancy State\s+=\s+${REDUNDANCY_STATE}\s*$$
^\s*Mobility MAC\s+=\s+${MOBILITY_MAC}\s*$$
^\s*Redundancy Port\s+=\s+${REDUNDANCY_PORT}\s*$$
^\s*BulkSync Status\s+=\s+${BULKSYNC_STATUS}\s*$$
^\s*Average Redundancy Peer Reachability Latency\s+=\s+${AVG_REDUNDANCY_PEER_LATENCY}\s+\S+\s+Seconds\s*$$
^\s*Average Management Gateway Reachability Latency\s+=\s+${AVG_MGMT_GW_LATENCY}\s+\S+\s+Seconds\s*$$
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Redundancy Mode = SSO ENABLED
Local State = ACTIVE
Peer State = STANDBY HOT
Unit = Primary
Unit ID = 00:00:00:00:12:34
Redundancy State = SSO
Mobility MAC = 00:00:00:00:12:34
Redundancy Port = UP
BulkSync Status = Complete
Average Redundancy Peer Reachability Latency = 199 Micro Seconds
Average Management Gateway Reachability Latency = 570 Micro Seconds
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
parsed_sample:
- redundancy_mode: "SSO ENABLED"
local_state: "ACTIVE"
peer_state: "STANDBY HOT"
unit: "Primary"
unit_id: "00:00:00:00:12:34"
redundancy_state: "SSO"
mobility_mac: "00:00:00:00:12:34"
redundancy_port: "UP"
bulksync_status: "Complete"
avg_redundancy_peer_latency: "199"
avg_mgmt_gw_latency: "570"