Question
If a Local Data Processing service stops, how can we be alerted?
Environment
Local Data Processing
Answer
HVR has a utility hvrmaint which can be used for two purposes:
- Maintenance: Run nightly (or weekly) to archive/purge old logfiles and bounce the hvrscheduler.
- Monitoring: Run e.g. every 15 minutes to check if the hvrscheduler is running and to scan the HVR log files for errors. It has options to send an email, Slack, or SNMP notifications if an error has occurred or a certain latency limit has been reached.
These scripts are run on the hub machine and can be scheduled from the crontab or as a Windows scheduled task. The different purposes are configured using an option file which can be generated using the HVR Console Maintenance Tasks dialogs.
See https://www.hvr-software.com/docs/commands/hvrmaint for more information.