Attempting to add Host Template Fields gives Error "There are no data fields available. Please ask an administrator to create such"

Hi

I’m trying to expand a existing host template, to add a couple of fields, but i get the error “There are no data fields available. Please ask an administrator to create such” and the drop down is empty, i do have Custom Fields and these are available to Service Templates, just not Host templates, What would cause this? I was able to add previously.

Host Template

Service Template

I have also tried creating a new host template, still the same and completed the service restarts and machine restarts.

Where can i start to try and see what’s happening?

Thanks

  • Director version (System - About): 1.11.0
  • Icinga Web 2 version and modules (System - About): 2.12.1
  • Icinga 2 version (icinga2 --version): r2.14.0-1
  • Operating System and version: Ubuntu 22.04
  • Webserver, PHP versions: Apache 2.4, PHP 8.1.2

does your host template have a check command?
add dummy or something else. that should fix the problem.
idk if it is a bug or a feature

It’s a bug: https://github.com/Icinga/icingaweb2-module-director/issues/2815

Ok, Thanks, ill try that, as my Host Template does not have a check command, i just use them as addons to gain access to fields needed by the applied services

Thanks the checkcommand fixed it.