Thank you, that helps. So if I use the 'perminute' option it will divide it by the number of minutes, not seconds. (E.g returned value - previous value/ number of minutes passed), meaning the minimum value over 5 minutes needs to be 5 for it to show 1, else it will be 0?
How will this then affect it when another copy of the graph is running on the main server that gets more hits, will it break it? Is there anyway to show "total requests" over the 5 minutes, and not "average requests" over time? Nick ----- Original Message ----- From: "Koelstra, J. (Jan)" <[EMAIL PROTECTED]> To: "Nick D" <[EMAIL PROTECTED]> Sent: Monday, February 20, 2006 4:05 PM Subject: RE: [mrtg] Re: Problems with mrtg returning 0 Nick, Except for the first line the log files contain all datapoints in the graphs, and this is not always the real collected data. In short the MRTG dataflow is as follows: 1. Data is collected (by snmp or an external script) 2. Data is processed according to the options given in the config file. By default: ((Last collected value - previous colected value) / number of seconds between both values) 3. The result is compared with Maxbytes and AbsMax. (Too high --> result is replaced by an zero) 4. The result is stored 5. Graphs are build from the stored values. HTH, Jan. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick D Sent: Monday, February 20, 2006 3:50 PM To: [EMAIL PROTECTED] Subject: [mrtg] Re: Problems with mrtg returning 0 Jan, Il give that a go, but shouldn't the log files still show the new values, and an increase of 40+, rather than just 0, or is that affected aswell? Nick ----- Original Message ----- From: "Koelstra, J. (Jan)" <[EMAIL PROTECTED]> To: "Nick D" <[EMAIL PROTECTED]> Sent: Monday, February 20, 2006 2:38 PM Subject: RE: [mrtg] Re: Problems with mrtg returning 0 Nick, By default MRTG shows the rate per second. To display slow increasing counters you can use the 'perminute' or 'perhour' options at the options line in the config. If even perhour shows mainly zeroes it is worth considering using the gauge option. HTH, Jan. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick D Sent: Monday, February 20, 2006 2:33 PM To: [EMAIL PROTECTED] Subject: [mrtg] Re: Problems with mrtg returning 0 I have about 15 other graphs which are working, or nearly there, but these 3 IIS ones arnt working, ive checked with the packet monitor and the values area increasing each time, but it isnt being logged. First it returns 35366 then 35402 but there is only 0s in the log file. :: nick dell :: programming, hosting & web design :: hosting.coolnicks.co.uk ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 20, 2006 1:20 PM Subject: [mrtg] Re: Problems with mrtg returning 0 > > Im using MRTG to monitor IIS on a windows 2000 server box, the > > problem is the first time the script is run it returns the value > > fine, then afterwards it always returns 0, even though from a packet > > capture the win2000 box is returning the right value with no errors. > > This is happening with multiple items. 1140438036 34792 121 > > 1140438036 0 0 0 0 > > 1140438021 0 0 0 0 > > > > YLegend[iis.getpost]: GETS/POSTS > > Options[iis.getpost]: growright,nopercent,integer > > Each of the subsequent lines in the log file is recording the > difference between the current value and the previous one, so it is > probably correct. > > It may be more appropriate to use the 'gauge' option for this > parameter. See the appropriate secion in the configuration reference: > > http://people.ee.ethz.ch/~oetiker/webtools/mrtg/doc/mrtg-reference.en. > ht > ml > > Regards, > > Scott. > > -- > 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 > > -- 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 _________________________________________________________ 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 dit 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://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/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 dit 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://lists.ee.ethz.ch/mrtg FAQ http://faq.mrtg.org Homepage http://www.mrtg.org WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
