Odkazy:
# aptitude search nagios|grep ^i
i A nagios-plugins-basic - Plugins for the nagios network monitoring
i nagios3 - A host/service/network monitoring and mana
i A nagios3-common - support files for nagios3
i A nagios3-doc - documentation for nagios3Příklad 26.2. /etc/default/nagios3
# /etc/default/nagios3 NAGIOSCFG="/etc/nagios3/nagios.cfg" CGICFG="/etc/nagios3/cgi.cfg" NICENESS=5
# dpkg-reconfigure nagios3-commonVybral jsem:
heslo uživatele nagiosadminPříklad 26.3. Ukázky vytřžené z konfigurací (jyxo)
define host{
use generic-host
host_name Gateway-bright
alias Gateway-bright
address 10.0.0.1
parents Gateway
}
define host{
use generic-host
host_name Dell01
alias Dell01
address 10.0.0.2
parents Gateway-bright
}Před nahráním nové konfigurace je vhodné ji zkontrolovat. Například následujícím příkazem.
# nagios3 -v /etc/nagios3/nagios.cfgPříklad 26.4. Definice služby
define service{
host_name host1, host2, host3, …, hostn
service_description NějakáSlužba
další direktivy
}