Some other formulation stuff (#7459)

Hi again
1. was -> way (just the typing error i guess)
2. i had to read the sentence 3 times until i got the meaning, so i changed it a little so it makes better sense to me (i hope you think so as well)
3. you -> your
This commit is contained in:
gitwuethrich
2017-10-10 14:35:37 +02:00
committed by Neil Lathwood
parent ea703e8c7b
commit ea79515607

View File

@@ -4,10 +4,10 @@ LibreNMS supports grouping your devices together in much the same way as you can
### Patterns
Patterns work in the same was as Entities within the alerting system, the format of the pattern is based on the MySQL structure your data is in such
as __tablename.columnname__. If you are ensure of what the entity is you want then have a browse around inside MySQL using `show tables` and `desc <tablename>`.
Patterns work in the same way as Entities within the alerting system, the format of the pattern is based on the MySQL structure your data is in. Such
as __tablename.columnname__. If you already know the entity you want, you can browse around inside MySQL using `show tables` and `desc <tablename>`.
As a working example and a common question, let's assume you want to group devices by hostname. If you hostname format is dcX.[devicetype].example.com. You would use the pattern
As a working example and a common question, let's assume you want to group devices by hostname. If your hostname format is dcX.[devicetype].example.com. You would use the pattern
`devices.hostname`. Select the condition which in this case would be `Like` and then enter `dc1\..*\.example.com`. This would then match dc1.sw01.example.com, dc1.rtr01.example.com but not
dc2.sw01.example.com.