[mrtg] How to use external data file.

benny.he at alcatel.com.cn benny.he at alcatel.com.cn
Thu Oct 5 04:30:14 MEST 2000


Hi:

I use scripts creat a external data file every 5 minutes. Then I want 
to use this data file to generate mrtg graphic pages.

But when I run ./mrtg mrtg.cfg, I get error message: 
"Could not get any data from external command 
`/tmp/mrtg-2.8.12/c2509/ausers.log`
Maybe the external command did not even start. (Illegal seek)   "

Can anyone tell me how to configure the mrtg.cfg to use the external 
data file? And what 's the format of the data file?

My mrtg.cfg is configured with:

WorkDir: /tmp/mrtg-2.8.12/c2509
WithPeak[^]: ymw

Title[RemAccDev_Shanghai3]: Current Active Users On Shaanghai RAS
PageTop[RemAccDev_Shanghai3]: <H1>Current Active Users</H1>
MaxBytes[RemAccDev_Shanghai3]: 16
Options[RemAccDev_Shanghai3]: absolute, gauge
Target[RemAccDev_Shanghai3]: ` /tmp/mrtg-2.8.12/c2509/ausers.log`
RouterUptime[RemAccDev_Shanghai3]: la*u!re at 172.24.24.67
YLegend[RemAccDev_Shanghai3]: Current Active PPP Users
ShortLegend[RemAccDev_Shanghai3]: Active Users
Legend1[RemAccDev_Shanghai3]:
Legend2[RemAccDev_Shanghai3]: Avg Active Users
Legend3[RemAccDev_Shanghai3]:
Legend4[RemAccDev_Shanghai3]: Maximal Active Users
LegendI[RemAccDev_Shanghai3]:
LegendO[RemAccDev_Shanghai3]: &nbsp;Total:

Thanks.


--
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