[mrtg] (b) Fire your favorite web browser (like FireFox ) and type the url http://www.your-name.com/mymrtg/ or http://your-ip-here/mymrtg/
Jay Hennigan
jay at west.net
Tue Mar 10 00:20:57 CET 2015
On 3/9/15 15:52, Rick Silacci wrote:
> *Step # 6 First test run for mrtg*
>
> (a) Run mrtg command from command line with your configuration file, enter:
>
> # mrtg /etc/mrtg/mymrtg.cfg
>
> _Note:_You may get few warning message for the first time; please ignore
> them.
>
> (b) Fire your favorite web browser (like FireFox ) and type the url
> http://www.your-name.com/mymrtg/ or http://your-ip-here/mymrtg/
>
> *Can someone explain step B to me?*
Some browsers (MS Internet Exploder in particular) try to run a search
on queries without a leading "http://" or will give an absolutely
worthless and unintelligible error message. Hence try it with the
"http://" to be sure.
However, first:
Verify that the directory "/var/www/html/mymrtg" exists and has files in
it for the targets, and that their timestamps update when MRTG is run.
Verify that you have a working webserver on the machine and that
"/var/www/html/" is its document root and is world-readable.
In other words,
* Is MRTG running correctly?
* Is the web server running correctly?
* Is MRTG's output being written to the right path to be served up by
the webserver and stored with the right permissions?
Quick check of web server and path:
Create a file /var/www/html/mymrtg/hello.txt with the content "Hello
World". Set its permissions to world-readable (644).
Point a browser to http://ip.of.web.server/mymrtg/hello.txt and see if
it displays "Hello world".
--
Jay Hennigan - CCIE #7880 - Network Engineering - jay at impulse.net
Impulse Internet Service - http://www.impulse.net/
Your local telephone and internet company - 805 884-6323 - WB6RDV
More information about the mrtg
mailing list