Since ASL 3.040 the reporting does not work (except accounting). On a fresh installed ASL there are no graphs or stats (min/max/cur..). On an updated installation the graphs and stats are freezed.
It is hard to remove anything that isn´t there. ;-)
and when I do a
uj:/var/chroot-snmp.mrtg/bin # ./make_mrtgcfg.pl
I get:
String found where operator expected at ./make_mrtgcfg.pl line 35, near "my $raminside=`cat /proc/meminfo | grep "MemTotal:" | awk '" (Might be a runaway multi-line '' string starting on line 32) (Missing semicolon on previous line?) syntax error at ./make_mrtgcfg.pl line 35, near "my $raminside=`cat /proc/meminfo | grep "MemTotal:" | awk '" Execution of ./make_mrtgcfg.pl aborted due to compilation errors. uj:/var/chroot-snmp.mrtg/bin #
It seems to me, thats the problem depends on hardware.... sounds stupid, but I've had no problems with the graphics on an Athlon Box with 512MB RAM, but with the same settings on my K6.2 300Mhz with 64 MB, there are no graphics. [:S]
In 3.041 I think there is a typo in line 32 of /var/chroot-snmp.mrtg/bin/make_mrtgcfg.pl
I placed a comment at the beginning of the line that starts with $ '' and was able to run the script without any problem. Also, I changed line 47 to: RunAsDaemon: Yes and added next line just below: Interval:5
Also, I set the system time to GMT and I really don't understand what's the point of setting clock to BIOS clock every 7 minutes.
After removing all files in /var/chroot-snmp.mrtg/var/mrtg, making changes to make_mrtgcfg.pl, running make_mrtgcfg.pl, rebooting the machine, making sure BIOS time is proper
mrtg seems to have started working.
If anyone else gets it working this way, let me know.
Found the problem: snmpd is on the build, but not functioning! Tried to play around with it for at bit.. could not make it respond to a "snmpwalk localhost public"
For me it looks like it (snmpd) is not able to locate the snmpd.conf file (and btw: there is loads of snmpd and snmpd.conf files in the build, just do a "find / -name "snmp*"