> Date: Wednesday, June 10, 2020 19:42:18 -0500
> From: Cliff via clamav-users <clamav-users@lists.clamav.net>
> 
> I also have a similar cron script that updates clam daily.
> 
> What I’m looking for is a way to double check in case the script
> encounters a problem and cannot notify.
> 
> Unfortunately, your method using freshclam takes about 20 seconds,
> which is too long for a dashboard.
> 
> What I am looking for is a very quick way to determine if clam
> software is out of date.
> 

The current version can be gotten from the dns txt record of

  current.cvd.clamav.net

The command:

  dig +short current.cvd.clamav.net txt

will return the one line with that information, which (after a little
parsing) you can then compare with the version that your machines are
running.



 

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to