Results 26 to 50 of 51
-
03-09-2004, 09:32 PM #26Junior Guru Wannabe
- Join Date
- Nov 2001
- Posts
- 88
cd /etc/mrtg
pico check-mail
Find this line "/var/spool/exim/input/*-H" without the quotes, it should be a few lines from the top and replace with:
"/var/spool/exim_incoming/input/*-H" without the quotes.
that should fix that one.
then just
/etc/rc.d/init.d/mrtg restart
To restart mrtg
What i did to keep the load down was just disable the email checks, my load now is 0.01 on that server
<edit>signature removed</edit>Last edited by choon; 03-10-2004 at 07:47 AM.
-
03-10-2004, 06:29 AM #27New Member
- Join Date
- Mar 2004
- Posts
- 4
I have had 1000 emails sent to me saying:
Daemonizing MRTG ...
ERROR: I Quit! Another copy of mrtg seems to be running. Check /etc/mrtg/mrtg.pid
How do I sotp this cron or someting?
-
03-24-2004, 05:10 PM #28Been around for too long...
- Join Date
- Aug 2002
- Location
- DC
- Posts
- 3,643
Originally posted by UniSol
I have had 1000 emails sent to me saying:
Daemonizing MRTG ...
ERROR: I Quit! Another copy of mrtg seems to be running. Check /etc/mrtg/mrtg.pid
How do I sotp this cron or someting?
crontab -e
Remove the MRTG line, save the cron file.
- Matt
<edit>signature removed</edit>Last edited by choon; 03-29-2004 at 07:39 PM.
-
03-24-2004, 07:07 PM #29Junior Guru Wannabe
- Join Date
- Mar 2004
- Location
- Poland, Lublin
- Posts
- 75
very nice
thank you, its worked!Last edited by evilek; 03-24-2004 at 07:12 PM.
-
04-03-2004, 12:15 AM #30Web Hosting Master
- Join Date
- Jul 2002
- Posts
- 713
I keep getting errors on RHE. Any special guidelines for that?
-
04-03-2004, 02:35 PM #31Newbie
- Join Date
- Jan 2004
- Posts
- 11
I followed wolfstream's stuff, and got these messages:
oot@root [/]# service mrtg restart
Shutting down MRTG: [ OK ]
Starting MRTG: Daemonizing MRTG ...
root@root [/]# WARNING: Running '/etc/mrtg/system network eth0': No such file or directory
WARNING: Could not get any data from external command '/etc/mrtg/system network eth0'
Maybe the external command did not even start. (No such file or directory)
WARNING: Running '/etc/mrtg/system tcp': No such file or directory
WARNING: Could not get any data from external command '/etc/mrtg/system tcp'
Maybe the external command did not even start. (No such file or directory)
WARNING: Running '/etc/mrtg/system load': No such file or directory
WARNING: Could not get any data from external command '/etc/mrtg/system load'
Maybe the external command did not even start. (No such file or directory)
WARNING: Running '/etc/mrtg/system swap': No such file or directory
WARNING: Could not get any data from external command '/etc/mrtg/system swap'
Maybe the external command did not even start. (No such file or directory)
WARNING: Running '/etc/mrtg/system processes': No such file or directory
WARNING: Could not get any data from external command '/etc/mrtg/system processes'
Maybe the external command did not even start. (No such file or directory)
WARNING: Running '/etc/mrtg/system uptime': No such file or directory
WARNING: Could not get any data from external command '/etc/mrtg/system uptime'
Maybe the external command did not even start. (No such file or directory)
WARNING: Running '/etc/mrtg/system bytes2': No such file or directory
WARNING: Could not get any data from external command '/etc/mrtg/system bytes2'
Maybe the external command did not even start. (No such file or directory)
WARNING: Running '/etc/mrtg/system webhits': No such file or directory
WARNING: Could not get any data from external command '/etc/mrtg/system webhits'
Maybe the external command did not even start. (No such file or directory)
WARNING: Running '/etc/mrtg/system mailstats': No such file or directory
WARNING: Could not get any data from external command '/etc/mrtg/system mailstats'
Maybe the external command did not even start. (No such file or directory)
WARNING: Running '/etc/mrtg/system mailspam': No such file or directory
WARNING: Could not get any data from external command '/etc/mrtg/system mailspam'
Maybe the external command did not even start. (No such file or directory)
WARNING: Running '/etc/mrtg/system mail1': No such file or directory
WARNING: Could not get any data from external command '/etc/mrtg/system mail1'
Maybe the external command did not even start. (No such file or directory)
WARNING: Running '/etc/mrtg/system mailblocked': No such file or directory
WARNING: Could not get any data from external command '/etc/mrtg/system mailblocked'
Maybe the external command did not even start. (No such file or directory)
/etc/mrtg/drivestats.sh: line 1: mmcalc: command not found
/etc/mrtg/drivestats.sh: line 1: mmcalc: command not found
WARNING: Problem with External get '/etc/mrtg/drivestats.sh hda1':
Expected a Number for 'in' but got ''
WARNING: Problem with Externale get '/etc/mrtg/drivestats.sh hda1':
Expected a Number for 'out' but got ''
/etc/mrtg/drivestats.sh: line 1: mmcalc: command not found
/etc/mrtg/drivestats.sh: line 1: mmcalc: command not found
WARNING: Problem with External get '/etc/mrtg/drivestats.sh hda2':
Expected a Number for 'in' but got ''
WARNING: Problem with Externale get '/etc/mrtg/drivestats.sh hda2':
Expected a Number for 'out' but got ''
/etc/mrtg/drivestats.sh: line 1: mmcalc: command not found
/etc/mrtg/drivestats.sh: line 1: mmcalc: command not found
WARNING: Problem with External get '/etc/mrtg/drivestats.sh hda3':
Expected a Number for 'in' but got ''
WARNING: Problem with Externale get '/etc/mrtg/drivestats.sh hda3':
Expected a Number for 'out' but got ''
/etc/mrtg/drivestats.sh: line 1: mmcalc: command not found
/etc/mrtg/drivestats.sh: line 1: mmcalc: command not found
WARNING: Problem with External get '/etc/mrtg/drivestats.sh hda5':
Expected a Number for 'in' but got ''
WARNING: Problem with Externale get '/etc/mrtg/drivestats.sh hda5':
Expected a Number for 'out' but got ''
/etc/mrtg/drivestats.sh: line 1: mmcalc: command not found
/etc/mrtg/drivestats.sh: line 1: mmcalc: command not found
WARNING: Problem with External get '/etc/mrtg/drivestats.sh hda7':
Expected a Number for 'in' but got ''
WARNING: Problem with Externale get '/etc/mrtg/drivestats.sh hda7':
Expected a Number for 'out' but got ''
/etc/mrtg/drivestats.sh: line 1: mmcalc: command not found
/etc/mrtg/drivestats.sh: line 1: mmcalc: command not found
WARNING: Problem with External get '/etc/mrtg/drivestats.sh hda8':
Expected a Number for 'in' but got ''
WARNING: Problem with Externale get '/etc/mrtg/drivestats.sh hda8':
Expected a Number for 'out' but got ''
Thanks,
Stefan
-
05-04-2004, 03:44 PM #32Junior Guru Wannabe
- Join Date
- Feb 2004
- Location
- Delray Beach, FL
- Posts
- 77
Hi folks,
That file is not available anymore mrtg-2.9.17-1cpanel.i386.rpm, can someone share please?
-
05-05-2004, 02:17 PM #33WHT Addict
- Join Date
- Aug 2003
- Posts
- 132
Download isnt available anymore. I need it too.
-
05-05-2004, 02:23 PM #34Retired Moderator
- Join Date
- Jul 2001
- Location
- Singapore
- Posts
- 1,889
Take a look at this URL
http://download.cheetaweb.com/redhat/7.3/mrtg/
Actual file is:
http://download.cheetaweb.com/redhat...panel.i386.rpm
-
05-05-2004, 02:28 PM #35WHT Addict
- Join Date
- Aug 2003
- Posts
- 132
^^Thanks, im getting this though.
Shutting down MRTG: [ OK ]
Starting MRTG: Daemonizing MRTG ...
root@test [~]# /usr/bin/rateup: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory
WARNING: rateup died from Signal 0
with Exit Value 127 when doing router 'index'
Signal was 0, Returncode was 127
/usr/bin/rateup: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory
WARNING: rateup died from Signal 0
with Exit Value 127 when doing router 'tcp'
Signal was 0, Returncode was 127
/usr/bin/rateup: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory
WARNING: rateup died from Signal 0
with Exit Value 127 when doing router 'load'
Signal was 0, Returncode was 127
/usr/bin/rateup: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory
WARNING: rateup died from Signal 0
with Exit Value 127 when doing router 'swap'
Signal was 0, Returncode was 127
/usr/bin/rateup: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory
WARNING: rateup died from Signal 0
with Exit Value 127 when doing router 'processes'
Signal was 0, Returncode was 127
/usr/bin/rateup: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory
WARNING: rateup died from Signal 0
with Exit Value 127 when doing router 'uptime'
Signal was 0, Returncode was 127
/usr/bin/rateup: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory
WARNING: rateup died from Signal 0
with Exit Value 127 when doing router 'cpu'
Signal was 0, Returncode was 127
/usr/bin/rateup: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory
WARNING: rateup died from Signal 0
with Exit Value 127 when doing router 'localhost.mem'
Signal was 0, Returncode was 127
/usr/bin/rateup: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory
WARNING: rateup died from Signal 0
with Exit Value 127 when doing router 'mail-host-email-totals'
Signal was 0, Returncode was 127
/usr/bin/rateup: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory
WARNING: rateup died from Signal 0
with Exit Value 127 when doing router 'mail-host-email-queue'
Signal was 0, Returncode was 127
/usr/bin/rateup: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory
WARNING: rateup died from Signal 0
with Exit Value 127 when doing router 'mail-host-email-count'
Signal was 0, Returncode was 127
-
05-05-2004, 02:53 PM #36WHT Addict
- Join Date
- Aug 2003
- Posts
- 132
How can i view total Gigs transfered like over the last 30 days
-
05-05-2004, 03:15 PM #37Junior Guru Wannabe
- Join Date
- Feb 2004
- Location
- Delray Beach, FL
- Posts
- 77
Originally posted by choon
Take a look at this URL
http://download.cheetaweb.com/redhat/7.3/mrtg/
Actual file is:
http://download.cheetaweb.com/redhat...panel.i386.rpm
Thanks a lot, didn't go in that directory, just looked in the root one.
-
05-17-2004, 05:22 PM #38Disabled
- Join Date
- Apr 2004
- Posts
- 39
Anyone got the link to a cPanel Fedora Core 1 rpm please?
Thanks.
<<< Signature removed >>>Last edited by choon; 05-17-2004 at 06:20 PM.
-
05-17-2004, 06:20 PM #39Retired Moderator
- Join Date
- Jul 2001
- Location
- Singapore
- Posts
- 1,889
That RPM can be used for Fedora Core 1
-
05-20-2004, 05:14 PM #40Disabled
- Join Date
- Apr 2004
- Posts
- 39
thanks
<<< Signature removed >>>Last edited by choon; 05-20-2004 at 05:34 PM.
-
08-22-2004, 09:18 PM #41Web Hosting Guru
- Join Date
- Oct 2002
- Posts
- 292
Alternate download:
http://1gighost.com/downloads/mrtg-2.9.17-1cpanel.i386.rpm
-
08-23-2004, 10:12 AM #42Been around for too long...
- Join Date
- Aug 2002
- Location
- DC
- Posts
- 3,643
I've done some revisions to my last post about Fedora & CPanel, here's the actual way to make it work:
------------------------------
Here's yet another revision to my MRTG tutorials. Using Fedora on one server, CPanel kept overwriting MRTG with a newer version that didn't have all of the features built into the RPM. After talking with Dan from BurstNet, he gave me a few suggestions which worked out. Here's an all in one tutorial:
Remove previous versions of MRTG:
Code:rpm -e mrtg
Code:pico /etc/sysconfig/i18n
Code:reboot
Code:rpm -e mrtg cd /usr/lib ln -s libpng.so.3 libpng.so.2 rpm http://download.cheetaweb.com/redhat/7.3/mrtg/mrtg-2.9.17-1cpanel.i386.rpm -Uvh service mrtg restart service mrtg restart service mrtg restart service mrtg restart service mrtg restart chkconfig --add mrtg
If you'd like to replace the email graphs with graphs that have oldest on the left & newest on the right, just like the other graphs, replace the /etc/mrtg.cfg file with the contents of the attached text file (see first page). Otherwise, the email graphs will be graphed in the reverse direction of the other graphs.
Once you've made any revisions to mrtg.cfg, do the following:
Code:chattr +i /usr/bin/mrtg chattr +i /etc/mrtg/mrtg.cfg
To stop those pesky cron errors that MRTG will start giving you, do the following:
Code:rm -f /etc/cron.d/mrtg*
Code:pico /etc/yum.conf
Code:exclude=mrtg
Code:chattr -i /usr/bin/mrtg chattr -i /etc/mrtg/mrtg.cfg rpm -e mrtg
- Matt
-
08-26-2004, 12:42 PM #43Junior Guru Wannabe
- Join Date
- Feb 2004
- Posts
- 49
passwrod protection
First I want to thank you for putting together a nice addon! I just wanted to add a tiny part in case anyone is interested in knowing how to password protect the mrtg pages.
edit /usr/local/apache/conf/httpd.conf and add AuthConfig to the global AllowOverride directive so it looks like this.
AllowOverride None AuthConfig
restart apache
Then in /usr/local/apache/htdocs/mrtg/ create your .htaccess file for password protection.
Also, add
Alias /mrtg/ /usr/local/apache/htdocs/mrtg/
to the VirtualHost you want to view besides using http://server-ip/mrtg/ which you can disable by removing the global Alias /mrtg/ /usr/local/apache/htdocs/mrtg/ and restarting apache
-
03-14-2005, 02:59 AM #44WHT Addict
- Join Date
- Jan 2004
- Location
- Sydney
- Posts
- 148
Will the tutorial on this page (2nd to last post) work on a CentOS CPanel server?
-
04-18-2005, 06:24 PM #45New Member
- Join Date
- Apr 2005
- Posts
- 2
i keep getting an error complaining that /etc/mrtg/system doesn't exist , if anyone can give me the contents of this scipt i would HIGHLY appreciate it
-
04-20-2005, 10:40 AM #46Web Hosting Guru
- Join Date
- May 2003
- Location
- Massachusetts, USA
- Posts
- 298
Look up earlier in the thread. The system script is given there.
Mark Oberg
Techweenies.com
(No longer affiliated with Uneedawebsite.com)
-
04-20-2005, 10:50 AM #47New Member
- Join Date
- Apr 2005
- Posts
- 2
Originally posted by uneedawebsit
Look up earlier in the thread. The system script is given there.
-
06-08-2005, 12:19 PM #48Junior Guru Wannabe
- Join Date
- Mar 2004
- Location
- Poland, Lublin
- Posts
- 75
-
06-16-2005, 06:56 AM #49WHT Addict
- Join Date
- May 2005
- Posts
- 104
Originally posted by ddominey86
ummm...no its not, there might be additions for it, but the full script is not thereNMSERVERS - managed hosting, administration, performance analysis and system security services
-
06-16-2005, 09:14 PM #50Junior Guru Wannabe
- Join Date
- Jun 2005
- Posts
- 51
Can anybody explain installing mrtg again for latest tar.gz version? I tried lost of time but I couldn't do.