Re: [Puppet Users] Puppet Dashboard Questions

2011-12-05 Thread John Warburton
n 6 December 2011 11:49, hai wu  wrote:

> Great! Is there any API to use to retrieve these information from
> dashboard database, so that we could generate a nice report via email,
> with short and verbose versions for such report?
>
>
API? Unix text tools, perl, ruby, Excel - choose your poison as you can
wget the URL from "Export nodes as CSV" on the front page

You may want to use my grep in
http://projects.puppetlabs.com/issues/7687#note-3 to trim down what you
have to deal with

John

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



Re: [Puppet Users] Puppet Dashboard Questions

2011-12-05 Thread Nigel Kersten
On Mon, Dec 5, 2011 at 4:49 PM, hai wu  wrote:

> Great! Is there any API to use to retrieve these information from
> dashboard database, so that we could generate a nice report via email,
> with short and verbose versions for such report?
>

No. You'd need to put together your own report processor that generated
these for you.

http://docs.puppetlabs.com/dashboard/ui/1.2/node_status.html

That shows you how the "Pending" status is determined.

In the libdir you can see how report processors are put together, and you
can send reports to multiple such processors.

https://github.com/puppetlabs/puppet/tree/master/lib/puppet/reports/

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



Re: [Puppet Users] Puppet Dashboard Questions

2011-12-05 Thread hai wu
Great! Is there any API to use to retrieve these information from
dashboard database, so that we could generate a nice report via email,
with short and verbose versions for such report?

Thanks,
Hai

On 12/5/11, Nigel Kersten  wrote:
> On Mon, Dec 5, 2011 at 1:01 PM, hai wu  wrote:
>
>> I quote what Nigel mentioned before:
>>
>> "We'll have this ready within the next two Dashboard point releases."
>>
>> What's the state for this one (To report 'noop' mode puppet run)? Is
>> this feature available in some dashboard release as of now?
>>
>
> Yes. The current release of Dashboard will show a noop run that has
> simulated the run and identified changes that would be made under the
> category "Pending" in the left-hand sidebar.
>
>
> --
> Nigel Kersten
> Product Manager, Puppet Labs
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>

-- 
Sent from my mobile device

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



Re: [Puppet Users] Puppet Dashboard Questions

2011-12-05 Thread Nigel Kersten
On Mon, Dec 5, 2011 at 1:01 PM, hai wu  wrote:

> I quote what Nigel mentioned before:
>
> "We'll have this ready within the next two Dashboard point releases."
>
> What's the state for this one (To report 'noop' mode puppet run)? Is
> this feature available in some dashboard release as of now?
>

Yes. The current release of Dashboard will show a noop run that has
simulated the run and identified changes that would be made under the
category "Pending" in the left-hand sidebar.


-- 
Nigel Kersten
Product Manager, Puppet Labs

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



Re: [Puppet Users] Puppet Dashboard Questions

2011-12-05 Thread hai wu
I quote what Nigel mentioned before:

"We'll have this ready within the next two Dashboard point releases."

What's the state for this one (To report 'noop' mode puppet run)? Is
this feature available in some dashboard release as of now?

Thanks,
Hai

On 5/7/11, Nigel Kersten  wrote:
> On Fri, May 6, 2011 at 4:47 PM, Christopher Lee wrote:
>
>> Hello,
>>
>> I am playing with Puppet Dashboard and I have a few questions.
>>
>> First, as we start using puppet we are planning on running puppet agent
>> from cron or via mcollective runs in --noop mode every few hours as an
>> audit function.  If anything is changed we would like to have it show up
>> in
>> Puppet Dashboard so we can alarm on it and then manually find out why it
>> was
>> changed before reverting back.  I noticed dashboard only reports "green"
>> good run, no errors or "yellow" changes where made.  If I run in noop it
>> returns green because no changes where made but I would like to see it
>> tell
>> me changes needed to be made but where not.  Does this make since?  Is
>> there
>> away to get this functionality?
>>
>
> Chris, we're actually working on this exact issue in the next few days,
> showing "Pending" changes in a much more obvious manner with noop/simulation
> runs.
>
> We'll have this ready within the next two Dashboard point releases.
>
>
>>
>> Second, we have two data centers and two puppet masters.  I would like to
>> run one dashboard.  I can see from reporting this not to be a big deal but
>> if I start using dashboard as an external node provider will I have
>> issues.
>>  Looking at the settings.yml file for dashboard the setting seem to be
>> very
>> specific to one master.  Am I going to start running into issue trying to
>> use one dashboard with two puppetmaster (more more in the future).
>>
>
> As far as an external node classifier goes, you really shouldn't have
> problems with multiple masters, both configured to use Dashboard as their
> ENC.
>
>
> --
> Nigel Kersten
> Product, Puppet Labs
> @nigelkersten
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
>

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



Re: [Puppet Users] Puppet Dashboard Questions

2011-05-07 Thread Nigel Kersten
On Fri, May 6, 2011 at 4:47 PM, Christopher Lee wrote:

> Hello,
>
> I am playing with Puppet Dashboard and I have a few questions.
>
> First, as we start using puppet we are planning on running puppet agent
> from cron or via mcollective runs in --noop mode every few hours as an
> audit function.  If anything is changed we would like to have it show up in
> Puppet Dashboard so we can alarm on it and then manually find out why it was
> changed before reverting back.  I noticed dashboard only reports "green"
> good run, no errors or "yellow" changes where made.  If I run in noop it
> returns green because no changes where made but I would like to see it tell
> me changes needed to be made but where not.  Does this make since?  Is there
> away to get this functionality?
>

Chris, we're actually working on this exact issue in the next few days,
showing "Pending" changes in a much more obvious manner with noop/simulation
runs.

We'll have this ready within the next two Dashboard point releases.


>
> Second, we have two data centers and two puppet masters.  I would like to
> run one dashboard.  I can see from reporting this not to be a big deal but
> if I start using dashboard as an external node provider will I have issues.
>  Looking at the settings.yml file for dashboard the setting seem to be very
> specific to one master.  Am I going to start running into issue trying to
> use one dashboard with two puppetmaster (more more in the future).
>

As far as an external node classifier goes, you really shouldn't have
problems with multiple masters, both configured to use Dashboard as their
ENC.


-- 
Nigel Kersten
Product, Puppet Labs
@nigelkersten

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



Re: [Puppet Users] Puppet Dashboard Questions

2011-05-07 Thread Mohamed Lrhazi
There is bug open for your first question:
http://projects.puppetlabs.com/issues/3535

On Fri, May 6, 2011 at 12:47 PM, Christopher Lee  wrote:
> Hello,
> I am playing with Puppet Dashboard and I have a few questions.
> First, as we start using puppet we are planning on running puppet agent from
> cron or via mcollective runs in --noop mode every few hours as an
> audit function.  If anything is changed we would like to have it show up in
> Puppet Dashboard so we can alarm on it and then manually find out why it was
> changed before reverting back.  I noticed dashboard only reports "green"
> good run, no errors or "yellow" changes where made.  If I run in noop it
> returns green because no changes where made but I would like to see it tell
> me changes needed to be made but where not.  Does this make since?  Is there
> away to get this functionality?
> Second, we have two data centers and two puppet masters.  I would like to
> run one dashboard.  I can see from reporting this not to be a big deal but
> if I start using dashboard as an external node provider will I have issues.
>  Looking at the settings.yml file for dashboard the setting seem to be very
> specific to one master.  Am I going to start running into issue trying to
> use one dashboard with two puppetmaster (more more in the future).
> -chrisl
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>

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