appleharry
New member
- Joined
- Jul 2, 2007
- Messages
- 1
Hi Gentlemen
I've installed MRTG on Centos 4.5 and get an output at localhost :http://localhost/mrtg
Now to add a router to view it statisctics, i did
/usr/local/mrtg-2/bin/cfgmaker communityname@router1 >/var/www/html/mrtg/core/router1.cfg
and it succesfully created a .cfg
i edited my router1.cfg workdirectory as /var/www/html/switches
To create a page I did Indexmaker like :
/usr/local/mrtg-2/bin/indexmaker /var/www/html/router/switch1.html> /var/www/html/mrtg/core/router1.cfg
and it gives : ERROR: Line 8 ( WorkDir: /var/www/html/switch1) in CFG file (/var/www/html/mrtg/core/router1.cfg) does not make sense
I tried doing workdirectory as /var/www/html/mrtg/switch aslo and several other options but does'nt seem to work well.
Please advise
I've installed MRTG on Centos 4.5 and get an output at localhost :http://localhost/mrtg
Now to add a router to view it statisctics, i did
/usr/local/mrtg-2/bin/cfgmaker communityname@router1 >/var/www/html/mrtg/core/router1.cfg
and it succesfully created a .cfg
i edited my router1.cfg workdirectory as /var/www/html/switches
To create a page I did Indexmaker like :
/usr/local/mrtg-2/bin/indexmaker /var/www/html/router/switch1.html> /var/www/html/mrtg/core/router1.cfg
and it gives : ERROR: Line 8 ( WorkDir: /var/www/html/switch1) in CFG file (/var/www/html/mrtg/core/router1.cfg) does not make sense
I tried doing workdirectory as /var/www/html/mrtg/switch aslo and several other options but does'nt seem to work well.
Please advise