diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-03-13 15:18:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-13 15:18:23 +0100 |
commit | af6cfefaacbb15bf371e0d59383b54ff695d1529 (patch) | |
tree | f2a9f057e34f58da91a1e4d252a83deef895b8d1 /plugins/t/check_jabber.t | |
parent | 02acc76edc5c646af90a6168df61c711aa3d11d6 (diff) | |
parent | d2596feaa090c73353412d252cfb7938a9141f9b (diff) | |
download | monitoring-plugins-af6cfefaacbb15bf371e0d59383b54ff695d1529.tar.gz |
Merge pull request #2108 from RincewindsHat/refactor/check_tcpcoverity/master
Refactor/check tcp
Diffstat (limited to 'plugins/t/check_jabber.t')
-rw-r--r-- | plugins/t/check_jabber.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/t/check_jabber.t b/plugins/t/check_jabber.t index 08cadcbd..dc46f4c3 100644 --- a/plugins/t/check_jabber.t +++ b/plugins/t/check_jabber.t | |||
@@ -15,11 +15,11 @@ my $host_nonresponsive = getTestParameter("NP_HOST_NONRESPONSIVE", "The hostname | |||
15 | my $hostname_invalid = getTestParameter("NP_HOSTNAME_INVALID", "An invalid (not known to DNS) hostname", "nosuchhost"); | 15 | my $hostname_invalid = getTestParameter("NP_HOSTNAME_INVALID", "An invalid (not known to DNS) hostname", "nosuchhost"); |
16 | 16 | ||
17 | 17 | ||
18 | my $jabberOK = '/JABBER OK\s-\s\d+\.\d+\ssecond response time on '.$host_tcp_jabber.' port 5222/'; | 18 | my $jabberOK = '/Connection to '.$host_tcp_jabber.' on port 5222/'; |
19 | 19 | ||
20 | my $jabberUnresponsive = '/Socket timeout after\s\d+\sseconds/'; | 20 | my $jabberUnresponsive = '/Socket timeout after\s\d+\sseconds/'; |
21 | 21 | ||
22 | my $jabberInvalid = '/JABBER CRITICAL - Invalid hostname, address or socket:\s.+/'; | 22 | my $jabberInvalid = '/Invalid hostname, address or socket:\s.+/'; |
23 | 23 | ||
24 | my $r; | 24 | my $r; |
25 | 25 | ||