Page 1 of 1

Comparison Operators

Posted: Tue Jan 13, 2015 11:33 am
by mbowden
I have a service that checks to see if the service "puppet" is running on a windows machine (64 bit). This check works fine. However we have a bunch of 32 bit machines in which the service is referred to as "pe-puppet" is there a way to have the same service using the "check_xi_service_nsclient command to check if either service is running without writing a custom check?

Re: Comparison Operators

Posted: Tue Jan 13, 2015 11:38 am
by tmcdonald
You can do "-l service1,service2,servic3" etc to specify multiples. However depending on the logic, you might just need to have a separate check for the 32-bit.