[rrd-users] problem with plotting unkown data

This is a discussion on [rrd-users] problem with plotting unkown data within the RRD Users forums, part of the Networking and Network Related category; Hi, I want to plot the number of processes on my server, defining fewer than 80 as ok, 80-120 ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-12-2007
Bernd Kuhlen
 
Posts: n/a
Default [rrd-users] problem with plotting unkown data

Hi,
I want to plot the number of processes on my server, defining fewer
than 80 as ok, 80-120 as critical and more than 120 as overload.
Here's how I try to plot it:

/usr/local/bin/rrdtool graph /path/to/png/myserver.proc-6h.png --
start -21600 \
-t "myserver (6h number of processes, 5min intervals)" \
--lower-limit 0 \
--vertical-label "number of processes" \
DEF:nproc=/path/to/rrd/database/myserver.proc.rrd:nproc:AVERAGE \
"CDEF:newproc=nproc" \
CDEF:ok=newproc,$PROCCRITS,GT,$PROCCRITS,newproc,I F \
CDEF:many=newproc,$PROCCRITS,GT,newproc,$PROCCRITS ,-,0,IF \
CDEF:over=newproc,$PROCCRITH,GT,newproc,$PROCCRITH ,-,0,IF \
AREA:ok#0000FF:"ok" \
STACK:many#FFFF00:"critical" \
STACK:over#FF0000:"overload"

where PROCCRITS=80, PROCCRITH=120

for my actual monitored data it works fine. For processes < 80 I habe
nice blue , for 80<=proc<=120 i have orange and red for more than 120
proccesses. The problem is that all unkown data (the time period
that hasn't been monitored since I start at -21600 seconds i.e. 6
hours in the past) is now displayed with 80 proccesses instead of 0.
So all my plots start with a long blue constant 80 bar until the
first point where the monitoring starts.

How can I avoid unkown data being treated as 80 proccesses and avoid
the blue bar?

greets,
Bernd


_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:33 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0