{"action":"created","issue":{"url":"https://api.github.com/repos/librenms/librenms/issues/2694","repository_url":"https://api.github.com/repos/librenms/librenms","labels_url":"https://api.github.com/repos/librenms/librenms/issues/2694/labels{/name}","comments_url":"https://api.github.com/repos/librenms/librenms/issues/2694/comments","events_url":"https://api.github.com/repos/librenms/librenms/issues/2694/events","html_url":"https://github.com/librenms/librenms/issues/2694","id":124990665,"number":2694,"title":"Device State Monitoring","user":{"login":"Rosiak","id":6378934,"avatar_url":"https://avatars.githubusercontent.com/u/6378934?v=3","gravatar_id":"","url":"https://api.github.com/users/Rosiak","html_url":"https://github.com/Rosiak","followers_url":"https://api.github.com/users/Rosiak/followers","following_url":"https://api.github.com/users/Rosiak/following{/other_user}","gists_url":"https://api.github.com/users/Rosiak/gists{/gist_id}","starred_url":"https://api.github.com/users/Rosiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rosiak/subscriptions","organizations_url":"https://api.github.com/users/Rosiak/orgs","repos_url":"https://api.github.com/users/Rosiak/repos","events_url":"https://api.github.com/users/Rosiak/events{/privacy}","received_events_url":"https://api.github.com/users/Rosiak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/librenms/librenms/labels/Core","name":"Core","color":"eb6420"},{"url":"https://api.github.com/repos/librenms/librenms/labels/Design","name":"Design","color":"ffffff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-01-05T15:38:40Z","updated_at":"2016-02-09T19:48:31Z","closed_at":null,"body":"This is a issue to discuss the implementation of a proper device state system.\r\n\r\nHere are some of my notes so far:\r\n\r\nThe idea is to improve and possibly overhaul the current (almost non-existing) state monitoring.\r\nThere is quite a few people missing this feature.\r\n\r\nWe should have generic way to store & fetch these info.\r\n\r\nWe should have the ability to make custom value translations, since data presented through SNMP does not always make sense. For example @SaaldjorMike & I have some Dell iDrac devices, for their raid state they report back \"1,2,3,4,5,6\" which actually translates to \"1=Other, 2=Unknown, 3=OK, 4=Non-critical, 5=Critical, 6=Non-recoverable\". Devices could also just report back the actual state as a string.\r\n\r\nI can't agree with myself wether we should make static severity levels \"Information, Warning, Disaster etc.\" or we if we just should preserve and pass on these custom ones from the value translation part..\r\n\r\n- I think the UI is the easy part of this task.\r\n\r\n- Values needed to store, device_id, oid/mib entry, value, translation/mapping id etc.\r\n\r\n- Could the logic from #2623 be used or?\r\n\r\nTagging #1365 #1236"},"comment":{"url":"https://api.github.com/repos/librenms/librenms/issues/comments/182029785","html_url":"https://github.com/librenms/librenms/issues/2694#issuecomment-182029785","issue_url":"https://api.github.com/repos/librenms/librenms/issues/2694","id":182029785,"user":{"login":"laf","id":3941142,"avatar_url":"https://avatars.githubusercontent.com/u/3941142?v=3","gravatar_id":"","url":"https://api.github.com/users/laf","html_url":"https://github.com/laf","followers_url":"https://api.github.com/users/laf/followers","following_url":"https://api.github.com/users/laf/following{/other_user}","gists_url":"https://api.github.com/users/laf/gists{/gist_id}","starred_url":"https://api.github.com/users/laf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laf/subscriptions","organizations_url":"https://api.github.com/users/laf/orgs","repos_url":"https://api.github.com/users/laf/repos","events_url":"https://api.github.com/users/laf/events{/privacy}","received_events_url":"https://api.github.com/users/laf/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T19:48:31Z","updated_at":"2016-02-09T19:48:31Z","body":"I think trying to squeeze all states into just three types will be limiting. Can you not look that info up from the MIB to convert the state into human readable value?"}}