{"id":25363923,"url":"https://github.com/vitexus/nagios-check-clamscan","last_synced_at":"2025-10-19T10:56:17.046Z","repository":{"id":12248153,"uuid":"14862664","full_name":"Vitexus/nagios-check-clamscan","owner":"Vitexus","description":"package for Clamav Antivirus chceck and reporting via Nagios / Icinga","archived":false,"fork":false,"pushed_at":"2014-10-06T18:38:49.000Z","size":224,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T04:41:52.316Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Vitexus.png","metadata":{"files":{"readme":"README","changelog":"changelog.txt","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-02T13:13:55.000Z","updated_at":"2024-11-13T06:36:09.000Z","dependencies_parsed_at":"2022-09-23T05:20:48.829Z","dependency_job_id":null,"html_url":"https://github.com/Vitexus/nagios-check-clamscan","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Vitexus/nagios-check-clamscan","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitexus%2Fnagios-check-clamscan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitexus%2Fnagios-check-clamscan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitexus%2Fnagios-check-clamscan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitexus%2Fnagios-check-clamscan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vitexus","download_url":"https://codeload.github.com/Vitexus/nagios-check-clamscan/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vitexus%2Fnagios-check-clamscan/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279788825,"owners_count":26226846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-19T02:00:07.647Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-14T22:53:44.047Z","updated_at":"2025-10-19T10:56:17.004Z","avatar_url":"https://github.com/Vitexus.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"                            check_clamscan\n                            ==============\n\n check_clamscan: Nagios/Icinga plugin to check the results of a clamAV scan.\n\n Copyright (C) 2012 Thomas-Krenn.AG,\n\n This program is free software; you can redistribute it and/or modify it under\n the terms of the GNU General Public License as published by the Free Software\n Foundation; either version 3 of the License, or (at your option) any later\n version.\n \n This program is distributed in the hope that it will be useful, but WITHOUT\n ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\n FOR A PARTICULAR PURPOSE. See the GNU General Public License for more\n details.\n \n You should have received a copy of the GNU General Public License along with\n this program; if not, see \u003chttp://www.gnu.org/licenses/\u003e.\n\n Requirements:\n -------------\n   o Perl\n   o Required perl modules\n\t\t* use strict;\n\t\t* use warnings;\n\t\t* use Getopt::Long qw(:config no_ignore_case);\n\t\t* use Proc::ProcessTable;\n\t\t* use File::stat;\n\t\t* use Switch;\n\t\t* use Date::Calc qw(Delta_Days);\n\t\t* use Date::Calc qw(Delta_DHMS);\n\t\t* use Date::Calc qw(Localtime);\n   o Nagios or Icinga\n\n Installation Hints:\n -------------------\n\tOn Debian/Ubuntu use\n\t$ sudo apt-get install libproc-processtable-perl libclass-date-perl libdate-calc-perl\n\tto install the module for accessing the process table and date functions.\n\n Plugin parameters:\n ------------------\n Call the plugin with\n \t\to The directory scanned by clamsscan\n \t\to The output log file (via stdout from clamsscan)\n Example:\n \t\tcheck_clamscan -sd /home/ -l /var/log/clamav/clamscan.log\n\n Cron Job for Clamscan:\n ----------------------\n\t$ touch /etc/cron.daily/clamscan\n\t$ chmod +x /etc/cron.daily/clamscan\n\n\t/etc/cron.daily/clamscan:\n\t\t#!/bin/sh\n\t\tlogrotate -f /etc/logrotate_clamscan.conf\n\t\tclamscan -r -i --stdout /home/ \u003e /var/log/clamav/clamscan.log\n\n Logrotate Job for Clamscan:\n ---------------------------\n\t/etc/logrotate_clamscan.conf:\n\t\t/var/log/clamav/clamscan.log {\n\t\t\trotate 30\n\t\t\tdaily\n\t\t\tifempty\n\t\t\tmissingok\n\t\t\tnocompress\n\t\t}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitexus%2Fnagios-check-clamscan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitexus%2Fnagios-check-clamscan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitexus%2Fnagios-check-clamscan/lists"}