Only first service is working fine, but the others not.
Code: Select all
define service {
use linux-service
hostgroup_name linux_backup_servers,linux_dns_servers,linux_web_servers,linux_mail_servers
service_description Disk free space.
check_command check_ncpa!-H $HOSTADDRESS$ -t 'nagios' -P 12489 -M 'disk/logical/|/used_percent' -w 80 -c 90 -u G
}
define service {
use linux-service
hostgroup_name linux_backup_servers
service_description Disk space root
check_command check_ncpa!-H $HOSTADDRESS$ -t 'nagios' -P 12489 -M 'disk/logical/|var/used'
}
define service {
use linux-service
hostgroup_name linux_backup_servers
service_description Disk space root2
check_command check_ncpa!-H $HOSTADDRESS$ -t 'nagios' -P 12489 -M 'disk/logical/|boot/used_percent' -w 80 -c 90
}
define service {
use linux-service
hostgroup_name linux_backup_servers
service_description Disk space root3
check_command check_ncpa!-H $HOSTADDRESS$ -t 'nagios' -P 12489 -M 'disk/logical/|var/used'
}
What's wrong ?