1
0
mirror of https://github.com/librenms/librenms-agent.git synced 2024-05-09 09:54:52 +00:00

6 Commits

Author SHA1 Message Date
61064dc9fe Cleanup some code (#355)
* Format with isort

* Format with Black

* Fix CRLF

* Format with shellcheck

* Fix some warning

* Fix PHP style

* Dont modifiy check_mk files

* Fixes
2021-03-18 12:24:30 +01:00
a8cb5b0112 Make this script Python 3 compatible (#311) 2020-06-30 23:56:49 +02:00
0b4e95a096 Detect current Ceph version and change statistics commands based on those versions. Fixes #186 2019-07-03 11:10:29 +02:00
f473c5e30c Added try-except checks for global values. (#107)
Fixed an error which prevented output.
It seems some ceph version probably use different values or something. This is a quick fix to have the script output the correct values.
2017-05-23 07:44:05 -05:00
91c251fd94 fix: a dirty hack to prevent failing of stats when the cluster is rebuilding (#68)
because Ceph returns '-inf' which the json decompiler doesn't seem to get..
2016-10-05 09:06:48 +00:00
9b4c3b3400 Add support for Ceph 2015-11-10 10:58:24 +01:00