monitoring-plugins icon indicating copy to clipboard operation
monitoring-plugins copied to clipboard

check2basket: do not adjust datafield_ids if not necessary

Open NavidSassan opened this issue 4 years ago • 4 comments

this reduces the changes in commits

NavidSassan avatar Nov 23 '21 12:11 NavidSassan

In GitLab by @markuslf on Nov 24, 2021, 09:37

Please explain me what to do on this issue. ;-)

NavidSassan avatar Nov 24 '21 08:11 NavidSassan

when running check2basket --auto and there is a new check, all datafield_ids of the later processed checks are adjusted, since currently the datafield_id is just a global incrementing number. this leads to a lot of changes which are not needed (ie the only change in the json file is the datafield_ids).

the easiest is probably to start with datafield_id = 0 for each file (since basket-join renumbers them anyway during joining).

NavidSassan avatar Nov 24 '21 13:11 NavidSassan

In GitLab by @markuslf on Feb 16, 2022, 21:30

What to do on this issue?

NavidSassan avatar Feb 16 '22 20:02 NavidSassan

What to do on this issue depends on what's all about with the new UUIDs in Icinga Director.

markuslf avatar Aug 10 '22 08:08 markuslf