From version < 4.1 >
edited by sas
on 16.01.2020, 16:16
To version < 9.1
edited by sas
on 01.06.2021, 14:03
<
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -15,24 +15,32 @@
15 15  
16 16  When starting the server, the current context name is logged. You may need to modify the [[logging settings>>doc:.UserInterface.Logging]] to see the name. There are different monitoring attributes available for each bean, which are listed below.
17 17  
18 -{{table caption="Overview of the settings for MSMonitor (master server)" dataTypeAlpha="0" preSort="0-asc"}}
19 -|=Key|=Description|=Possible options
20 -|running|Whether the {{mserver/}} has been started successfully.|true, false
21 -|db_connected|Whether the {{mserver/}} could establish a connection to the database.|true, false
22 -|fs_connected|A map of the names of all {{fserver number="plural"/}} and whether they are connected to this master server|<serverName> : true, false
23 -|fs_active|A map of the names of all {{fserver number="plural"/}} and whether this master server should attempt to establish a connection to that server automatically.|<serverName> : true, false
24 -|fs_status|A map of the names of all {{fserver number="plural"/}} and the connection status of that server.|<serverName> : CONNECTED, NOT_CONNECTED, ERROR, RECONNECTING, DISCONNECTING , CONNECTING, AUTHENTICATING, WAIT_FOR_CONNECTION
25 -|fs_disconnected_count|The number of {{fserver number="plural"/}} not connected to this {{mserver/}}|A non-negative number.
26 -|fs_connected_count|The number of {{fserver number="plural"/}} connected to this {{mserver/}}|A non-negative number.
27 -|failed_login_count|For each login name, the login cache contains how many times a user made a failed login attempt with that login name. This is the number of login names in that cache.|A non-negative number.
18 +{{table dataTypeAlpha="0" preSort="0-asc" caption="Overview of the settings for MSMonitor (master server)"}}
19 +|=Attribute|=Description|=Possible options
20 +|running|Whether the {{mserver/}} has been started successfully.|true/false
21 +|db_connected|Whether the {{mserver/}} could establish a connection to the database.|true/false
22 +|fs_connected|A map of the names of all {{fserver number="plural"/}} and whether they are connected to this master server|__Key:__ <serverName>
23 +__Return value:__ true/false
24 +|fs_active|A map of the names of all {{fserver number="plural"/}} and whether this master server should attempt to establish a connection to that server automatically.|__Key:__ <serverName>
25 +__Return value:__ true/false
26 +|fs_status|A map of the names of all {{fserver number="plural"/}} and the connection status of that server.|__Key:__ <serverName>
27 +__Return values:__ CONNECTED, NOT_CONNECTED, ERROR, RECONNECTING, DISCONNECTING , CONNECTING, AUTHENTICATING, WAIT_FOR_CONNECTION
28 +|fs_disconnected_count|The number of {{fserver number="plural"/}} not connected to this {{mserver/}}|A non-negative number
29 +|fs_connected_count|The number of {{fserver number="plural"/}} connected to this {{mserver/}}|A non-negative number
30 +|failed_login_count|For each login name, the login cache contains how many times a user made a failed login attempt with that login name. This is the number of login names in that cache.|A non-negative number
31 +|connect_frontendserver_by_name|Triggers a connection to the frontend server by name.|__Key:__ <serverName>, true/false to trigger reconnect always (no matter if there is a connection)
32 +__Return value:__ true/false
33 +|connect_frontendserver_by_id|Triggers a connection to the frontend server by id.|__Key:__ <serverName>, true/false to trigger reconnect always (no matter if there is a connection)
34 +__Return value:__ true/false
28 28  {{/table}}
29 29  
30 -{{table caption="Overview of the settings for FSMonitor (frontend server)" dataTypeAlpha="0" preSort="0-asc"}}
31 -|=Key|=Description|=Possible options
32 -|running|Whether the {{fserver/}} has been started successfully.|true, false
33 -|connected|Whether this {{fserver/}} is connected to a {{mserver/}}.|true, false
34 -|failed_login_count|For each login name, the login cache contains how many times a user made a failed login attempt with that login name. This is the number of login names in that cache.|A non-negative number.
37 +{{table dataTypeAlpha="0" preSort="0-asc" caption="Overview of the settings for FSMonitor (frontend server)"}}
38 +|=Attribute|=Description|=Possible options
39 +|running|Whether the {{fserver/}} has been started successfully.|true/false
40 +|connected|Whether this {{fserver/}} is connected to a {{mserver/}}.|true/false
41 +|failed_login_count|For each login name, the login cache contains how many times a user made a failed login attempt with that login name. This is the number of login names in that cache.|A non-negative number
35 35  |status|The connection status of this {{fserver/}}.|CONNECTED, NOT_CONNECTED, ERROR, RECONNECTING, DISCONNECTING, CONNECTING, AUTHENTICATING, WAIT_FOR_CONNECTION
43 +|restart|Triggers a restart of the frontend server.|None
36 36  {{/table}}
37 37  
38 38  == JSON REST API ==
... ... @@ -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 ===
56 +(% class="wikigeneratedid" id="HJSONresponse" %)
57 +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"]].
87 +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}}
100 +{{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.
109 +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}}
111 +{{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}}
122 +{{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}}
133 +{{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}}
144 +{{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}}
170 +{{code language="none"}}
162 162  define service{
163 163   use generic-service
164 164   host_name fc-test
Copyright 2000-2025