BornToBeRoot / check_nextcloud

Nagios/Centreon plugin for nextcloud serverinfo API (https://github.com/nextcloud/serverinfo)
GNU Affero General Public License v3.0
32 stars 15 forks source link

Delete the commas in the performance data #4

Closed MarcusCaepio closed 5 years ago

MarcusCaepio commented 5 years ago

fixes #3

BornToBeRoot commented 5 years ago

I use centreon to monitor my nextcloud instance... They need a comma to separate performance data.

https://documentation.centreon.com/docs/centreon-engine/en/1.7/user/configuration/advanced/performance_data.html

What do you think of a parameter where you can specify the format?

--performancedata-format [centreon|nagios|etc]
MarcusCaepio commented 5 years ago

Would be fine for me. Are you planning to implement warning and critical thresholds, too?