Hi,
I just imported the data I have on our current 20.04 platform (configuration only) to a brand new 22.04 (22.04.1, updated this morning !). Things were right but…
I haven’t checked all the packs/plugins but the first one I looked to has a compatibility issue :
(Unknown option: warning at /usr/lib/centreon/plugins//centreon_protocol_tcp.pl line 597)
I can’t understand how removing an option is a good idea…
I know it has been decided to have options such as --warning-foo or --critical-bar, which is nice, but why not keep the simple --warning and --critical options, and makes them match one of the real option? I looked to the version of the plugin I have on my 20.04 platform (centreon-plugin-Applications-Protocol-Tcp-20210622-151444), un-suffixed --warning et --critical don’t appear in the help of the plugin, so I guess it has been deprecated before that time. The thing is, it’s still working in this version (like in centreon-plugin-Applications-Protocol-Tcp-20210915-070550), and I still have commands/services which use it.
What was the cost of keeping a “--warning” option which matches “--warning-time” and a “--critical” option that maches “--critical-time”?
It seems it’s like breaking things on purpose at the level!
What do you folks think? Am I the only one pissed by such questionable changes?
Have a nice (monitored) day.