Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uptime graph / aggregator key #26

Open
eperdeme opened this issue May 7, 2013 · 0 comments
Open

Uptime graph / aggregator key #26

eperdeme opened this issue May 7, 2013 · 0 comments

Comments

@eperdeme
Copy link

eperdeme commented May 7, 2013

Hello,

I am having problems making a basic uptime graph using Pencil rewrite;

The config is as follows;
scale(X_mail_zen_net_uk.uptime.uptime,0.000011574)

-- mode: ruby --

title 'Uptime'
description 'Uptime'

field :uptime,
:alias => "Uptime",

:data => "scale(uptime.uptime, 0.000011574)"

This results in the following being called
scale(averageSeries(X_mail_zen_net_uk.uptime.uptime,0.000011574))

This appears to be from the none optional aggregator key.

Can you think of anyway to either make aggregator optional or alternatives if I am doing it wrong?

x.x.x.x- - [07/May/2013:11:07:55 +0000] "GET /render/?title=Uptime+%2F+x_mail_zen_net_uk&from=-1h&width=1517&height=400&until=now&areaMode=none&yMin=0&fontSize=15&tz=Europe%2FLondon&target=alias%28scale%28averageSeries%28x_mail_zen_net_uk.uptime.uptime%29%2C+averageSeries%28x_mail_zen_net_uk.0.000011574%29%29%2C%22x_mail_zen_net_uk+Uptime%22%29 HTTP/1.1" 500 967 "http://localhost:8080/host/global/x_mail_zen_net_uk" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:20.0) Gecko/20100101 Firefox/20.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant