{"id":15017846,"url":"https://github.com/hobbyquaker/check_nextcloud","last_synced_at":"2025-04-12T12:33:44.837Z","repository":{"id":57197559,"uuid":"85604101","full_name":"hobbyquaker/check_nextcloud","owner":"hobbyquaker","description":"Nagios/Icinga Nextcloud Security Check :cloud: :closed_lock_with_key: :ballot_box_with_check:","archived":false,"fork":false,"pushed_at":"2018-10-04T13:46:55.000Z","size":64,"stargazers_count":7,"open_issues_count":3,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-10T02:42:09.983Z","etag":null,"topics":["icinga","monitoring","nagios","nextcloud","security"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hobbyquaker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-20T17:07:23.000Z","updated_at":"2022-12-02T05:04:24.000Z","dependencies_parsed_at":"2022-09-16T13:11:48.466Z","dependency_job_id":null,"html_url":"https://github.com/hobbyquaker/check_nextcloud","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/hobbyquaker%2Fcheck_nextcloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hobbyquaker%2Fcheck_nextcloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hobbyquaker%2Fcheck_nextcloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hobbyquaker%2Fcheck_nextcloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hobbyquaker","download_url":"https://codeload.github.com/hobbyquaker/check_nextcloud/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248566660,"owners_count":21125699,"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":["icinga","monitoring","nagios","nextcloud","security"],"created_at":"2024-09-24T19:51:03.865Z","updated_at":"2025-04-12T12:33:44.809Z","avatar_url":"https://github.com/hobbyquaker.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# check_nextcloud\n\n[![NPM version](https://badge.fury.io/js/check_nextcloud.svg)](http://badge.fury.io/js/check_nextcloud)\n[![Dependency Status](https://img.shields.io/gemnasium/hobbyquaker/check_nextcloud.svg?maxAge=2592000)](https://gemnasium.com/github.com/hobbyquaker/check_nextcloud)\n[![License][mit-badge]][mit-url]\n\n\u003e Nagios/Icinga Nextcloud Security Check\n\nUses the API on [https://scan.nextcloud.com](scan.nextcloud.com) to check your Nextclouds Security with Nagios/Icinga. \nFor further information see [https://nextcloud.com/blog/nextcloud-releases-security-scanner-to-help-protect-private-clouds/](https://nextcloud.com/blog/nextcloud-releases-security-scanner-to-help-protect-private-clouds/).\nMind that this API has a rate limit, so don't run this check too frequently.\n\n![Nagios Screenshot](check_nextcloud.png)\n\n\n## Installation\n\nPrerequisites: [Node.js](https://nodejs.org)\n\n`npm install -g check_nextcloud`\n\n\n## Usage\n\nExample: `check_nextcloud -u https://example.com/nextcloud`\n\n```\ncheck_nextcloud \u003coptions\u003e\n\n  -u, --nextcloud-url                  Nextcloud URL                  [required]\n  -h, --hardening-warning              Number of missing Hardenings that\n                                       generate Warning             [default: 2]\n  -c, --hardening-critical             Number of missing Hardenings that\n                                       generate Critical            [default: 4]\n  -l, --disable-latestversion-warning  Don't generate Warning if not latest\n                                       Version                         [boolean]\n  -r, --requeue-minutes                Requeue Scan if older than given minutes\n                                                                  [default: 720]\n  -s, --scan-age-warn                  Warn if Scan is older than given days\n                                                                    [default: 3]\n  -t, --scan-age-critical              Critical if Scan is older than given days\n                                                                    [default: 5]\n  --help                               Show help                       [boolean]\n  --version                            Show version number             [boolean]\n```\n\nNagios Command Definition Example:\n``` \ndefine command {\n        command_name    check_nextcloud\n        command_line    /usr/local/bin/check_nextcloud -u $ARG1$\n}\n```\n\nNagios Service Definition Example:\n``` \ndefine service {\n        use                     generic-service\n        host_name               example\n        service_description     Nextcloud Security\n        check_command           check_nextcloud!https://example.com/nextcloud\n}\n```\n\n\n## Credits\n\nInspired by [https://github.com/janvonde/check_nextcloud](https://github.com/janvonde/check_nextcloud)\n\n\n## License\n\nMIT (c) Sebastian Raff\n\n[mit-badge]: https://img.shields.io/badge/License-MIT-blue.svg?style=flat\n[mit-url]: LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhobbyquaker%2Fcheck_nextcloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhobbyquaker%2Fcheck_nextcloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhobbyquaker%2Fcheck_nextcloud/lists"}