ITKeyword,专注技术干货聚合推荐

注册 | 登录

解决draw - How to create specific graph with MRTG

itPublisher 分享于

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

 | 


相关阅读排行


相关内容推荐

最新文章

×

×

请激活账号

为了能正常使用评论、编辑功能及以后陆续为用户提供的其他产品,请激活账号。

您的注册邮箱: 修改

重新发送激活邮件 进入我的邮箱

如果您没有收到激活邮件,请注意检查垃圾箱。