forked from gadmin/gsb2023
s-webcom ok juste gsbstart bricole a faire
This commit is contained in:
parent
6575af3778
commit
4b48f80fb2
@ -5,7 +5,7 @@ prj=gsb2023
|
|||||||
opt=""
|
opt=""
|
||||||
|
|
||||||
if [ -z ${UREP+x} ]; then
|
if [ -z ${UREP+x} ]; then
|
||||||
UREP=https://gitea.lyc-lecastel.fr/gadmin/gsb2023.git
|
UREP=https://gitea.lyc-lecastel.fr/anthony.arnoux/gsb2023.git
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dir=/root/tools/ansible
|
dir=/root/tools/ansible
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ -z ${UREP+x} ]; then
|
if [ -z ${UREP+x} ]; then
|
||||||
UREP=https://gitea.lyc-lecastel.fr/gadmin/gsb2023.git
|
UREP=https://gitea.lyc-lecastel.fr/anthony.arnoux/gsb2023.git
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dir=/root/tools/ansible
|
dir=/root/tools/ansible
|
||||||
|
14
roles/nagios/files/cfg/s-webcom.cfg
Normal file
14
roles/nagios/files/cfg/s-webcom.cfg
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
# A simple configuration file for monitoring the local host
|
||||||
|
# This can serve as an example for configuring other servers;
|
||||||
|
# Custom services specific to this host are added here, but services
|
||||||
|
# defined in nagios2-common_services.cfg may also apply.
|
||||||
|
#
|
||||||
|
|
||||||
|
define host{
|
||||||
|
use linux-server ; Name of host template to use
|
||||||
|
host_name s-webcom
|
||||||
|
alias debian-servers, http-servers
|
||||||
|
address 172.16.0.12
|
||||||
|
parents r-int
|
||||||
|
}
|
||||||
|
|
@ -2,7 +2,7 @@ define hostgroup {
|
|||||||
|
|
||||||
hostgroup_name debian-servers ; The name of the hostgroup
|
hostgroup_name debian-servers ; The name of the hostgroup
|
||||||
alias Linux Servers ; Long name of the group
|
alias Linux Servers ; Long name of the group
|
||||||
members s-infra, s-proxy, s-adm, s-nxc, s-appli, s-backup, s-itil, s-fog, r-int, r-ext ; Comma separated list of hosts that belong to this group
|
members s-infra, s-proxy, s-adm, s-nxc, s-appli, s-backup, s-itil, s-fog, r-int, r-ext, s-webcom ; Comma separated list of hosts that belong to this group
|
||||||
}
|
}
|
||||||
|
|
||||||
define hostgroup {
|
define hostgroup {
|
||||||
@ -14,7 +14,7 @@ define hostgroup {
|
|||||||
define hostgroup {
|
define hostgroup {
|
||||||
hostgroup_name http-servers
|
hostgroup_name http-servers
|
||||||
alias Serveurs web
|
alias Serveurs web
|
||||||
members s-itil
|
members s-itil, s-webcom
|
||||||
}
|
}
|
||||||
|
|
||||||
define hostgroup {
|
define hostgroup {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user