| Cheshire Cat Computing http://www.steveshipway.org/forum/ |
|
| What do you think about ./cfgmake and crontab configuration http://www.steveshipway.org/forum/viewtopic.php?f=2&t=809 |
Page 1 of 1 |
| Author: | ddemirchi [ Sun Feb 05, 2006 5:00 pm ] |
| Post subject: | What do you think about ./cfgmake and crontab configuration |
Hi All, I have the following ./cfgmaker file; /usr/local/mrtg-2/bin/cfgmaker --global 'WorkDir: /var/www/html/mrtg/' \ --global 'Options[_]: bits,growright' \ --global 'LogFormat: rrdtool' \ --global 'PathAdd: /usr/local/rrdtool-1.2.11/bin/' \ --global 'LibAdd: /usr/local/rrdtool-1.2.11/lib/perl/5.8.6/i386-linux-thread-multi/' \ --output /var/www/html/mrtg/cfg/192.168.1.109.cfg \ --ifref=ip \ --ifdesc=alias \ --ifref=name \ mycommunityinfo@x.x.x My Questions: 1- What else I can add here that output additional information 2- How can I add more devices? or do I have to change the ip address and re-run the script? Crontab vs ??? I am only familier with crontab current I have the following configuration for crontab */5 * * * * root env LANG=C /usr/local/mrtg-2/bin/mrtg /var/www/html/mrtg/cfg/*.cfg \ --logging /var/www/log/mrtg.log So far, this is working GREAT. but does anybody has better way to update .cfg files? Thanks for any suggestion and advice DDemirchi |
|
| Author: | stevesh [ Mon Feb 06, 2006 12:22 pm ] |
| Post subject: | |
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|