Public bug reported:

The charm uses the default host/service definitions `generic-host`
defined in `generic-host_nagios2.cfg` and `generic-service` defined in
`generic-service_nagios2.cfg` for all hosts and services.

It lacks both the ability to:
1. Change the options in the default definitions `generic-host` and 
`generic-service`
2. Change the definition a host/service should inherit to something else than 
`generic-host` and `generic-service`.

The usage of `generic-host` and `generic-service` are currently
hardcoded in `hooks/common.py`.

This together with #1864968 blocks the ability to enable notifications
for schedule downtimes which requires the option `notification_options`
to include `s` in host and service definitions.

See
https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/objectdefinitions.html
for definitions.

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

** Description changed:

  The charm uses the default host/service definitions `generic-host`
  defined in `generic-host_nagios2.cfg` and `generic-service` defined in
  `generic-service_nagios2.cfg` for all hosts and services.
  
  It lacks both the ability to:
  * Change the options in the default definitions `generic-host` and 
`generic-service`
  * Change the definition a host/service should inherit to something else than 
`generic-host` and `generic-service`.
  
  This together with #1864968 blocks the ability to enable notifications
  for schedule downtimes which requires the option `notification_options`
  to include `s` in host and service definitions.
+ 
+ See
+ 
https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/objectdefinitions.html
+ for definitions.

** Description changed:

  The charm uses the default host/service definitions `generic-host`
  defined in `generic-host_nagios2.cfg` and `generic-service` defined in
  `generic-service_nagios2.cfg` for all hosts and services.
  
  It lacks both the ability to:
  * Change the options in the default definitions `generic-host` and 
`generic-service`
  * Change the definition a host/service should inherit to something else than 
`generic-host` and `generic-service`.
  
+ The usage of `generic-host` and `generic-service` are currently
+ hardcoded in `hooks/common.py`.
+ 
  This together with #1864968 blocks the ability to enable notifications
  for schedule downtimes which requires the option `notification_options`
  to include `s` in host and service definitions.
  
  See
  
https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/objectdefinitions.html
  for definitions.

** Description changed:

  The charm uses the default host/service definitions `generic-host`
  defined in `generic-host_nagios2.cfg` and `generic-service` defined in
  `generic-service_nagios2.cfg` for all hosts and services.
  
  It lacks both the ability to:
- * Change the options in the default definitions `generic-host` and 
`generic-service`
- * Change the definition a host/service should inherit to something else than 
`generic-host` and `generic-service`.
+ 1. Change the options in the default definitions `generic-host` and 
`generic-service`
+ 2. Change the definition a host/service should inherit to something else than 
`generic-host` and `generic-service`.
  
  The usage of `generic-host` and `generic-service` are currently
  hardcoded in `hooks/common.py`.
  
  This together with #1864968 blocks the ability to enable notifications
  for schedule downtimes which requires the option `notification_options`
  to include `s` in host and service definitions.
  
  See
  
https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/objectdefinitions.html
  for definitions.

-- 
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/1864969

Title:
  Add support for modifying host and service templates

Status in Nagios Charm:
  New

Bug description:
  The charm uses the default host/service definitions `generic-host`
  defined in `generic-host_nagios2.cfg` and `generic-service` defined in
  `generic-service_nagios2.cfg` for all hosts and services.

  It lacks both the ability to:
  1. Change the options in the default definitions `generic-host` and 
`generic-service`
  2. Change the definition a host/service should inherit to something else than 
`generic-host` and `generic-service`.

  The usage of `generic-host` and `generic-service` are currently
  hardcoded in `hooks/common.py`.

  This together with #1864968 blocks the ability to enable notifications
  for schedule downtimes which requires the option
  `notification_options` to include `s` in host and service definitions.

  See
  
https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/objectdefinitions.html
  for definitions.

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

-- 
Mailing list: https://launchpad.net/~nagios-charmers
Post to     : nagios-charmers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~nagios-charmers
More help   : https://help.launchpad.net/ListHelp

Reply via email to