6.1

Table Of Contents
Property Key Description Values Defaults
fileScan.depth
The depth of
directory levels to
scan.
1, or higher.
Use -1 to indicate
unlimited depth.
6
fileScan.followSymlinks
Whether symlinks are
followed.
true or false false
A standalone invocation is implemented using -m discover and -p <server object name> options.
# java -jar dcs-tools-pdk.jar
-Dplugins.include=filescan-example
-Dlog=info
-DfileScan.scanDirs="C:\\Program Files (x86)"
-DfileScan.excludeDirs="\\WINNT,\\TEMP,\\TMP,\\Documents and Settings,\\Recycled"
-DfileScan.fsTypes="Local disks"
-DfileScan.depth=2
-DfileScan.followSymlinks=false
-m discover
-p filescanserver
MxServerDetector Class
The MxServerDetector class auto-discovers JMX servers.
Class Hierarchy
java.lang.Object
org.hyperic.hq.product.GenericPlugin
[org.hyperic.hq.product.ServerDetector|ServerDetector]
org.hyperic.hq.product.MxServerDetector
Resource Properties
This table describes the resource data that you can define in the plug-in descriptor for a plug-in that uses
MxServerDetector.
Property Description Usage
DEFAULT_CONFIG_FILE
The default configuration file to track.
PROC_MAIN_CLASS
PROC_HOME_PROPERTY
PROC_HOME_ENV
Example: Usage
jonas-plugin.xml
...
<plugin type="autoinventory"
class="org.hyperic.hq.product.jmx.MxServerDetector"/>
...
Chapter 4 Plug-In Support Classes
VMware, Inc. 57