Discussion:
RRD graphing from outside zenoss
zenorr
2012-04-25 12:56:43 UTC
Permalink
zenorr [http://community.zenoss.org/people/zenorr] created the discussion

"RRD graphing from outside zenoss"

To view the discussion, visit: http://community.zenoss.org/message/66053#66053

--------------------------------------------------------------
Hi,

Within Zenoss 3.x, I need to get graphs out of Zenoss' RRD files. I can for sure use "rrdtool graph" from my python script, but I would prefer to use the Zenoss renderer process with some smart URLs like

     http://localhost:8080/zport/RenderServer/render/$device/$interface/$width/$height http://localhost:8080/zport/RenderServer/render/$device/$interface/$width/$height

Is this foreseen ? and possible ?
Example welcome...

TIA,
Charles
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66053#66053]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jmp242
2012-04-25 13:20:57 UTC
Permalink
jmp242 [http://community.zenoss.org/people/jmp242] created the discussion

"Re: RRD graphing from outside zenoss"

To view the discussion, visit: http://community.zenoss.org/message/66058#66058

--------------------------------------------------------------
See:
http://mindlesstechnology.wordpress.com/2009/06/08/customizing-graphs-in-zenoss/ http://mindlesstechnology.wordpress.com/2009/06/08/customizing-graphs-in-zenoss/

--
James Pulver
ZCA Member
LEPP Computer Group
Cornell University
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66058#66058]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
zenorr
2012-04-25 14:12:24 UTC
Permalink
zenorr [http://community.zenoss.org/people/zenorr] created the discussion

"Re: RRD graphing from outside zenoss"

To view the discussion, visit: http://community.zenoss.org/message/66054#66054

--------------------------------------------------------------
Thanks James, right on the spot !
I'm only wondering... the encoding might change with the next zenoss upgrade...
A well-defined web service would definitly be valuable.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66054#66054]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
robertr
2012-08-30 03:06:49 UTC
Permalink
robertr [http://community.zenoss.org/people/robertr] created the discussion

"Re: RRD graphing from outside zenoss"

To view the discussion, visit: http://community.zenoss.org/message/68294#68294

--------------------------------------------------------------
Have a look at this: http://community.zenoss.org/message/68274#68274 http://community.zenoss.org/message/68274#68274

I create an external web front-end for custom interface graphs. Included in this front-end is a cgi script that takes human readable urls and post it to the zenrender to display graphs.

An image url would look something like this:

https://localhost/zenrrd/cgi-bin/zenoss_rrd.cgi?device=$device&int=$interface&end=08/15/2012&start=08/01/2012&width=800 https://localhost/zenrrd/cgi-bin/zenoss_rrd.cgi?device=$device&int=$interface&end=08/15/2012&start=08/01/2012&width=800
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68294#68294]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
zenorr
2012-08-30 10:50:50 UTC
Permalink
zenorr [http://community.zenoss.org/people/zenorr] created the discussion

"Re: RRD graphing from outside zenoss"

To view the discussion, visit: http://community.zenoss.org/message/68298#68298

--------------------------------------------------------------
Thanks, nice attempt. meanwhile, I have written a web-service that pulls data out from RRD files, similar to your stuff. I know as well how to get rid of the sudo : use PHP and per-directory user-rights, will take me some more time to implement.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68298#68298]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
robertr
2012-08-30 18:13:59 UTC
Permalink
robertr [http://community.zenoss.org/people/robertr] created the discussion

"Re: RRD graphing from outside zenoss"

To view the discussion, visit: http://community.zenoss.org/message/68322#68322

--------------------------------------------------------------
No problem. I just wanted to share this as it might of been useful, even if the interface was not needed, it might have some useful bits. It definitely isn't perfect as it was written in a day.

As for sudo, I am guessing you are refering to the bash script? Sudo isn't needed, but I just didn't want to tell people to change permissions on their machines. That is what I did at first, but didn't like the idea. The bash script could just be run in cron as the zenoss user instead if the permissions were right.

I also figured this might not be as useful for others if it didn't include other graphs like packets, errors, cpu, memory... so I am currently looking into that.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68322#68322]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
menashe
2012-04-29 06:05:05 UTC
Permalink
menashe [http://community.zenoss.org/people/menashe] created the discussion

"Re: RRD graphing from outside zenoss"

To view the discussion, visit: http://community.zenoss.org/message/66120#66120

--------------------------------------------------------------
From: jmp242 mailto:***@zenoss.org ***@zenoss.org
Sent: Wednesday, April 25, 2012 4:21 PM
To: ניסים מנשה
Subject: http://community.zenoss.org/message/66120#66120#66120/zenoss-users Re: RRD graphing from outside zenoss RRD graphing from outside zenoss




Zenoss Community < http://community.zenoss.org/index.jspa http://community.zenoss.org/index.jspa>


Re: RRD graphing from outside zenoss


created by jmp242 < http://community.zenoss.org/people/jmp242 http://community.zenoss.org/people/jmp242>  in zenoss-users - View the full discussion < http://community.zenoss.org/message/66058#66058#66058 http://community.zenoss.org/message/66058#66058
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66120#66120]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...