Hi All
I am busy helping with some ASP.NET monitoring. I got the performance counters to report. Now they want graphs so I got a basic graph up and running. Basically I want to show a graph with two lines. 1 Line indicates the current requests(green) the other the queued requests(red). Like I said I got the graph running and I have the two values reporting. However it appears a little funny. The graph is moving into the negative range see attached screen shot.
What I have seen is that the requests queue are constantly 0. The current request range from 0-20. Also the number on the y axis reports it in milli and it is a little misleading. As I am not a rrdtool expert I think it is averaging the two series and getting this value?
Here is my graph definition:
[asphealth]
TITLE ASP Over All Health
YAXIS Number
DEF:RequestsQueued=asphealth.rrd:RequestsQueued:AVERAGE
DEF:RequestCurrent=asphealth.rrd:RequestCurrent:AVERAGE
LINE2:RequestsQueued#FF0000:RequestsQueued
LINE2:RequestCurrent#00FF66:RequestCurrent
COMMENT:\n
GPRINT:RequestsQueued:LAST:RequestsQueued\: %5.1lf%s (cur)
GPRINT:RequestsQueued:MAX: \: %5.1lf%s (max)
GPRINT:RequestsQueued:MIN: \: %5.1lf%s (min)
GPRINT:RequestsQueued:AVERAGE: \: %5.1lf%s (avg)\n
GPRINT:RequestCurrent:LAST:RequestCurrent\: %5.1lf%s (cur)
GPRINT:RequestCurrent:MAX: \: %5.1lf%s (max)
GPRINT:RequestCurrent:MIN: \: %5.1lf%s (min)
GPRINT:RequestCurrent:AVERAGE: \: %5.1lf%s (avg)\n
A typical data set looks like this:
ASP Health Check:
ApplicationRestarts: 0
ApplicationRunning: 3
RequestsQueued: 0
RequestCurrent: 6
Like I said it is working but the values are misleading. Any of your bright people got some pointers? I had a read through the rrdtool documentation and I realised it is a very rich tool. Anyone got some ideas?
Regards
Neil
Hello Neil,
I am busy helping with some ASP.NET monitoring. I got the performance counters to report. Now they want graphs so I got a basic graph up and running. Basically I want to show a graph with two lines. 1 Line indicates the current requests(green) the other the queued requests(red). Like I said I got the graph running and I have the two values reporting. However it appears a little funny. The graph is moving into the negative range see attached screen shot.
The values stored in the RRD are thus unexpected. What is the type of the datasets in the RRD? Perhaps the type is DERIVE while GAUGE is appropriate. That might cause negative values.
HTH, Wim Nelis
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
Yeah that the problem. I tried doing that and I won myself a stupidity award. I have two pages which uses the graph. I initially had some of the values as derive. I deleted one of the asphealth.rrd files after correcting them. I forgot about the other file and this caused the graph to look strange.
Regards Neil
-----Original Message----- From: W.J.M. Nelis [mailto:nelis at nlr.nl] Sent: 02 June 2010 09:44 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Graphing Question
Hello Neil,
I am busy helping with some ASP.NET monitoring. I got the performance counters to report. Now they want graphs so I got a basic graph up and
running. Basically I want to show a graph with two lines. 1 Line indicates the current requests(green) the other the queued requests(red). Like I said I got the graph running and I have the two values reporting. However it appears a little funny. The graph is moving into the negative range see attached screen shot.
The values stored in the RRD are thus unexpected. What is the type of the datasets in the RRD? Perhaps the type is DERIVE while GAUGE is appropriate. That might cause negative values.
HTH, Wim Nelis
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
One last question.
I need to make the YAxis work on a log scale is there a way I can do this in the graph definition? Basically I have a lot of 1-100 value in a series and another series running over 250 000.
Regards Neil
-----Original Message----- From: Neil Franken [mailto:nfranken at theunlimitedworld.co.za] Sent: 02 June 2010 10:37 AM To: hobbit at hswn.dk Subject: RE: [hobbit] Graphing Question
Yeah that the problem. I tried doing that and I won myself a stupidity award. I have two pages which uses the graph. I initially had some of the values as derive. I deleted one of the asphealth.rrd files after correcting them. I forgot about the other file and this caused the graph to look strange.
Regards Neil
-----Original Message----- From: W.J.M. Nelis [mailto:nelis at nlr.nl] Sent: 02 June 2010 09:44 AM To: hobbit at hswn.dk Subject: Re: [hobbit] Graphing Question
Hello Neil,
I am busy helping with some ASP.NET monitoring. I got the performance counters to report. Now they want graphs so I got a basic graph up and
running. Basically I want to show a graph with two lines. 1 Line indicates the current requests(green) the other the queued requests(red). Like I said I got the graph running and I have the two values reporting. However it appears a little funny. The graph is moving into the negative range see attached screen shot.
The values stored in the RRD are thus unexpected. What is the type of the datasets in the RRD? Perhaps the type is DERIVE while GAUGE is appropriate. That might cause negative values.
HTH, Wim Nelis
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hello Neil.
One last question.
I need to make the YAxis work on a log scale is there a way I can do this in the graph definition? Basically I have a lot of 1-100 value in a series and another series running over 250 000.
How about -l 1 -o in your graph definition?
Regards, Wim Nelis.
The NLR disclaimer (http://www.nlr.nl/emaildisclaimer) is valid for NLR e-mail messages.
participants (2)
-
nelis@nlr.nl
-
nfranken@theunlimitedworld.co.za