please add these patches to cacti port
Zoltan Frombach
tssajo at hotmail.com
Sat Apr 30 01:05:26 UTC 2005
Hello,
I attached two patches for the FreeBSD cacti port. This is something that
annoyed me for a long time, and I've decided to do something about it... In
Cacti, if you use the provided "diskfree.pl" and/or "diskfree.sh" scripts
then all hard drive sizes are reported DOUBLE (x2) in Cacti (under FreeBSD
only). This is a documented problem, see
http://forums.cacti.net/viewtopic.php?t=2420&highlight=disk+space+wrong The
scripts supplied in Cacti that use the df system command must be changed.
Cacti was originally developed for Linux (I guess), and under Linux the
following df command is producing the expected output:
df --block-size=1024
However, this DOES NOT work under FreeBSD. You must change it to:
df -k
This is exactly what the attached patches do. Therefore solving the disk
space reporting problem outlined on the above mentioned URL. Please include
these patches in the FreeBSD port of Cacti. Thanks,
Zoltan Frombach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-scripts-diskfree.pl
Type: application/octet-stream
Size: 373 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20050429/dbbce139/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-scripts-diskfree.sh
Type: application/octet-stream
Size: 308 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports-bugs/attachments/20050429/dbbce139/attachment-0001.obj>
More information about the freebsd-ports-bugs
mailing list