/etc/arc/nagios/20-dist.d/default.jsdl is in nordugrid-arc-nagios-plugins 1.8.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | <?xml version="1.0" encoding="UTF-8"?>
<JobDefinition xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl"
xmlns:jsdl-arc="http://www.nordugrid.org/ws/schemas/jsdl-arc"
xmlns:py="http://genshi.edgewall.org/">
<JobDescription>
<JobIdentification>
<JobName>${jd.job_name}</JobName>
</JobIdentification>
<Application>
<ApplicationName>${jd.application_name}</ApplicationName>
<LogDir py:if="jd.logdir">${jd.logdir}</LogDir>
<POSIXApplication xmlns="http://schemas.ggf.org/jsdl/2005/11/jsdl-posix">
<Executable>${jd.script_name}</Executable>
<Argument py:for="arg in jd.script_args">${arg}</Argument>
<Output>${jd.output}</Output>
<Error>${jd.error}</Error>
<WallTimeLimit py:if="jd.wall_time_limit">${jd.wall_time_limit}</WallTimeLimit>
<MemoryLimit py:if="jd.memory_limit">${jd.memory_limit}</MemoryLimit>
</POSIXApplication>
</Application>
<DataStaging>
<FileName>${jd.script_name}</FileName>
<Source><URI>file:${jd.script_path}</URI></Source>
<CreationFlag>overwrite</CreationFlag>
</DataStaging>
<DataStaging py:for="filename, url, urloptions in jd.staged_inputs">
<FileName>${filename}</FileName>
<Source>
<URI>${url}</URI><URIOption py:for="o in urloptions">${o}</URIOption>
</Source>
<DeleteOnTermination>false</DeleteOnTermination>
<CreationFlag>overwrite</CreationFlag>
</DataStaging>
<DataStaging py:for="filename, url, urloptions in jd.staged_outputs">
<FileName>${filename}</FileName>
<py:choose>
<py:when test="url is None">
<DeleteOnTermination>false</DeleteOnTermination>
</py:when>
<py:otherwise>
<Target>
<URI>${url}</URI><URIOption py:for="o in urloptions">${o}</URIOption>
</Target>
<DeleteOnTermination>true</DeleteOnTermination>
</py:otherwise>
</py:choose>
<CreationFlag>overwrite</CreationFlag>
</DataStaging>
<Resources py:if="jd.runtime_environments or jd.queue_name">
<jsdl-arc:QueueName py:if="jd.queue_name">${jd.queue_name}</jsdl-arc:QueueName>
<jsdl-arc:RunTimeEnvironment py:if="jd.runtime_environments">
<jsdl-arc:Software py:for="rte in jd.runtime_environments">
<jsdl-arc:Name>${rte}</jsdl-arc:Name>
</jsdl-arc:Software>
</jsdl-arc:RunTimeEnvironment>
</Resources>
</JobDescription>
</JobDefinition>
|