-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
paths.conf
37 lines (33 loc) · 1.48 KB
/
paths.conf
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
#!/usr/bin/python
#
# Copyright (C) 2018 Mehdi Abaakouk <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# COMMON
export SITEPATH="/omd/sites/${SITENAME}"
# HOOK
export FALLBACK_ON_ERROR=1
# FASTCHECKER
export PIDFILE="${SITEPATH}/tmp/fastchecker/fastchecker.pid"
export FASTCHECKER_TMPPATH="${SITEPATH}/tmp/fastchecker"
export FASTCHECKER_LOGPATH="${SITEPATH}/var/log/fastchecker.log"
# FASTPINGER
export FASTPINGER_TMPPATH="${SITEPATH}/tmp/fastpinger"
export FASTPINGER_VARPATH="${SITEPATH}/var/fastpinger"
export FASTPINGER_NETWORKSPATH="${BASE_DIR}/networks.lst"
export FASTPINGER_IPSPATH="${FASTPINGER_TMPPATH}/ips.lst"
export FASTPINGER_DUMP="${FASTPINGER_TMPPATH}/fastpinger.dump"
export FASTPINGER_ARCHIVE_PREFIX="${FASTPINGER_VARPATH}/fastpinger.dump"
export FASTPINGER_COMMANDFILE="${SITEPATH}/tmp/run/icinga.cmd"
export FASTPINGER_NAGIOS_CONFIG="${SITEPATH}/etc/nagios/conf.d/fping_objects.cfg"