Closed ecsv closed 8 years ago
@sunbox this is most likely the problem which was spotted on the FFC/FFV meshviewer installation
👍
I'd consider using the upstate
as semantically cleaner, and always assumed it would be used for exactly this purpose. However, your new command still incorporates whether clients
is unknown, right? Why is that?
And please use pull requests if you propose code. Opening a pull request doesn't necessarily mean “This is finished, please pull”, especially if you explicitly state that the code isn't supposed to be merged yet, but it eases code review greatly. Github is all about not having to deal with patch files anymore.
Edit: And @SunboX, please don't add comments just for a thumbs up. You can add a reaction for that using the smiley button on the upper right part of every comment/issue/whatever.
@jplitza This was not meant as code contribution but to discuss what I consider to be wrong.
And yes, clients
could be dropped. Still had it in my test because I don't know if there is some strange situation where clients is required
'CDEF:d=upstate,UN,0,upstate,IF,0,EQ,maxc,UN,1,maxc,IF,1,MAX,*'
Let's further discuss in #86, closing here.
It was noticed that the downtime marks are missing for graphs over longer timespans (e.g. over 7 days instead of just 1d). This seems to be caused by the averaging function of the rrdtool.
Right now the down time area is defined as
So d is defined as max(1,maxc) whenever clients is not defined. But clients seems to become a defined value when the averaging happens.
Right now I am using upstate as workaround for this:
This might have other downsides and thus I haven't created a pull request for this change. The full testcall used right now is:
Here are is an example from node 60e327fb5176 (before the change, after the change)
testdata.zip