[mrtg] MRTG no graphed values

spiderik spiderik at centrum.cz
Mon Jan 10 11:16:38 CET 2011


Hi all,

I have a problem, that my graph does not get any data. When I debug the mrtg
command, the lines seems correct:

env LANG=C /usr/bin/mrtg /etc/mrtg.cfg --debug="base,log"
--base: Creating Lockfiles
/var/lock/mrtg/_etc_mrtg.cfg_l,/var/lock/mrtg/_etc_mrtg.cfg_l_17768
--base: Reading Config File: /etc/mrtg.cfg
--base: Reading Interface Config cache
--base: Checking Config File
--base: Loading default Locale
--base: Starting main Loop
--base: Populate Target object by polling SNMP and external Datasources
--base: Act on Router/Target airwaynet
--base: Get Current values: in:1837223042, out:2803991377, up:13 days,
23:47:01, name:cisco.tspdata.local, time:1294653882
--base: Create Graphics
--log: /usr/bin/rateup /var/lib/mrtg/ airwaynet 1294653882 -Z u 1837223042
2803991377 512000 c #00cc00 #0000ff #006600 #ff00ff k 1000 i
/var/www/mrtg/airwaynet-day.png -512000 -512000 400 100 1 1 1 300 1 4 1
%Y-%m-%d %H:%M 0
--base: Check for Thresholds
--base: Check for Write HTML Pages
--base: Act on Router/Target airwaynetmikrotik
--base: Get Current values: in:46, out:46, up:7 days, 15:57:10,
name:holusicka3.1-cl1-ni21.awn, time:1294653882
--base: Create Graphics
--log: /usr/bin/rateup /var/lib/mrtg/ airwaynetmikrotik 1294653882 -Z u 46
46 100 c #00cc00 #0000ff #006600 #ff00ff -i l [db] k 1000 i
/var/www/mrtg/airwaynetmikrotik-day.png -100 -100 400 100 1 1 0 300 0 4 1
%Y-%m-%d %H:%M 0
--base: Check for Thresholds
--base: Check for Write HTML Pages
--base: Exit main Loop
--base: Remove Lock Files
--base: Store Interface Config Cache

Important part is bolded. Acoording to the log the MRTG sends value 46 to
the graph creation process, but no matter how many times I have run the
command, the graph is still without values and even the statistics on the
bottom show 0 min 0 max 0 vag.

I do not have a clue where else to look.

Thank you for any help.
-- 
View this message in context: http://mrtg-mailinglists.795376.n2.nabble.com/MRTG-no-graphed-values-tp5906410p5906410.html
Sent from the MRTG Users Mailinglist mailing list archive at Nabble.com.



More information about the mrtg mailing list