Alert and Group rules questions

Greetings!

First of all - I want to thank all the team for the great product. You make my work easier :slight_smile:

But still i’m new to librenms and have some problems making correct rules.

  1. I want to create a group for devices, which contain “wdx” or “mix” in the hostname, or ip-address, ending with .1 or .2 or greater than .112.
    So I’ve created a roolset:
    https://prnt.sc/jsuubg
    But group is empty, what’s wrong with my ruleset? Groups based just on “wdx” or “mix” hostnames work just fine.

  2. What whould be the preferable to make rules based on device groups?
    Should I use device_group_device.device_group_id entity or something else? What’s group_id - is it a groupname?

  3. I’m using “Interface Errors Rate greater than 100” rule, but i don’t want to get such a warnings from my wifi-APs, so some statments where added:
    https://prnt.sc/jsuvkv
    But still I recive alerts from “ath” ports. What’s the possible problem whith the rules?

  4. Is that possible to get reed of the “Rule created, no faults found” messages in the alert log?
    Not a big problem, realy, but spams message log a bit, when adding a couple of new devices.

Ok, first question is solved with:
%devices.sysName ~ “mix” ||
%devices.sysName ~ “wdx” ||
%ipv4_addresses.ipv4_address ~ “.112” ||
%ipv4_addresses.ipv4_address ~ “.113” ||
%ipv4_addresses.ipv4_address ~ “^[0-9].[0-9].[0-9]*.2$” ||

Any suggestions with other questions?

1 Like