<feed xmlns='http://www.w3.org/2005/Atom'>
<title>monitoring-plugins/plugins-scripts/check_ircd.pl, branch 3.0.0-rc3</title>
<subtitle>Monitoring Plugins
</subtitle>
<id>https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=3.0.0-rc3</id>
<link rel='self' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/atom?h=3.0.0-rc3'/>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/'/>
<updated>2024-03-18T09:05:04Z</updated>
<entry>
<title>check_ircd: IPv6 support (#1995)</title>
<updated>2024-03-18T09:05:04Z</updated>
<author>
<name>alvar</name>
<email>8402811+oxzi@users.noreply.github.com</email>
</author>
<published>2024-03-18T09:05:04Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=93cd51bc6221ffc846c69135f2746120683b44c5'/>
<id>urn:sha1:93cd51bc6221ffc846c69135f2746120683b44c5</id>
<content type='text'>
The prior bindRemote function was restricted to IPv4 by explicitly using
address family specific functions as pack_sockaddr_in or unparametrized
gethostbyname. Since Perl 5.14, released in early 2013, there is
IO::Socket::IP, which supports lookups and connects for a dual stacked
network.

By switching the connection establishment code, the plugin is now able
to establish connections to IPv6-only hosts. Furthermore, additional -4
and -6 flags were introduced to enforce a specific address family.

&gt; $ netstat -p tcp -ln | grep 6667
&gt; tcp6         0      0  *.6667                 *.*                    LISTEN
&gt; $ ./plugins-scripts/check_ircd -H localhost
&gt; IRCD ok - Current Local Users: 4
&gt; $ ./plugins-scripts/check_ircd -H localhost -4
&gt; IRCD UNKNOWN: Could not start socket (Connection refused)
&gt; $ ./plugins-scripts/check_ircd -H localhost -6
&gt; IRCD ok - Current Local Users: 4</content>
</entry>
<entry>
<title>use pack_sockaddr_in rather than hand-rolled</title>
<updated>2023-10-06T09:15:35Z</updated>
<author>
<name>Stuart Henderson</name>
<email>stu@spacehopper.org</email>
</author>
<published>2017-01-27T12:56:11Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=c2f20fdd94feb06e815a891b22f25fac10c2cc13'/>
<id>urn:sha1:c2f20fdd94feb06e815a891b22f25fac10c2cc13</id>
<content type='text'>
On some OS, sockaddr structs include a length field. Perl's pack_sockaddr_in
takes this into account; the hand-rolled "pack('S n a4 x8'..." doesn't do so,
resulting in connection failures.
</content>
</entry>
<entry>
<title>Fix a lot of typos reported by codespell</title>
<updated>2023-04-14T18:35:00Z</updated>
<author>
<name>Jan Wagner</name>
<email>waja@cyconet.org</email>
</author>
<published>2023-04-14T14:37:47Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=0f3703e641f0f995a8abb40056cb5430b6c228c4'/>
<id>urn:sha1:0f3703e641f0f995a8abb40056cb5430b6c228c4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add comment to make the purpose of the nickname fix more obvious</title>
<updated>2021-10-20T09:14:44Z</updated>
<author>
<name>Lorenz Kästle</name>
<email>lorenz.kaestle@netways.de</email>
</author>
<published>2021-10-18T11:16:10Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=03028d23b6c59bcb4000bc70209593afd798dfe3'/>
<id>urn:sha1:03028d23b6c59bcb4000bc70209593afd798dfe3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restrict the nickname length of the test user for check_ircd</title>
<updated>2021-10-20T09:14:44Z</updated>
<author>
<name>Lorenz Kästle</name>
<email>lorenz.kaestle@netways.de</email>
</author>
<published>2021-10-18T08:41:44Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=ead405515fb4bf84ce18d2fe3f621058f09a8aa2'/>
<id>urn:sha1:ead405515fb4bf84ce18d2fe3f621058f09a8aa2</id>
<content type='text'>
check_ircd was using the string `ircd` plus the PID as a nickname
for connecting to a IRC network by default.
This caused errors, when the PID was too high and the network
restricted the length of the nickname to 9 characters.
This patch "fixes" this by just cutting it of, if it gets too big.
</content>
</entry>
<entry>
<title>change exit code to unknown on help and version info</title>
<updated>2015-10-04T17:24:30Z</updated>
<author>
<name>Sven Nierlein</name>
<email>sven@nierlein.de</email>
</author>
<published>2015-10-04T16:48:23Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=d6baf9dbce1578ca59a577ac8155b835c46f0a16'/>
<id>urn:sha1:d6baf9dbce1578ca59a577ac8155b835c46f0a16</id>
<content type='text'>
Signed-off-by: Sven Nierlein &lt;sven@nierlein.de&gt;
</content>
</entry>
<entry>
<title>drop superfluous libexecdir</title>
<updated>2015-10-02T11:58:43Z</updated>
<author>
<name>Elan Ruusamäe</name>
<email>glen@delfi.ee</email>
</author>
<published>2015-10-02T11:54:47Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=8079ead7fa72f4483ad021fcbdeb24ac3d742ca5'/>
<id>urn:sha1:8079ead7fa72f4483ad021fcbdeb24ac3d742ca5</id>
<content type='text'>
utils.pm locate is already convered by FindBin
</content>
</entry>
<entry>
<title>Don't rely on FindBin module to locate utils.pm</title>
<updated>2014-07-06T17:55:03Z</updated>
<author>
<name>Holger Weiss</name>
<email>holger@zedat.fu-berlin.de</email>
</author>
<published>2014-07-06T17:55:03Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=1f4fd12845a2041df3f34f7a84d8012e747e327c'/>
<id>urn:sha1:1f4fd12845a2041df3f34f7a84d8012e747e327c</id>
<content type='text'>
As the FindBin module doesn't work with ePN, set the path to utils.pm
explicitly at build time.  Keep using FindBin additionally, so that the
plugins can also be executed from the build directory.

Closes #1271.
</content>
</entry>
<entry>
<title>Disable Perl's "taint" checks</title>
<updated>2014-02-28T21:05:18Z</updated>
<author>
<name>Holger Weiss</name>
<email>holger@zedat.fu-berlin.de</email>
</author>
<published>2014-02-28T21:05:18Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=0c5b362c3047c30326a748b154bc692b083d38ed'/>
<id>urn:sha1:0c5b362c3047c30326a748b154bc692b083d38ed</id>
<content type='text'>
Perl's "taint" checks don't like `use lib "$FindBin::Bin"'.

Cf. http://www.perlmonks.org/?node_id=585299
</content>
</entry>
<entry>
<title>Replace "plugins-scripts/subst.in" foo</title>
<updated>2014-02-28T12:28:33Z</updated>
<author>
<name>Holger Weiss</name>
<email>holger@zedat.fu-berlin.de</email>
</author>
<published>2014-02-28T12:28:33Z</published>
<link rel='alternate' type='text/html' href='https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=c08d6a429ba0e0cd3642ba2c2fe85687472ee22f'/>
<id>urn:sha1:c08d6a429ba0e0cd3642ba2c2fe85687472ee22f</id>
<content type='text'>
Remove the buggy and complex awk(1) magic in "plugins-scripts/subst.in"
in favor of simple sed(1) substitutions.

The plugins in the "plugins-scripts" directory now always use the PATH
specified via "./configure --trusted-path", or the default PATH
hard-coded in "configure.ac".

Fixes #1242.
</content>
</entry>
</feed>
