[[http://tmade.de|Home tmade.de]] [[http://wiki.tmade.de|Home Wiki]] ===== ICINGA ===== rcicinga checkconfig #Execute to check syntax of scripts/ services/ checks rcicinga reload #Reload service ==== Commands ==== command[check_disk_all]=/usr/lib64/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -l -A -e -i '.gvfs' -i '/sys/kernel/debug/tracing' -i '/var/named/chroot/' ===== Example Config ===== Service: define service{ host_name test_host,test_host2,test_host3 #hostgroup_name hostgroup_name #If a group has to be referenced, instead a hostname or several hostnames service_description MySQL check_command check_mysql!nrpe!12345 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 10 # notification_period 24x7 notification_period sleep_test_host notification_options w,u,c,r,f contact_groups localadmins,helpdesk,another_contact } check_mysql #Executed on monitored-system check_nrpe #Executed on Icinga/ Nagios-host ==== Escalation ==== "service_description" is the variable or group to check, if the service will be escalated: service_description HTTP Content See also: http://www.nagios-wiki.de