Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
owncloud quota monitoring
Current Version
0.1
Compatible With
- Nagios 3.x
- Nagios 4.x
Owner
Download URL
License
GPL
Hits
28594
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
A PHP file that needs to be put on the owncloud server
and a script you need to run on your nagios box.
the howto is included in the fileset
Owncloud-nagios
Nagios monitoring of owncloud on linux
This plugin was written to monitor statistics from Owncloud in nagios. first-release: - Quota limit / user and space utilisation
UPDATE 19-5-2020
Added a file that makes it possible to use mysql only, so it no longer needs du (works better on slow storage)
howto:
Copy the du.php or the du-mysql.php somewhere on your owncloud server
edit crontab as user www-data or low-access user, and add " * /15 * * * * php -f /path/to/du.php >/tmp/quota" OR " * /15 * * * * php -f /path/to/du-mysql.php >/tmp/quota"
on nagios, edit crontab as user nagios, (USE SSH KEYS for access and add " * /15 * * * * scp root@owncloud:/tmp/quota /tmp/quota-owncloud"
copy the file check_owncloud_quota to your /libexec dir (where all your other scripts for nagios probably reside).
edit /etc/objects/commands.cfg and add the commands specified in the provided commands.cfg
edit /etc/objects/owncloud-server-file.cfg and add a definition for each user, as illustrated in the provided user.cfg
this may also be scripted with a bash-for loop (as i have done considering the many users i have on owncloud)
(Updated for owncloud server v 10)
Nagios monitoring of owncloud on linux
This plugin was written to monitor statistics from Owncloud in nagios. first-release: - Quota limit / user and space utilisation
UPDATE 19-5-2020
Added a file that makes it possible to use mysql only, so it no longer needs du (works better on slow storage)
howto:
Copy the du.php or the du-mysql.php somewhere on your owncloud server
edit crontab as user www-data or low-access user, and add " * /15 * * * * php -f /path/to/du.php >/tmp/quota" OR " * /15 * * * * php -f /path/to/du-mysql.php >/tmp/quota"
on nagios, edit crontab as user nagios, (USE SSH KEYS for access and add " * /15 * * * * scp root@owncloud:/tmp/quota /tmp/quota-owncloud"
copy the file check_owncloud_quota to your /libexec dir (where all your other scripts for nagios probably reside).
edit /etc/objects/commands.cfg and add the commands specified in the provided commands.cfg
edit /etc/objects/owncloud-server-file.cfg and add a definition for each user, as illustrated in the provided user.cfg
this may also be scripted with a bash-for loop (as i have done considering the many users i have on owncloud)
(Updated for owncloud server v 10)
Reviews (0)
Be the first to review this listing!