FORTIGATE - diag sys ha reset-uptime
From IT-Arts.net
Command syntax
diag sys ha reset-uptime
No arguments or parameters are supported.
Required privileges
- Super-admin (profile with full diagnostic access)
- Console or SSH access
Examples
Reset HA uptime
diag sys ha reset-uptime
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
