{"action":"opened","issue":{"url":"https://api.github.com/repos/ytti/oxidized/issues/651","repository_url":"https://api.github.com/repos/ytti/oxidized","labels_url":"https://api.github.com/repos/ytti/oxidized/issues/651/labels{/name}","comments_url":"https://api.github.com/repos/ytti/oxidized/issues/651/comments","events_url":"https://api.github.com/repos/ytti/oxidized/issues/651/events","html_url":"https://github.com/ytti/oxidized/issues/651","id":197697595,"number":651,"title":"Issue with group configuration","user":{"login":"arturs0","id":24792672,"avatar_url":"https://avatars.githubusercontent.com/u/24792672?v=3","gravatar_id":"","url":"https://api.github.com/users/arturs0","html_url":"https://github.com/arturs0","followers_url":"https://api.github.com/users/arturs0/followers","following_url":"https://api.github.com/users/arturs0/following{/other_user}","gists_url":"https://api.github.com/users/arturs0/gists{/gist_id}","starred_url":"https://api.github.com/users/arturs0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arturs0/subscriptions","organizations_url":"https://api.github.com/users/arturs0/orgs","repos_url":"https://api.github.com/users/arturs0/repos","events_url":"https://api.github.com/users/arturs0/events{/privacy}","received_events_url":"https://api.github.com/users/arturs0/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-27T12:40:35Z","updated_at":"2016-12-27T12:40:35Z","closed_at":null,"body":"Hello, \r\n\r\nI have an issue with group configurations. \r\n\r\nIf I have only one group configured then the backup of configuration will suceed for that group. If I configure a second group both groups will fail. \r\n\r\nHere is my configuration:\r\n```\r\nusername: admin\r\npassword: ##########\r\nmodel: fortigate\r\ninterval: 3600\r\nuse_syslog: false\r\ndebug: false\r\nthreads: 30\r\ntimeout: 20\r\nretries: 3\r\nprompt: !ruby/regexp /^([\\w.@-]+[#>]\\s?)$/\r\nrest: xx.xxx.xxx.xxx:8888\r\nvars: {}\r\ngroups: {}\r\nGroup1:\r\nusername: admin\r\npassword: ########\r\n#Group2:\r\n#username: admin\r\n#password: ########\r\npid: /home/ox/.config/oxidized/pid\r\ninput:\r\n  default: ssh\r\n  debug: false\r\n  ssh:\r\n    secure: true\r\noutput:\r\n  default: file\r\n  file:\r\n    directory: /home/ox/.config/oxidized/configs\r\nsource:\r\n  default: csv\r\n  csv:\r\n    file: /home/ox/.config/oxidized/router.db\r\n    delimiter: !ruby/regexp /:/\r\n    map:\r\n      name: 0\r\n      model: 1\r\n      groups: 2\r\n\r\nvars_map:\r\n  enable: 4\r\nmodel_map:\r\nfortigate: fortios\r\n```\r\n\r\nHere is my router.db file: \r\n\r\n```\r\nx.xxxx.xxxx:fortios:Group1\r\nxxxxx.xxxxx.xxxxxxx:fortios:Group2\r\n```\r\n\r\nWhat could be the cause of this issue? \r\n\r\nWhat would be the correct way to use groups?\r\n\r\nBest Regards, \r\nArtur \r\n"}}
{"actor":{"display_login":"arturs0"}}