2 Bugs - no "run check" button and no args with template
Posted: Wed Jan 25, 2017 11:15 am
Two issues, likely related, that I consider bugs. So do our customers.
This behavior is identified on Nagios XI 5.3.3 and 5.3.4 but we have not yet tested on 5.4.0:
We have a service (DNS check) that includes an XI Wizard template (xiwizard_website_dns_service). The service has the check command blank and arg1 blank.
The first issue is that there is no "run check command" blue button to test the service check unless the check command has something in it. Since this is being provided by the template, this should still be valid.
The second issue is that if we add something to arg1 in the service, but still leave check command blank, then the argument is not actually added to the service check. This can be confirmed by a diff of the before and after versions of objects.cache.
If we add the check_xi_service_dns command to check_command on the service (this is the check command from the template) then both the blue "run check command" appears and the argument gets processed correctly.
We believe both of these things to be bugs. The run check button should be available so long as the template expansion creates a valid configuration, and you should be able to specify/override arguments at the service level without having to specify the check command if it's being placed in the template.
This behavior is identified on Nagios XI 5.3.3 and 5.3.4 but we have not yet tested on 5.4.0:
We have a service (DNS check) that includes an XI Wizard template (xiwizard_website_dns_service). The service has the check command blank and arg1 blank.
The first issue is that there is no "run check command" blue button to test the service check unless the check command has something in it. Since this is being provided by the template, this should still be valid.
The second issue is that if we add something to arg1 in the service, but still leave check command blank, then the argument is not actually added to the service check. This can be confirmed by a diff of the before and after versions of objects.cache.
If we add the check_xi_service_dns command to check_command on the service (this is the check command from the template) then both the blue "run check command" appears and the argument gets processed correctly.
We believe both of these things to be bugs. The run check button should be available so long as the template expansion creates a valid configuration, and you should be able to specify/override arguments at the service level without having to specify the check command if it's being placed in the template.