<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I've been playing around with the idea of having MRTG use a RAM Disk.<br><br>Specifically on Nagios XI and CentOS.<br><br>I've been successfully able to define the current settings and it does work well. <br><br>LogDir: /var/nagiosramdisk/mrtg<br>ThreshDir: /var/nagiosramdisk/mrtg<br>WorkDir: /var/nagiosramdisk/mrtg<br><br>Using the RAM Disk improves performance, especially once you get into 4000+ ports being queried.<br><br>The only problem I have is when I reboot the server the port files don't exist until the MRTG has run the first time. For example these files:<br><br>ub04_93.rrd<br>ub04_94.rrd<br>ub04_95.rrd<br>ub04_96.rrd<br>ub04_97.rrd<br>ub04_98.rrd<br><br>This causes a problem with the check_rrdtraf program that looks for these files. The problem is overcome once MRTG runs the first time.<br><br>I'm wondering if MRTG has an option which will generate all these files without actually doing an SNMP query to all the devices. <br><br>Does anyone have any thoughts or suggestions on this topic?<br><br>Cheers<br><br>Troy<br> </div></body>
</html>