![]() The cookie is used to store the user consent for the cookies in the category "Performance". This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". The cookie is used to store the user consent for the cookies in the category "Other. The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". The cookie is used to store the user consent for the cookies in the category "Analytics". ![]() These cookies ensure basic functionalities and security features of the website, anonymously. ![]() Necessary cookies are absolutely essential for the website to function properly. I hope this is useful for someone! monitoring nagios If you supply only one parm it will change the number of days until a warning is triggered, and if you also supply the second parm it will also change the days for a critical alert. ![]() The default (if you don’t supply any command-line parms) is to warn if the youngest of all virus definition files is older than 3 days, and a critical alert will be triggered if it is older than 7 days. YOUNGEST_FILE=$(ls -tr /usr/lib/AntiVir/guard/*.vdf|tail -1)Įcho "CRITICAL - Youngest file is $FILEAGE sec old"Įcho "WARNING - Youngest file is $FILEAGE sec old"Įcho "OK - Youngest file is $FILEAGE sec old" Since it might be useful to other people I thought I’d just publish it here: #!/bin/bash I wrapped up a quick script to check whether my Avira AntiVirus definitions are current. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |