Nagios charm does not add default host checks to nagios
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nagios Charm |
Fix Released
|
Undecided
|
Unassigned | ||
nagios (Juju Charms Collection) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Adding relation i get i the logs:
2016-07-22 13:33:21 INFO monitors-
2016-07-22 13:33:21 INFO monitors-
2016-07-22 13:33:21 INFO monitors-
2016-07-22 13:33:21 INFO monitors-
2016-07-22 13:33:21 INFO monitors-
2016-07-22 13:33:21 INFO monitors-
2016-07-22 13:33:21 INFO monitors-
2016-07-22 13:33:21 INFO monitors-
2016-07-22 13:33:21 INFO monitors-
Nrpe plugin is installed and all looks ok. This is all installed via automated juju deployment.
When new relation is added, script charm/hooks/
Upon further investigation, this loop calls in customize_service, which for NRPE calls customize_nrpe in charm/hooks/
And, this is the problem, since for default commands, "extra" just contains command - and not array. Changing common.py in line 175 from "return False" to "cmd_args.
Regards,
H.
Related branches
- Stuart Bishop (community): Approve
-
Diff: 13 lines (+1/-1)1 file modifiedhooks/common.py (+1/-1)
tags: | added: canonical-bootstack |
Changed in nagios (Juju Charms Collection): | |
status: | New → Won't Fix |
Changed in nagios-charm: | |
status: | New → Fix Released |
Yeah, I hit that, looks bug-esque to me.