nagios unit local checks should be editable
Bug #1677580 reported by
Fairbanks.
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nagios Charm |
Fix Released
|
Undecided
|
Xav Paice |
Bug Description
When the Nagios charm is deployed (lxd, vm, bare-metal) it also adds it self to the checks.
But these checks arn't configurable via the charm. I get a lot of load messages from the localhost it self.
Would be nice if this can be configured.
Related branches
~xavpaice/charm-nagios:fix-lp1677580
Merged
into
~nagios-charmers/charm-nagios:master
at
revision 38f049516d4865a1e3c1fec5289f6f189fff0631
- James Hebden (community): Approve
-
Diff: 6573 lines (+5335/-405)39 files modifiedMakefile (+14/-0)
bin/charm_helpers_sync.py (+252/-0)
charm-helpers.yaml (+2/-1)
config.yaml (+21/-0)
hooks/charmhelpers/__init__.py (+97/-0)
hooks/charmhelpers/contrib/__init__.py (+13/-0)
hooks/charmhelpers/contrib/ssl/__init__.py (+15/-1)
hooks/charmhelpers/contrib/ssl/service.py (+28/-18)
hooks/charmhelpers/core/__init__.py (+13/-0)
hooks/charmhelpers/core/decorators.py (+55/-0)
hooks/charmhelpers/core/files.py (+43/-0)
hooks/charmhelpers/core/fstab.py (+132/-0)
hooks/charmhelpers/core/hookenv.py (+742/-35)
hooks/charmhelpers/core/host.py (+755/-104)
hooks/charmhelpers/core/host_factory/__init__.py (+0/-0)
hooks/charmhelpers/core/host_factory/centos.py (+72/-0)
hooks/charmhelpers/core/host_factory/ubuntu.py (+89/-0)
hooks/charmhelpers/core/hugepage.py (+69/-0)
hooks/charmhelpers/core/kernel.py (+72/-0)
hooks/charmhelpers/core/kernel_factory/__init__.py (+0/-0)
hooks/charmhelpers/core/kernel_factory/centos.py (+17/-0)
hooks/charmhelpers/core/kernel_factory/ubuntu.py (+13/-0)
hooks/charmhelpers/core/services/__init__.py (+16/-0)
hooks/charmhelpers/core/services/base.py (+351/-0)
hooks/charmhelpers/core/services/helpers.py (+290/-0)
hooks/charmhelpers/core/strutils.py (+123/-0)
hooks/charmhelpers/core/sysctl.py (+54/-0)
hooks/charmhelpers/core/templating.py (+84/-0)
hooks/charmhelpers/core/unitdata.py (+518/-0)
hooks/charmhelpers/fetch/__init__.py (+135/-211)
hooks/charmhelpers/fetch/archiveurl.py (+126/-9)
hooks/charmhelpers/fetch/bzrurl.py (+52/-25)
hooks/charmhelpers/fetch/centos.py (+171/-0)
hooks/charmhelpers/fetch/giturl.py (+69/-0)
hooks/charmhelpers/fetch/snap.py (+134/-0)
hooks/charmhelpers/fetch/ubuntu.py (+583/-0)
hooks/charmhelpers/osplatform.py (+25/-0)
hooks/templates/localhost_nagios2.cfg.tmpl (+70/-0)
hooks/upgrade-charm (+20/-1)
Changed in nagios-charm: | |
status: | In Progress → Fix Committed |
Changed in nagios-charm: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
We should add to the charm:
Params to configure the checks similar to the way we do with nrpe charm
Params to add the nagios_host_context like in the nrpe charm
Ability to disable the checks entirely if we wish
Or maybe, remove the localhost checks completely and make use of nrpe (via subordinate charm) to monitor the local nagios box. Ideally, it would be a different nagios server monitoring the nagios server anyway.