for past 2 months I have experiencing a strange behaviour of Icinga2. Not sure if it is director related or just my not knowing deep dive of Icinga2. I tried couple of times to implement new checks with new command and when I did some mistake I need first delete for example service check from set of service (I have filter to apply automatically rules for new hosts), delete template and then delete command over icingacli. After recreating new command and importing it over import wizard in icinga director, if I wanted to create service with name as old one which has been deleted cause a wrong command definition it will include all that “old” properties and combined with “new” one and I got bunch of mess in service definition and command what should be executed, execute plugin with new and old service definition … didn’t find reason why Icinga 2 mixing old and new service definition if I decided to use same name? Is there a proper way and procedure how to delete malfunction service which is based on wrong set up command configuration? Now I am getting a lot of problems cause I need to use a different service name regarding our naming convention of service. Currently command definition it is working but service name is different. When I am try to rename as wished problem starts over.
Sorry for to long text. Tried to google it but not sure if I am googling with proper keys.
Thanks in advance for help.