← Back to team overview

nagios-charmers team mailing list archive

[Bug 1917646] [NEW] Add support for using custom host/service template

 

Public bug reported:

I would like to be able to define a new template to use for every host/service.
This would allow me to make custom changes (such as notes/notes_url/etc) to all hosts/services.
I have made an attempt at a patch that would implement this, but welcome all modifications obviously.

The usage of this would be setting something like:

service_template: "custom-service-template"
extraconfig: |
    define service{
        name      custom-service-template
        notes     juju managed service
        notes_url https://my.custom.url/
        register  0
    }

** Affects: charm-nagios
     Importance: Undecided
         Status: New

** Patch added: "template.patch"
   https://bugs.launchpad.net/bugs/1917646/+attachment/5472188/+files/template.patch

-- 
You received this bug notification because you are a member of Nagios
Charm developers, which is subscribed to Nagios Charm.
https://bugs.launchpad.net/bugs/1917646

Title:
  Add support for using custom host/service template

Status in Nagios Charm:
  New

Bug description:
  I would like to be able to define a new template to use for every host/service.
  This would allow me to make custom changes (such as notes/notes_url/etc) to all hosts/services.
  I have made an attempt at a patch that would implement this, but welcome all modifications obviously.

  The usage of this would be setting something like:

  service_template: "custom-service-template"
  extraconfig: |
      define service{
          name      custom-service-template
          notes     juju managed service
          notes_url https://my.custom.url/
          register  0
      }

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-nagios/+bug/1917646/+subscriptions


Follow ups