{'author': 'Ralf Mellis (cmk.bonobo@arschkrebs.org)',
 'description': 'Monitors various aspects of Nextcloud instances like state, '
                'quota and disk usage of all users, number of apps with '
                'available updates, database php opcache hit rate and so on.\n'
                'Gives additional information regarding versions of Nextcloud, '
                'database, PHP, web server etc.\n'
                '\n'
                'Caveats:\n'
                'Tested only with Nextcloud versions 25/26/27/28\n'
                'Tested only with MySQL/MariaDB as database backend\n'
                '\n'
                'Please feel free to add other working environments via '
                'review.\n'
                '\n'
                'Upgrade from older MKPs (before 2.4.0):\n'
                'If you upgrade from a already installed version before 2.4.0, '
                'you have to re-create your rules for the "Nextcloud Server '
                'Information" (reason: massive parameter changes).\n'
                'Steps to accomplish this without problems:\n'
                '\n'
                '1. Take a screenshot of your settings in the above mentioned '
                'ruleset\n'
                '2. Assure that you have access to the passwords/tokens you '
                'used within the current rules\n'
                '3. Delete all rules for "Nextcloud Server Information"\n'
                '4. Install and enable the new MKP\n'
                '5. Re-create your rules with the previously saved information '
                'from steps 1 and 2\n'
                '6. Apply your changes\n'
                '\n'
                'Hint: You have to create an app password now for accessing '
                'your Nextcloud instance. For this to accomplish login to your '
                'Nextcloud server with an administrative user account. Go to '
                '"Personal Settings|Security" and take note of the section '
                '"Devices & Sessions". Create the app password via clicking '
                'the button "create new app password". You may use this '
                'password explicitly within the rule or store it first in the '
                'password safe of CheckMK.\n'
                '\n'
                'General installation instructions:\n'
                '1. Upload and enable the MKP\n'
                '2. Apply changes\n'
                '3. Click Setup, search for "Nextcloud"\n'
                '4. Click on "Nextcloud Server Information" below "Other '
                'integrations"\n'
                '5. Create a new rule and fill in all mandatory information '
                '(Hostname, Username, App Password)\n'
                '6. Adjust all other options to your needs\n'
                '7. Bind this rule to your Nextcloud host object (e.g. via '
                '"Explicit hosts")\n'
                '8. If you have no host object at all, create a dummy host for '
                'this (with no IP or something like 127.0.0.2)\n'
                '9. Assure that your agents settings for this host object are '
                'correct (must contain "Configured API integrations")\n'
                '10. Apply your changes\n'
                '11. Execute a service discovery on your Nextcloud host(s) and '
                'accept the newly detected services\n'
                '12. Feel free to adjust the various parameters for thresholds '
                'within the available parameter sections (Setup, "Service '
                'monitoring rules" after searching for "Nextcloud")\n'
                '\n'
                'Version history:\n'
                '2024/01/12      2.5.0   Added versions for apps with '
                'available updates\n'
                '2024/01/12      2.4.1   Removed Parameter "token", switched '
                'to parameter "app password" only\n'
                '2024/01/12      2.4.0   Integrated Password Store for App '
                'Password, some changes for compatibility with NC 28 added\n'
                '2023/11/26      2.3.4   Fixed agent crash if '
                'opcache_get_status is disabled by server settings, thanks to '
                'Marcus Klein for reporting (and solving!) this bug\n'
                '2023/08/16:     2.3.3   Fixed some misleading information '
                'strings regarding database PHP opcache\n'
                '2023/08/08:     2.3.2   Now compatible with CheckMK 2.2\n'
                '2023/03/27:     2.3.1   Fixed several bugs in parameter '
                'handling\n'
                '2023/03/23:     2.2.1   Adjusted parameter handling\n'
                '                                 Added check for "free space '
                'on disk" (incl. adjustable levels)\n'
                '                                 Added adjustable levels for '
                '"number of files"\n'
                '\n'
                '2023/03/11:     2.2.0   Upload initial public release\n',
 'download_url': 'https://gitea.arschkrebs.org/cmk-bonobo/Nextcloud-CheckMK',
 'files': {'agent_based': ['nextcloud_info.py',
                           'nextcloud_users.py',
                           'nextcloud_database.py'],
           'agents': ['special/agent_nextcloud'],
           'checkman': ['nextcloud_info',
                        'nextcloud_users',
                        'nextcloud_database'],
           'checks': ['agent_nextcloud'],
           'web': ['plugins/metrics/nextcloud_metrics.py',
                   'plugins/perfometer/nextcloud_perfometers.py',
                   'plugins/wato/nextcloud_info_rules.py',
                   'plugins/wato/nextcloud_params.py',
                   'plugins/wato/nextcloud_users_rules.py',
                   'plugins/wato/nextcloud_database_rules.py']},
 'name': 'Nextcloud',
 'title': 'Nextcloud Monitoring via Special Agent',
 'version': '2.5.1',
 'version.min_required': '2.2.0p1',
 'version.packaged': '2.2.0p17',
 'version.usable_until': None}
