You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: includes/arrays.php
+8-26Lines changed: 8 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -42,30 +42,12 @@
42
42
];
43
43
44
44
$servcheck_states = [
45
-
'error' => [
46
-
'color' => '#FB4A14',
47
-
'display' => __('Error', 'servcheck')
48
-
],
49
-
'duration' => [
50
-
'color' => '#CDFDFF',
51
-
'display' => __('Long duration', 'servcheck')
52
-
],
53
-
'warning' => [
54
-
'color' => '#FCAA94',
55
-
'display' => __('Warning', 'servcheck')
56
-
],
57
-
'failing' => [
58
-
'color' => '#FAFD9E',
59
-
'display' => __('Failing', 'servcheck')
60
-
],
61
-
'ok' => [
62
-
'color' => '#E0FFE0',
63
-
'display' => __('Ok', 'servcheck')
64
-
],
65
-
'disabled' => [
66
-
'color' => '#CDCFC4',
67
-
'display' => __('Disabled', 'servcheck')
68
-
]
45
+
'error' => __('Error', 'servcheck'),
46
+
'duration' => __('Long duration', 'servcheck'),
47
+
'warning' => __('Warning', 'servcheck'),
48
+
'failing' => __('Failing', 'servcheck'),
49
+
'ok' => __('Ok', 'servcheck'),
50
+
'disabled' => __('Disabled', 'servcheck')
69
51
];
70
52
71
53
$service_types = [
@@ -555,7 +537,7 @@
555
537
'default' => 0,
556
538
'max_length' => '5',
557
539
'size' => '30',
558
-
'description' => __('If the test time is greater than this value more times in a row, send a notification. Related to variable Duration count.', 'servcheck'),
540
+
'description' => __('If the test time is greater than this value more times in a row, send a notification. Related to variable Duration count. The test inherits the maximum runtime from the settings. If a higher value is set here, the maximum runtime is this value + 2 seconds.', 'servcheck'),
559
541
'value' => '|arg1:duration_trigger|',
560
542
],
561
543
'duration_count' => [
@@ -936,7 +918,7 @@
936
918
'ftp_scp' => __('Encrypted SCP connection, login and try to download file specified in path (/path/to/file.txt).', 'servcheck'),
937
919
'smb_smb' => __('Try SMB protocol, username and password are required. Try to login and download file.', 'servcheck'),
938
920
'smb_smbs' => __('Try SMB protocol, username and password are required. Try to login and download file.', 'servcheck'),
939
-
'mqtt_mqtt' => __('Connetct to MQTT server and listen for any message. You can specify topic in Path (bedroom/temp), blank for any topic', 'servcheck'),
921
+
'mqtt_mqtt' => __('Connetct to MQTT server and listen for any message. You can specify topic in Path (bedroom/temp), blank for any topic. For this test is recommended increase \"Long duration alert\"', 'servcheck'),
940
922
'rest_basic' => __('REST API test with basic HTTP auth. Prepare credential first.', 'servcheck'),
941
923
'rest_apikey' => __('REST API test with API key auth. Prepare credential first.', 'servcheck'),
942
924
'rest_oauth2' => __('REST API test with Oauth2. Prepare credential first.', 'servcheck'),
0 commit comments