Hi friends.
I would like to know if it is possible to use wildcards looking for a service name that has different name at hosts
Example:
check_nrpe -t 120 -H IP_ADDRESS_HOST -c check_service -a -a "filter=name = 'ServiceName*'"
Regards
Using wilcards in Service Name is it possible???
-
- Posts: 60
- Joined: Fri Feb 26, 2016 7:15 am
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Using wilcards in Service Name is it possible???
Can you send your nrpe.cfg and your common.cfg? What is the output of ll /usr/local/nagios/libexec/check_services?
The syntax you have is not working for me, but I want to make sure I am testing what you are testing. Also, does your check work without the wildcard?
The syntax you have is not working for me, but I want to make sure I am testing what you are testing. Also, does your check work without the wildcard?
-
- Posts: 60
- Joined: Fri Feb 26, 2016 7:15 am
Re: Using wilcards in Service Name is it possible???
Hi friend...
I wanna check Windows XP hosts
What do you need????
Regards
I wanna check Windows XP hosts
What do you need????
Regards
-
- Posts: 60
- Joined: Fri Feb 26, 2016 7:15 am
Re: Using wilcards in Service Name is it possible???
Hi..
I have changed comand to
check_nrpe -t 120 -H IP_ADDRESS_HOST -c check_service -a "filter=name like 'ServiceName'"
and looks OK I will try more...
Regards
I have changed comand to
check_nrpe -t 120 -H IP_ADDRESS_HOST -c check_service -a "filter=name like 'ServiceName'"
and looks OK I will try more...
Regards
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Using wilcards in Service Name is it possible???
Are you using NSClient? If so, can you send your nsclient.ini? If not, what version of win_nrpe are you using?