... |
... |
@@ -45,7
+45,8 @@ |
45 |
45 |
[[http:~~/~~/localhost/jolokia/read/de.xima.fc:type=MSMonitor,qualifier=formcycle>>http://localhost/jolokia/read/de.xima.fc:type=MSMonitor,qualifier=formcycle]] |
46 |
46 |
{{/info}} |
47 |
47 |
|
48 |
|
-=== JSON response === |
|
48 |
+(% class="wikigeneratedid" id="HJSONresponse" %) |
|
49 |
+JSON response: |
49 |
49 |
|
50 |
50 |
{{code language="JSON"}} |
51 |
51 |
{ |
... |
... |
@@ -75,7
+75,7 @@ |
75 |
75 |
{{/code}} |
76 |
76 |
|
77 |
77 |
(% class="wikigeneratedid" %) |
78 |
|
-More information about the integration of the framework [[Jolokia>>url:https://jolokia.org/||rel="__blank"]] and a more detailed documentation can be found [[here>>https://jolokia.org/reference/html/||rel=" noopener noreferrer" target="_blank"]]. |
|
79 |
+More information about the integration of the framework [[Jolokia>>url:https://jolokia.org/||rel="__blank"]] and a more detailed documentation can be found [[here>>https://jolokia.org/reference/html/||rel="noopener noreferrer" target="_blank"]]. |
79 |
79 |
|
80 |
80 |
== Nagios integration == |
81 |
81 |
|
... |
... |
@@ -88,7
+88,7 @@ |
88 |
88 |
{{/info}} |
89 |
89 |
|
90 |
90 |
{{panel title="Command" fullwidth="true" initial="hidden" triggerable="true"}} |
91 |
|
-{{code}} |
|
92 |
+{{code language="none"}} |
92 |
92 |
define command{ |
93 |
93 |
command_name check_jmx4perl |
94 |
94 |
command_line check_jmx4perl --url $ARG1$ --mbean $ARG2$ --attribute $ARG3$ $ARG4$ |
... |
... |
@@ -97,9
+97,9 @@ |
97 |
97 |
{{/panel}} |
98 |
98 |
|
99 |
99 |
{{panel title="Service definitions" fullwidth="true" initial="hidden" triggerable="true"}} |
100 |
|
-Querying the number of {{fserver number="plurar"/}} not connected to this {{mserver/}}. When there are any disconnected servers, a warning will be displayed. When there is more than one disconnected server, Nagios will treat this warning as critical. |
|
101 |
+Querying the number of {{fserver number="plurar"/}} not connected to this {{mserver/}}. When there are any disconnected servers, a warning will be displayed. When there is more than one disconnected server, Nagios will treat this warning as critical.<br> |
101 |
101 |
<br> |
102 |
|
-{{code}} |
|
103 |
+{{code language="none"}} |
103 |
103 |
define service{ |
104 |
104 |
use generic-service |
105 |
105 |
host_name localhost |
... |
... |
@@ -110,7
+110,7 @@ |
110 |
110 |
{{/panel}} |
111 |
111 |
|
112 |
112 |
{{panel title="Querying the database connection status of the {{mserver/~}~}" fullwidth="true" initial="hidden" triggerable="true"}} |
113 |
|
-{{code}} |
|
114 |
+{{code language="none"}} |
114 |
114 |
define service{ |
115 |
115 |
use generic-service |
116 |
116 |
host_name localhost |
... |
... |
@@ -121,7
+121,7 @@ |
121 |
121 |
{{/panel}} |
122 |
122 |
|
123 |
123 |
{{panel title="Querying whether the {{fserver/~}~} localhost is connected to the {{mserver/~}~}" fullwidth="true" initial="hidden" triggerable="true"}} |
124 |
|
-{{code}} |
|
125 |
+{{code language="none"}} |
125 |
125 |
define service{ |
126 |
126 |
use generic-service |
127 |
127 |
host_name localhost |
... |
... |
@@ -132,7
+132,7 @@ |
132 |
132 |
{{/panel}} |
133 |
133 |
|
134 |
134 |
{{panel title="Querying the {{fserver/~}~} whether it is connected to a {{mserver/~}~}" fullwidth="true" initial="hidden" triggerable="true"}} |
135 |
|
-{{code}} |
|
136 |
+{{code language="none"}} |
136 |
136 |
define service{ |
137 |
137 |
use generic-service |
138 |
138 |
host_name localhost |
... |
... |
@@ -158,7
+158,7 @@ |
158 |
158 |
|
159 |
159 |
When Jolokia is run parallel to {{formcycle/}}, the connection to the {{fserver/}} //localhost// must be modified as follows: |
160 |
160 |
|
161 |
|
-{{code}} |
|
162 |
+{{code language="none"}} |
162 |
162 |
define service{ |
163 |
163 |
use generic-service |
164 |
164 |
host_name fc-test |