davama

librenms-working-groups

Apr 5th, 2018
313
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 1.41 KB | None | 0 0
  1. MariaDB [librenms]> select * from device_groups;
  2. +----+-------------+------+---------------------------------------------------+--------+
  3. | id | name        | desc | pattern                                           | params |
  4. +----+-------------+------+---------------------------------------------------+--------+
  5. | 10 | USA-HT_ALL  |      | %ipv6_addresses.ipv6_compressed ~ "xxxx:xxxx:9:%" | NULL   |
  6. | 11 | USA-HT_CORE |      | %devices.location ~ "%CORE%"                      | NULL   |
  7. +----+-------------+------+---------------------------------------------------+--------+
  8.  
  9.  
  10. MariaDB [librenms]> select * from device_group_device;
  11. +-----------------+-----------+
  12. | device_group_id | device_id |
  13. +-----------------+-----------+
  14. |              10 |         1 |
  15. |              10 |         2 |
  16. |              10 |         3 |
  17. |              10 |         4 |
  18. |              10 |         5 |
  19. |              10 |         6 |
  20. |              10 |         7 |
  21. |              10 |        62 |
  22. |              10 |        84 |
  23. |              10 |       283 |
  24. |              10 |       284 |
  25. |              11 |         1 |
  26. |              11 |         2 |
  27. |              11 |         3 |
  28. |              11 |         4 |
  29. |              11 |         5 |
  30. |              11 |         6 |
  31. |              11 |         7 |
  32. |              11 |        62 |
  33. |              11 |       190 |
  34. +-----------------+-----------+
Advertisement
Add Comment
Please, Sign In to add comment