| 1 | 1 | simandl | # In this file all global settings for HotSaNIC are defined. |
| 2 | | | # |
| 3 | | | # Currently supported operating systems are: |
| 4 | | | # |
| 5 | | | # Linux |
| 6 | | | # fully featured for any Linux system, based on Kernel 2.4.x |
| 7 | | | # 2.2.x based systems may encounter some incompatibilities |
| 8 | | | # |
| 9 | | | # OpenBSD |
| 10 | | | # FreeBSD |
| 11 | | | # NetBSD |
| 12 | | | # at the moment a lot of work has to be done to get the system |
| 13 | | | # completely running under BSD based systems. Currently supported |
| 14 | | | # are the following modules: |
| 15 | | | # |
| 16 | | | # |FreeBSD |OpenBSD |NetBSD |
| 17 | | | # ----------+---------------+---------------+----------- |
| 18 | | | # apcusv |untested |untested |untested |
| 19 | | | # apps |yes |should work |yes |
| 20 | | | # diskio |no |no |yes |
| 21 | | | # dnet |yes |should work |should work |
| 22 | | | # networks |no |no |no |
| 23 | | | # part |yes |yes |yes |
| 24 | | | # ping |yes |untested |yes |
| 25 | | | # sensors |yes(1) |no |yes(1) |
| 26 | | | # shoutcast |should work |should work |should work |
| 27 | | | # system |yes |untested |yes |
| 28 | | | # traffic |yes |should work |yes |
| 29 | | | # worms |should work |should work |should work |
| 30 | | | # |
| 31 | | | # (1) using the xmbmon utility ver 2.0 or later |
| 32 | | | # http://www.nt.phys.kyushu-u.ac.jp/shimizu/download/ |
| 33 | | | # (can be compiled without X support!!!) |
| 34 | | | # |
| 35 | | | # |
| 36 | | | # solaris |
| 37 | | | # same (if not more) amount of work has to be done on Solaris. The |
| 38 | | | # current state for this %&%@"$&&%$ OS looks as follows: |
| 39 | | | # |
| 40 | | | # apcusv yes |
| 41 | | | # apps yes |
| 42 | | | # diskio no |
| 43 | | | # dnet yes |
| 44 | | | # networks no |
| 45 | | | # part yes |
| 46 | | | # ping yes |
| 47 | | | # sensors no |
| 48 | | | # shoutcast yes |
| 49 | | | # system yes |
| 50 | | | # traffic no |
| 51 | | | # worms yes |
| 52 | | | |
| 53 | | | |
| 54 | | | ##################################################################### |
| 55 | | | # # |
| 56 | | | # Then let's configure some pathes... # |
| 57 | | | # # |
| 58 | | | ##################################################################### |
| 59 | | | |
| 60 | | | # path to the HotSaNIC main-directory |
| 61 | | | # this has to be a directory ! |
| 62 | | | # |
| 63 | | | # DAEMONDIR="/home/daemon/HotSaNIC" |
| 64 | | | # |
| 65 | | | DAEMONDIR="not configured" |
| 66 | | | |
| 67 | | | # path to the "rrdtool" binary |
| 68 | | | # this has to be a directory ! |
| 69 | | | # |
| 70 | | | # BINPATH="/usr/local/rrdtool-1.0.33/bin" |
| 71 | | | # |
| 72 | | | BINPATH="not configured" |
| 73 | | | |
| 74 | | | # set LOGDIR to the directory where logfiles shall be created |
| 75 | | | # LOGDIR="$DAEMONDIR/var/log/" |
| 76 | | | # |
| 77 | | | VARDIR="$DAEMONDIR/var/" |
| 78 | | | |
| 79 | | | # set LOGDIR to the directory where logfiles shall be created |
| 80 | | | # LOGDIR="$DAEMONDIR/var/log/" |
| 81 | | | # |
| 82 | | | LOGDIR="$DAEMONDIR/var/log/" |
| 83 | | | |
| 84 | | | # path to the pid-file for the daemon |
| 85 | | | # PIDFILE="$DAEMONDIR/log/rrdtimer.pid" |
| 86 | | | # |
| 87 | | | PIDFILE="$DAEMONDIR/var/run/rrdtimer.pid" |
| 88 | | | |
| 89 | | | # web-directory for all graphs |
| 90 | | | # this directory must be writeable for the rrdgraph tool |
| 91 | | | # because each plugin will create its own subdir here. |
| 92 | | | # |
| 93 | | | WEBDIR="$DAEMONDIR/www" |
| 94 | | | |
| 95 | | | |
| 96 | | | |
| 97 | | | ##################################################################### |
| 98 | | | # # |
| 99 | | | # Here are some global parameters # |
| 100 | | | # # |
| 101 | | | ##################################################################### |
| 102 | | | |
| 103 | | | # if DIAGRGAMLOG is set to "all" then all diagrams will be logged. |
| 104 | | | # anything else will log only the last run of diagram script. |
| 105 | | | # when logfiles reach LOGSIZE they will get rotated. |
| 106 | | | # LOGBACKUPS old logfiles will be kept as backups |
| 107 | | | # |
| 108 | | | DIAGRAMLOG="last" |
| 109 | | | LOGSIZE="200000" |
| 110 | | | LOGBACKUPS="5" |
| 111 | | | |
| 112 | | | # debug level |
| 113 | | | # 0=off |
| 114 | | | # 16777215=full |
| 115 | | | # bits 0-9 => main debugging |
| 116 | | | # bits 10-17 => module debugging |
| 117 | | | # bits 18-23 => SNMP debugging |
| 118 | | | # |
| 119 | | | # Human readable levels are also available. Any (comma separated) |
| 120 | | | # combination of allowed strings and integers will be accepted. |
| 121 | | | # Prepending a "-" to a definition means to subtract this one. |
| 122 | | | # Please consult lib/HotSaNIClog.pm for further details on allowed |
| 123 | | | # human readable level definitions. |
| 124 | | | # |
| 125 | | | # examples: |
| 126 | | | # DEBUGLEVEL="1023" |
| 127 | | | # DEBUGLEVEL="1,4,16" |
| 128 | | | # DEBUGLEVEL="MODULE,27" |
| 129 | | | # DEBUGLEVEL="MAIN,SNMP" |
| 130 | | | # DEBUGLEVEL="FULL" |
| 131 | | | # DEBUGLEVEL="FULL,-MAIN_CONFIG" |
| 132 | | | DEBUGLEVEL="0" |
| 133 | | | |
| 134 | | | # TIMESTAMPING defines the "verbosity" of log timestamps |
| 135 | | | # |
| 136 | | | # 0 -> no timestamps at all |
| 137 | | | # 1 -> seconds since 1970 |
| 138 | | | # 2 -> Wday year-mon-mday hour:min:sec |
| 139 | | | TIMESTAMPING="2" |
| 140 | | | |
| 141 | | | # module-scan timebase (seconds) |
| 142 | | | # After this time the daemon re-scans for available modules. |
| 143 | | | # |
| 144 | | | STIME="120" |
| 145 | | | |
| 146 | | | # scheduling timings in milliseconds |
| 147 | | | # this configures the time between the sampling signals given to the |
| 148 | | | # module daemons |
| 149 | | | # |
| 150 | | | SCHEDULE_MIN=100 |
| 151 | | | SCHEDULE_MAX=200 |
| 152 | | | |
| 153 | | | # modules listed here (space separated) will be executed |
| 154 | | | # to use all availabe mods you may enter |
| 155 | | | # RUN="*" |
| 156 | | | # |
| 157 | | | RUN="*" |
| 158 | | | |
| 159 | | | |
| 160 | | | |
| 161 | | | ##################################################################### |
| 162 | | | # # |
| 163 | | | # These settings affect the diagram generation # |
| 164 | | | # # |
| 165 | | | ##################################################################### |
| 166 | | | |
| 167 | | | # shall the HTML index files be automatically generated on startup? |
| 168 | | | # |
| 169 | | | AUTOINDEX="no" |
| 170 | | | |
| 171 | | | # body tag color and background image information |
| 172 | | | # |
| 173 | | | WEB_BACKGROUND="bg.gif" |
| 174 | | | WEB_MENUBACKGROUND="menubg.gif" |
| 175 | | | WEB_BGCOLOR="E0E0E0" |
| 176 | | | WEB_TEXT="000000" |
| 177 | | | WEB_LINK="000080" |
| 178 | | | WEB_VLINK="800080" |
| 179 | | | WEB_ALINK="008000" |
| 180 | | | |
| 181 | | | # Sizes of all output-graphics in pixels |
| 182 | | | # |
| 183 | | | WIDTH="600" |
| 184 | | | HEIGHT="200" |
| 185 | | | |
| 186 | | | # the output-format of the generated images may be either "gif" or "png" |
| 187 | | | # |
| 188 | | | IMAGEFORMAT="gif" |
| 189 | | | |
| 190 | | | # modules listed here (space separated) will be shown on webpage |
| 191 | | | # to use all availabe mods you may enter |
| 192 | | | # SHOW="*" |
| 193 | | | # |
| 194 | | | SHOW="*" |
| 195 | | | |
| 196 | | | # in which order shall the modules appear on the webpage |
| 197 | | | # unlisted mods will be added in alphabetical order |
| 198 | | | # |
| 199 | | | ORDER="traffic system part ping dnet sensors" |
| 200 | | | |
| 201 | | | # diagram-rebuild timebase (minutes). |
| 202 | | | # Usually 15 min. should do fine, but if you think your system |
| 203 | | | # is too busy, just increase the timebase as you like. |
| 204 | | | # Values up to about 45 make sense since the lowest-scale graph |
| 205 | | | # covers 60 minutes of data sampled. |
| 206 | | | # |
| 207 | | | DTIME="15" |
| 208 | | | |
| 209 | | | # diagram-convert timebase (hours) |
| 210 | | | # After this time the weekly diagrams are being converted to |
| 211 | | | # the smaller pictures on the main page. |
| 212 | | | # |
| 213 | | | CTIME="24" |
| 214 | | | |
| 215 | | | # This setting controlss how the images will be converted |
| 216 | | | # to thumbnails |
| 217 | | | # |
| 218 | | | # Value Behaviour |
| 219 | | | # |
| 220 | | | # "ImgMgck" Call ImageMagick's "convert" to create thumbnails |
| 221 | | | # |
| 222 | | | # "I::M" Use the Image::Magick module |
| 223 | | | # |
| 224 | | | # "netpbm" use netpbm binaries to resize images |
| 225 | | | # NOTE: output filter supports .png only! |
| 226 | | | # Files will be named ".gif" but contain .png! |
| 227 | | | # Uses: giftopnm, pngtopnm, pnmscale, pnmtopng |
| 228 | | | # |
| 229 | | | # "HTML" Don't convert at all, but use the HTML image resize |
| 230 | | | # tag instead. More data has to be transfered using |
| 231 | | | # this method, but you won't need additional software. |
| 232 | | | # |
| 233 | | | CONVERTMETHOD="not configured" |
| 234 | | | |
| 235 | | | # path to either the "convert" binary from ImageMagick package |
| 236 | | | # or to the binaries from the "netpbm" package |
| 237 | | | # |
| 238 | | | # CONVERTPATH="/usr/X11R6/bin" |
| 239 | | | # |
| 240 | | | CONVERTPATH="not configured" |
| 241 | | | |
| 242 | | | # How much shall the thumbnails be scaled compared to the originals. |
| 243 | | | # Default is 20%. |
| 244 | | | # |
| 245 | | | THUMBSIZE="20%" |
| 246 | | | |
| 247 | | | # refresh time for graphs |
| 248 | | | # The browser automatically reloads the detailed statistics after |
| 249 | | | # this timespan. |
| 250 | | | # |
| 251 | | | # If you want to disable the auto-refresh, just set the variable to 0 |
| 252 | | | # |
| 253 | | | REFRESH="300" |
| 254 | | | |
| 255 | | | |
| 256 | | | |
| 257 | | | ##################################################################### |
| 258 | | | # # |
| 259 | | | # Helper applications # |
| 260 | | | # # |
| 261 | | | ##################################################################### |
| 262 | | | |
| 263 | | | # configure the pathes of some additional applications which may be |
| 264 | | | # needed by HotSaNIC |
| 265 | | | # |
| 266 | | | |
| 267 | | | # configure the full pathes to snmpwalk and snmpget binaries here. |
| 268 | | | # These may be needed to get data from remote machines. |
| 269 | | | # |
| 270 | | | SNMPWALK="not configured" |
| 271 | | | SNMPGET="not configured" |
| 272 | | | SNMPBULKWALK="not configured" |