Go to documentation repository
Page History
The self-diagnostics service collects the information about the system metrics and checks the operation of all all Axxon One components. The data obtained are compared with the indicators of the normal operation of the system. When deviations occur, system health alerts are generated, which can be tracked in the web interface (see see Viewing metrics in the self-diagnostics service).
Examples of errors that are tracked:
- Hight CPU load.
- Low OS virtual memory Out of RAM
- .
- Camera is connected, but does not send data.No events from a detection tool
- doesn't send data (ipint_no_samples).
- Archive doesn't work .The frame rate is 0 when recording to the archive
- (archive_source_not_activated).
- Storage cannot handle record load (archive_overloaded).
- No video is recorded on detection.
- Any internal errors of Axxon One.
- Out of system disk space.
- events from a detector (archive_no_ping_from_detector).
The self-diagnostics service implements rules that allow you to monitor various system statuses. You can see a full list of rules available for a particular server in the web interface of the The self-diagnostics service has the following rules for cleaning the system disk:in the Status → Rule section: http://127.0.0.1:20040/rules, where:
- alert is a rule name;
- expr is a rule triggering condition;
- actions are actions of the rule;
- summary is a rule description.
Info | ||
---|---|---|
| ||
There are rules that generate alarms, but don't perform any actions. Such rules are labeled disabled: true. |
Examples of rules:
alert | expr | actions | summary | |||||||
---|---|---|---|---|---|---|---|---|---|---|
Low disk free space (logs) | If free space on the system disk is less than 20 GB, all server logs, including archived logs, are deleted to free up space:
| ACTION_CLEANUP_LOGS | Clean up of the logs directory when there is insufficient space on the system disk | |||||||
Low disk free space (database) | If free disk space for the database is less than 15 GB, all |
events older than one week are deleted:
|
| ACTION_CLEANUP_DB | Clean up of Postgres database when there is insufficient space on the disk. If free disk space for the database is less than:
|
|
|
|
|
|
|
| ||||||||||
archive_no_samples | Rule checks if new frames go to the archive. If new frames don't go to the archive within five minutes, the archive process is restarted:
| ACTION_RESTART_NGP_UNIT | Restart of the archive service if new frames don't go to the archive | |||||||
detector_no_sample | Rule checks if frames go to the detector. If new frames don't go to the detector, the detector service is restarted:
| ACTION_RESTART_NGP_UNIT | Restart of the detector service if the active detector doesn't receive new frames | |||||||
statistics_server_unhealthy | If the statistics server doesn't update the item counter or becomes unavailable, the statistics services are automatically restarted:
| ACTION_RESTART_NGP_UNIT | Restart of the statistics service if there are no statistics events |