Radiator view?

Most of us aren't familiar with Dashboard. Could you please describe? -Brian

··· On Tue, Dec 11, 2012 at 2:52 PM, Félix Barbeira wrote: > Does it exist in foreman something like the radiator view in the puppet > dashboard? > It´s the only thing that ties me up to the the puppet dashboard. > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/foreman-users/-/Tk9QpHyi0QQJ. > To post to this group, send email to foreman-users@googlegroups.com. > To unsubscribe from this group, send email to > foreman-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/foreman-users?hl=en.

Yes, of course. It´s a web simple web page that shows the state of the last
puppet runs. This is a screenshot:

https://a248.e.akamai.net/camo.github.com/3673cadf1a77b9918f4a0335051d573e9742e15c/687474703a2f2f692e696d6775722e636f6d2f416c3833382e706e67

I like it because you can put it in a little iframe and control the whole
infraestructure with a simple look.

··· El martes, 11 de diciembre de 2012 20:55:30 UTC+1, Brian Gupta escribió: > > Most of us aren't familiar with Dashboard. Could you please describe? > -Brian > > On Tue, Dec 11, 2012 at 2:52 PM, Félix Barbeira <fbar...@gmail.com> > wrote: > > Does it exist in foreman something like the radiator view in the puppet > > dashboard? > > It´s the only thing that ties me up to the the puppet dashboard. > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "Foreman users" group. > > To view this discussion on the web visit > > https://groups.google.com/d/msg/foreman-users/-/Tk9QpHyi0QQJ. > > To post to this group, send email to forema...@googlegroups.com. > > > To unsubscribe from this group, send email to > > foreman-user...@googlegroups.com . > > For more options, visit this group at > > http://groups.google.com/group/foreman-users?hl=en. >

Hmmm. providing this as an optionally tiny embeddable view shouldn't
take much work, as it seems the data is all there on our dashboard.
(Timing is bad though since we are in 1.1 release mode).

Would it help if we could show you how to pull this data out of our
REST API, so you could make your own external radiator that calls our
API?

Thanks,
Brian

··· On Tue, Dec 11, 2012 at 2:59 PM, Félix Barbeira wrote: > Yes, of course. It´s a web simple web page that shows the state of the last > puppet runs. This is a screenshot: > > https://a248.e.akamai.net/camo.github.com/3673cadf1a77b9918f4a0335051d573e9742e15c/687474703a2f2f692e696d6775722e636f6d2f416c3833382e706e67 > > I like it because you can put it in a little iframe and control the whole > infraestructure with a simple look. > > El martes, 11 de diciembre de 2012 20:55:30 UTC+1, Brian Gupta escribió: >> >> Most of us aren't familiar with Dashboard. Could you please describe? >> -Brian >> >> On Tue, Dec 11, 2012 at 2:52 PM, Félix Barbeira wrote: >> > Does it exist in foreman something like the radiator view in the puppet >> > dashboard? >> > It´s the only thing that ties me up to the the puppet dashboard. >> > >> > -- >> > You received this message because you are subscribed to the Google >> > Groups >> > "Foreman users" group. >> > To view this discussion on the web visit >> > https://groups.google.com/d/msg/foreman-users/-/Tk9QpHyi0QQJ. >> > To post to this group, send email to forema...@googlegroups.com. >> > To unsubscribe from this group, send email to >> > foreman-user...@googlegroups.com. >> > For more options, visit this group at >> > http://groups.google.com/group/foreman-users?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/foreman-users/-/ViMeAD4nRm0J. > > To post to this group, send email to foreman-users@googlegroups.com. > To unsubscribe from this group, send email to > foreman-users+unsubscribe@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/foreman-users?hl=en.

Yes, may be helpful.

Thanks.

··· El martes, 11 de diciembre de 2012 21:04:28 UTC+1, Brian Gupta escribió: > > Hmmm. providing this as an optionally tiny embeddable view shouldn't > take much work, as it seems the data is all there on our dashboard. > (Timing is bad though since we are in 1.1 release mode). > > Would it help if we could show you how to pull this data out of our > REST API, so you could make your own external radiator that calls our > API? > > Thanks, > Brian > > On Tue, Dec 11, 2012 at 2:59 PM, Félix Barbeira <fbar...@gmail.com> > wrote: > > Yes, of course. It´s a web simple web page that shows the state of the > last > > puppet runs. This is a screenshot: > > > > > https://a248.e.akamai.net/camo.github.com/3673cadf1a77b9918f4a0335051d573e9742e15c/687474703a2f2f692e696d6775722e636f6d2f416c3833382e706e67 > > > > I like it because you can put it in a little iframe and control the > whole > > infraestructure with a simple look. > > > > El martes, 11 de diciembre de 2012 20:55:30 UTC+1, Brian Gupta escribió: > >> > >> Most of us aren't familiar with Dashboard. Could you please describe? > >> -Brian > >> > >> On Tue, Dec 11, 2012 at 2:52 PM, Félix Barbeira > wrote: > >> > Does it exist in foreman something like the radiator view in the > puppet > >> > dashboard? > >> > It´s the only thing that ties me up to the the puppet dashboard. > >> > > >> > -- > >> > You received this message because you are subscribed to the Google > >> > Groups > >> > "Foreman users" group. > >> > To view this discussion on the web visit > >> > https://groups.google.com/d/msg/foreman-users/-/Tk9QpHyi0QQJ. > >> > To post to this group, send email to forema...@googlegroups.com. > >> > To unsubscribe from this group, send email to > >> > foreman-user...@googlegroups.com. > >> > For more options, visit this group at > >> > http://groups.google.com/group/foreman-users?hl=en. > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "Foreman users" group. > > To view this discussion on the web visit > > https://groups.google.com/d/msg/foreman-users/-/ViMeAD4nRm0J. > > > > To post to this group, send email to forema...@googlegroups.com. > > > To unsubscribe from this group, send email to > > foreman-user...@googlegroups.com . > > For more options, visit this group at > > http://groups.google.com/group/foreman-users?hl=en. >

> Yes, may be helpful.
>
> curl -ks -H 'application/json' https://foreman/api/dashboard -u
admin:changeme
{
active_hosts_ok: 0,
active_hosts_ok_enabled: 0,
good_hosts_enabled: 3,
good_hosts: 3,
out_of_sync_hosts_enabled: 0,
pending_hosts: 1,
percentage: 50,
total_hosts: 6,
pending_hosts_enabled: 1,
bad_hosts: 2,
reports_missing: 0,
active_hosts: 2,
ok_hosts_enabled: 3,
bad_hosts_enabled: 2,
out_of_sync_hosts: 0,
disabled_hosts: 0,
ok_hosts: 3
}

··· On Tue, Dec 11, 2012 at 10:22 PM, Félix Barbeira wrote:

Thanks.

> Hmmm. providing this as an optionally tiny embeddable view shouldn't
> take much work, as it seems the data is all there on our dashboard.
> (Timing is bad though since we are in 1.1 release mode).
>

I'll see if we can add something, after all, it would be a very simple view.

anyone care to add a feature request that we can track it down?

Ohad

··· On Tue, Dec 11, 2012 at 10:04 PM, Brian Gupta wrote:

Would it help if we could show you how to pull this data out of our
REST API, so you could make your own external radiator that calls our
API?

Thanks,
Brian

On Tue, Dec 11, 2012 at 2:59 PM, Félix Barbeira fbarbeira@gmail.com > wrote:

Yes, of course. It´s a web simple web page that shows the state of the
last
puppet runs. This is a screenshot:

https://a248.e.akamai.net/camo.github.com/3673cadf1a77b9918f4a0335051d573e9742e15c/687474703a2f2f692e696d6775722e636f6d2f416c3833382e706e67

I like it because you can put it in a little iframe and control the whole
infraestructure with a simple look.

El martes, 11 de diciembre de 2012 20:55:30 UTC+1, Brian Gupta escribió:

Most of us aren’t familiar with Dashboard. Could you please describe?
-Brian

On Tue, Dec 11, 2012 at 2:52 PM, Félix Barbeira fbar...@gmail.com > wrote:

Does it exist in foreman something like the radiator view in the
puppet

dashboard?
It´s the only thing that ties me up to the the puppet dashboard.


You received this message because you are subscribed to the Google
Groups
"Foreman users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/foreman-users/-/Tk9QpHyi0QQJ.
To post to this group, send email to forema...@googlegroups.com.
To unsubscribe from this group, send email to
foreman-user...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/foreman-users/-/ViMeAD4nRm0J.

To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.

I'll add ticket.

··· On Tue, Dec 11, 2012 at 3:44 PM, Ohad Levy wrote: > > I'll see if we can add something, after all, it would be a very simple view. > > anyone care to add a feature request that we can track it down?

Feature #2034: Add radiator view - Foreman logged. Please feel free to add more
data in ticket if there are more requirements I did not list.

-Brian

··· On Tue, Dec 11, 2012 at 3:45 PM, Brian Gupta wrote: > I'll add ticket. > > On Tue, Dec 11, 2012 at 3:44 PM, Ohad Levy wrote: >> >> I'll see if we can add something, after all, it would be a very simple view. >> >> anyone care to add a feature request that we can track it down?

Felix,

I implemented your request in a gem / rails engine that you can find at https://github.com/isratrade/foreman_radiator. It's pretty simple to implement. Just add the gem, run bundle, (you may have to restart foreman) and then go /radiator

This is the type of feature request that probably won't make it into the core Foreman repository, but I hope that people can write similar plugins like this that the community can share.

Joseph

··· ----- Original Message ----- From: "Brian Gupta" To: foreman-users@googlegroups.com Sent: Tuesday, December 11, 2012 10:48:17 PM Subject: Re: [foreman-users] Radiator view?

Feature #2034: Add radiator view - Foreman logged. Please feel free to add more
data in ticket if there are more requirements I did not list.

-Brian

On Tue, Dec 11, 2012 at 3:45 PM, Brian Gupta brian.gupta@brandorr.com wrote:

I’ll add ticket.

On Tue, Dec 11, 2012 at 3:44 PM, Ohad Levy ohadlevy@gmail.com wrote:

I’ll see if we can add something, after all, it would be a very simple view.

anyone care to add a feature request that we can track it down?


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.

Thanks!!

I´ve installed it, everything goes fine. Then I restarted apache but the
url http://foreman/radiator returns a 404 error. Do I have to change
something in the passenger config?

I use ubuntu 12 LTS, apache passenger and foreman rc

··· El jueves, 13 de diciembre de 2012 10:50:31 UTC+1, Joseph Magen escribió: > > Felix, > > I implemented your request in a gem / rails engine that you can find at > https://github.com/isratrade/foreman_radiator. It's pretty simple to > implement. Just add the gem, run bundle, (you may have to restart foreman) > and then go /radiator > > This is the type of feature request that probably won't make it into the > core Foreman repository, but I hope that people can write similar plugins > like this that the community can share. > > Joseph > > > > > > ----- Original Message ----- > From: "Brian Gupta" <brian...@brandorr.com > > To: forema...@googlegroups.com > Sent: Tuesday, December 11, 2012 10:48:17 PM > Subject: Re: [foreman-users] Radiator view? > > http://theforeman.org/issues/2034 logged. Please feel free to add more > data in ticket if there are more requirements I did not list. > > -Brian > > On Tue, Dec 11, 2012 at 3:45 PM, Brian Gupta <brian...@brandorr.com> > wrote: > > I'll add ticket. > > > > On Tue, Dec 11, 2012 at 3:44 PM, Ohad Levy <ohad...@gmail.com> > wrote: > >> > >> I'll see if we can add something, after all, it would be a very simple > view. > >> > >> anyone care to add a feature request that we can track it down? > > -- > You received this message because you are subscribed to the Google Groups > "Foreman users" group. > To post to this group, send email to forema...@googlegroups.com. > > To unsubscribe from this group, send email to > foreman-user...@googlegroups.com . > For more options, visit this group at > http://groups.google.com/group/foreman-users?hl=en. >

> Thanks!!
>
> I´ve installed it, everything goes fine. Then I restarted apache but the
> url http://foreman/radiator returns a 404 error. Do I have to change
> something in the passenger config?
>
> I use ubuntu 12 LTS, apache passenger and foreman rc
>

The RC does not contain a simple fix we needed to allow plugins adding new
urls (routes), you would need to apply this patch [1] or wait for the next
RC :slight_smile:

Thanks for trying it out,
Ohad

[1]
https://github.com/theforeman/foreman/commit/d92340afea8ed24ff282cd63e529fe662938ae52

··· On Fri, Dec 14, 2012 at 9:47 AM, Félix Barbeira wrote:

El jueves, 13 de diciembre de 2012 10:50:31 UTC+1, Joseph Magen escribió:

Felix,

I implemented your request in a gem / rails engine that you can find at
https://github.com/isratrade/**foreman_radiatorhttps://github.com/isratrade/foreman_radiator.
It’s pretty simple to implement. Just add the gem, run bundle, (you may
have to restart foreman) and then go /radiator

This is the type of feature request that probably won’t make it into the
core Foreman repository, but I hope that people can write similar plugins
like this that the community can share.

Joseph

----- Original Message -----
From: “Brian Gupta” brian...@brandorr.com
To: forema...@googlegroups.com
Sent: Tuesday, December 11, 2012 10:48:17 PM
Subject: Re: [foreman-users] Radiator view?

http://theforeman.org/issues/**2034 http://theforeman.org/issues/2034logged. Please feel free to add more
data in ticket if there are more requirements I did not list.

-Brian

On Tue, Dec 11, 2012 at 3:45 PM, Brian Gupta brian...@brandorr.com >> wrote:

I’ll add ticket.

On Tue, Dec 11, 2012 at 3:44 PM, Ohad Levy ohad...@gmail.com wrote:

I’ll see if we can add something, after all, it would be a very simple
view.

anyone care to add a feature request that we can track it down?


You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To post to this group, send email to forema...@googlegroups.com**.
To unsubscribe from this group, send email to foreman-user…@**
googlegroups.com.
For more options, visit this group at http://groups.google.com/**
group/foreman-users?hl=enhttp://groups.google.com/group/foreman-users?hl=en.


You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To view this discussion on the web visit
https://groups.google.com/d/msg/foreman-users/-/GdPXcRcWIK8J.

To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.

Thanks Ohad, I applied the patch and now I have the radiator view working :slight_smile:

I would like to make a couple of suggestions in order to improve the power
of this plugin:

  • When you resize the window, the radiator don´t resize (view attach
    screenshot). So it´s impossible to use that url in a little iframe.
  • Once installed the plugin you lost the dashboard link in foreman. Let me
    explain. In the superior menu of foreman "Dashboard - Hosts - Reports …"
    the "Dashboard" link section points to "http://foreman/radiator&quot; instead of
    "http://foreman/dashboard&quot;. The url "http://foreman/dashboard&quot; it´s still
    available but you have to type it manually on the bar.

Thanks also to Joseph to implement this feature :slight_smile:

··· El viernes, 14 de diciembre de 2012 13:19:22 UTC+1, ohad escribió: > > > > > On Fri, Dec 14, 2012 at 9:47 AM, Félix Barbeira <fbar...@gmail.com > > wrote: > >> Thanks!! >> >> I´ve installed it, everything goes fine. Then I restarted apache but the >> url http://foreman/radiator returns a 404 error. Do I have to change >> something in the passenger config? >> >> I use ubuntu 12 LTS, apache passenger and foreman rc >> > > The RC does not contain a simple fix we needed to allow plugins adding new > urls (routes), you would need to apply this patch [1] or wait for the next > RC :) > > Thanks for trying it out, > Ohad > > [1] > https://github.com/theforeman/foreman/commit/d92340afea8ed24ff282cd63e529fe662938ae52 > >> >> >> El jueves, 13 de diciembre de 2012 10:50:31 UTC+1, Joseph Magen escribió: >>> >>> Felix, >>> >>> I implemented your request in a gem / rails engine that you can find at >>> https://github.com/isratrade/**foreman_radiator. >>> It's pretty simple to implement. Just add the gem, run bundle, (you may >>> have to restart foreman) and then go /radiator >>> >>> This is the type of feature request that probably won't make it into the >>> core Foreman repository, but I hope that people can write similar plugins >>> like this that the community can share. >>> >>> Joseph >>> >>> >>> >>> >>> >>> ----- Original Message ----- >>> From: "Brian Gupta" >>> To: forema...@googlegroups.com >>> Sent: Tuesday, December 11, 2012 10:48:17 PM >>> Subject: Re: [foreman-users] Radiator view? >>> >>> http://theforeman.org/issues/**2034 logged. Please feel free to add more >>> data in ticket if there are more requirements I did not list. >>> >>> -Brian >>> >>> On Tue, Dec 11, 2012 at 3:45 PM, Brian Gupta >>> wrote: >>> > I'll add ticket. >>> > >>> > On Tue, Dec 11, 2012 at 3:44 PM, Ohad Levy wrote: >>> >> >>> >> I'll see if we can add something, after all, it would be a very >>> simple view. >>> >> >>> >> anyone care to add a feature request that we can track it down? >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Foreman users" group. >>> To post to this group, send email to forema...@googlegroups.com**. >>> To unsubscribe from this group, send email to foreman-user...@** >>> googlegroups.com. >>> For more options, visit this group at http://groups.google.com/** >>> group/foreman-users?hl=en. >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Foreman users" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/foreman-users/-/GdPXcRcWIK8J. >> >> To post to this group, send email to forema...@googlegroups.com >> . >> To unsubscribe from this group, send email to >> foreman-user...@googlegroups.com . >> For more options, visit this group at >> http://groups.google.com/group/foreman-users?hl=en. >> > >