What boolean operators are available when creating groups ?
Hi!
I've been using equals and match and wildcard (*) when aggregating together data in the group feature, however I now have to create a group where I need to exclude certain things and select others with wildcard.
I am not sure this works, and I can't find anything in the documentation about it.
basically I need to include all hosts with a certain hostname pattern, except a few ones with a slightly different pattern. If I wrote it in two lines, it would be like this :
hostname match foo-is*.bar.com hostname != foo-is4*.bar.com
Anyway way to do this ?
/Jesper
You can use regular expressions, if that helps :)
adam. On 11/11/2015 19:24:22, Jesper Frank Nemholt jfn@dassic.com wrote: Hi!
I've been using equals and match and wildcard (*) when aggregating together data in the group feature, however I now have to create a group where I need to exclude certain things and select others with wildcard.
I am not sure this works, and I can't find anything in the documentation about it.
basically I need to include all hosts with a certain hostname pattern, except a few ones with a slightly different pattern. If I wrote it in two lines, it would be like this :
hostname match foo-is*.bar.com [http://bar.com] hostname != foo-is4*.bar.com [http://bar.com]
Anyway way to do this ?
/Jesper
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Ahh… “If you think you have a problem you can solve with regex, you now have two problems!”
:)
Michael
On 12 Nov 2015, at 6:32 AM, Adam Armstrong adama@memetic.org wrote:
You can use regular expressions, if that helps :)
adam.
On 11/11/2015 19:24:22, Jesper Frank Nemholt jfn@dassic.com wrote:
Hi!
I've been using equals and match and wildcard (*) when aggregating together data in the group feature, however I now have to create a group where I need to exclude certain things and select others with wildcard.
I am not sure this works, and I can't find anything in the documentation about it.
basically I need to include all hosts with a certain hostname pattern, except a few ones with a slightly different pattern. If I wrote it in two lines, it would be like this :
hostname match foo-is*.bar.com hostname != foo-is4*.bar.com
Anyway way to do this ?
/Jesper
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (3)
-
Adam Armstrong
-
Jesper Frank Nemholt
-
Michael