Running the command:
csf --graphs disk /tmp
charts.html, graphs.html is saved to /tmp correctly but all images are saved as:
/tmplfd_cc.gif
/tmplfd_hour.gif
/tmplfd_month.gif
/tmplfd_pie_day.gif
/tmplfd_pie_hour.gif
/tmplfd_pie_year.gif
/tmplfd_systemday.gif
/tmplfd_systemhour.gif
/tmplfd_systemmonth.gif
/tmplfd_systemweek.gif
/tmplfd_year.gif
I think the path is missing the last slash on the directory path so the charts are broken.
csf --graphs saving images wrong
Re: csf --graphs saving images wrong
Just a note that adding the last slash will correct the issue:
csf --graphs disk /tmp/
Should probably just add the missing slash for the user if it is omitted.
csf --graphs disk /tmp/
Should probably just add the missing slash for the user if it is omitted.
Re: csf --graphs saving images wrong
Sorry just realized that this should have been submitted in the bug reports section.
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: csf --graphs saving images wrong
This is intentional to allow for prefixing of the file names if desired.
Re: csf --graphs saving images wrong
Sorry how is this supposed to work ? If I specify a path without the last slash the graphs.html and charts.html is generated in the directory specified but the actual images are saved to the root of the filesystem. The resulting charts.html and graphs.html have broken images as they are referencing the same directory as the html.ForumAdmin wrote:This is intentional to allow for prefixing of the file names if desired.
-
- Moderator
- Posts: 1524
- Joined: 01 Oct 2008, 09:24
Re: csf --graphs saving images wrong
We'll look into that for the next release.