| Cheshire Cat Computing http://mail.steveshipway.org/forum/ |
|
| Graph will not grow...period! http://mail.steveshipway.org/forum/viewtopic.php?f=11&t=568 |
Page 1 of 1 |
| Author: | griggsy [ Thu Apr 07, 2005 4:00 pm ] |
| Post subject: | Graph will not grow...period! |
Hello everyone- I really have enjoyed the trials and tribulations of setting up MRTG. Currently, I am able to view graphs by entering in http://localhost:9191. However, the graphs don't grow. I am not sure if data is actually being collected or not. I wanted to check out the localhost.cfg file- just as a test. I did a "perl mrtg localhost.cfg", and I get the following error... C:\mrtg\mrtg\bin>perl mrtg localhost.cfg Can't locate loadable object for module RRDs in @INC (@INC contains: c:\mrtg\rrd tool\update\src\perl-shared\ C:/mrtg/mrtg/bin\..\lib\mrtg2 C:/mrtg/mrtg/bin C:/P erl/lib C:/Perl/site/lib .) at mrtg line 225 Compilation failed in require at mrtg line 225. Not sure what this means...Steve? Do you think this is why the graph isnt growing?[/b] |
|
| Author: | stevesh [ Thu Apr 07, 2005 6:11 pm ] |
| Post subject: | |
This is an error message from MRTG. It is telling you that it cannot find the RRDTool perl libraries (RRDs.pm) and as a result is unable to do anything. You need to do one of these (roughly in order of effectiveness) 1) Install the RRDs modules into your site_perl path. Instructions for this should be in the RRD install. 2) Add the 'LibAdd:' directive to all your MRTG .cfg files to specify where MRTG can find the RRDs.pm file (give the directory). 3) Copy the RRDs.pm, plus the corresponding files in the auto directory, into your site_perl path. Be very careful if you do this, you could break your Perl if you grab the wrong stuff. |
|
| Author: | griggsy [ Fri Apr 08, 2005 5:26 pm ] |
| Post subject: | |
Thanks for the reply Steve. I went back and tried the install from scratch actually. I got carried away while trying to correct that problem. I do have a question for you though. I think I have seen you give a disclaimer before that you are not an MRTG guru, but maybe you can help me with one thing. I followed the instructions on installing Open Innovations' MRTG bundle on a Window's server as directed on bmonday.com. But I am confused. Why when the localhost.cfg file is created does it not include the logging method and other common things that are found at the top of an mrtg.cfg file. I have cut this down significantly, but this is all I have in localhost.cfg... Target[CPU1]: .1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.1.48&.1.3.6.1.4.1.311.1.1.3.1.1.2.1.3.1.48:public @localhost RouterUptime[CPU1]: public@localhost MaxBytes[CPU1]: 100 Title[cpu1]: CPU1 PageTop[CPU1]: <H1>localhost CPU Utilization</H1> ShortLegend[CPU1]: % YLegend[CPU1]: CPU Utilization Legend1[CPU1]: CPU Utilization in % (Load) Legend2[CPU1]: LegendI[CPU1]: Load: LegendO[CPU1]: Options[CPU1]: gauge, integer, nopercent, NOI YLegend[storageUsed-C]: % Disk Used WithPeak[storageUsed-C]: ymw XSize[storageUsed-C]: 300 Options[storageUsed-C]: growright,gauge Target[storageUsed-C]: .1.3.6.1.2.1.25.2.3.1.6.2&.1.3.6.1.2.1.25.2.3.1.6.2:public@localhost / .1.3.6.1.2.1.25.2.3.1.5.2&.1.3.6.1.2.1.25.2.3.1.5.2:public@localhost * 100 MaxBytes[storageUsed-C]: 523444000 Title[storageUsed-C]: Disk Used ShortLegend[storageUsed-C]: % Legend1[storageUsed-C]: C: in next minute Legend2[storageUsed-C]: C: in next minute Legend3[storageUsed-C]: Maximal 5 Minute C: Legend4[storageUsed-C]: Maximal 5 Minute C: LegendI[storageUsed-C]: C: LegendO[storageUsed-C]: C: PageTop[storageUsed-C]: <H1>Local Host C Drive</H1> ########################################### Also...since I am using this type of MRTG bundle, will I not have to create a main mrtg.cfg file? Will I just use a .cfg file for each device? Sorry if I have gone out of your scope...I am just frustrated. Thanks again Steve! |
|
| Page 1 of 1 | All times are UTC + 12 hours [ DST ] |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|