Skip to content
New issue

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

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

Already on GitHub? # to your account

Resolve Fortinet HA Status parsing issues #1861

Merged

Conversation

mjbear
Copy link
Contributor

@mjbear mjbear commented Oct 8, 2024

resolves #1859
bug fix
breaking change due to data type change for HA_HEALTH

Huge thanks 🎉 to @pnpestov for working with me to test changes!

  • Change HA_HEALTH regex so it required at minimum a single non-white space character
  • Remove double $$ from end of rule that transitions to UnhealthyStatus
  • In UnhealthyStatus state, account for trailing space after HA_HEALTH and before the end of line $$
  • Change HA_HEALTH to a List data type since there can be multiple health statuses in a cluster
  • Rename a raw file from _unhealthy to _mondev

@jmcgill298 jmcgill298 merged commit fd4606e into networktocode:master Oct 8, 2024
14 checks passed
@mjbear mjbear deleted the fortinet_get_sys_ha_hbdev_issue1859 branch October 8, 2024 21:44
# for free to join this conversation on GitHub. Already have an account? # 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