Re: How to exclude service from “Automatic Start Services”.
Posted: Fri Jul 19, 2013 1:45 pm
Right now you do not have a CheckServiceState command defined in your nsc.ini file, you will need to define it and then pass those arguments. Though, it appears as though you have an alias set up for a similar command:
You could modify this to contain:
As well as the other excludes you have specified, Then call "alias_service" through the -c flag from Nagios.. Though I am not sure how this will work, you have many mismatched definitions in your NSC.ini file. Do you know if you are trying to call an external script via NRPE, or if you are trying to use the built in NSclient modules?
Code: Select all
alias_service=checkServiceState CheckAll exclude=RemoteRegistryCode: Select all
CheckAll exclude=ShellHWDetection exclude=clr_optimization_v4.0.30319_32 exclude=clr_optimization_v4.0.30319_64 exclude=sppsvc