...
Code Block | ||||
---|---|---|---|---|
| ||||
#JobScheduler running with the id 'test' and JOC Cockpit has the url http://localhost:4446 where the account (user and password 'test') has access <path_to_plugins>/check_jobscheduler_with_joc.pl -j http://localhost:4446 -i test -a test:test |
Notes
- JOC Cockpit installation since 1.11.4 is required.
Perl > 5.8 is required and some Perl packages are required. You can download and install Perl packages from e.g. http://www.cpan.
HTTP::Request
LWP::UserAgent
LWP::Protocol::https
(if https is used to connect to JOC Cockpit)JSON
MIME::Base64
JobScheduler Agent Plugin
A service Command has to be declared before configuring the System Monitor Service that makes use of this Command.
Sample Configuration
Code Block | ||||
---|---|---|---|---|
| ||||
#JobScheduler running with the id 'test' and JOC Cockpit has the url http://localhost:4446 where the account (user and password 'test') has access
<path_to_plugins>/check_jobscheduler_with_joc.pl -j http://localhost:4446 -i test -a test:test -H galadriel -p 4444 |
Notes
- JOC Cockpit installation since 1.11.4 is required.
Perl > 5.8 is required and some Perl packages are required. You can download and install Perl packages from e.g. http://www.cpan.
HTTP::Request
LWP::UserAgent
LWP::Protocol::https
(if https is used to connect to JOC Cockpit)JSON
MIME::Base64
JobScheduler Agent Plugin
A service Command has to be declared before configuring the System Monitor Service that makes use of this Command.
Sample Configuration
Code Block | ||||
---|---|---|---|---|
| ||||
# 'check_jobscheduler_agent' command definition
define command {
command_name | ||||
Code Block | ||||
| ||||
# 'check_jobscheduler_agent' command definition
define command {
command_name check_jobscheduler_agent
command_line /opt/plugins/check_jobscheduler_agent.pl -u $ARG1$ -a $ARG2$ -o $ARG3$ -t $ARG4$
} |
...
Parameter |
| Default | Description |
---|---|---|---|
-j | --joc-url | — | Url of JOC Cockpit (http or https are supported) |
-i | --id | — | Id of a JobScheduler Cluster |
-a | --account | — | Account for HTTP authentication to JOC Cockpit (=<user:password>) |
-A | --agent | — | Url of an Agent, optional, can be specified several times |
-t | --timeout | 30s | Timeout for establishing the connection to JOC Cockpit |
-d | --detailed | — | If set and the Cluster has more than one Master and not all Masters are running then the message contains host:port of each Master |
...
specified several times | |||
-t | --timeout | 30s | Timeout for establishing the connection to JOC Cockpit |
-d | --detailed | — | If set and the Cluster has more than one Master and not all Masters are running then the message contains host:port of each Master |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
#JobScheduler running with the id 'test' and JOC Cockpit has the url http://localhost:4446 where the account (user and password 'test') has access
<path_to_plugins>/check_jobscheduler_agent_with_joc.pl -j http://localhost:4446 -i test -a test:test |
Code Block | ||||
---|---|---|---|---|
| ||||
#JobScheduler running with the id 'test' and JOC Cockpit has the url http://localhost:4446 where the account (user and password 'test') has access
<path_to_plugins>/check_jobscheduler_agent_with_joc.pl -j http://localhost:4446 -i test -a test:test -A http://galadriel:4445 -A http://galadriel:4455 -d |
Notes
- JOC Cockpit installation since 1.11.4 is required.
Perl > 5.8 is required and some Perl packages are required. You can download and install Perl packages from e.g. http://www.cpan.
HTTP::Request
LWP::UserAgent
LWP::Protocol::https
(if https is used to connect to JOC Cockpit)JSON
MIME::Base64
...