If you are using Routers2.cgi (which is implied by your use of 
Routers.cgi*Ignore:yes in the file), then that means you are using RRDTool mode 
- and if so, then the PNG/HTML files will never be updated as they are only 
created on demand by the CGI frontend.

Alternatively, if you are using native mode, then the HTML/PNG will be created, 
but not necessarily where you are expecting.  I suggest you put a WorkDir: 
directive in the master.cfg at the beginning and look for the files in there.  
If your separate component cfg files contain WorkDir directives then they 
should all be the same (use Directory[] if you want to relocate them under 
this) and you may find that the other cfg files are being processed but their 
HTML and PNG are ending up in a different directory

Steve

________________________________
From: [email protected] [mailto:[email protected]] On 
Behalf Of Sankung Sawo
Sent: Wednesday, 30 December 2009 11:48 a.m.
To: [email protected]
Subject: [mrtg] Master.cfg file issue

Dear All,

I am running mrtg v2.16.2 on Ubuntu 9.04 server. I have installed the system 
and configured several devices with individual .cfg files and everything is 
working fine except some system/CPU loading is high.

For this I noted from the archives that creating a master.cfg file can improve 
system performance. I created the file as follows:
====
Forks: 30
RunAsDaemon: no
Router.cgi*Ignore: yes
#
Include: /etc/mrtg/sw203.cfg
Include: /etc/mrtg/sw204.cfg
 ..... etc,
========

However, I noticed that only the image/html files for the last device is 
updated - the rest are not. Strangely when I move any file to the bottom of the 
list in the master.cfg file the graphs are ONLY that device is updated.

Please can someone assist.
Thanks

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

Reply via email to