FORTIGATE - diag sys ha reset-uptime: Difference between revisions
From IT-Arts.net
Created page with "Category:Wiki == Command syntax == <nowiki> diag sys ha reset-uptime</nowiki> No arguments or parameters are supported. == Required privileges == * Super-admin (profile with full diagnostic access) * Console or SSH access == Examples == === Reset HA uptime === <nowiki> diag sys ha reset-uptime</nowiki> === Verify HA uptime reset === Before reset: <nowiki> get system ha status</nowiki> Output excerpt: <nowiki> HA Health Status: OK HA Uptime: 5 days, 3 hours..." |
No edit summary |
||
| Line 1: | Line 1: | ||
[[Category:Wiki]] | [[Category:Wiki]] | ||
== Required privileges == | == Required privileges == | ||
| Line 11: | Line 5: | ||
* Console or SSH access | * Console or SSH access | ||
== | == Command syntax == | ||
<nowiki> | <nowiki> | ||
diag sys ha reset-uptime</nowiki> | diag sys ha reset-uptime</nowiki> | ||
No arguments or parameters are supported. | |||
=== Verify HA uptime reset === | === Verify HA uptime reset === | ||
Revision as of 18:11, 15 January 2026
Required privileges
- Super-admin (profile with full diagnostic access)
- Console or SSH access
Command syntax
diag sys ha reset-uptime
No arguments or parameters are supported.
Verify HA uptime reset
Before reset:
get system ha status
Output excerpt: HA Health Status: OK HA Uptime: 5 days, 3 hours, 12 minutes
After reset:
get system ha status
Output excerpt: HA Health Status: OK HA Uptime: 0 days, 0 hours, 1 minute
Troubleshooting
Command has no visible effect
Possible causes:
- Device not in HA mode
- Insufficient privileges
- HA process not running properly
Verification steps:
get system ha status diagnose sys ha status
HA uptime resets unexpectedly
Potential causes:
- HA daemon crash or restart
- Firmware bugs
- Network instability on HA heartbeat interfaces
- Power or hardware issues
Recommended actions:
- Enable HA debugging
- Review system crash logs
- Check HA heartbeat integrity
HA failover confusion after reset
Clarification:
- Resetting HA uptime does not indicate a failover
- Always correlate with:
get system ha history execute log filter category event
Best practices
- Use only for diagnostics and testing
- Avoid in production unless explicitly required
- Always capture HA status before and after execution
- Coordinate with monitoring teams prior to execution
