Juju-lint reports a false positive issue for nagios.
2019-12-10 09:00:21 [INFO] The following subordinates couldn't be found:
2019-12-10 09:00:21 [ERROR] -> nrpe [nagios]
This means that nagios unit does not have it's subordinate nrpe. Please not that nagios charm does not expose relation of type nrpe-external-master which is for subordinates:
ubuntu@maas001-rack001:~/$ juju add-relation "nagios:nrpe-external-master" "nrpe-container:nrpe-external-master"
ERROR application "nagios" has no "nrpe-external-master" relation
The relation nagios - general-info does not allow setting this.
Hence nagios charm is not ready to have subordinate nrpe checks and this should be excluded from juju-lint checks.
(by arif-ali)
We have a customer who is running the juju-lint as part of verification, and ideally would not like to see this error. So, if we could resolve this, then that would be appreciated
(by ec0)
MR has been approved. I think it would also make sense to test this on a real cloud, and update the canonical reference rules in the repository before closing out this bug.
Juju-lint reports a false positive issue for nagios.
2019-12-10 09:00:21 [INFO] The following subordinates couldn't be found: 2019-12-10 09:00:21 [ERROR] -> nrpe [nagios]
This means that nagios unit does not have it's subordinate nrpe. Please not that nagios charm does not expose relation of type nrpe-external-master which is for subordinates:
ubuntu@maas001-rack001:~/$ juju add-relation "nagios:nrpe-external-master" "nrpe-container:nrpe-external-master" ERROR application "nagios" has no "nrpe-external-master" relation
The relation nagios - general-info does not allow setting this.
Hence nagios charm is not ready to have subordinate nrpe checks and this should be excluded from juju-lint checks.
Imported from Launchpad using lp2gh.
date created: 2019-12-10T09:56:17Z
owner: majduk
assignee: arif-ali
the launchpad url