Anonymous
Not logged in
Talk
Contributions
Log in
Krupczak.org
Search
Editing
Example Cartographer Agent Configuration
(section)
From Krupczak.org
Namespaces
Page
Discussion
More
More
Page actions
Read
Edit
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== cartographer-local.xml == * ''<cartographerLocal version="1"> </cartographerLocal>'' XML element identifies the configuration file and its version. Agents distribute and read newer versions. Version numbers should be monotonically increasing integers. * The ''<system name="hostname"> </system>'' XML element delimits configuration directives for the specified system. You can place multiple system elements in the cartographer-local.xml configuration file. Hostname can be a FQDN or partial. * ''<dependency> </dependency>'' XML element can be used to add static dependencies via this configuration directive. This directive is helpful if you have a known dependency that Cartographer is not able to discover. Configuring dependencies this way ensures that they included in Cartographer's intelligence algorithms. * ''<logfileDependency> </logfileDependency>'' XML element can be used to discover dependencies by scanning logfiles using regular expressions and adding dependencies when matches occur. * ''<logfileMonitor> </logfileMonitor>'' XML element can be used to scan logfiles for regular expressions and send XMP events when matches occur. Here is an example ''cartographer-local.xml'' configuration file. <pre> <?xml version="1.0"?> <cartographerLocal version="20" xmlns="http://xmlns.krupczak.org/xsd/xmpdconfigs-1.0"> <system name="vmguest"> <dependency> <dependClient>127.0.0.1</dependClient> <dependServer>vmhost</dependServer> <dependType>dependVM</dependType> <dependArgs></dependArgs> <dependReference>dependOutbound</dependReference> </dependency> </system> <system name="emailServer"> <logfileDependency> <logfile>/var/log/maillog</logfile> <dependType>dependEmail</dependType> <addExpression>imap-login.*user=(.*),.*rip=(.*), lip</addExpression> <removeExpression></removeExpression> <dependClient>$2</dependClient> <dependServer>emailServer</dependServer> <dependArgs>user='$1'</dependArgs> <scanInterval>120</scanInterval> <timeout>3600</timeout> </logfileDependency> </system> </pre>
Summary:
Please note that all contributions to Krupczak.org may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Krupczak.org:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Navigation
Home
Contact Information
Recent changes
Family Name History
Source Code
SysAdmin Notes
News and Events
Help
Wiki tools
Wiki tools
Special pages
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs