Skip to content

Exclude services from nsclient.ini using wildcards? #828

Answered by sjwk
DrWebster asked this question in Q&A
Discussion options

You must be logged in to vote

What version are you using? I'm running 0.5.2.41.
My alias is built using check_service rather than checkServiceState - it looks as though the latter is described in the docs as a legacy version of check_service and doesn't seem to have the Filter parameter.

I've created mine as:
alias_service = check_service exclude="Net Driver HPZ12" exclude="Pml Driver HPZ12" exclude=stisvc exclude=swi_update_64 exclude="<snip another 20 or so exclude parameters here>" exclude="MdmIntegrationService" exclude="RCSServer" filter="name not like 'clr_optimization' AND name not like 'GoogleUpdater'"
As long as you're not running a really old version, try changing it to use check_service instead. Also don't…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@DrWebster
Comment options

Comment options

You must be logged in to vote
4 replies
@DrWebster
Comment options

@sjwk
Comment options

Answer selected by DrWebster
@DrWebster
Comment options

@notorious-mso
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants