User:Bourke/nagios

Admin vm30.mpdl.mpg.de


 * /usr/local/nagios
 * ./etc configuration
 * ./libexec check commands mitgelierft. Z.B. check_ssh binary, um remote checks auszuführen
 * ./etc/objects/server (bzw. ./etc/objects/vm) configuration der checks, die auf servers durchgeführt werden. z.B für prod coreservice write-locks.

define service{ use                            local-service         ; Name of service template to use host_name                      srv02.mpdl.mpg.de        service_description             index_write_lock check_command                  index_write_lock servicegroups                  index_lock normal_check_interval          1 retry_check_interval           1 max_check_attempts             2 contact_groups                 admins,pubman_support }

commands werden weiterdefiniert unter ./etc/objects/commands.cfg

define command { command_name                 index_write_lock command_line                 $USER1$/check_by_ssh -H $HOSTADDRESS$ -i /home/nagios/.ssh/id_ssh_check -l jboss -C "/usr/local/nagios/libexec/index-write-lock.sh" }