Jeff, A counter that returns a temperature is always of the Gauge type, so your first approch was the right one. In the originaly posted message you had your Maxbytes configured to 120 but the figures you wanted tho graph were way above (see the first line of the log). The figure returned by your device is probably in centigrades F. There are 2 ways to deal with this: 1. Set the Maxbytes value to something like 12000 and your graph will be fine with the gauge option turned on. 2. Divide the result by 100. To achieve this add " / 100" to the end of the Maxbytes line. (without the quotes, but with the leading space)
HTH, Jan. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff M. Rohr Sent: Tuesday, January 23, 2007 11:55 PM To: [email protected] Subject: [mrtg] FW: [mx] Re: FW: MRTG not graphing correctly After removing the Gauge option and adding perminute, which I've tried before w/o success, I'm seeing different results. Now I get some values that are graphing, but they still are not accurate. I remove all working directory files except the index.html whenever updating the config file. Can anyone tell me why there are 2 sets of values after the initial reading? I believe it's graphing the values on the right side. 1169589302 7631 8621 1169589302 2 18 2 18 1169589003 2 18 2 18 1169589000 1 18 2 18 1169588700 0 17 0 18 1169588400 0 9 4 9 1169588100 3 9 4 27 1169587800 0 26 0 27 1169587500 0 20 2 20 1169587200 1 19 2 20 1169586900 0 17 3 18 1169586600 2 16 3 16 1169586300 0 16 5 18 1169586000 5 18 5 50 1169585700 4 50 5 50 1169585400 0 33 0 50 1169585100 0 0 0 0 1169584800 0 0 0 0 1169584500 0 0 0 0 1169584200 0 0 0 0 ... -----Original Message----- From: Mike [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 23, 2007 2:10 PM To: Jeff M. Rohr Subject: [mx] Re: [mrtg] FW: MRTG not graphing correctly On 1/23/07, Jeff M. Rohr <[EMAIL PROTECTED]> wrote: > > > In the log file the values show up correctly on the first line in the > file, then it repeats zeros continuously. > > 1169581503 7541 8475 > 1169581503 0 0 0 0 > 1169581203 0 0 0 0 > 1169581200 0 0 0 0 > 1169580900 0 0 0 0 > 1169580600 0 0 0 0 > ... > > I've been seeing 0 values for several days now. Jeff, I recently ran into this myself. The answer from Peter Glenville: --- The default is not Counter but Rate If you remove the Gauge option, it calculates [units] per second. 64026-64007 = 19 19 in 5 mins equals a fraction of a unit per second. and plots as zero. If you want a rate that plots, try perminute or perhour options --- _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg _________________________________________________________ Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten. _________________________________________________________ This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The state accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages. _________________________________________________________ _______________________________________________ mrtg mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
