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

bugfix - handle fortinet unhealthy HA status in fortinet_get_system_ha_status #1791

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

mjbear
Copy link
Collaborator

@mjbear mjbear commented Jul 28, 2024

resolves #1690
bugfix

In FortiOS 7.0 (but possibly other versions), when there is an unhealthy HA status the warning is not on the same line as "HA Health Status:". Instead the status/warning is on a new line.

This PR captures the entire warning line except the trailing semicolon (which is crucial to anchoring the Rule regex).

@mjbear mjbear changed the title bugfix - handle fortinet unhealthy HA status in get_system_ha_status bugfix - handle fortinet unhealthy HA status in fortinet_get_system_ha_status Jul 28, 2024
@jmcgill298 jmcgill298 merged commit 6fdf4c6 into networktocode:master Jul 29, 2024
14 checks passed
@mjbear mjbear deleted the fortinet_sys_ha_issue1690 branch July 29, 2024 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fortinet_get_system_ha_status.textfsm parse error for non "OK" HA Health Status
2 participants