| Cheshire Cat Computing http://mail.steveshipway.org/forum/ |
|
| PHP Script to create .CFG files http://mail.steveshipway.org/forum/viewtopic.php?f=11&t=352 |
Page 1 of 1 |
| Author: | stevesh [ Fri Aug 27, 2004 11:20 am ] |
| Post subject: | |
Here, I use a homegrown perl script that generates all the config files for both MRTG and Nagios simultaneously, using a set of templates I have already made. I have a configuration file that lists the various servers and devices with parameters, and this is used to generate hundreds of other files. Unfortunately is is highly customised for our site and requirements, and not in a form directly usable by others without some code changes. Perl people are welcome to have the code and templates, though, if required. Some of the templates are already distributed with routers2.15 in the extras/templates directory. |
|
| Author: | cangeles [ Tue Dec 30, 2008 7:12 pm ] |
| Post subject: | Re: PHP Script to create .CFG files |
Steve, I saw this post from 4 years ago. I was wondering if you could send me your homegrown script and template files? I'm just learning Perl but I would like to see what you've done and see if I can modify it for my environment. Thanks, Carlos |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|