Page 1 of 1
NCPA Windows client Regular Expressions?
Posted: Fri Oct 30, 2015 1:05 pm
by agustin.roca
Hi guys,
I have same services un windows that in different versions, W2012 and W2008 call it difrfrenetly with capital letters. So i get alerts or have to do multiple service chelcs. Does NCPA check support Regular epressions?
Thanks!
Re: NCPA Windows client Regular Expressions?
Posted: Fri Oct 30, 2015 2:01 pm
by lmiltchev
Unfortunately, NCPA doesn't support regular expressions as far as I know. You will have to use multiple checks.
Re: NCPA Windows client Regular Expressions?
Posted: Fri Oct 30, 2015 2:02 pm
by ssax
What specific check are you running, please provide that so we can see if we can find a solution.
Thank you
Re: NCPA Windows client Regular Expressions?
Posted: Sat Oct 31, 2015 12:57 pm
by agustin.roca
Service check api.. I dont have access to the server now.
But is the typical service ruunning.... service/kdc.exe/running something like that... and in windows, depending on tthe version you have kdc and Kdc..
Thanks!
Re: NCPA Windows client Regular Expressions?
Posted: Mon Nov 02, 2015 10:25 am
by ssax
Unfortunately that functionality doesn't exist and I don't see a way to achieve it other than writing your own plugin, I've created a feature request for it:
Code: Select all
[Feature Request] Add ability to use regex pattern for service name matching #203
https://github.com/NagiosEnterprises/ncpa/issues/203
Thank you
Re: NCPA Windows client Regular Expressions?
Posted: Mon Nov 02, 2015 12:36 pm
by agustin.roca
Great! Thanks for the feedback. Lets hope its an easy add..
Cheers! you c an close this