icinga2 icon indicating copy to clipboard operation
icinga2 copied to clipboard

check_tcp ITL incompatibility between monitoring-plugins and nagios-plugins

Open pprkut opened this issue 4 years ago • 4 comments

#7741 changed parameter names for check_tcp to update for a change in monitoring plugins. Unfortunately, this change in monitoring plugins is incompatible with the version of check_tcp shipped with nagios-plugins.

There's no monitoring-plugins rpm for RHEL/CentOS users and nagios-plugins is still recommended to be installed there per icinga documentation (https://icinga.com/docs/icinga2/latest/doc/02-installation/#rhelcentosfedora).

IMHO either the shipped ITL should work with both versions, or there should be a monitoring-plugins rpm for RHEL/CentOS users to switch to.

pprkut avatar Sep 02 '20 08:09 pprkut

Perhaps the path of least resistance is to rename the parameter in monitoring plugins from --sni to -N, and then revert the ITL change?

I see there was previous discussion going on but can't really follow the reasoning :-/

pprkut avatar Sep 02 '20 08:09 pprkut

Hi,

an incompatibility issue like this pops up over and over again, the two plugin packages monitoring-plugins and nagios-plugins are simply not compatible and honestly never will be.

@N-o-X Would it be possible to provide the monitoring-plugins package for RHEL/CentOS trough the Icinga repositories?

Best regards Michael

mcktr avatar Sep 02 '20 09:09 mcktr

PING @N-o-X

Al2Klimov avatar Sep 07 '21 15:09 Al2Klimov

What's the status here? There are no nagios-plugins on Ubuntu, and monitoring-plugins check_tcp doesn't understand --sni.

Seegras avatar Aug 15 '22 07:08 Seegras

@htriem I'd like to know especially:

Would it be possible to provide the monitoring-plugins package for RHEL/CentOS trough the Icinga repositories?

Al2Klimov avatar Oct 26 '22 14:10 Al2Klimov

@htriem I'd like to know especially:

Would it be possible to provide the monitoring-plugins package for RHEL/CentOS trough the Icinga repositories?

I can answer that: no.

lippserd avatar Oct 26 '22 14:10 lippserd

[...] monitoring-plugins check_tcp doesn't understand --sni.

It should actually. Maybe only a release is missing.

lippserd avatar Oct 26 '22 14:10 lippserd

You're right. It should actually. https://github.com/monitoring-plugins/monitoring-plugins/commit/f53ea7afd8e124690871ebdb79a1432e4dd14488 is already included in some tags.

Al2Klimov avatar Dec 13 '22 16:12 Al2Klimov

Perhaps the path of least resistance is to rename the parameter in monitoring plugins from --sni to -N, and then revert the ITL change?

I don’t think so...

I see there was previous discussion going on but can't really follow the reasoning :-/

... as the reasoning was doing it like check_http.

Al2Klimov avatar Dec 13 '22 16:12 Al2Klimov

Would it be possible to provide the monitoring-plugins package for RHEL/CentOS trough the Icinga repositories?

Maybe our NETWAYS colleagues are so kind and package those in their repos.

CC @RincewindsHat

Al2Klimov avatar Dec 13 '22 16:12 Al2Klimov

I am not totally opposed to that idea, but that requires time and effort. Not sure, if I can provide a time frame for that

RincewindsHat avatar Dec 15 '22 12:12 RincewindsHat

Meanwhile all of you can checkout https://github.com/Linuxfabrik/monitoring-plugins which aren't OS-dependent. (https://twitter.com/al2klimov/status/1596206925330657282?cxt=HHwWhMDRxbrv7qYsAAAA) With recommendation from @gethash himself. (OSMC '22)

Al2Klimov avatar Dec 15 '22 12:12 Al2Klimov

In the mean time: (Open)Suse builds RPMs, not sure how they are doing on RHEL

RincewindsHat avatar Dec 15 '22 12:12 RincewindsHat

If they don't work OOTB, they may be rebuilt from source.

Al2Klimov avatar Dec 15 '22 12:12 Al2Klimov

Added --sni to nagios-plugins as well.

Al2Klimov avatar May 02 '23 08:05 Al2Klimov