Skip to content

Commit

Permalink
Merge pull request #276 from jmcgill298/asa_failover
Browse files Browse the repository at this point in the history
Account for  device 'Not Ready'
  • Loading branch information
jmcgill298 authored Oct 24, 2018
2 parents 08330ff + 2c58a9c commit f6589e2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions templates/cisco_asa_show_failover.template
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ Value List LAST_FAILOVER_MONTH (\w+)
Value List LAST_FAILOVER_DAY (\d+)
Value List LAST_FAILOVER_YEAR (\d+)
Value List SERVICE (\S+)
Value List SERVICE_STATE (\S+|)
Value List SERVICE_STATE (.*?)
Value List SERVICE_MATE (\S+)
Value List SERVICE_STATE_MATE (\S+|)
Value List SERVICE_STATE_MATE (.*?)
Value List SSP_SLOT (\d+)
Value List SSP_MODEL (\S+)
Value List SSP_STATUS (\S+)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ parsed_sample:
service: ["Active"]
service_state: [""]
service_mate: ["Standby"]
service_state_mate: ["Ready"]
service_state_mate: ["Not Ready"]
ssp_slot: ["0", "1"]
ssp_model: ["ASA5512", "IPS5512"]
ssp_status: ["Up", "Up/Up"]
Expand Down
2 changes: 1 addition & 1 deletion tests/cisco_asa/show_failover/cisco_asa_show_failover2.raw
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Last Failover at: 19:14:57 UTC Oct 17 2018
Interface management (10.10.20.21): Normal (Monitored)
slot 1: IPS5512 hw/sw rev (N/A/7.2(1)E4) status (Up/Up)
IPS, 7.2(1)E4, Up
Other host: Secondary - Standby Ready
Other host: Secondary - Standby Not Ready
Active time: 5065841 (sec)
slot 0: ASA5512 hw/sw rev (1.0/8.6(1)2) status (Up Sys)
Interface management (10.10.20.22): Normal (Monitored)
Expand Down

0 comments on commit f6589e2

Please sign in to comment.