This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| nms:observium [2019/10/07 07:35] – jotasandoku | nms:observium [2023/11/02 14:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| ---- | ---- | ||
| Add and delete devices. Recreate device doesn' | Add and delete devices. Recreate device doesn' | ||
| - | / | + | / |
| - | / | + | / |
| | | ||
| ---- | ---- | ||
| Line 38: | Line 38: | ||
| * **^^ We need to do this regularly to account for new or gone devices!** | * **^^ We need to do this regularly to account for new or gone devices!** | ||
| * **In order to edit the " | * **In order to edit the " | ||
| + | \\ | ||
| + | This is an example of **production alerts checkers** (change it to xml extension): {{ : | ||
| Line 67: | Line 69: | ||
| / | / | ||
| + | tail -f observium.log / | ||
| | | ||
| mysql -p -u observium | mysql -p -u observium | ||
| Line 73: | Line 76: | ||
| describe alert_log; | describe alert_log; | ||
| SELECT * FROM alert_log where log_type = ' | SELECT * FROM alert_log where log_type = ' | ||
| + | describe devices; | ||
| + | select device_id, hostname, sysName from devices where device_id = ' | ||