![]() |
|
#201
|
|||
|
|||
|
so, finally got this to install on Debian 4.0r3.
But I'm not sure if it is working. First I got this error Code:
Executing MRTG for the first time (you may see some warnings)...
-----------------------------------------------------------------------
ERROR: Mrtg will most likely not work properly when the environment
variable LANG is set to UTF-8. Please run mrtg in an environment
where this is not the case. Try the following command to start:
env LANG=C /usr/local/mrtg-2/bin/mrtg /var/www/html/mrtg/core/mrtg.cfg
-----------------------------------------------------------------------
If you see warnings above, it is generally safe to ignore.
Cleaning up installation...
Installation of MRTG complete!
and to test run: env LANG=C /usr/local/mrtg-2/bin/mrtg /var/www/html/mrtg/core/mrtg.cfg which yields Code:
2008-06-21 19:12:29, Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't remove index.old updating log file 2008-06-21 19:12:29, Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't remove tcp.old updating log file 2008-06-21 19:12:29, Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't remove load.old updating log file 2008-06-21 19:12:29, Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't remove swap.old updating log file 2008-06-21 19:12:29, Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't remove processes.old updating log file 2008-06-21 19:12:29, Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't remove uptime.old updating log file 2008-06-21 19:12:29, Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't remove cpu.old updating log file 2008-06-21 19:12:29, Rateup WARNING: /usr/local/mrtg-2/bin/rateup Can't remove memory.old updating log file Last edited by codeman05; 06-21-2008 at 04:34 PM. |
|
#202
|
|||
|
|||
|
i have same problem on my web server
i can't install mrtg with install.mrtg.sh script my problem is same with conkgai mrtg is not making but i have installed gd or other requirements.what is this problem ? i think maybe we can install gd with --disable-shared but where i am going to write in my files for gd ?
|
|
#203
|
|||
|
|||
|
hey guys. I've been running MRTG for a while now.
The only problem I have is the CPU Utilization graphs do not work at all. They did work in the past, however a few weeks back I did a reinstall of the O/S and MRTG...since it has not worked. Any suggestions? Thank you in advance |
|
#204
|
|||
|
|||
|
server1# cfgmaker westhost@127.0.0.1 > /usr/local/etc/mrtg/mrtg.cfg
Can't locate SNMP_util.pm in @INC (@INC contains: /usr/local/bin/../lib/mrtg2 /usr/local/bin /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/bin/cfgmaker line 105. server1# cat /usr/local/etc/mrtg/mrtg.cfg anyone knows an solution? i'm running freebsd 6.3 cpan> install Net::SNMP Net::SNMP is up to date. so that can't be the problem? Last edited by knoll; 08-20-2008 at 09:56 PM. |
|
#205
|
||||
|
||||
|
Thats probably not the right module then.
find / -name SNMP_util.pm |
|
#206
|
|||
|
|||
|
nothing found hmm
|
|
#207
|
||||
|
||||
|
Try: perl -MCPAN -e 'install SNMP::Util'
|
|
#208
|
|||
|
|||
|
#209
|
||||
|
||||
|
Code:
cd /root fetch "http://search.cpan.org/CPAN/authors/id/W/WM/WMARQ/SNMP-Util-1.8.tar.gz" tar xvfz SNMP-Util-1.8.tar.gz cd SNMP-Util-* perl Makefile.PL make make install Code:
cd /usr/ports/net-mgmt/p5-SNMP-Util make install clean |
|
#210
|
|||
|
|||
|
server1# perl Makefile.PL
Checking for SNMP, V1.8 ok Enter the IP address of the Device: 127.0.0.1 Enter the SNMP community string: westhost Writing Makefile for SNMP::Util server1# make install Installing /usr/local/lib/perl5/site_perl/5.8.8/SNMP/Util.pm Installing /usr/local/lib/perl5/site_perl/5.8.8/SNMP/Util_env.pm Installing /usr/local/lib/perl5/5.8.8/man/man3/SNMP::Util.3 Writing /usr/local/lib/perl5/site_perl/5.8.8/mach/auto/SNMP/Util/.packlist FreeBSD: Registering installation in the package database Appending installation info to /usr/local/lib/perl5/5.8.8/mach/perllocal.pod server1# /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg Can't locate SNMP_util.pm in @INC (@INC contains: /usr/local/bin/../lib/mrtg2 /usr/local/bin /usr/local/lib/perl5/5.8.8/BSDPAN /usr/local/lib/perl5/site_perl/5.8.8/mach /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at /usr/local/bin/mrtg line 292. still the same error |
|
#211
|
||||
|
||||
|
Might have to do:
ln -s /usr/local/lib/perl5/site_perl/5.8.8/SNMP/Util.pm /usr/local/lib/perl5/site_perl/5.8.8/SNMP/SNMP_util.pm |
|
#212
|
|||
|
|||
|
i tryed
make -C /usr/ports/net-mgmt/p5-SNMP_Session install clean and that solvs the error does anyone has the system file that works on freebsd with spam stats? Greets, |
|
#213
|
|||
|
|||
|
prob with mrtg.cfg html
Hi for me this worket like a clock
and i have also made my own scripts but i cant get the mrtg.cfg with # HTML formatting stuff to work i got /usr/local/mrtg-2/bin/mrtg /var/www/html/mrtg/core/mrtg.cfg i got ERROR: Line 18 (<table cellspacing="0") in CFG file (/var/www/html/mrtg/core/mrtg.cfg) does not make sense do you have som fast answear what i can have done wrong? iam trying this one ############################################################################### # # HTML formatting stuff # ############################################################################### PageTop[^]: <table cellspacing="0" cellpadding="10" border="0" width="100%" align="center"><tr><td width="185" valign="top" class="small"><table cellspacing="0" cellpadding="5" border="0" width="100%"><tr><td class="tableh">Network</td></tr><tr><td class="tablesh"><a href="index.html">- Traffic</a><br><a href="tcp.html">- Open Connections</a></td></tr><tr><td> </td></tr><tr><td class="tableh">System Stats</td></tr><tr><td class="tablesh"><a href="load.html">- Load Averages</a><br><a href="swap.html">- Swap Memory</a><br><a href="processes.html">- Processes</a><br><a href="uptime.html">- Uptime and Idle Time</a><br><a href="cpu.html">- CPU</a><br><a href="memory.html">- Memory Usage</a><br><a href="pop3.html">- Email POP3 Logins</a><br><a href="imap.html">- Email IMAP Logins</a><br><a href="mail.html">- Email Delivered</a><br><a href="queue.html">- Email Queued</a><br><a href="spam.html">- Email Spam Blocked</a><br><a href="sa.html">- SpamAssassin Scans</a></td></tr><tr><td> </td></tr></table></td><td> PageFoot[^]: </td></tr></table> AddHead[^]: <meta http-equiv='Expires' content='-1'><style><!-- body { text-align: center; background-color: #CCCCCC; font-size: 10pt; font-family: arial, verdana; } th, td { font-size: 10pt; font-family: arial, verdana; } h3 { font-size: 12pt; font-family: arial, verdana; font-weight: bold; } .small { font-size: 8pt; font-family: arial, verdana; } .tableh { font-size: 10pt; font-family: arial, verdana; color: white; background-color: black; font-weight: bold; } .tablesh { font-size: 10pt; font-family: arial, verdana; color: black; background-color: #999999; font-weight: normal; } a:visited, a:active, a:link { text-decoration: none; font-weight: normal; font-family: arial, verdana; color: black; } a:hover { font-weight: normal; font-family: arial, verdana; background-color: #999999; color: white; } --></style> ############################################################################### tnx for the help
|
|
#214
|
|||
|
|||
|
dns stats
Anyone have this setup to pull dns stats as well, I'd be interested in how to do this on centos.
|
|
#215
|
||||
|
||||
|
What sort of dns stats do you want? You can use mrtg to graph just about anything you can imagine just need a script to create the numbers to feed to mrtg.
|
|
#216
|
|||
|
|||
|
I'm working .. all data seems to be coming through ..
although the pop3/imap/spam email logs just seem to be increasing .. I thought it would be a 5 minute average of what just went on .. it just seems to be an increasing total .. |
|
#217
|
||||
|
||||
|
EMPTY
help me. Index of /mrtg [ICO] Name Last modified Size Description [DIR] Parent Directory - Apache/2 Server at IP Port 80 |
|
#218
|
||||
|
||||
|
#219
|
|||
|
|||
|
Quote:
It does it for you. If you already started the process, meaning if you tried to install it and it didn't work for you, you MUST erase the mrtg/ directory and it's content and then let the update.script run again. This should work fine for you. -Alon. |
|
#220
|
||||
|
||||
|
-bash-3.2# cd /usr/local/updatescript
-bash-3.2# ./update.script MRTG Loading "fastestmirror" plugin Loading mirror speeds from cached hostfile * base: centosf.centos.org * updates: centosq.centos.org * addons: centosf.centos.org * extras: centosf.centos.org base 100% |=========================| 1.1 kB 00:00 updates 100% |=========================| 951 B 00:00 addons 100% |=========================| 951 B 00:00 extras 100% |=========================| 1.1 kB 00:00 Excluding Packages in global exclude list Finished Setting up Install Process Parsing package install arguments Package gd-devel - 2.0.33-9.4.el5_1.1.i386 is already installed. Nothing to do Checking for previous MRTG installation... There appears to be files in /var/www/html/mrtg already! Exiting... |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Howto: Install Horde 3.0.4/IMP on FreeBSD | Wouter | How-To Guides | 77 | 05-30-2007 01:24 PM |
| HOWTO: Install MRTG (FULLY AUTOMATED) 2.12.2 | @how@ | How-To Guides | 73 | 05-12-2007 12:10 AM |
| [RELEASE] Ruby on Rails Direct Admin Plugin | vandal | 3rd Party Software | 84 | 04-13-2007 03:44 AM |
| SNMP is not supported by your PHP installation. | deltaned | General Technical Discussion & Troubleshooting | 6 | 04-03-2005 10:50 AM |
| HOWTO: Very easy RPM based MRTG installation | ProWebUK | How-To Guides | 60 | 03-12-2005 08:55 AM |