adagios icon indicating copy to clipboard operation
adagios copied to clipboard

adding a service to a hostgroup doesn't work properly from configuration tab

Open hypogealgaol opened this issue 7 years ago • 0 comments

reproduction:

Shortcuts --> Configuration --> Services --> Add Service

Specify only a hostgroup_name and service_description(which in itself should be legal)

The editing interface should open. There is no option to specify hostgroups or change the hostgroup_name in this interface.

Next, go to the Monitoring tab. When trying to input a check_command, the command line and expanded command line options/args do not show.

quick workaround (but not that great): temporarily add a host, save the config, delete the host, save again, making sure to configure everything else that's necessary. However, you would not be able to re-edit the check_command unless you add a host to it again. I guess that's what the geek edit is for (thank you so much for implementing that).

possible fix:

  1. add a hostgroup_name option to the service config
  2. I'm not sure how the check_command stuff gets auto_loaded but they should only depend on a specific host if you're auto_loading directive info from a specific host (I see that certain commands link the host_address and stuff). Seems like a much more laboring fix though

hypogealgaol avatar Mar 02 '17 07:03 hypogealgaol