[mrtg] rateup segfaults

Daniel leva at az.isten.hu
Sat Feb 2 08:56:23 CET 2008


Hi!

I have this in my mrtg.cfg:

EnableIPv6: no
enablesnmpv3: yes
options[_]: growright
LoadMIBs: /usr/local/share/snmp/mibs/UCD-SNMP-MIB.txt

Target[host_mem]:.1.3.6.1.4.1.2021.4.6.0&.1.3.6.1.4.1.2021.4.6.0:public at host:::::3
SnmpOptions[host_mem]: 
authkey=>'asd',authprotocol=>'sha',privprotocol=>'aescfb128',username=>'
asd',privkey=>'asd'
Options[host_mem]: nopercent,growright,gauge,noinfo
Title[host_mem]: Free Memory
PageTop[host_mem]: Free Memory
MaxBytes[host_mem]: 1000000
kMG[host_mem]: k,M,G,T,P,X
YLegend[host_mem]: bytes
ShortLegend[host_mem]: bytes
LegendI[host_mem]:  Free Memory:
LegendO[host_mem]:
Legend1[host_mem]: Free memory, not including swap, in bytes

btw, this is from the net-snmp.sf.net's examples.

When running mrtg with:
mrtg --user mrtg --group stats --lock-file /tmp/mrtg.lock /etc/mrtg.cfg
it says:
ERROR: Skipping webupdates because rateup did not return anything 
sensible
WARNING: rateup died from Signal 11
 with Exit Value 0 when doing router 'host_mem'
 Signal was 11, Returncode was 0

And got a core file, on which I did a 'bt full', which wasn't very 
helpful,
#0  0x1c001f98 in image ()
No symbol table info available.
#1  0x1c00a4e1 in main ()
No symbol table info available.

although I have a not-stripped rateup :\

What could be the problem?

Thanks!

Daniel



More information about the mrtg mailing list