summaryrefslogtreecommitdiffstats
path: root/ABOUT-NLS
diff options
context:
space:
mode:
authorDavide Madrisan <davide.madrisan@gmail.com>2014-05-07 22:14:45 +0200
committerJan Wagner <waja@cyconet.org>2014-07-29 11:08:44 +0200
commite85fcbd5711999af88ed887c0c17a26ab29f2b28 (patch)
treebd6765faf926780f75795f8870db4d41f03a059a /ABOUT-NLS
parent2e8d440e73ac2b1875db5ecaf6df510fdcf6eb7a (diff)
downloadmonitoring-plugins-e85fcbd5711999af88ed887c0c17a26ab29f2b28.tar.gz
This patch will add the IP and port, or socket name, to the error message and
thus simplify the problem debugging: no need to check for this information in the Nagios configuration. This function is only used by 'check_tcp.c'. Without the patch: $ ./plugins/check_tcp -H 127.0.0.1 -p 21 Connection refused $ ./plugins/check_tcp -H /var/spool/nagios/cmd/nagios.cmd Permission denied With the patch: $ ./plugins/check_tcp -H 127.0.0.1 -p 21 connect to address 127.0.0.1 and port 21: Connection refused $ ./plugins/check_tcp -H /var/spool/nagios/cmd/nagios.cmd connect to socket /var/spool/nagios/cmd/nagios.cmd: Permission denied Thanks to Davide Madrisan. --- Closes #1277
Diffstat (limited to 'ABOUT-NLS')
0 files changed, 0 insertions, 0 deletions