opinkerfi / adagios

Adagios - Web Based Nagios Configuration
GNU Affero General Public License v3.0
330 stars 75 forks source link

Feature request: CSV/XLS import of information to Adagios #382

Closed jodiecunningham closed 9 years ago

jodiecunningham commented 10 years ago

I had a situation recently where I was given a list of about 800 hosts and their IPs in an Excel spreadsheet. I was able to dump it to CSV, clean up the formatting and use awk+pynag to add the hosts, and it was a huge benefit.

So it occurred to me now, that it might be a neat feature to have in Adagios proper. This would aid people being handed 800 new hosts in a list, or people converting from other systems to using Adagios.

To keep the scope limited (and exclude ETL), maybe it would be useful or possible to make a presumptive decision: The excel spreadsheet or CSV will have headers pertaining to valid okconfig or pynag field names (listed for the user), and the data should be exported from Excel or LibreOffice with page-supplied options.

palli commented 10 years ago

Its an awesome idea.. Dont know why no one has implemented this yet. Probably because once the 800 hosts have been imported, there is no incentive to make the process easier :)

palli commented 10 years ago

There is a pending patch in pynag which allows to facilitate for this.