[mrtg] Simple "Include" question

Kriegel, Kerry L. Kerry.Kriegel at goRacine.org
Wed Jul 12 16:22:52 MEST 2006


I am trying to use the "Include: filename" in my configuration file.

 

Include: RRDtoolINI.inc      --> is a simple text file in the same
folder as my .cfg file.

 

My RRDtoolINI.inc contains only 3 lines.....

 

LogFormat: rrdtool

PathAdd: D:\mrtg\rrd

LibAdd: C:\Perl\site\lib

 

When I run MRTG using the config file, I receive the following error....

 

Use of uninitialized value in concatenation (.) or string at
D:/MRTG/Bin\..\lib\mrtg2/MRTG_lib.pm line 405, <CFG> line 4.

ERROR: unable to open include file: RRDtoolINI.inc

 

If I paste those 3 lines into the config file instead of using Include,
everything is fine.  I know I should just paste in the 3 lines and move
on, but I am perplexed as to why the Include doesn't work.

 

 

 

Kerry L. Kriegel

Racine County WAN Specialist

730 Wisconsin Avenue

Racine, Wisconsin  53403

 

262.636.3653  Phone

262.636.3805  FAX

 


--------------------------------------------------------------------------------------------------------------------
This email and any attachments are confidential and intended solely for the use of the individual or entity to whom they are addressed.

If you received this message in error, you may not review, use, copy or disclose the message or any attachments.  If you have received this message in error, please advise the sender by a reply email and delete the message.

Thank you.

The County of Racine does not endorse any opinions, conclusions or other information contained within this email and any attachments that does not pertain to official business.
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list