Currently the healthcheck checks if clamd and freshclam are running through process management.
This does not guarantee that they are both doing there job.
Idea: Clamd creates a socket file, should be relatively easy to get some stats or 'Am I alive' status.
Freschclam on the other hand, the script could check how old the definitions are. If they are older then 24 hours, something went wrong.
Currently the healthcheck checks if clamd and freshclam are running through process management.
This does not guarantee that they are both doing there job.
Idea: Clamd creates a socket file, should be relatively easy to get some stats or 'Am I alive' status.
Freschclam on the other hand, the script could check how old the definitions are. If they are older then 24 hours, something went wrong.