How To Install Mrtg On A Cpanel Server
Jun 30, 2008How to install mrtg on a cpanel server?
I followed the tutorial on [url]but it didn't work
How to install mrtg on a cpanel server?
I followed the tutorial on [url]but it didn't work
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?
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?
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
how to install shared ssl in cpanel server
View 2 Replies View RelatedI have server on CPanel, and Named failed yesterday. Some named files damage, and BIND not work. re-install this service.
View 6 Replies View RelatedI found htop much more easier to understand than top and would like to install it on my cPanel CentOS server. I tried executing following command from root shell:
yum install htop
and got following output:
..................Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
No Match for argument: htop
Nothing to do
Not sure if htop is available for CentOS cpanel servers? If so how can I install it?
I am trying to abolish FTP from my VPS, but refuse to allow SFTP with SSH access (and even give the secret port # out for SSH). It seems RSSH fits the bill, but I need to install it on a cPanel server. I want to know the following:How do I install RSSH on a server running cPanel
How do I make RSSH a shell I can enable via WHM as a default for ll new accounts without cPanel breaking it during an pdate
Can I run RSSH on a seperate port then SSH?
Cpanel version 11.1.0
Fedora Core 6
This is a totally fresh install. I noticed bind was not running so I went to do a restart in WHM and I get the following error..
named has failed, please contact the sysadmin (result was "named is not running"). Jun 5 14:19:14 dts131 named: /etc/named.conf:65: open: /var/named/named.rfc1912.zones: file not found
How do I install/enable SOAP client on a Centos / Cpanel server?
be clear and detailed in the commands I must run and what directories I run them in.
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 ...
=====================
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 RelatedIn 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 RelatedPrtg 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?
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)
####################################################################
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 RelatedI 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.
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
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.
i was wondering in this picture it displays green and blue color but the question is which colors is downloads and uploads?
[url]
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
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?
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
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