Mrtg Error
Aug 1, 2007
I've been having some trouble with mrtg and can't quite figure out what's going on:
[root@spike ~]# service mrtg restart
Shutting down MRTG: [FAILED]
Starting MRTG: Daemonizing MRTG ...
[root@spike ~]# WARNING: Problem with External get '/etc/mrtg/system network eth1':
Expected a Number for 'in' but got ''
WARNING: Problem with Externale get '/etc/mrtg/system network eth1':
Expected a Number for 'out' but got ''
Rateup WARNING: /usr/bin/rateup could not read the primary log file for index
Rateup ERROR: /usr/bin/rateup found index's log file was corrupt
or not in sorted order:
time: 1143158400.Rateup WARNING: /usr/bin/rateup The backup log file for index was invalid as well
ERROR: Skipping webupdates because rateup did not return anything sensible
WARNING: rateup died from Signal 0
with Exit Value 1 when doing router 'index'
Signal was 0, Returncode was 1
ERROR: Target[index1][_IN_] ' $target->[1]{$mode} ' did not eval into defined data
ERROR: Target[index1][_OUT_] ' $target->[1]{$mode} ' did not eval into defined data
Rateup WARNING: /usr/bin/rateup could not read the primary log file for tcp
Rateup ERROR: /usr/bin/rateup found tcp's log file was corrupt
or not in sorted order:
time: 1183366800.Rateup WARNING: /usr/bin/rateup The backup log file for tcp was invalid as well
ERROR: Skipping webupdates because rateup did not return anything sensible
WARNING: rateup died from Signal 0
with Exit Value 1 when doing router 'tcp'
Signal was 0, Returncode was 1
Rateup WARNING: /usr/bin/rateup could not read the primary log file for processes
Rateup ERROR: /usr/bin/rateup found processes's log file was corrupt
or not in sorted order:
time: 1182693600.Rateup WARNING: /usr/bin/rateup The backup log file for processes was invalid as well
ERROR: Skipping webupdates because rateup did not return anything sensible
WARNING: rateup died from Signal 0
with Exit Value 1 when doing router 'processes'
Signal was 0, Returncode was 1
Rateup WARNING: /usr/bin/rateup could not read the primary log file for mail-host-email-totals
Rateup ERROR: /usr/bin/rateup found mail-host-email-totals's log file was corrupt
or not in sorted order:
time: 1115251200.Rateup WARNING: /usr/bin/rateup The backup log file for mail-host-email-totals was invalid as well
ERROR: Skipping webupdates because rateup did not return anything sensible
WARNING: rateup died from Signal 0
with Exit Value 1 when doing router 'mail-host-email-totals'
Signal was 0, Returncode was 1
Rateup WARNING: /usr/bin/rateup could not read the primary log file for mail-host-email-queue
Rateup ERROR: /usr/bin/rateup found mail-host-email-queue's log file was corrupt
or not in sorted order:
time: 1185176100.Rateup WARNING: /usr/bin/rateup The backup log file for mail-host-email-queue was invalid as well
ERROR: Skipping webupdates because rateup did not return anything sensible
WARNING: rateup died from Signal 0
with Exit Value 1 when doing router 'mail-host-email-queue'
Signal was 0, Returncode was 1
Rateup WARNING: /usr/bin/rateup could not read the primary log file for mail-host-email-count
Rateup ERROR: /usr/bin/rateup found mail-host-email-count's log file was corrupt
or not in sorted order:
time: 1158796800.Rateup WARNING: /usr/bin/rateup The backup log file for mail-host-email-count was invalid as well
ERROR: Skipping webupdates because rateup did not return anything sensible
WARNING: rateup died from Signal 0
with Exit Value 1 when doing router 'mail-host-email-count'
Signal was 0, Returncode was 1
/etc/mrtg/system network eth0
/etc/mrtg/system network eth1
View 0 Replies
ADVERTISEMENT
May 13, 2009
I've installed mrtg on my server and it's working fine, but I keep getting the following cronjob error every few minutes:
/usr/local/mrtg-2/bin/rateup: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib64/libgd.so.2)
I've searched the net for a resolution and found others have had this issue, but no resolution has been offered.
Anyone else have this problem or know the solution?
View 4 Replies
View Related
Jun 12, 2007
Log files is full ?
Quote:
2007-06-12 12:25:02, Rateup ERROR: /usr/local/mrtg-2/bin/rateup found that index's log file time of 1181714411 was greater than now (1181643902)
ERROR: Let's not do the time warp, again. Logfile unchanged.
2007-06-12 12:25:02, Rateup ERROR: /usr/local/mrtg-2/bin/rateup found that tcp's log file time of 1181714412 was greater than now (1181643902)
ERROR: Let's not do the time warp, again. Logfile unchanged.
2007-06-12 12:25:02, Rateup ERROR: /usr/local/mrtg-2/bin/rateup found that load's log file time of 1181714412 was greater than now (1181643902)
ERROR: Let's not do the time warp, again. Logfile unchanged.
2007-06-12 12:25:02, Rateup ERROR: /usr/local/mrtg-2/bin/rateup found that swap's log file time of 1181714412 was greater than now (1181643902)
ERROR: Let's not do the time warp, again. Logfile unchanged.
2007-06-12 12:25:02, Rateup ERROR: /usr/local/mrtg-2/bin/rateup found that processes's log file time of 1181714412 was greater than now (1181643902)
ERROR: Let's not do the time warp, again. Logfile unchanged.
2007-06-12 12:25:02, Rateup ERROR: /usr/local/mrtg-2/bin/rateup found that uptime's log file time of 1181714412 was greater than now (1181643902)
ERROR: Let's not do the time warp, again. Logfile unchanged.
2007-06-12 12:25:02, Rateup ERROR: /usr/local/mrtg-2/bin/rateup found that cpu's log file time of 1181714413 was greater than now (1181643902)
ERROR: Let's not do the time warp, again. Logfile unchanged.
2007-06-12 12:25:02, Rateup ERROR: /usr/local/mrtg-2/bin/rateup found that memory's log file time of 1181714413 was greater than now (1181643902)
ERROR: Let's not do the time warp, again. Logfile unchanged
Where are these logs?
View 0 Replies
View Related
Nov 21, 2007
I have problems with in mrtg. I am getting to every 5 minutes an email from my server as below:
=====================
----- Original Message -----
From: "Cron Daemon" <root@lmp.ssss.com>
To: <root@lmp.ssss.com>
Sent: Tuesday, November 21, 2007 15:00 PM
Subject: Cron <root@lmp> /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file
/var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok
ERROR: I Quit! Another copy of mrtg seems to be running. Check
/etc/mrtg/mrtg.pid
Daemonizing MRTG ...
=====================
View 4 Replies
View Related
Jul 22, 2007
I'm going to be colocating a server and I'm wondering what you guys would recommend for a MRTG / RTG that gives you estimated transfer for the month. I know you can use MRTG and multiply and divide and all that but I'm looking for something that will also include estimated monthly transfer in both mb/s and gigabits per month.
View 14 Replies
View Related
Apr 4, 2008
In the past i've sucessfully installed MRTG on cpanel and plain redhat boxes, but now i have a new plesk server and I don't know how to proceed to install MRTG so it can be available at [url]
View 3 Replies
View Related
Apr 10, 2008
Prtg is same Mrtg?
Or prtg is only a software?
What's you use for monitoring bandwith?
What's think about [url]
Best way for monitoring bandwith is to make this over router snmp, right?
View 6 Replies
View Related
Oct 30, 2008
Configuriring MRTG
I installed mrtg,then i installed module on webmin for it,but still there is some error and nothing show on index.html of mtrg directory.Cron is installed over webmin module,but nothing show yet.I see on default is locahost and public on webmin module listed,but when i clicked add i got error:
Use of uninitialized value in hash element at /usr/local/mrtg-2/bin/indexmaker line 353.
What i need to properly monitor network interface?
Here is presently conf file:
WorkDir:/home/bla/public_html/mrtg/
# Created by
# /usr/local/mrtg-2/bin/cfgmaker public@69.45.45.78
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# or for NT
# WorkDir: c:mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
EnableIPv6: no
######################################################################
# System: available9.bla.com
# Description: Linux available9.bla.com 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64
# Contact: Root <root@localhost> (configure /etc/snmp/snmp.local.conf)
# Location: Unknown (edit /etc/snmp/snmpd.conf)
####################################################################
View 3 Replies
View Related
Feb 20, 2007
I've installed MRTG, but am having problems making the config file, all I want to do is monitor the in/out bandwidth (2 graphs) on my own server, has anyone got an example file they could paste here?
View 3 Replies
View Related
May 7, 2007
I have a box with centos and plesk from dedicatedplace and they have problem to unstall MRTG on it,
[root@local]# indexmaker --output=/var/www/mrtg/index.html /etc/mrtg/mrtg.cfg
Use of uninitialized value in hash element at /usr/bin/indexmaker line 340.
View 1 Replies
View Related
Aug 15, 2007
I have mrtg working fine on about 10 2650's, however now that I am trying to add 2950 and 3550's I cant seem to get MRTG to connect to get data.
I added the community the same as our other communities.
snmp-server community blah-r34d RO 30
snmp-server host 10.10.0.134 blah-r34d snmp
the 10.10.48.3 is the IP to vlan1 for the switch.
SNMP Error:
no response received
SNMPv1_Session (remote host: "10.10.48.3" [10.10.48.3].161)
community: "blah-r34d"
request ID: 554709748
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 627
SNMPWALK Problem for 1.3.6.1.2.1.1 on blah-r34d@10.10.48.3::::::v4only
at ./cfgmaker line 940
WARNING: Skipping blah-r34d@10.10.48.3: as no info could be retrieved
View 5 Replies
View Related
May 14, 2007
I tried to install mrtg using this
Quote:
wget [url]chmod +x install.mrtg.sh
./install.mrtg.sh
Everything looks to be installed correctly but when i try to access
[url]it show 404 Not found error.
View 2 Replies
View Related
Dec 3, 2007
how to install MRTG on a non cpanel server. It is running CentOS 4.5
I plan to run LayeredPanel on it.
Also, is it really CPU intensive?
View 5 Replies
View Related
Oct 15, 2007
i was wondering in this picture it displays green and blue color but the question is which colors is downloads and uploads?
[url]
View 11 Replies
View Related
Jun 2, 2009
MRTG analysis eth0
but i like to analysis venet0:0
how can i change number in hdd table?
my hdd is 1 tb but mrtg support 160gig
View 3 Replies
View Related
May 19, 2008
I'm trying to learn setting up MRTG for my Cisco 2950. Can you please give me some guide or instruction? My server runs CentOS and cPanel.
View 8 Replies
View Related
Nov 14, 2008
how to configure MRTG so that it displays the 95% usage as well as total amounts of traffic used?
This is what I need - first image on left.
And this is what I have so far after the install: 2nd image on the right.
Also, how do I set the maximum of allowed traffic (to be taken as "maximum" for the percentage calculation)?
View 5 Replies
View Related
Nov 7, 2008
I am using version 2.14.5 of MRTG, it is old.
The old MRTG works correctly?
View 1 Replies
View Related
Oct 25, 2007
My ISP is using MRTG (95th percentile) for my monthly billing. However the numbers showing on my "usage" page aren't adding up. Well, to clarify, the number by which they bill me at is the "Last 30 days usage (Metered 95%): xxxx mb/s". But this number isn't reflecting what I am seeing in the individual Daily/Weekly/Monthly stats and graphs.
Daily:
Max in: 38.0 kb/s
Max out 320.9 kb/s
Avg In: 4216.0 b/s
Avg out 24.1 kb/s
Weekly:
Max In: 1692.4 kb/s
Max Out 5675.1 kb/s
Avg In: 26.9 kb/s
Avg Out 86.8 kb/s
Monthly:
Max In: 3541.9 kb/s
Max Out 5635.4 kb/s
Avg In: 298.4 kb/s
Avg Out 410.4 kb/s
Last 30 Days uaage (Metered 95%): 4518.43 kb/s
Now for two weeks my server was pushing nearly 10 mb/s (95th percentile only use the HIGHER of the In OR Out as its measurement)- and then for the next 10 days my server has barely pushed 100 kb/s. 10 days ago the "Last 30 days usage" number was 4480.1 mb/s, but today, 10 days later, the "LAst 30 days usage" is 4518.4 kb/s. My ISP tells me that "last 30 days uage" is calculated every 5 minutes. But if my usage 10 days ago was 4480kb/s and my server has barely pushed ANY bandwidth since, shouldn't the laws of averages see that number steadily declining?
As an example: If I pushed exactly 10mb/s for exactly two weeks, then pushed 0mb/s for the next two weeks....then the average mb/s for a 30 day period (not calculating 95th %) would be 5mb/s. And as the 3rd week started, I would steadily see the 30 day usage start to decline and eventually reach 5mb/s on the last day of the 30 period. This is a logical, and my approach, to understanding this - yet the numbers aren't indicating this.
View 14 Replies
View Related
Oct 11, 2007
I have a VPS where i have cpanel installed. I have noticed quite a number of times through my WHM Cpu/Memory usage that there are 3 instances of MRTG and they seem to be taking up a lot of resources.
I did not install mrtg and i don't even know how do i go ahead and view them
Can someone tell me how do i remove them and is it just me or are there actually 3 instances of MRTG running for everyone?
Here's a screenshot of the same:
[url]
View 1 Replies
View Related
Oct 15, 2007
I have the following setup in cron for my MRTG stats:
0,10,20,30,40,50 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/bandwidth.cfg
0,11,21,31,41,51 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/cpu.cfg
0,12,22,32,42,52 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/cpu-temp.cfg
0,13,23,33,43,53 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/ping.cfg
0,15,25,35,45,55 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/memory.cfg
0,16,26,36,46,56 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/newconns.cfg
0,17,27,37,47,57 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/estabcons.cfg
0,18,28,38,48,58 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/ping2.cfg
But I'm not sure how much power it actually takes to generate theses MRTG stats... The server is a Celeron D 2.8Ghz, 512Mb ATA soft raid system. Do you think that I should update the stats less frequently to decrease the server usage?
View 3 Replies
View Related
Oct 15, 2007
I have the following setup in cron for my MRTG stats:
0,10,20,30,40,50 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/bandwidth.cfg
0,11,21,31,41,51 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/cpu.cfg
0,12,22,32,42,52 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/cpu-temp.cfg
0,13,23,33,43,53 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/ping.cfg
0,15,25,35,45,55 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/memory.cfg
0,16,26,36,46,56 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/newconns.cfg
0,17,27,37,47,57 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/estabcons.cfg
0,18,28,38,48,58 * * * * env LANG=C ../../mrtg-2/bin/mrtg ../...stats/ping2.cfg
But I'm not sure how much power it actually takes to generate theses MRTG stats... The server is a Celeron D 2.8Ghz, 512Mb ATA soft raid system. Do you think that I should update the stats less frequently to decrease the server usage?
View 1 Replies
View Related
Jul 24, 2009
I tried installing MRTG in my Linux Server by using help from -
[url]
What i have done till now is -
cd /usr/local/src
gunzip -c mrtg-2.16.2.tar.gz | tar xvf -
cd mrtg-2.16.2
./configure --prefix=/usr/local/mrtg-2
make
make install
After this i am unable to understand what to do, and how to start MRTG graphs.
* the next last step says,
CONFIGURATION
The next step is to configure mrtg for monitoring a network device. This is done by creating an mrtg.cfg file which defines what you want to monitor. Luckily, you don't have to dive straight in and start writing your own configuration file all by yourself. Together with mrtg you also got a copy of cfgmaker. This is a script you can point at a router of your choice; it will create a mrtg configuration file for you. You can find the script in the bin subdirectory.
cfgmaker --global 'WorkDir: /home/httpd/mrtg'
--global 'Options[_]: bits,growright'
--output /home/mrtg/cfg/mrtg.cfg
community@router.abc.xyz
This example above will create an mrtg config file in /home/mrtg/cfg assuming this is a directory visible on your webserver. You can read all about cfgmaker in cfgmaker. One area you might want to look at is the possibility of using --ifref=ip to prevent interface renumbering troubles from catching you.
^^ this is what i am not able to understand.
When i ran the script, (below mention) it gave many errors, how to resolve them ?
[root@c bin]# ./cfgmaker --global 'WorkDir: /home/httpd/mrtg' --global 'Options[_]: bits,growright' output /home/mrtg/cfg/mrtg.cfg eth0
Error:
can't resolve "output" to IP address
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 428
SNMPWALK Problem for public@output::::::v4only
at ./cfgmaker line 950
WARNING: Skipping public@output: as no info could be retrieved
Error:
can't resolve "/home/mrtg/cfg/mrtg.cfg" to IP address
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 428
SNMPWALK Problem for public@/home/mrtg/cfg/mrtg.cfg::::::v4only
at ./cfgmaker line 950
WARNING: Skipping public@/home/mrtg/cfg/mrtg.cfg: as no info could be retrieved
Error:
can't resolve "eth0" to IP address
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 428
SNMPWALK Problem for public@eth0::::::v4only
at ./cfgmaker line 950
WARNING: Skipping public@eth0: as no info could be retrieved
# Created by
# ./cfgmaker --global "WorkDir: /home/httpd/mrtg" --global "Options[_]: bits,growright" output /home/mrtg/cfg/mrtg.cfg eth0
### Global Config Options
# for UNIX
# WorkDir: /home/http/mrtg
# or for NT
# WorkDir: c:mrtgdata
### Global Defaults
# to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits
EnableIPv6: no
WorkDir: /home/httpd/mrtg
Options[_]: bits,growright
View 2 Replies
View Related
Apr 11, 2008
I run a server with lighttpd web server. The server is for file hosting, see the mrtg
[url]
The server is on 1 Gbit shared connection.
The bandwidth seems increase/decrease quickly. Can this happen? I have another file hosting server, on that bandwidth usage is almost sine wave.
Lighttpd web server is running properly and never crashed.
View 5 Replies
View Related
Jun 30, 2008
How to install mrtg on a cpanel server?
I followed the tutorial on [url]but it didn't work
View 3 Replies
View Related
Jun 22, 2008
I've just installed MRTG using WHM > Install a RPM mrtg.i386
how do I configure the installation and get my mrtg to work & to view my mrtg?
View 1 Replies
View Related
Mar 10, 2007
why mrtg screws graphs up if bandwidth usage goes over 120 mbit/sec? See an attachment. First graph from mrtg, second one provider's graph which is correct. In mrtg.cfg I got MaxBytes[_]: 2250000000
View 3 Replies
View Related
Dec 11, 2008
I already have a UNIX server as the gateway/firewalls for few servers. How do i build an MRTG graph to monitor the bandwidth usage for each IP?
View 0 Replies
View Related
Dec 4, 2007
Just wondering if there is some 'plugin' for MRTG which will e-mail or send an sms if certain conditions are true (bandwidth exceeded on some server /device)?
View 1 Replies
View Related
Jun 29, 2013
After upgrade to Plesk 11.5.30 trying to set up FTP-Backup Repository:
Repository error: Transport error: unable to list directory: Curl error: Access denied to remote resourceClick to expand...
View 7 Replies
View Related
Dec 17, 2007
Keep getting emails like the following, (about 200 so far!):-
Quote:
ERROR: I Quit! Another copy of mrtg seems to be running. Check /etc/mrtg/mrtg.pid Daemonizing MRTG ...
/etc/mrtg/mrtg.pid just contains a 4-digit number.
WHM 11.11.0 cPanel 11.16.0-S18450
CENTOS Enterprise 4.6 i686
View 7 Replies
View Related