{"id":18445720,"url":"https://github.com/voronenko/nagios-plugin-criticalupdates","last_synced_at":"2025-04-15T01:15:44.572Z","repository":{"id":7406310,"uuid":"8737068","full_name":"Voronenko/nagios-plugin-criticalupdates","owner":"Voronenko","description":"Simple nagios plugin for monitoring critical updates on host","archived":false,"fork":false,"pushed_at":"2014-05-17T11:19:25.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T01:15:32.493Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"git-up/GitUp","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Voronenko.png","metadata":{"files":{"readme":"README.md","changelog":null,"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-03-12T20:00:08.000Z","updated_at":"2014-05-17T11:19:24.000Z","dependencies_parsed_at":"2022-09-15T16:12:31.613Z","dependency_job_id":null,"html_url":"https://github.com/Voronenko/nagios-plugin-criticalupdates","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voronenko%2Fnagios-plugin-criticalupdates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voronenko%2Fnagios-plugin-criticalupdates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voronenko%2Fnagios-plugin-criticalupdates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voronenko%2Fnagios-plugin-criticalupdates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Voronenko","download_url":"https://codeload.github.com/Voronenko/nagios-plugin-criticalupdates/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248986315,"owners_count":21194025,"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","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":"2024-11-06T07:06:58.978Z","updated_at":"2025-04-15T01:15:44.554Z","avatar_url":"https://github.com/Voronenko.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"nagios-plugin-criticalupdates\n=============================\n\nSimple nagios plugin for monitoring critical updates on host\n\nAssuming you have installed it into \n\n/etc/nagios-plugins/nagios-plugin-criticalupdates\n\n\n\n#Define new command (for example by amending commands.cfg)\n\ndefine command {\n\n  command_name check_criticalupdates\n  \n  command_line /etc/nagios-plugins/nagios-plugin-criticalupdates/check_critical\n  \n}\n\n\n#Define service to check on concrete host.  Enjoy!\n\n\ndefine service {\n\n        use                             generic-service         ; Name of service\n        \n        host_name                       localhost\n        \n        service_description             Security updates pending\n        \n        check_command           check_criticalupdates\n                \n        }\n\n\n\n#Installation on remote host:\n\n\nOn remote host:\n\n1.  Install npre server\n\nsudo apt-get install nagios-nrpe-server\n\nsudo gedit /etc/nagios/nrpe.cfg\n\nmodify allowed_hosts to include main nagios address\n\nallowed_hosts = 192.168.0.8,127.0.0.1\n\n2.\tInstall security updates checker from https://github.com/Voronenko/nagios-plugin-criticalupdates\n\nNext steps assume, that you don’t want git installed:\n\ncd /usr/lib/nagios\n\nsudo mkdir nagios-plugin-criticalupdates\n\ncd nagios-plugin-criticalupdates/\n\nsudo touch  check_criticalupdates.sh\n\nsudo gedit check_criticalupdates.sh\n\ncopy contents of the file https://raw.github.com/Voronenko/nagios-plugin-criticalupdates/master/check_criticalupdates.sh and save\n\nsudo chmod +x check_criticalupdates.sh\n\n3.\tRegister security update checker command in /etc/nagios/nrpe.cfg\n\ncommand[check_criticalupdates]=/usr/lib/nagios/nagios-plugin-criticalupdates/check_criticalupdates.sh\n\n4.\tRestart nagios nrpe server\n\nsudo service nagios-nrpe-server restart\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoronenko%2Fnagios-plugin-criticalupdates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoronenko%2Fnagios-plugin-criticalupdates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoronenko%2Fnagios-plugin-criticalupdates/lists"}