oetiker / mrtg

MRTG - Multi Router Traffic Grapher
http://www.mrtg.org
247 stars 61 forks source link

Problems and doubts with executing MRTG.cfg #25

Closed renatocfrancisco closed 4 years ago

renatocfrancisco commented 4 years ago

Following the "nt-windows-guide".... I downloaded the mrtg zip file for windows. I extracted, I put in a folder on (C:) and inside i created a folder "www" for the graphs. "perl mrtg" confirmed; i create the mrtg.cfg using "perl cfgmaker public@localhost --global "WorkDir: C:\mrtg-2.17.7\www" --output mrtg.cfg"

I wrote "RunAsDaemon: yes" in the first line of the generated file and then i hit "perl mrtg mrtg.cfg" Below is a .txt with results from the first time executing. perl mrtg mrtg.cfg first time.txt I close the command prompt and i try it again "perl mrtg mrtg.cfg" and now the results are: perl mrtg mrtg.cfg second time.txt

mrtg file line 372 is exec @STARTARGS; What is happening with line 372? Is there a problem for putting "localhost" on "perl cfgmaker ..."? for me, it doesn't work.