6.1

Table Of Contents
</metrics>
<server name="filescanserver">
<plugin
type="autoinventory"
class="CustomFileScanDetector">
</plugin>
<plugin
type="measurement"
class="org.hyperic.hq.product.MeasurementPlugin">
</plugin>
<scan>
<include name="/**/firefox.exe"/>
</scan>
<config>
<option
default="Exe.Name.eq=svc"
name="process.query"
description="Process Query for customserver">
</option>
</config>
<metrics
include="basic-process-metrics">
</metrics>
</server>
</plugin>
Standalone Invocation
The standalone plug-in invocation differs slightly from how the FileServerDetector and
AutoServerDetector classes are executed compared to a real agent. If a real agent is going to use the
FileServerDetector class, it executes that before the AutoServerDetector class. This standalone invocation
executes either one of these, but not both.
To test the FileServerDetector interface verify that at least one of the following parameters exist.
Property Key Description Values Defaults
fileScan.scanDirs
The directories to
scan.
A list of comma-
separated directories.
Windows: "C:\"
Unix: "/usr" , "/opt"
fileScan.excludeDirs
The directories to
exclude from a scan.
A list of comma-
separated directories.
Windows: "\WINNT" , "\TEMP",
"\TMP", "\Documents and
Settings", "\Recycled"
Linux: "/usr/doc", "/usr/dict",
"/usr/lib", "/usr/libexec",
"/usr/man", "/usr/tmp",
"/usr/include", "/usr/share",
"/usr/src",
"/usr/local/include",
"/usr/local/share",
"/usr/local/src"
fileScan.fsTypes
The file system types
to scan.
One of the following:
n
All disks
n
Local disks
n
Network-mounted
disks
All disks
Endpoint Operations Management Agent Plug-in Development Kit
56 VMware, Inc.