{"action":"created","issue":{"url":"https://api.github.com/repos/pblasquez/weathermapper/issues/5","repository_url":"https://api.github.com/repos/pblasquez/weathermapper","labels_url":"https://api.github.com/repos/pblasquez/weathermapper/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/pblasquez/weathermapper/issues/5/comments","events_url":"https://api.github.com/repos/pblasquez/weathermapper/issues/5/events","html_url":"https://github.com/pblasquez/weathermapper/issues/5","id":268957356,"number":5,"title":"Node names and Labels identical across all devices","user":{"login":"bdg-robert","id":26973780,"avatar_url":"https://avatars3.githubusercontent.com/u/26973780?v=4","gravatar_id":"","url":"https://api.github.com/users/bdg-robert","html_url":"https://github.com/bdg-robert","followers_url":"https://api.github.com/users/bdg-robert/followers","following_url":"https://api.github.com/users/bdg-robert/following{/other_user}","gists_url":"https://api.github.com/users/bdg-robert/gists{/gist_id}","starred_url":"https://api.github.com/users/bdg-robert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdg-robert/subscriptions","organizations_url":"https://api.github.com/users/bdg-robert/orgs","repos_url":"https://api.github.com/users/bdg-robert/repos","events_url":"https://api.github.com/users/bdg-robert/events{/privacy}","received_events_url":"https://api.github.com/users/bdg-robert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-10-27T01:02:23Z","updated_at":"2017-10-27T20:24:24Z","closed_at":null,"author_association":"NONE","body":"I'm attempting to generate a map based on my routers, however when the file is generated two odd things are happening:\r\n\r\nFirst, I receive these warnings:\r\n```\r\nPHP Warning:  Illegal string offset 'rrdcached' in /opt/weathermapper/weathermapper.php on line 61\r\nPHP Warning:  Illegal string offset 'rrdcached_dir' in /opt/weathermapper/weathermapper.php on line 61\r\n```\r\n\r\nSecond, in the weathermap.conf file that is generated, I see the following throughout the config:\r\n```\r\n# regular NODEs:\r\nNODE 10.2\r\n     LABEL 10.2\r\n     INFOURL /device/device=353/\r\n     OVERLIBGRAPH /graph.php?height=100&width=512&device=353&type=device_bits&legend=no\r\n     ICON 80 80 images/Router.png\r\n     LABELOFFSET 0 10\r\n     POSITION 6400 250\r\n\r\nNODE 10.2\r\n     LABEL 10.2\r\n     INFOURL /device/device=396/\r\n     OVERLIBGRAPH /graph.php?height=100&width=512&device=396&type=device_bits&legend=no\r\n     ICON 80 80 images/Router.png\r\n     LABELOFFSET 0 10\r\n     POSITION 6600 250\r\n\r\nNODE 10.2\r\n     LABEL 10.2\r\n     INFOURL /device/device=392/\r\n     OVERLIBGRAPH /graph.php?height=100&width=512&device=392&type=device_bits&legend=no\r\n     ICON 80 80 images/Router.png\r\n     LABELOFFSET 0 10\r\n     POSITION 6200 250\r\n\r\nNODE 10.2\r\n     LABEL 10.2\r\n     INFOURL /device/device=99/\r\n     OVERLIBGRAPH /graph.php?height=100&width=512&device=99&type=device_bits&legend=no\r\n     ICON 80 80 images/Router.png\r\n     LABELOFFSET 0 10\r\n     POSITION 6800 250\r\n```\r\n\r\nAny idea why this may be occurring? It's completely possible I'm messing up somewhere. :("},"comment":{"url":"https://api.github.com/repos/pblasquez/weathermapper/issues/comments/340076421","html_url":"https://github.com/pblasquez/weathermapper/issues/5#issuecomment-340076421","issue_url":"https://api.github.com/repos/pblasquez/weathermapper/issues/5","id":340076421,"user":{"login":"bdg-robert","id":26973780,"avatar_url":"https://avatars3.githubusercontent.com/u/26973780?v=4","gravatar_id":"","url":"https://api.github.com/users/bdg-robert","html_url":"https://github.com/bdg-robert","followers_url":"https://api.github.com/users/bdg-robert/followers","following_url":"https://api.github.com/users/bdg-robert/following{/other_user}","gists_url":"https://api.github.com/users/bdg-robert/gists{/gist_id}","starred_url":"https://api.github.com/users/bdg-robert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdg-robert/subscriptions","organizations_url":"https://api.github.com/users/bdg-robert/orgs","repos_url":"https://api.github.com/users/bdg-robert/repos","events_url":"https://api.github.com/users/bdg-robert/events{/privacy}","received_events_url":"https://api.github.com/users/bdg-robert/received_events","type":"User","site_admin":false},"created_at":"2017-10-27T20:24:24Z","updated_at":"2017-10-27T20:24:24Z","author_association":"NONE","body":"I found a function in the include called shortname() that I was able to modify to keep from trimming the IPs down to the first two octets. Hopefully there's a more elegant fix than this."}}
{"actor":{"display_login":"bdg-robert"}}