mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-02-03 18:49:29 -05:00
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. > $ netstat -p tcp -ln | grep 6667 > tcp6 0 0 *.6667 *.* LISTEN > $ ./plugins-scripts/check_ircd -H localhost > IRCD ok - Current Local Users: 4 > $ ./plugins-scripts/check_ircd -H localhost -4 > IRCD UNKNOWN: Could not start socket (Connection refused) > $ ./plugins-scripts/check_ircd -H localhost -6 > IRCD ok - Current Local Users: 4 |
||
|---|---|---|
| .. | ||
| t | ||
| check_breeze.pl | ||
| check_disk_smb.pl | ||
| check_file_age.pl | ||
| check_flexlm.pl | ||
| check_ifoperstatus.pl | ||
| check_ifstatus.pl | ||
| check_ircd.pl | ||
| check_log.sh | ||
| check_mailq.pl | ||
| check_mssql.pl | ||
| check_netdns.pl | ||
| check_oracle.sh | ||
| check_rpc.pl | ||
| check_sensors.sh | ||
| check_uptime.pl | ||
| check_wave.pl | ||
| Makefile.am | ||
| utils.pm.in | ||
| utils.sh.in | ||