{"action":"created","issue":{"url":"https://api.github.com/repos/librenms/librenms/issues/897","labels_url":"https://api.github.com/repos/librenms/librenms/issues/897/labels{/name}","comments_url":"https://api.github.com/repos/librenms/librenms/issues/897/comments","events_url":"https://api.github.com/repos/librenms/librenms/issues/897/events","html_url":"https://github.com/librenms/librenms/issues/897","id":72621900,"number":897,"title":"Device-Dependencies for Alerts","user":{"login":"f0o","id":1656377,"avatar_url":"https://avatars.githubusercontent.com/u/1656377?v=3","gravatar_id":"","url":"https://api.github.com/users/f0o","html_url":"https://github.com/f0o","followers_url":"https://api.github.com/users/f0o/followers","following_url":"https://api.github.com/users/f0o/following{/other_user}","gists_url":"https://api.github.com/users/f0o/gists{/gist_id}","starred_url":"https://api.github.com/users/f0o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f0o/subscriptions","organizations_url":"https://api.github.com/users/f0o/orgs","repos_url":"https://api.github.com/users/f0o/repos","events_url":"https://api.github.com/users/f0o/events{/privacy}","received_events_url":"https://api.github.com/users/f0o/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/librenms/librenms/labels/Alerting","name":"Alerting","color":"ff99ff"},{"url":"https://api.github.com/repos/librenms/librenms/labels/Needs-Concept","name":"Needs-Concept","color":"9966ff"}],"state":"open","locked":false,"assignee":{"login":"f0o","id":1656377,"avatar_url":"https://avatars.githubusercontent.com/u/1656377?v=3","gravatar_id":"","url":"https://api.github.com/users/f0o","html_url":"https://github.com/f0o","followers_url":"https://api.github.com/users/f0o/followers","following_url":"https://api.github.com/users/f0o/following{/other_user}","gists_url":"https://api.github.com/users/f0o/gists{/gist_id}","starred_url":"https://api.github.com/users/f0o/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/f0o/subscriptions","organizations_url":"https://api.github.com/users/f0o/orgs","repos_url":"https://api.github.com/users/f0o/repos","events_url":"https://api.github.com/users/f0o/events{/privacy}","received_events_url":"https://api.github.com/users/f0o/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-02T09:48:59Z","updated_at":"2015-05-17T11:27:18Z","closed_at":null,"body":"Like discussed on the mailing-list (https://groups.google.com/forum/#!topic/librenms-project/SVb0vp2h28Y).\r\n\r\nAlerts for devices that go down due to network dependencies on other devices should not be triggered if said top-level device is down.\r\n\r\nThis is not fully supported yet (without some macro-hacks), I will make this part of dynamic macro definitions.\r\n\r\nThe idea is to have a macro like `device_core123.localdomain_up` to be part of a rule.\r\n\r\nI think it will be easier to implement a general-purpose dynamic macro interpreter instead of hardcoding special calls for these kind of operations. This way we can make rules depend on any other attribute/dataset that LibreNMS knows of."},"comment":{"url":"https://api.github.com/repos/librenms/librenms/issues/comments/102785621","html_url":"https://github.com/librenms/librenms/issues/897#issuecomment-102785621","issue_url":"https://api.github.com/repos/librenms/librenms/issues/897","id":102785621,"user":{"login":"killsudo","id":1152396,"avatar_url":"https://avatars.githubusercontent.com/u/1152396?v=3","gravatar_id":"","url":"https://api.github.com/users/killsudo","html_url":"https://github.com/killsudo","followers_url":"https://api.github.com/users/killsudo/followers","following_url":"https://api.github.com/users/killsudo/following{/other_user}","gists_url":"https://api.github.com/users/killsudo/gists{/gist_id}","starred_url":"https://api.github.com/users/killsudo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/killsudo/subscriptions","organizations_url":"https://api.github.com/users/killsudo/orgs","repos_url":"https://api.github.com/users/killsudo/repos","events_url":"https://api.github.com/users/killsudo/events{/privacy}","received_events_url":"https://api.github.com/users/killsudo/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T11:27:18Z","updated_at":"2015-05-17T11:27:18Z","body":"Zenoss does this via the BRIDGE-MIB and LLDP/CDP info.\r\n\r\nIdea's for implementation / starting points can be researched at \r\n\r\nhttp://blog.zenoss.com/2014/10/new-layer-2-networking-zenpack-now-available/\r\n\r\nhttp://wiki.zenoss.org/ZenPack:Layer2\r\n\r\nhttps://github.com/zenoss/ZenPacks.zenoss.Layer2"}}