Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 7965e37568020c2c5c8b3c8b1b9e2ca4 > files > 1

sysusage-common-5.3-5.fc18.noarch.rpm


# This part configure the default settings of Sysusage perl scripts
[GENERAL]
DEBUG       = 0
DATA_DIR    = /var/lib/sysusage
PID_DIR     = /var/run
DEST_DIR    = /var/www/sysusage
SAR_BIN     = /usr/bin/sar
UPTIME      = /usr/bin/uptime
HOSTNAME    = /usr/bin/hostname
INTERVAL    = 60
SKIP        = 
HDDTEMP_BIN = 
SENSORS_BIN = 
DAEMON      = 0
GRAPH_WIDTH = 800
GRAPH_HEIGHT= 350
FLAMING     = 0
HIRES       = 0
LINE_SIZE   = 1
PROC_QSIZE  = 4
RESRC_URL   =
SSH_BIN     = ssh
SSH_OPTIONS = -o ConnectTimeout=5 -o PreferredAuthentications=hostbased,publickey
SSH_USER    =
SSH_IDENTITY=

# This part enable/disable and configure smtp alarm report and/or Nagios
# message report (path to nagios binary submit_check_result) when threshold
# min/max exceed are detected. Upper and lower level values are use to set
# the alarm level. With Nagios 0=OK, 1=WARNING, 2=Critical, 3=Unknown.
# Default is to send warning on high value and critical on low threshold value.
# Typically a high load average can be seen as a warning and the shutdown of
# any monitored daemon as critical. To enable set WARN_MODE to 1.
[ALARM]
WARN_MODE   = 0
ALARM_PROG  = /usr/bin/sysusagewarn
SMTP        = localhost
FROM        = root@localhost
TO          = root@localhost
NAGIOS      =
UPPER_LEVEL = 1
LOWER_LEVEL = 2
URL         =
SKIP        =

# This part allow system monitoring. There's three format. The first one is
# the most used:
#
#	type:ThresholdMax:ThresholdMin
#
# where type is the type of monitoring.
# The second format is only used for process and queue monitoring:
#
#	type:what:ThresholdMax:ThresholdMin
#
# where type can be 'proc' or 'queue' and what is the related thing to monitor.
# If type is 'proc' then what is a process name, if type is 'queue' then what
# is a directory path to monitor.
#
# The last one is used for disk space monitoring:
#
#       disk:ThresholdMax:exclusion
#
# where exclusion is a semicolon (;) separated list of mount point to exclude
# from monitoring.
#
# A ThresholdMax value set to 0 or omitted mean disable warning
# Omitting ThresholdMin disable warning.
# You can delay the call to the alarm program at threshold exceed by specifying
# the number of consecutive exceed attempt before the command will be called.
# Just specify the number of attempt between bracket just after the min and/or
# max threshold value, format:
#
#	type:what:ThresholdMax(attempt):ThresholdMin(attempt)
#
# for example:
#
#	load:12(3):
#
# will send an alarm when the system load average will exceed 12 after three
# consecutives attempts at the define interval. If the interval is 60 seconds,
# the alarm will be sent up to 180 second after the first exceed.
#
# The 'cpu' target monitoring type will report all statictics per cpu. This can
# represent a lot of informations if you have several cpu. To limit statistics
# to total cpu only, you must replace default 'cpu' target to 'cpuall' in your
# configuration file.
#
# See documentation for more explanation
[MONITOR]
load:
cpu:
cswch:
intr:
mem:
share:
swap:
work:
sock:
socktw:
io:
file:
page:
pcrea:
pswap:
net:
err:
disk:
tcp:
proc:
tproc:
queue:
dev:
hddtemp:
sensors:

# This part enable the use of custom plugins. You can call any program/script
# provide that it return 3 numbers separated by a space character. See plugins/
# directory for an example.
# 
[PLUGIN testplug1]
title:WWW response time plugin
menu:Web servers
enable:no
program:/usr/share/sysusage/plugins/plugin-sample1.pl
minThreshold:0
maxThreshold:10
delayThreshold:1
verticallabel:Number of seconds
label1:www.server.test response time
label2:
label3:
legend1:seconds
legend2:
legend3:
remote:yes

[PLUGIN testplug2]
title:ICMP servers response time
menu:Network latency
enable:no
program:/usr/share/sysusage/plugins/plugin-sample2.pl
minThreshold:
maxThreshold:
delayThreshold:
verticallabel:Response time in milliseconds
label1:Server1
label2:Server2
label3:Server3
legend1:ms
legend2:ms
legend3:ms
remote:yes

[REMOTE hostname]
enable:no
ssh_user:monitor
ssh_identity:/home/monitor/.ssh/id_rsa
#ssh_options:
#ssh_command:
remote_sysusage:/usr/bin/rsysusage