Paul, The number you try to graph is probably below 300 per 5 minutes. After some maths by mrtg this rounded down to 0 per second. Try 'perminute' or 'perhour' at the options line. Note that you have to change the legends below the graphs too to show things right.
Hth, Jan. -----Original Message----- From: Paul Williamson [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 8:13 AM To: [EMAIL PROTECTED] Subject: [mrtg] Rateup not working for non-snmp data I'm feeding squid proxy data from a sh script I wrote into MRTG. The script outputs this: 1051 2517 17:42, 2 users, load average: 0.26, 0.30, 0.26 Gateway The figures on lines 1 and 2 are forever increasing, thus I don't want to use the gauge option. -The Problem Is: that MRTG is not recording the past figures, so my graphs are showing nothing at all. Excerpt of the .log file: 1048748706 1051 2517 1048748706 0 0 0 0 1048748409 0 0 0 0 1048748400 0 0 0 0 1048748100 0 0 0 0 The first line always shows the current figures... My mrtg.cfg file specifies: Target[squid_hitmiss]: `/etc/mrtg/scripts/squid_hit_miss.sh` Options[squid_hitmiss]: growright, dorelpercent, nopercent Title[squid_hitmiss]: Number of Cache Hits/Misses PageTop[squid_hitmiss]: <H1>Number of Cache Hits/Misses</H1> MaxBytes[squid_hitmiss]: 5000 YLegend[squid_hitmiss]: Requests ShortLegend[squid_hitmiss]: requests LegendI[squid_hitmiss]: Cache Hits LegendO[squid_hitmiss]: Cache Misses Any suggestions on getting this to work would be muchly appreciated! Thanks for reading, Paul. -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail. Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van het bericht te vernietigen. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt. This message shall not constitute any obligations. This message is intended solely for the addressee. If you have received this message in error, please inform us immediately and delete its content. -- Unsubscribe mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
