Hello List,

using mrtg 2.17.4 I am encountering a problem with the optional target directory setting.
I have in the mrtg.cfg file,

### Global Config Options

#  for Debian
# WorkDir: /var/www/saturn
WorkDir: /home/www/vhosts/stats

further down in my target

Target[saturn]:
SetEnv[saturn]:
MaxBytes[saturn]: 12500000
Title[saturn]: Traffic Analysis for  -- SATURN
PageTop[saturn]: <h1>Traffic Analysis for saturn.domain.com</h1>
Directory[saturn]: saturn
        <div id="sysdetails">
            <table>
and so forth

Starting mrtg, it will create for each target a directory saturn<div id and some more subdirectories called by the table tags. Pretty strange.

According to the manual, I can set the "optional Target Keyword"  "Directory"  with it's directory. This directory should be placed as a subdirectory directly under the "Global Option"  "WorkDir"

What is wrong with my entries like
Directory[saturn]: saturn
Directory[saturn-1]: saturn
Directory[saturn-2]: saturn
in each configured target ?

If someone could crealify that for me, I really would appreciate.
Thank you.

Johannes

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to