From b2415bf023671ce09089274e973c2883eb21801f Mon Sep 17 00:00:00 2001 From: Steve Wilkerson Date: Thu, 27 Jun 2019 07:39:18 -0500 Subject: [PATCH] Nagios: Update Nagios image, check_prometheus_hosts command This updates the Nagios image used to the image that is built out of openstack-helm-images instead of the image hosted in quay. This new image includes the updated host definition plugin that uses the kubernetes python client instead of prometheus queries, so the check_prometheus_hosts command has also been updated to reflect the change in required arguments Change-Id: If3440ca9be3227fc48cd698a7d44501e6747bb1e Signed-off-by: Steve Wilkerson --- nagios/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nagios/values.yaml b/nagios/values.yaml index eeaf32e715..79ef4882f0 100644 --- a/nagios/values.yaml +++ b/nagios/values.yaml @@ -19,7 +19,7 @@ images: tags: apache_proxy: docker.io/httpd:2.4 - nagios: quay.io/attcomdev/nagios:410fcb08d2586e98e18ced317dab4157eb27456e + nagios: docker.io/openstackhelm/nagios:latest-ubuntu_xenial dep_check: quay.io/stackanetes/kubernetes-entrypoint:v0.2.1 selenium_tests: docker.io/openstackhelm/osh-selenium:latest-ubuntu_xenial image_repo_sync: docker.io/docker:17.07.0 @@ -587,7 +587,7 @@ conf: } define command { - command_line $USER1$/check_update_prometheus_hosts.py --prometheus_api $USER2$ --object_file_loc /opt/nagios/etc/objects/prometheus_discovery_objects.cfg + command_line $USER1$/define-nagios-hosts.py --object_file_loc /opt/nagios/etc/objects/prometheus_discovery_objects.cfg command_name check_prometheus_hosts }