...
- 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
- Cwd
Report Script per Agent
check_jobscheduler_agent_with_joc.pl
calls an optional scriptreport_jobscheduler_agent.pl
per Agent.- This script does not connect to JOC Cockpit or perform any checks but simply serves to create individual notifications per Agent to the System Monitor.
- The script is executed if it is available from the same directory as the calling script and has to be executable.
- The script is parameterized to transfer the message type and notification to the System Monitor.
report_jobscheduler_agent.pl <joc-cockpit-url> <scheduler-id> <agent-url> <agent-status>
<joc-cockpit-url>
is the URL that has been specivied as a parameter to the scriptcheck_jobscheduler_agent_with_joc.pl
<scheduler-id>
is the JobScheduler Master ID that has been specified as a parameter to the scriptcheck_jobscheduler_agent_with_joc.pl
<agent-url>
is the URL identifying the Agent<agent-status>
is one of "RUNNING" , "UNREACHABLE", "TERMINATING", "UNKNOWN_AGENT"Code Block language perl title Example report_jobscheduler_agent.pl #!/usr/bin/env perl use strict; use warnings; my ($masterUrl, $schedulerId, $agentUrl, $agentStateText) = @ARGV; # do something with $masterUrl, $schedulerId, $agentUrl, $agentStateText
See also
Jira server SOS JIRA columns key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution serverId 6dc67751-9d67-34cd-985b-194a8cdc9602 key JS-684 Jira server SOS JIRA columns key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution serverId 6dc67751-9d67-34cd-985b-194a8cdc9602 key JS-1480 Jira server SOS JIRA serverId 6dc67751-9d67-34cd-985b-194a8cdc9602 key JS-1715 Jira server SOS JIRA columns key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution serverId 6dc67751-9d67-34cd-985b-194a8cdc9602 key JOC-579
Change Management References Web Services
...