Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
define service { use generic-service host_name localhost service_description JS7Controller is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_js7_controller!http://localhost:4446!jobscheduler!test:test!5! active_checks_enabled 1 passive_checks_enabled 0 } |
Parameterization
Option | Option (long format)Parameter | Data Type | Required | Default | Description |
---|---|---|---|---|---|
-j | --joc-url | String | yes | — | URL of JOC Cockpit (HTTP and HTTPS are supported) |
-i | --id | String | yes | — | ID of a JS7 Controller |
-a | --account | String | yes | — | Account for HTTP authentication with JOC Cockpit (<user:password>) |
-c | --cafile | String | no | — | Location of a certificate file or a CA bundle file to verify the SSL connection to JOC Cockpit |
-C | --capath | String | no | — | Path to a directory that includes certificate files or CA bundle files to verify the SSL connection to JOC Cockpit |
-s | --hostname-verification | Switchn/a | no | false | This switch activates SSL hostname verification (recommended) |
-t | --timeout | Number | no | 30 | Timeout in seconds for establishing the connection to JOC Cockpit |
-d | --detailedn/a | Switch | no | false | If set then This switch causes status information for each Controller instance is to be returned. A Cluster can include two Controller instances. |
...
Code Block | ||
---|---|---|
| ||
define service { use generic-service host_name localhost service_description JS7Agents is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 contact_groups admins notification_options w,u,c,r notification_interval 960 notification_period 24x7 check_command check_js7_agent!http://localhost:4446!jobscheduler!test:test!5! active_checks_enabled 1 passive_checks_enabled 0 } |
Parameterization
Option | Option (long format)Parameter | Data Type | Required | Default | Description |
---|---|---|---|---|---|
-j | --joc-url | String | yes | — | URL of JOC Cockpit (HTTP and HTTPS are supported) |
-i | --id | String | yes | — | ID of a JS7 Controller |
-a | --account | String | yes | — | Account for HTTP authentication to JOC Cockpit (<user:password>) |
-A | --agent | String | no | — | URL of an Agent, optional, can be specified several times |
-c | --cafile | String | no | — | Location of a certificate file or a CA bundle file to verify the SSL connection to JOC Cockpit |
-C | --capath | String | no | — | Path to a directory that includes certificate files or CA bundle files to verify the SSL connection to JOC Cockpit |
-s | --hostname-verification | Switchn/a | no | false | This switch activates SSL hostname verification (recommended) |
-t | --timeout | Number | no | 30 | Timeout in seconds for establishing the connection to JOC Cockpit |
-d | --detailed | Switch | n/ano | false | If set and the Cluster has more than one Master and not all Masters are running then the message contains host:port of each MasterThis switch causes status information for each Agent instance to be returned individually |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
# The JS7 Controller is operated for the ID 'jobscheduler' and JOC Cockpit has the URL http://localhost:4446 with the account (user and password 'test') enabled <path_to_plugins>/check_js7_agent.pl -j http://localhost:4446 -i jobscheduler -a test:test |
...