[root@server /]#
[root@server /]# wget
http://serveio.com/da/install.mrtg.sh
--02:09:49--
http://serveio.com/da/install.mrtg.sh
=> `install.mrtg.sh'
Resolving serveio.com... 69.9.34.242
Connecting to serveio.com|69.9.34.242|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,987 (1.9K) [application/x-sh]
100%[====================================>] 1,987 --.--K/s
02:09:50 (65.34 MB/s) - `install.mrtg.sh' saved [1987/1987]
[root@server /]# chmod +x install.mrtg.sh
[root@server /]# ./install.mrtg.sh
MRTG Installer 1.0 ---------------------
By: Matt Savona (
www.serveio.com)
----------------------------------------
Checking for previous MRTG installation...
The directory /var/www/html/mrtg does not exist. I will create it...
Creating necessary directories and preparing for installation...
Preparations complete...
Downloading the most recent MRTG and installing it...
--02:10:04--
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/pub/mrtg.tar.gz
=> `mrtg.tar.gz'
Resolving people.ee.ethz.ch... 129.132.2.203
Connecting to people.ee.ethz.ch|129.132.2.203|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location:
http://people.ee.ethz.ch/ex-staff/oetiker [following]
--02:10:05--
http://people.ee.ethz.ch/ex-staff/oetiker
=> `oetiker'
Reusing existing connection to people.ee.ethz.ch:80.
HTTP request sent, awaiting response... 301 Moved Permanently
Location:
http://people.ee.ethz.ch/ex-staff/oetiker/ [following]
--02:10:06--
http://people.ee.ethz.ch/ex-staff/oetiker/
=> `index.html'
Reusing existing connection to people.ee.ethz.ch:80.
HTTP request sent, awaiting response... 200 OK
Length: 509 [text/html]
100%[====================================>] 509 --.--K/s
02:10:06 (22.06 MB/s) - `index.html' saved [509/509]
tar: mrtg.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
./install.mrtg.sh: line 43: cd: mrtg*: No such file or directory
./install.mrtg.sh: line 44: ./configure: No such file or directory
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
MRTG has been installed...
Updating MRTG config and template...
--02:10:06--
http://www.serveio.com/da/mrtgcfg.tar.gz
=> `mrtgcfg.tar.gz'
Resolving
www.serveio.com... 69.9.34.242
Connecting to www.serveio.com|69.9.34.242|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2,056 (2.0K) [application/x-gzip]
100%[====================================>] 2,056 --.--K/s
02:10:07 (115.34 MB/s) - `mrtgcfg.tar.gz' saved [2056/2056]
Update complete!
Adding MRTG to /etc/crontab...
Executing MRTG for the first time (you may see some warnings)...
./install.mrtg.sh: line 64: /usr/local/mrtg-2/bin/mrtg: No such file or director
y
If you see warnings above, it is generally safe to ignore.
Cleaning up installation...
Installation of MRTG complete!