I like to find out which templates etc affects an object.
If I remember correctly there is a command (or logfile) which even shows every filename with linenumber and columns.
Any ideas?
I like to find out which templates etc affects an object.
If I remember correctly there is a command (or logfile) which even shows every filename with linenumber and columns.
Any ideas?
Probably you are looking for icinga2 object list
.
e.g : icinga2 object list --type host --name name.of.host
or icinga2 object list --type service --name name.of.service
etc etc
Cheers,
George
Hi,
hint for future iterations: The troubleshooting docs are a rich source for these kind of questions
Cheers,
Michael
thanx, “icinga2 object list” is what I am looking for.