NRPE definition question
Posted: Fri Sep 13, 2013 5:04 pm
Hey all, I've been trying to get a service definition working and after some random changes I finally got it to work. Here's the original definition that doesn't work:
and here's the definition that does work:
Notice the additional line feed between the closing curly bracket and the check_command. Any idea why this happened? I've spent quite a bit of time working on it.
Thanks,
Joe B
Code: Select all
define service {
use generic-service
hostgroup win7Group
service_description Hard Disk Check
check_command check_nrpe2!CheckDriveSize -a ShowAll=long MinWarnFree=10% MinCritFree=5% Drive=c:\
}
Code: Select all
define service {
use generic-service
hostgroup win7Group
service_description Hard Disk Check
check_command check_nrpe2!CheckDriveSize -a ShowAll=long MinWarnFree=10% MinCritFree=5% Drive=c:\
}
Thanks,
Joe B