Example agent information file (UNIX)

The agent's information file is an XML file, named agent_name.xml, located in the agent directory. The file contains information about the agent, such as its name and version, and the description of the arguments for the resource type attributes. For example, the following file contains information for the FileOnOff agent:

<?xml version="1.0" encoding="us-ascii"?>
<agent name="FileOnOff" version="version">
    <agent_description>Creates, removes,
     and monitors files.</agent_description>
    <!--Platform the agent runs on-->
    <platform>Cross-Platform</platform>
    <!--Type of agent : script-Binary-Mixed-->
    <agenttype>Binary</agenttype>
    <!--The minimum VCS version needed for this agent-->
    <minvcsversion>5.0</minvcsversion>
    <!--The agent vendor name-->
    <vendor>VendorName</vendor>
    <!--Is Info Entry Point Implemented-->
    <info_implemented>No</info_implemented>
    <!--Attributes list for this agent-->
    <attributes>
        <PathName type="str" dimension="Scalar" editable="True"
important="True" mustconfigure="True" unique="True"
persistent="True" range="" default="" displayname="File Name">
            <attr_description>Specifies the complete pathname,
starting with the slash (/) preceding the file name.
</attr_description>
        </PathName>
    </attributes>
    <!--List of files installed by this agent-->
    <agentfiles>
        <file name="$VCS_HOME/bin/FileOnOff/FileOnOffAgent" />
    </agentfiles>
</agent>