nrmjba / nagioschecker

Automatically exported from code.google.com/p/nagioschecker
0 stars 0 forks source link

Filtering out more than one host #51

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Setting 2 or more hosts matching regular expression
2.
3.

What is the expected output? What do you see instead?
none of them is filtered out

What version of the product are you using (Nagios Checker and Nagios)? On
what operating system? Nagios Version 2.9, Nagios Checker 0.10.4, OS
Windows XP SP2

Please provide any additional information below.
I use "Filtering" then "Hosts matching regular expression". If I put only
one host all is fine. I don`t get alerted. If 2 or more it alerts me
nonetheless. I tried to separate hosts with , ;  and didn`t work. Is there
a special character to separate and include several different hosts for
filtering out?

Original issue reported on code.google.com by s.mano...@abv.bg on 2 Nov 2007 at 6:50

GoogleCodeExporter commented 9 years ago
The value is expected as Regular expression.
For mor info see: http://en.wikipedia.org/wiki/Regular_expression
So in your case you should use character '|', then the value is:
SERVERNAME1|SERVERNAME2|SERVERNAME3 
etc.

Original comment by petr.si...@gmail.com on 2 Nov 2007 at 8:13

GoogleCodeExporter commented 9 years ago
I am closing this issue due to no response.

Original comment by petr.si...@gmail.com on 17 Nov 2007 at 11:24

GoogleCodeExporter commented 9 years ago
Issue 83 has been merged into this issue.

Original comment by petr.si...@gmail.com on 14 Apr 2009 at 7:44