|
|
|
|
|
by azelfrath
5131 days ago
|
|
I'm working on a perl script that will serve as a migration assistant from WhatsUp Gold v8 to Nagios v3. My company has 1,300+ hosts and 2,500+ services, all in various groups and states of health. It is my job to port over everything. The version of WhatsUp we are using does not have a good way to export the configuration, and no API to query, so I am basically screen-scraping the web GUI for all the relevant info. I then do some basic sanitization (there are some illegal chars in Nagios configs), error-checking (how to handle a URL with a loopback IP address), and some cross-reference (putting hosts in groups and attaching services to them). Overall it has been a great learning experience for me. I got to know Nagios quite well, practiced my perl a bit, and got to use git beyond just the tutorials I had read. I plan on open-sourcing this as soon as I get permission from my employer. Company time and all that. |
|