Author: atagar Date: 2010-10-22 05:22:10 +0000 (Fri, 22 Oct 2010) New Revision: 23661
Added: arm/trunk/armrc.sample Log: Readding armrc.sample (had issue due to type conflicts with the previous commit) Added: arm/trunk/armrc.sample =================================================================== --- arm/trunk/armrc.sample (rev 0) +++ arm/trunk/armrc.sample 2010-10-22 05:22:10 UTC (rev 23661) @@ -0,0 +1,177 @@ +# startup options +startup.controlPassword +startup.interface.ipAddress 127.0.0.1 +startup.interface.port 9051 +startup.blindModeEnabled false +startup.events N3 + +# Seconds between querying information +queries.ps.rate 5 +queries.connections.minRate 5 +queries.refreshRate.rate 5 + +# Renders the interface with color if set and the terminal supports it +features.colorInterface true + +# Checks the torrc for issues, warning and hilighting problems if true. +features.torrc.validate true + +# Set this if you're running in a chroot jail or other environment where tor's +# resources (log, state, etc) should have a prefix in their paths. +features.pathPrefix + +# If set, arm appends any log messages it reports while running to the given +# log file. This does not take filters into account or include prepopulated +# events. +features.logFile + +# Paremters for the log panel +# --------------------------- +# showDateDividers +# show borders with dates for entries from previous days +# showDuplicateEntries +# shows all log entries if true, otherwise collapses similar entries with an +# indicator for how much is being hidden +# entryDuration +# number of days log entries are kept before being dropped (if zero then +# they're kept until cropped due to caching limits) +# maxLinesPerEntry +# max number of lines to display for a single log entry +# prepopulate +# attempts to read past events from the log file if true +# prepopulateReadLimit +# maximum entries read from the log file, used to prevent huge log files from +# causing a slow startup time. +# maxRefreshRate +# rate limiting (in milliseconds) for drawing the log if updates are made +# rapidly (for instance, when at the DEBUG runlevel) + +features.log.showDateDividers true +features.log.showDuplicateEntries false +features.log.entryDuration 7 +features.log.maxLinesPerEntry 4 +features.log.prepopulate true +features.log.prepopulateReadLimit 5000 +features.log.maxRefreshRate 300 + +# Paremters for the config panel +# --------------------------- +# showScrollbars +# displays scrollbars when the torrc content is longer than the display +# maxLinesPerEntry +# max number of lines to display for a single entry in the torrc + +features.config.showScrollbars true +features.config.maxLinesPerEntry 5 + +# General graph parameters +# ------------------------ +# height +# height of graphed stats +# maxWidth +# maximum number of graphed entries +# interval +# 0 -> each second, 1 -> 5 seconds, 2 -> 30 seconds, 3 -> minutely, +# 4 -> 15 minutes, 5 -> half hour, 6 -> hourly, 7 -> daily +# bound +# 0 -> global maxima, 1 -> local maxima, 2 -> tight +# type +# 0 -> None, 1 -> Bandwidth, 2 -> Connections, 3 -> System Resources +# showIntermediateBounds +# shows y-axis increments between the top/bottom bounds + +features.graph.height 7 +features.graph.maxWidth 150 +features.graph.interval 0 +features.graph.bound 1 +features.graph.type 1 +features.graph.showIntermediateBounds true + +# Parameters for graphing bandwidth stats +# --------------------------------------- +# prepopulate +# attempts to use tor's state file to prepopulate the bandwidth graph at the +# 15-minute interval (this requires the minimum of a day's worth of uptime) +# transferInBystes +# shows rate measurments in bytes if true, bits otherwise +# accounting.show +# provides accounting stats if AccountingMax was set +# accounting.rate +# seconds between querying accounting stats +# accounting.isTimeLong +# provides verbose measurements of time if true + +features.graph.bw.prepopulate true +features.graph.bw.transferInBytes false +features.graph.bw.accounting.show true +features.graph.bw.accounting.rate 10 +features.graph.bw.accounting.isTimeLong false + +# Parameters for graphing ps stats +# -------------------------------- +# primary/secondaryStat +# any numeric field provided by the ps command +# cachedOnly +# determines if the graph should query ps or rely on cached results (this +# lowers the call volume but limits the graph's granularity) + +features.graph.ps.primaryStat %cpu +features.graph.ps.secondaryStat rss +features.graph.ps.cachedOnly true + +# Thread pool size for hostname resolutions +# Determines the maximum number of concurrent requests. Upping this to around +# thirty or so seems to be problematic, causing intermittently seizing. + +queries.hostnames.poolSize 5 + +# Method of resolving hostnames +# If true, uses python's internal "socket.gethostbyaddr" to resolve addresses +# rather than the host command. This is ignored if the system's unable to make +# parallel requests. Resolving this way seems to be much slower than host calls +# in practice. + +queries.hostnames.useSocketModule false + +# Caching parameters +cache.sysCalls.size 600 +cache.hostnames.size 700000 +cache.hostnames.trimSize 200000 +cache.logPanel.size 1000 +cache.armLog.size 1000 +cache.armLog.trimSize 200 + +# Runlevels at which arm logs its events +log.refreshRate DEBUG +log.configEntryNotFound NONE +log.configEntryUndefined NOTICE +log.configEntryTypeError NOTICE +log.torCtlPortClosed NOTICE +log.torGetInfo DEBUG +log.torGetConf DEBUG +log.torEventTypeUnrecognized NOTICE +log.torPrefixPathInvalid NOTICE +log.sysCallMade DEBUG +log.sysCallCached NONE +log.sysCallFailed INFO +log.sysCallCacheGrowing INFO +log.panelRecreated DEBUG +log.graph.ps.invalidStat WARN +log.graph.ps.abandon WARN +log.graph.bw.prepopulateSuccess NOTICE +log.graph.bw.prepopulateFailure NOTICE +log.logPanel.prepopulateSuccess INFO +log.logPanel.prepopulateFailed WARN +log.logPanel.logFileOpened NOTICE +log.logPanel.logFileWriteFailed ERR +log.logPanel.forceDoubleRedraw DEBUG +log.confPanel.torrcReadFailed WARN +log.torrcValidation.duplicateEntries NOTICE +log.torrcValidation.torStateDiffers NOTICE +log.connLookupFailed INFO +log.connLookupFailover NOTICE +log.connLookupAbandon WARN +log.connLookupRateGrowing NONE +log.hostnameCacheTrimmed INFO +log.cursesColorSupport INFO +
