Академический Документы
Профессиональный Документы
Культура Документы
cgi.cfg-sample cgi.cfg
nagios.cfg-sample nagios.cfg
resource.cfg-sample resource.cfg
objects/commands.cfg-sample objects/commands.cfg
objects/contacts.cfg-sample objects/contacts.cfg
objects/localhost.cfg-sample objects/localhost.cfg
objects/templates.cfg-sample objects/templates.cfg
objects/timeperiods.cfg-sample objects/timeperiods.cfg
# exit
$
freebsd-server
master
master
10.10.xx.1
freebsd-server
host_name
alias
address
cache
cache
10.10.xx.2
}
define host{
use
host_name
alias
address
}
freebsd-server
slave
slave
10.10.yy.1
dns-servers
DNS Servers
cache,master,slave
generic-service
; Name of service
dns-servers
PING
check_ping!100.0,20%!500.0,60%
generic-service
; Name of service
dns-servers
Check DNS
check_dns!www.MYTLD
check_dns
$USER1$/check_dns -s $HOSTADDRESS$ -H $ARG1$
11. Enable and start Apache web service if required, by adding this
to /etc/rc.conf
$ sudo vi /etc/rc.conf
apache22_enable="YES"
(Save file and exit)