[mrtg] Assistance
John York
YorkJ at brcc.edu
Fri Sep 30 21:17:15 CEST 2011
Oh, I also had a problem with event logging. It's probably been fixed by now, but it caused me to make these changes:
There is an error in the MRTG code somewhere regarding logging to the Windows Event Log, which caused MRTG errors when I tried to run it. Changed my command line for testing to this:
perl c:\mrtg\bin\mrtg --logging=c:\mrtg\bin\log\log.txt c:\mrtg\bin\mrtg.cfg".
(replaced logging=eventlog with logging=path) and it ran. Also had to change the registry from that listed in the procedure to this: "AppParameters"="c:\\mrtg\\bin\\mrtg --logging= c:\\mrtg\\log\\log.txt c:\\mrtg-2.17.1\\bin\\mrtg.cfg"
-----Original Message-----
From: John York
Sent: Friday, September 30, 2011 3:13 PM
To: mrtg; 'jespinosa at bost.com'
Subject: RE: [mrtg] Assistance
See the section, HOW TO SETUP MRTG AS A WINDOWS SERVICE, in http://oss.oetiker.ch/mrtg/doc/mrtg-nt-guide.en.html. I've used it for years and it works great. The "run as daemon" is confusing for windows, since you also have to create a service as described above.
John
-----Original Message-----
From: mrtg-bounces+yorkj=brcc.edu at lists.oetiker.ch [mailto:mrtg-bounces+yorkj=brcc.edu at lists.oetiker.ch] On Behalf Of Daniel McDonald
Sent: Friday, September 30, 2011 3:08 PM
To: JEspinosa at bost.com
Cc: mrtg; mrtg-bounces+jespinosa=bost.com at lists.oetiker.ch
Subject: Re: [mrtg] Assistance
On 9/30/11 11:51 AM, "JEspinosa at bost.com" <JEspinosa at bost.com> wrote:
> Daniel,
> Thank you for getting back to me so quickly. I believe it is running
> as a Daemon but I can't tell for sure? I opened up Task Manager on the server
> that it is "supposedly" running on and I could not locate anything in there
> related to MRTG.
Ah, you are running on Windows. Hopefully someone else on this list
understands windows servers - I haven't managed a windows server this
millennium...
But I recall there were a couple of daemon tools used to run mrtg -
fireDaemon was popular about 8 years ago. But I don't know much more about
it than a name..
> I guess, we could start with how would I verify that it is
> even running if I can't locate anything within Task Manager or in the Services
> tab?
--
Daniel J McDonald, CCIE # 2495, CISSP # 78281
_______________________________________________
mrtg mailing list
mrtg at lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
More information about the mrtg
mailing list