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 - [email protected] Impulse Internet Service - http://www.impulse.net/ Your local telephone and internet company - 805 884-6323 - WB6RDV _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
