NCPA Windows client Regular Expressions?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
agustin.roca
Posts: 39
Joined: Tue Apr 28, 2015 10:28 am

NCPA Windows client Regular Expressions?

Post 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!
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: NCPA Windows client Regular Expressions?

Post by lmiltchev »

Unfortunately, NCPA doesn't support regular expressions as far as I know. You will have to use multiple checks.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NCPA Windows client Regular Expressions?

Post by ssax »

What specific check are you running, please provide that so we can see if we can find a solution.

Thank you
agustin.roca
Posts: 39
Joined: Tue Apr 28, 2015 10:28 am

Re: NCPA Windows client Regular Expressions?

Post 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!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NCPA Windows client Regular Expressions?

Post 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
agustin.roca
Posts: 39
Joined: Tue Apr 28, 2015 10:28 am

Re: NCPA Windows client Regular Expressions?

Post by agustin.roca »

Great! Thanks for the feedback. Lets hope its an easy add..

Cheers! you c an close this
Locked