hi
I've installed cacti on freeBSD 5.2.1
# pkg_info | grep cacti
cacti-0.8.6b Web-driven graphing interface for RRDTool
it seems to work, but only Localhost - Memory Usage diagram ist empty.
Knows someone what's wrong ?
kind regards
cc
Localhost - Memory Usage diagram ist empty on freeBSD 5.2.1
Moderators: Developers, Moderators
I've found out:
1.) install linux emulator and check if is loaded:
# kldstat |grep linux
2 2 0xc09de000 1bd8c linux.ko
if not add to /boot/loader.conf:
2.) create /compat/linux/proc directory
3.) add the following to /etc/fstab
4.) 3.) change linux_memory.pl script to:
now it works perfectly !
greetings
cc
1.) install linux emulator and check if is loaded:
# kldstat |grep linux
2 2 0xc09de000 1bd8c linux.ko
if not add to /boot/loader.conf:
Code: Select all
linux_load="YES"
3.) add the following to /etc/fstab
Code: Select all
linproc /compat/linux/proc/ linprocfs rw 0 0
Code: Select all
#!/usr/bin/perl $mem = `cat /compat/linux/proc/meminfo | grep -w "$ARGV[0]"`; $mem =~ s/($ARGV[0].*\s)(.*[0-9])( kB)//; print $2;
greetings
cc
Who is online
Users browsing this forum: No registered users and 4 guests