1819796 Members
3136 Online
109607 Solutions
New Discussion юеВ

mrtg cfgmaker

 
Steve_617
Advisor

mrtg cfgmaker

Hi all

I am a bit out of my depth here.
I have installed mrtg and it workd well.

I would like to now add discards and errors to my graph.
I would also like to create a graph that would log server cpu util, but have no clue where to start.

From what I can see it seems the cfgmaker creates the config files.
Does anyone have a cfgmaker util, that I can use or can anyone show me how to modify the existing one so I can do the above


Regards
Steve
5 REPLIES 5
Ivan Ferreira
Honored Contributor

Re: mrtg cfgmaker

Check this link:

http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch23_:_Advanced_MRTG_for_Linux
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ivan Ferreira
Honored Contributor

Re: mrtg cfgmaker

Also, you can use External Monitoring Scripts if you don't want to use SNMP, or the data is not available through SNMP:

See "External Monitoring Scripts" here:

http://dingetje.homeip.net/mrtg/howto.html
http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steve_617
Advisor

Re: mrtg cfgmaker

I am still a bit lost.

I went to http://dingetje.homeip.net/mrtg/howto.html, however he tells me to add this to my cfg file.

Target[ping_yh]: `/mnt/router/packages/mrtg-2/bin/ping.sh www.yahoo.com`
MaxBytes[ping_yh]: 100000
YLegend[ping_yh]: ms
Legend1[ping_yh]: .
Legend2[ping_yh]: .
Legend3[ping_yh]: .
Legend4[ping_yh]: .
LegendI[ping_yh]: Min.roundtrip:
LegendO[ping_yh]: Max.roundtrip:
ShortLegend[ping_yh]: ms (x 10)
Title[ping_yh]: ping test www.yahoo.com
Options[ping_yh]: growright, gauge, nopercent, integer, unknaszero
Colours[ping_yh]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
WithPeak[ping_yh]: ymw
PageTop[ping_yh]:

ping test www.yahoo.com




However do I cut anything out of my cfg file or do I just paste this at the bottom of my cfg file.

It seems a bit confusing to me!

Is there no cfgmaker designed for cpu or discards,,,etc

Regartds
Florian Heigl (new acc)
Honored Contributor

Re: mrtg cfgmaker

I don't know a version of cfgmaker that handles anything more than traffic data.

Maybe You want to try out cacti, it seems to be more easily configurable, You'll need to supply the correct OID and - I think a metric and from that point on You're done.

I only did a basic setup once, but compared to mrtg it was extremely easy to set up.
yesterday I stood at the edge. Today I'm one step ahead.
Steve_617
Advisor

Re: mrtg cfgmaker

Thanks for your assistance