Add nagios more taskotron nagios checks

This commit is contained in:
Martin Krizek 2016-01-26 12:40:03 +00:00
parent 9b3502aaff
commit 848371bec2
4 changed files with 21 additions and 2 deletions

View file

@ -2,3 +2,5 @@ command[check_disk_/]={{ libdir }}/nagios/plugins/check_disk -w 15% -c 10% -p /
command[check_disk_/boot]={{ libdir }}/nagios/plugins/check_disk -w 15% -c 10% -p /boot
command[check_disk_/srv/cache/lookaside]={{ libdir }}/nagios/plugins/check_disk -w 20% -c 10% -p /srv/cache/lookaside
command[check_disk_/srv/diskimages]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv/diskimages
command[check_disk_/srv/buildmaster]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv/buildmaster
command[check_disk_/srv/taskotron]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv/taskotron

View file

@ -28,12 +28,27 @@ define service {
}
define service {
host_name qa11.qa
host_name qa10.qa, qa11.qa, qa12.qa, qa13.qa
service_description Disk Space /srv/diskimages
check_command check_by_nrpe!check_disk_/srv/diskimages
use disktemplate
}
define service {
host_name qa10.qa, qa11.qa, qa12.qa, qa13.qa
service_description Disk Space /srv/buildmaster
check_command check_by_nrpe!check_disk_/srv/buildmaster
use disktemplate
}
define service {
host_name qa10.qa, qa11.qa, qa12.qa, qa13.qa
service_description Disk Space /srv/taskotron
check_command check_by_nrpe!check_disk_/srv/taskotron
use disktemplate
}
#define service {
# host_name hosted04
# service_description Disk Space /srv

View file

@ -1,5 +1,5 @@
define service {
host_name qa11.qa
host_name qa10.qa, qa11.qa, qa12.qa, qa13.qa
service_description Check Testcloud
check_command check_testcloud
max_check_attempts 5

View file

@ -202,6 +202,8 @@ command[check_disk_/git]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /
command[check_disk_/postgreslogs]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /postgreslogs
command[check_disk_/srv]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv
command[check_disk_/srv/diskimages]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv/diskimages
command[check_disk_/srv/buildmaster]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv/buildmaster
command[check_disk_/srv/taskotron]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv/taskotron
command[check_disk_/var/lib64/mock]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /var/lib/mock
command[check_disk_/var/log]=/usr/lib64/nagios/plugins/check_disk -w 15% -c 10% -p /var/log
command[check_disk_/srv/cache/lookaside]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /srv/cache/lookaside