View previous topic :: View next topic |
Author |
Message |
Majed17 Guru
Joined: 31 Aug 2011 Posts: 328 Location: Minsk, Belarus
|
Posted: Fri Aug 29, 2014 11:28 am Post subject: mrtg not working in gentoo [solved] |
|
|
Peace, i installed mrtg according to
http://www.gentoo-wiki.info/HOWTO_SNMP_and_MRTG_Made_Easy
i installed only the traffic option but mrtg is not working.
http://10.33.0.7/mrtg/
shows the ports but without the graphs.
/var/www/localhost/htdocs/mrtg
has index.html
mrtg-l.png
mrtg-m.png
mrtg-r.png
and no other files.
where have i gone wrong?
Last edited by Majed17 on Sat Aug 30, 2014 8:45 pm; edited 3 times in total |
|
Back to top |
|
|
Majed17 Guru
Joined: 31 Aug 2011 Posts: 328 Location: Minsk, Belarus
|
|
Back to top |
|
|
Majed17 Guru
Joined: 31 Aug 2011 Posts: 328 Location: Minsk, Belarus
|
Posted: Fri Aug 29, 2014 3:42 pm Post subject: |
|
|
now i have a new problem.
it seems mrtg stops working after a period in time. nagios says
" file is x minutes old"
i run
sh /etc/cron.mrtg/traffic.sh
three times and the eror disappears. is this a problem with the cron job? mrtg restart dosn't seem to help. |
|
Back to top |
|
|
Majed17 Guru
Joined: 31 Aug 2011 Posts: 328 Location: Minsk, Belarus
|
Posted: Sat Aug 30, 2014 8:44 pm Post subject: |
|
|
i unmerged mrtg and deleted almost everything and reinstalled everything, this time i restarted and mrtg worked. |
|
Back to top |
|
|
|