#2694, #1365, #1236
First attempt of making a more useable state monitoring system.
Many thanks to @vpsman for the initial code ( https://github.com/vpsman/librenms/commits/issue-2694 ), I hacked my way through the last bits & bobs.
Proper State Monitoring
Auto-Deploy finished, Test PR at http://3102.ci.librenms.org or https://3102.ci.librenms.org
Add license stuff..
Got it on my local install testing away.
Let me know if I can help.
Added more sensors
Added more sensors, here's output from a 4500X
Also, needs high / low limits in function sensor_limit(). Maybe use the state_translations table.
A few things
ucwords = happy ocd
Basic state page
Allign order = happy ocd
Add sensor_prev to be able to alert on state change
Check if it exists in table before inserting