[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Cheshire Cat Computing :: View topic - Efficiency of MRTG data collection using a master .cfg file
Cheshire Cat Computing
http://www.steveshipway.org/forum/

Efficiency of MRTG data collection using a master .cfg file
http://www.steveshipway.org/forum/viewtopic.php?f=15&t=194
Page 1 of 1

Author:  stevesh [ Mon Apr 05, 2004 11:23 am ]
Post subject:  Efficiency of MRTG data collection using a master .cfg file


Author:  PAJ [ Sat Apr 17, 2004 1:41 am ]
Post subject:  Re: Efficiency of MRTG data collection using a master .cfg f


Author:  be_hhp [ Fri May 28, 2004 4:40 am ]
Post subject:  Re: Efficiency of MRTG data collection using a master .cfg


Author:  buckman [ Tue Jun 22, 2004 9:17 am ]
Post subject: 


Author:  be_hhp [ Wed Jul 14, 2004 6:30 am ]
Post subject:  Re: Efficiency of MRTG data collection using a master .cfg

I found a solution to my problem now (Linux):
Let's say there are rrds in the directories /www/usa/ny and /www/gb/lnd.
I changed the WorkDir: to /www in the cfg-files. Then I added a Directory[<target>]: usa/ny for every target in the /cfg/usa/ny.cfg and Directory[<target>]: gb/lnd in the /cfg/gb/lnd.cfg.

I tried to use Directory[_]: and it worked fine with mrtg, but routers.cfg didn't find the rrds anymore.

Ok. Then I tried to use rrdextend.pl. And it didn't work. So I added the Directory[_]: again and added these lines after line 51 in rrdextended.pl:

/^\s*Directory\[_\]\s*:\s*(\S+)/i && do {
$rrdpath .= $1; $rrdpath =~ s/[\\\/\s]+$//; $rrdpath .= $pathsep;
next;
};

BTW: fork works well under Linux.

Regards
Bernhard

Author:  stevesh [ Wed Jul 14, 2004 10:31 am ]
Post subject: 

Yes, rrdextend.pl doesnt support Directory[], and also routers2.cgi doesnt support Directory[_]. Unfortunately this is all down to the way it parses the .cfg files... The whole script really needs a rewrite of the parsing routines in order to make the line sequence and defaults work as with MRTG. Hopefully at least I can get Directory[_] to work in v2.15.

Author:  disorganizer [ Thu Jul 22, 2004 8:12 pm ]
Post subject: 

to the fork thin in w2k:
w2k does not support forking, but you can work around that by having multiple mrtg services running.

this will spread the load much better than a single mrtg process does and also you can get a better processor usage on multiprocessor machines.

in my example i use 6 master-configs with 6 processes.
with firedaemon i assigned 2 processes to each processor of my 4 processor machine, leaving one processor free of mrtg for emergency.
this really sped up data collection by mrtg in comparison to just having one cfg.

Author:  jerumball [ Tue Dec 14, 2004 5:42 am ]
Post subject: 


Author:  stevesh [ Tue Dec 14, 2004 9:11 am ]
Post subject: 


Author:  jerumball [ Tue Dec 14, 2004 9:21 am ]
Post subject: 


Page 1 of 1 All times are UTC + 12 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/