tpsilva
dc63810cb4
Fix import errors on Nagios check file
...
After changing the charm runtime to Python 3, some imports are failing
on check_swift_storage.py. This can be fixed by explicitly imporgin the
modules inside the package, instead of just importing the package.
Change-Id: I746071042b669a1725744d4e32ea733eb40b309a
Closes-bug: #1822334
2019-03-29 13:15:10 -03:00
Alex Kavanagh
fc81200315
Upgrade the charm to py3 runtime
...
Change-Id: I98f4e6664080407a045ca5e76db59d46ffa9c38a
2018-10-24 14:57:05 +01:00
Drew Freiberger
9a5314afad
Updated nrpe check for swift replication lag >1 day
...
Change-Id: Ib1104ea86290cf271e63d1a5aa81e503ed5965c3
Closes-Bug: 1758119
2018-04-11 14:53:12 -05:00
Alvaro Uria
d59759259e
Support null values on recon/replication module
...
Update on nrpe check check_swift_storage:
* Refactor check_replication function
* Raise STATUS_CRIT on null values
* Clean code per flake8 and previous review
* Add unit_test for nrpe check check_swift_storage.py
Change-Id: Ie076b8ea56f66c1e15a9bfe2e400b49f968fa4ed
Closes-Bug: #1673441
Signed-off-by: Alvaro Uria <alvaro.uria@canonical.com>
2017-08-11 19:24:24 -07:00
root
5727c68515
[bradm] Adding nrpe checks, handle rsyncd config fragments
2014-10-30 00:52:15 -05:00