Hi. I've been trying to get mrtg working on a Solaris system. So far it's working, as it seems to get the data via snmp.
The problem is, that the graphs don't show the real values for in- and outgoing traffic. They only show a constant value which is 8 bits per second. The real value would be a few hundred kbps... I tested another program on a windows pc to get the snmp data, and there I got some more realistic values. So, I don't know if it's a configuration problem, or a problem with Solaris or something else. The debug output (--debug=snpo) seems to get the correct data: 2005-08-09 13:45:34 -- --snpo: run snmpget from ifInOctets&ifOutOctets:[EMAIL PROTECTED] 2005-08-09 13:45:34 -- --snpo: simple If: .111 2005-08-09 13:45:34 -- --snpo: simple If: .111 2005-08-09 13:45:34 -- --snpo: SNMPGet from [EMAIL PROTECTED]: -- ifInOctets.111,ifOutOctets.111,sysUptime,sysName 2005-08-09 13:45:34 -- --snpo: SNMPfound -- '3672186018', '212278635', '220 days, 10:59:42', 'Switch P1 HNLS' And here is a relevant excerpt from the configfile: ### Global Defaults EnableIPv6: no Workdir: /usr/local/mrtg-2/data Options[_]: growright,bits,gauge Imagedir: /usr/local/mrtg-2/images Logdir: /usr/local/mrtg-2/log ### Interface 111 >> Descr: 'RMON:10/100-Port-11-on-Unit-1' | Name: '' | Ip: '' | Eth: '' ### Target[172.20.1.241_111]: 111:[EMAIL PROTECTED]: SetEnv[172.20.1.241_111]: MRTG_INT_IP="" MRTG_INT_DESCR="RMON:10/100-Port-11-on-Unit-1" MaxBytes[172.20.1.241_111]: 12500000 Title[172.20.1.241_111]: 111 -- Switch P1 HNLS PageTop[172.20.1.241_111]: <H1>111 -- Switch P1 HNLS</H1> <TABLE> <TR><TD>System:</TD> <TD>Switch P1 HNLS in </TD></TR> <TR><TD>Maintainer:</TD> <TD></TD></TR> <TR><TD>Description:</TD><TD>RMON:10/100-Port-11-on-Unit-1 </TD></TR> <TR><TD>ifType:</TD> <TD>ethernetCsmacd (6)</TD></TR> <TR><TD>ifName:</TD> <TD></TD></TR> <TR><TD>Max Speed:</TD> <TD>100.0 Mbits/s</TD></TR> </TABLE> Any hint is appreciated. Regards, Marc -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
