Docker - check_docker not working since upgrade
Posted: Tue Jun 18, 2019 10:41 am
We have upgraded from Nagios XI 5.5.x to 5.6.2 (and now to 5.6.3), and ever since the upgrade to 5.6.x, the Docker checks are no longer working, getting errors...
(No output on stdout) stderr: Traceback (most recent call last):
(No output on stdout) stderr: Traceback (most recent call last):
Code: Select all
File "/usr/local/nagios/libexec/check_docker.py", line 988, in <module>
_ = main()
File "/usr/local/nagios/libexec/check_docker.py", line 959, in main
checks = choose_checks(options)
File "/usr/local/nagios/libexec/check_docker.py", line 226, in choose_checks
check_data = get_threshold_maps(options.warning, options.critical, selection)
File "/usr/local/nagios/libexec/check_docker.py", line 329, in get_threshold_maps
for triplet in zip(attrs.keys(), warning_list, critical_list):
AttributeError: 'list' object has no attribute 'keys'