~xavpaice/charm-nrpe:dev/check_mtu

Last commit made on 2020-07-26
Get this branch:
git clone -b dev/check_mtu https://git.launchpad.net/~xavpaice/charm-nrpe
Only Xav Paice can upload to this branch. If you are Xav Paice please log in for upload directions.

Branch merges

Branch information

Name:
dev/check_mtu
Repository:
lp:~xavpaice/charm-nrpe

Recent commits

eed1103... by Xav Paice

minor rework on check_mtu.py

Adjust some wording and layout in response to review feedback for the
check_mtu.py NRPE check.

2728bb5... by Xav Paice

update check_mtu arg syntax

6cf0d35... by Xav Paice

Address review comments from check_mtu.py

- some documentation fixes
- change get_mtu() to return an int()
- fix the output detail being reset for each interface

a70f663... by Xav Paice

update check_mtu.py plugin for one line of output

172acab... by David O Neill

MTU checker for neutron-gateway

16c4760... by Andrea Ieri

[trivial] fix check_xfs_errors output typo (CRITCAL -> CRITICAL)

16a49f3... by Giuseppe Petralia

Fix linting. I had to disable black check for tests. Black wanted to reformat nrpe_tests converting some line to one line with length > 88 and
then flake8 was complaining as it is configured to check for max line length = 88. I had also disable syntax check for some older variants used in some nagios plugins as I didn't want to update code that has been in use for years with no issues.
I had also to increase flake8 max complexity to 14 because of:

./hooks/nrpe_helpers.py:370:5: C901 'SubordinateCheckDefinitions.__init__' is too complex (14)
./hooks/nrpe_utils.py:193:5: C901 'TolerantPortManagerCallback.__call__' is too complex (11)
./files/plugins/check_netlinks.py:26:1: C901 'check_iface' is too complex (13)

Reviewed-on: https://code.launchpad.net/~peppepetra86/charm-nrpe/+git/charm-nrpe/+merge/387825
Reviewed-by: Paul Goins <email address hidden>

14df450... by Giuseppe Petralia

Merge splitted string and fix some wrong indented lines

866cb62... by Giuseppe Petralia

Update Makefile to latest version.

d0af0ad... by Giuseppe Petralia

Fix linting