-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdevmon.cfg
173 lines (138 loc) · 6.57 KB
/
devmon.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
# Devmon config file
# Variable/value pairs in this file are delimited by an equals sign, and
# all values are case insensitive unless otherwise stated
## LOCAL OPTIONS:
## These options are local to this machine, and changing them will not
## affect the runtime parameters of other nodes in a Devmon cluster
## (assuming you are running in with MULTINODE=YES)
# MULTINODE: Determines if this node is a single node system. Acceptable
# values are 'yes' and 'no' [DEFAULT: NO]
#MULTINODE=NO
# USER: The user devmon should run
# (case sensitive) [DEFAULT: devmon]
#USER=devmon
# VAR_DIR: Global location of variable folders
# Automatically try to detect a valid dir
# (case sensitive) [DEFAULT: $install_dir/var]
#VAR_DIR=/var/local/lib/devmon
# TEMPLATES_DIR: Location of templates folders
# Automatically try to detect a valid dir
# (case sensitive) [DEFAULT: $var_dir/templates]
#TEMPLATES_DIR=/usr/local/lib/devmon/server/templates
# DB_FILE: Location of db file
# Automatically try to detect a valid dir for the file
# (case sensitive) [DEFAULT: $var_dir/db/hosts.db]
#DB_FILE=/usr/local/lib/devmon/server/var/db/hosts.db
# PID_FILE: Location of db file
# The directory containing this file should be read/writable by the user
# running devmon
# (case sensitive) [DEFAULT: /var/run/devmon/devmon.pid]
#PID_FILE=/run/devmon/devmon.pid
# LOG_FILE: Location of db file
# The directory containing this file should be writable by the user running
# devmon
# (case sensitive) [DEFAULT: /var/run/devmon/devmon.pid]
#LOG_FILE=/var/log/devmon/devmon.pid
# HOSTSCFG: Location of the Xymon hosts.cfg file on this system. This file is
# only used when running devmon with the -readhostscfg flag. In a multi-node
# cluster, the only system that needs to have this set is the one that the
# display server is running on; other systems can leave this at default.
# (case sensitive) [DEFAULT: /home/xymon/server/etc/hosts.cfg or HOSTSCFG
# environment variable set]
# DEBIAN: (Uncomment)
#HOSTSCFG=/usr/lib/xymon/server/etc/hosts.cfg
# XYMONTAG: This is the indentifier (aka tag) that you use in your hosts.cfg
# which allows Devmon to determine which of the options after a host
# are Devmon specific.
# (case sensitive) [DEFAULT: DEVMON]
#XYMONTAG=DEVMON
# SNMPCIDS: The SNMP cids used during the hosts.cfg discovery process
# (i.e. running with the --readbbhosts flag) This should be a comma delimited
# list of values; you order the list from most common to least common, left
# to right, as this will help speed the device type discovery process.
# (case sensitive) [DEFAULT: public,private]
SNMPCIDS=public,private
# NODENAME: Sets the name of this Devmon node. A value of of 'HOSTNAME'
# will use the hostfqdn of the server, useful if in multinode mode and to see
# stats that are sent from devmon to xymon (change it to the name of the devmon
# server (generally it is the xymon name, bit set it if not fqdn)
# (case sensitive) [DEFAULT: HOSTNAME]
#NODENAME=HOSTNAME
# DBHOST: Should contain the IP or DNS name of the database server
# in a multinode cluster. [DEFAULT: localhost]
#DBHOST=localhost
# DBNAME: Specifies the name of the Devmon database
# on the database server. (case sensitive) [DEFAULT: devmon]
#DBNAME=devmon
# DBUSER: Sets the name of the devmon user on the database. This user should
# have full read/write priveledges on the database specified by the DBNAME
# variable. (case sensitive) [DEFAULT: devmon]
#DBUSER=devmon
# DBPASS: Sets the password used the DBUSER to connect to the DBNAME database
# on DBHOST. (case sensitive) [DEFAULT: devmon]
#DBPASS=devmon
## GLOBAL OPTIONS:
## Changing any of these options (followed by running devmon with the
## --syncconfig flag, if you are running in multinode mode) will change
## the global runtime parameters for all devmon nodes in this cluster.
## Change these options with care, as they can have a major impact on
## way Devmon functions!
### Xymon specific options
# DISPSERV: Should contain the DNS name or IP address of th xymon
#DISPSERV=localhost
# DISPPORT: Specifies the port on the remote display server to connect to
# [DEFAULT: 1984 or XYMONDPORT environment variable if set]
#DISPPORT=1984
# XYMONDATEFORMAT: This is the format string that devmon should use in
# date/time strings sent to Xymon in the status message.
# [DEFAULT: '', or the value of the XYMONDATEFORMAT enviroment variable if set]
#XYMONDATEFORMAT=
# MSGSIZE: Sets the max message size in bytes of the datagrams that Devmon
# sends to the xymon display server [DEFAULT: 8096]
#MSGSIZE=8096
# MSGSLEEP: The number of milliseconds to sleep between each message sent
# to the bb displayer server. Set this number higher if your bb server
# is having problems coping with an influx of Devmon data. [DEFAULT: 10]
#MSGSLEEP=10
### Polling control specific options
# CYCLETIME: The length of the polling cycle, aka how often Devmon
# will attempt to query remote hosts and send messages to the bb display
# server. Measured in seconds. [DEFAULT: 60]
#CYCLETIME=60
# DEADTIME: The amount of time before the devmon cluster considers a
# particular node "dead". This value should be at least twice your
# cycletime variable, if not a little bit more. [DEFAULT: 180]
#DEADTIME=180
# CLEARTIME: The amount of time in seconds Devmon will wait before
# reporting a clear test. In high-latentcy networks, this helps
# prevent excessive amounts of clear reports. [DEFAULT: 180]
#CLEARTIME=180
# NUMFORKS: The number of child processes that Devmon should spawn
# to handle SNMP transactions. Values greater than 10 should not be
# used in production environments as this feature is still very
# experimental and may not yield reliable results.
# It is not recommended to change this value.
# [DEFAULT: 10]
#NUMFORKS=10
# MAXPOLLTIME: The maximum amount of time in seconds that should be
# spend polling all hosts. This value should be greater SNMPTIMEOUT
# [DEFAULT: 55]
#MAXPOLLTIME=55
### SNMP specific options
# SNMPTIMEOUT: Number of seconds before a snmp 'discovery" query will
# time out (1rst run only). A dynamic timeout is use for the other runs
# [DEFAULT: 15] (must be greater than 0)
#SNMPTIMEOUT=15
# SNMP_TRY_MAXCNT: Number of attempts an SNMP query will make before giving
# up. More than 6 or so might be overkill here.
# [DEFAULT: 6] (must be greater than 0)
#SNMP_TRY_MAXCNT=6
# SNMPv3 config: update this at least SECNAMES. Multiple values allowed
# protocole are automatically discovered, starting with the less cpu
# ressource hungry one. Invalid combination are automatically pruned
SECNAMES=V3user
AUTHPASSS=,password
PRIVPASSS=,password
#SECLEVELS=noAuthNoPriv,authNoPriv,authPriv
#AUTHPROTOS=,MD5,SHA
#PRIVPROTOS=,DES,AES