[mrtg] Nonsnmp data

Eric Persson eric at persson.tm
Fri Feb 15 19:24:00 MET 2002

Hi !

I asked on the list a while ago how to get data from a nonsnmp source
and got some good and helpful answears.
I have now tried this with some success and some minor failures. :)

I get no data to show on the graph.

I made a small shellscript which collects the data and returns a number
on a own line. Executed from the prompt it looks like this:
[root at localhost muf]# ./get_login
[root at localhost muf]# 

Of course, the number differs, between 0 and 100 approximately. However
I want to use the excellent scaling mrtg uses.

I added this into the mrtg.cfg like this:
and got maxbytes like:
MaxBytes[]: 125

The complete mrtg.cfg can be found at http://www.egp.cx/muf/mrtg.cfg

>From here I'm out of ideas. I thought I might look somewhere to see if
it collected the number, but i dont know where. Does the data from the
shellscript need to be formatted in someway?

The graphs are supposed to be here; http://www.egp.cx/muf/

Is it possible to change the title on the left of the graphs from "Bits
per second" to something else?

Thanks for your time,
	Eric Persson

[ eric persson | eric at persson.tm | www.persson.tm ]

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list