解决draw - How to create specific graph with MRTG
2021腾讯云限时秒杀,爆款1核2G云服务器298元/3年!(领取2860元代金券),
地址:https://cloud.tencent.com/act/cps/redirect?redirect=1062
2021阿里云最低价产品入口+领取代金券(老用户3折起),
入口地址:https://www.aliyun.com/minisite/goods
I have just set up MRTG server. Now It can get SNMP info from our router.in the first we create config file by using cfgmaker, everything is ok. We can get graph well. We have edit something on our config file about maxbytes or something like that. Afterthat we have just bring up new interface on our router. When we run cfgmaker again, it will create config file with new interface, but all thing that we edited, has been reset to default.
How can I create config file for specific interface that I can point out it. I don't want it run again for old interface that I create in previous. Please help me!!!
graph draw mrtg|
this question asked Dec 8 '15 at 4:25 Dương Quang Thọ 27 5
|
1 Answers
1
解决方法
The cfgmaker
utility will always generate a complete new configuration file. It will not modify an existing file.
If you have customisations that you need to be done, you have a few options.
Firstly, you could just cut and paste the new interface stanza from the newly generated configuration file into the old one.
Secondly, you could use the various options to cfgmaker
to customise global options, or how the interfaces are filtered, labelled and identified; whether this is enough will depend on what your customisations are.
Thirdly, you could use a host template or interface template to fully customise the output, adding targets or options. Various templates are available at http://cfgmaker.steveshipway.org/ for download. This will require a little Perl coding knowledge.
|
this answer edited Jun 9 '16 at 4:04 answered Dec 9 '15 at 2:12 Steve Shipway 1,813 1 7 18
|
相关阅读排行
- 1微软面试100题2010年版全部答案集锦(含下载地址)
- 2图像分割之(二)Graph Cut(图割)
- 3排列组合算法
- 4Stanford概率图模型(Probabilistic Graphical Model)— 第一讲 贝叶斯网络基础
- 5用CodeViz绘制函数调用关系图(call graph)