Skip to content

Remove deprecated features: compatlog, commandpipe #6307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dnsmichi opened this issue May 15, 2018 · 19 comments
Open

Remove deprecated features: compatlog, commandpipe #6307

dnsmichi opened this issue May 15, 2018 · 19 comments
Labels
area/compat Deprecated features from 1.x core/quality Improve code, libraries, algorithms, inline docs enhancement New feature or request

Comments

@dnsmichi
Copy link
Contributor

#6031
#6033
#6032

@dnsmichi dnsmichi added the area/compat Deprecated features from 1.x label May 15, 2018
@dnsmichi dnsmichi added this to the 2.11.0 milestone May 15, 2018
@dnsmichi dnsmichi added the enhancement New feature or request label Jul 3, 2018
@rippiedoos
Copy link

If you remove this feature, could you please remove it properly (or fix it in 2.10). Version 2.10 breaks this feature but it's still working in 2.9.2. It is even in the documentation. If you enable the statusdata-feature in 2.10 the objects.cache-file isn't created anymore.
If you run the command icinga2 object list --type=StatusDataWriter in 2.10 it crashes. In 2.9.2 it returns the proper output.

@dnsmichi dnsmichi modified the milestones: 2.11.0, 2.12.0 Oct 18, 2018
@dnsmichi
Copy link
Contributor Author

The above was fixed, on removal it won't influence anything else.

@dnsmichi dnsmichi changed the title Remove deprecated features: statusdata, compatlog, checkresultfilereader Remove deprecated features: statusdata, compatlog, checkresultfilereader, commandpipe Jul 18, 2019
@dnsmichi dnsmichi modified the milestones: 2.12.0, 2.13.0 Sep 2, 2019
@htriem htriem added the core/quality Improve code, libraries, algorithms, inline docs label Jan 22, 2020
@Al2Klimov Al2Klimov self-assigned this Feb 21, 2020
Al2Klimov added a commit that referenced this issue Feb 21, 2020
Al2Klimov added a commit that referenced this issue Feb 21, 2020
@Al2Klimov
Copy link
Member

@lippserd Livestatus which is used by one of our key customers uses the compat logger for historical tables. Shall we care about this?

@Al2Klimov
Copy link
Member

CC @chrnie

Al2Klimov added a commit that referenced this issue Feb 21, 2020
Al2Klimov added a commit that referenced this issue Feb 21, 2020
Al2Klimov added a commit that referenced this issue Feb 21, 2020
Al2Klimov added a commit that referenced this issue Feb 21, 2020
@Al2Klimov
Copy link
Member

To be precise: It uses the logs produced by the compat logger.

@Al2Klimov Al2Klimov added the needs feedback We'll only proceed once we hear from you again label Feb 21, 2020
@dnsmichi
Copy link
Contributor Author

@lippserd Livestatus which is used by one of our key customers uses the compat logger for historical tables. Shall we care about this?

We cannot remove that for now, that's why this issue is subject for removal from 2.13.

@chrnie
Copy link

chrnie commented Mar 3, 2020

compat logger is an important feature for thruk's logfile cache.
https://www.thruk.org/documentation/logfile-cache.html
Finally, the entries are to end up in a database.
If this feature is deleted, it would be nice if there was another possibility, apart from importing the IDO. Since not using the IDO was the initial reason to use livestatus.

@Al2Klimov
Copy link
Member

You're intentionally not using the IDO? Why?

And yes, there will be another possibility in v2.12 – IcingaDB.

@Al2Klimov
Copy link
Member

Yes, we did.

@Al2Klimov Al2Klimov added the stalled Blocked or not relevant yet label Nov 3, 2020
@julianbrost julianbrost modified the milestones: 2.13.0, 2.14.0 May 31, 2021
@johannesst
Copy link

johannesst commented Jan 25, 2022

Hello everybody,

I have a question concerning the planned removal of commandpipe. Will it be removed with the other deprecated features or might it be removed non the less even when the other removals are stalled?

I'm asking since we are now migrating from Nagios to Icinga2 and our IBM host administrators use NSCA for passive host checks. Although they will migrate to NRPE at some point at the moment there is no other possibility.

We don't want to get a situation where we would have to use the last working Icinga2 version with commandpipe thus not getting security features anymore. So: Is there a possible date when this removal will take place?

Best Regards, Johannes

@Al2Klimov Al2Klimov added the needs feedback We'll only proceed once we hear from you again label Jan 25, 2022
@Al2Klimov
Copy link
Member

statusdata and checkresultfilereader can be removed.

Did we already deprecate the command pipe?

@lippserd Shall we throw those away in 2.14?

@julianbrost julianbrost removed this from the 2.14.0 milestone Jan 12, 2023
@Al2Klimov Al2Klimov assigned Al2Klimov and unassigned lippserd Feb 22, 2023
@Al2Klimov Al2Klimov removed needs feedback We'll only proceed once we hear from you again stalled Blocked or not relevant yet labels Feb 22, 2023
@Al2Klimov
Copy link
Member

@Al2Klimov
Copy link
Member

Note

We can't drop the command pipe until we have a comparable performant mechanism for feeding Icinga with bulk check results. (@Thomas-Gelf)

@Al2Klimov
Copy link
Member

Idea regarding command pipe (for one nice day): Remove not all at once, but throw out all not mission critical functionality of the command pipe. (But not in v2.14.)

@Al2Klimov
Copy link
Member

FWIW, it seems (#10397) Livestatus can process check results on its own, so doesn't need command pipe. CC @chrnie

@Al2Klimov
Copy link
Member

@Al2Klimov Al2Klimov added this to the 2.15.0 milestone May 7, 2025
@yhabteab yhabteab changed the title Remove deprecated features: statusdata, compatlog, checkresultfilereader, commandpipe Remove deprecated features: compatlog, commandpipe May 23, 2025
@yhabteab
Copy link
Member

CheckResultReader and StatusDataWriter are already removed with v2.14. Only the two are remaining now but won't drop them with v2.15 yet.

@yhabteab yhabteab modified the milestones: 2.15.0, 2.13.12 May 23, 2025
@Al2Klimov
Copy link
Member

🤔

Not the most obvious decision not to remove any of them in the upcoming .0, given we removed even two in the last .0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/compat Deprecated features from 1.x core/quality Improve code, libraries, algorithms, inline docs enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants