hello, I wrote a simple PHP based viewer for puppet reports and graphs, you need to be able to enable: reports = rrdgraph,store on your master to use this, once you have it installed my script will show you a list of hosts, click on a host and you get a list of reports and performance graphs and then you have the ability to drill in and see the performance of a specific puppet run and also any logs that was produced. The look and feel is all done with Smarty templates so you can easily adapt or integrate it into your intranets etc, it has very few requirements just smarty (included in the tar) and a few other small bits, all included. You can see screenshots, install instructions and get the code here: http://www.devco.net/pubwiki/Puppet/PuppetView Note this code is pretty new as it mentions on my wiki, James got it going on his server so I know it can work outside of my own environment but it is important to know not much error checking or input validation is happening at this point, so you need to password protect it. You can find me on irc #puppet usually if you need help, I''d appreciate any feedback and better looking default templates ;) -- R.I.Pienaar --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
> > hello, > > I wrote a simple PHP based viewer for puppet reports and graphs, you need to be able to enable: > > reports = rrdgraph,store > > on your master to use this, once you have it installed my script will show you a list of hosts, click on a host and you get a list of reports and performance graphs and then you have the ability to drill in and see the performance of a specific puppet run and also any logs that was produced. > > The look and feel is all done with Smarty templates so you can easily adapt or integrate it into your intranets etc, it has very few requirements just smarty (included in the tar) and a few other small bits, all included. > > You can see screenshots, install instructions and get the code here: http://www.devco.net/pubwiki/Puppet/PuppetView > > Note this code is pretty new as it mentions on my wiki, James got it going on his server so I know it can work outside of my own environment but it is important to know not much error checking or input validation is happening at this point, so you need to password protect it. > > You can find me on irc #puppet usually if you need help, I''d appreciate any feedback and better looking default templates ;) >I am looking at this now and making a nice generic module for it( I''ll post that a bit later, today hopefully), and found a small consistence bug in the way you the configuration variables setup. Puppet use reportdir for the reporting directory and you are using reportsdir for the same one. It would make for less confusing syntaxs to sue reportdir in puppetview also, as you are already using the same variable names for the rest fo the puppetview configuration. Evan --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Jun 21, 2008, at 7:56 AM, R.I.Pienaar wrote:> > hello, > > I wrote a simple PHP based viewer for puppet reports and graphs, you > need to be able to enable: > > reports = rrdgraph,store > > on your master to use this, once you have it installed my script > will show you a list of hosts, click on a host and you get a list of > reports and performance graphs and then you have the ability to > drill in and see the performance of a specific puppet run and also > any logs that was produced. > > The look and feel is all done with Smarty templates so you can > easily adapt or integrate it into your intranets etc, it has very > few requirements just smarty (included in the tar) and a few other > small bits, all included. > > You can see screenshots, install instructions and get the code here: http://www.devco.net/pubwiki/Puppet/PuppetView > > Note this code is pretty new as it mentions on my wiki, James got it > going on his server so I know it can work outside of my own > environment but it is important to know not much error checking or > input validation is happening at this point, so you need to password > protect it. > > You can find me on irc #puppet usually if you need help, I''d > appreciate any feedback and better looking default templates ;)This is great -- thanks for writing this. Hopefully this will make those rrd files a bit more useful to people. -- I am not young enough to know everything. -- Oscar Wilde --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
hello, Thanks for your feedback, would be good to know if you get it going and how the installation went.> I am looking at this now and making a nice generic module for it( > I''ll > post that a bit later, today hopefully), and found a small > consistence > bug in the way you the configuration variables setup. Puppet use > reportdir for the reporting directory and you are using reportsdir > for > the same one. It would make for less confusing syntaxs to sue > reportdir in puppetview also, as you are already using the same > variable names for the rest fo the puppetview configuration.I realized this as I was writing the wiki page for, it''s on the todo list :) And so I have now added a Todo section on the wiki page for it as well. -- R.I.Pienaar --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, Jun 23, 2008 at 4:15 PM, R.I.Pienaar <rip@devco.net> wrote:> > hello, > > Thanks for your feedback, would be good to know if you get it going and how the installation went. > >> I am looking at this now and making a nice generic module for it( >> I''ll >> post that a bit later, today hopefully), and found a small >> consistence >> bug in the way you the configuration variables setup. Puppet use >> reportdir for the reporting directory and you are using reportsdir >> for >> the same one. It would make for less confusing syntaxs to sue >> reportdir in puppetview also, as you are already using the same >> variable names for the rest fo the puppetview configuration. > > I realized this as I was writing the wiki page for, it''s on the todo list :) > > And so I have now added a Todo section on the wiki page for it as well. >Great. I let you know about anything else I find. I am running into a bit of loggerhead between the PHP and ERB for the templates so the module is going get a bit of a delay.. Have you considered moving the three config variables in to there own file? That way there is a clean file for teh config variables with out risk of some one poking the wrong things by accident? Evan --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
hello, ----- "Evan Hisey" <ehisey@gmail.com> wrote:> Great. I let you know about anything else I find. I am running into a > bit of loggerhead between the PHP and ERB for the templates so the > module is going get a bit of a delay.. Have you considered moving the > three config variables in to there own file? That way there is a > clean > file for teh config variables with out risk of some one poking the > wrong things by accident?I have released version 0.5, - separate config file in config.php - sorted out variable names - reportdir instead of reportsdir You didn''t mention what exactly the problem was with ERB and php? Would a INI or something simpler work better for your module? -- R.I.Pienaar --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, Jun 23, 2008 at 8:04 PM, R.I.Pienaar <rip@devco.net> wrote:> > hello, > > ----- "Evan Hisey" <ehisey@gmail.com> wrote: > >> Great. I let you know about anything else I find. I am running into a >> bit of loggerhead between the PHP and ERB for the templates so the >> module is going get a bit of a delay.. Have you considered moving the >> three config variables in to there own file? That way there is a >> clean >> file for teh config variables with out risk of some one poking the >> wrong things by accident? > > I have released version 0.5, > > - separate config file in config.php > - sorted out variable names - reportdir instead of reportsdir > > You didn''t mention what exactly the problem was with ERB and php? Would a INI or something simpler work better for your module? >I was still sorting out exactly what the conflict between them was. It looks like ERB does noe like interacting with the PHP <? structure, but I have not been able to decipher much either way yet. I will be starting back in on this in the morning and let you know what I find. Evan --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
>> >> I have released version 0.5, >> >> - separate config file in config.php >> - sorted out variable names - reportdir instead of reportsdir >> >> You didn''t mention what exactly the problem was with ERB and php? Would a INI or something simpler work better for your module? >> > I was still sorting out exactly what the conflict between them was. It > looks like ERB does noe like interacting with the PHP <? structure, > but I have not been able to decipher much either way yet. I will be > starting back in on this in the morning and let you know what I find. >I have bypased this problem now using the content type and teh much smaller config.php file. At which point I realized that I was not getting RRD graphs. What was need to get teh graphs working on RHEL? I have the rrdtool and rrdtools-ruby installed on both client and server but puppet keeps tossing out the RRD library is missing error. Evan --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
hey,> I have bypased this problem now using the content type and teh much > smaller config.php file. At which point I realized that I was not > getting RRD graphs. What was need to get teh graphs working on RHEL? > I > have the rrdtool and rrdtools-ruby installed on both client and > server > but puppet keeps tossing out the RRD library is missing error.it''s a bit of a mission, I ended up copying files around by hand, but this was discussed on the list here: http://groups.google.com/group/puppet-users/browse_thread/thread/997c5ac71b29cde3/2cd751e3b3d595e5 maybe the info there helps -- R.I.Pienaar --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Tue, Jun 24, 2008 at 2:35 PM, R.I.Pienaar <rip@devco.net> wrote:> > hey, > >> I have bypased this problem now using the content type and teh much >> smaller config.php file. At which point I realized that I was not >> getting RRD graphs. What was need to get teh graphs working on RHEL? >> I >> have the rrdtool and rrdtools-ruby installed on both client and >> server >> but puppet keeps tossing out the RRD library is missing error. > > it''s a bit of a mission, I ended up copying files around by hand, but this was discussed on the list here: > > http://groups.google.com/group/puppet-users/browse_thread/thread/997c5ac71b29cde3/2cd751e3b3d595e5 > > maybe the info there helps >That helped quite abit actually. I know ahve a set of EPEL rrdtool compatible rpms made. I will get that available on an external download after I get the puppetview module working. If some ones it before thne let me know and ''ll get out somewhere. Evan --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, Jun 23, 2008 at 8:04 PM, R.I.Pienaar <rip@devco.net> wrote:> > hello, > > ----- "Evan Hisey" <ehisey@gmail.com> wrote: > >> Great. I let you know about anything else I find. I am running into a >> bit of loggerhead between the PHP and ERB for the templates so the >> module is going get a bit of a delay.. Have you considered moving the >> three config variables in to there own file? That way there is a >> clean >> file for teh config variables with out risk of some one poking the >> wrong things by accident? > > I have released version 0.5, > > - separate config file in config.php > - sorted out variable names - reportdir instead of reportsdir > > You didn''t mention what exactly the problem was with ERB and php? Would a INI or something simpler work better for your module? >I have my module mostly working I think now. except that the 0.5 tarball is missing the smarty/templates_c smarty/cache files/directories. Actually they are missing from both 4 and 5. Evan --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Tue, Jun 24, 2008 at 4:44 PM, Evan Hisey <ehisey@gmail.com> wrote:> On Mon, Jun 23, 2008 at 8:04 PM, R.I.Pienaar <rip@devco.net> wrote: >> >> hello, >> >> ----- "Evan Hisey" <ehisey@gmail.com> wrote: >> >>> Great. I let you know about anything else I find. I am running into a >>> bit of loggerhead between the PHP and ERB for the templates so the >>> module is going get a bit of a delay.. Have you considered moving the >>> three config variables in to there own file? That way there is a >>> clean >>> file for teh config variables with out risk of some one poking the >>> wrong things by accident? >> >> I have released version 0.5, >> >> - separate config file in config.php >> - sorted out variable names - reportdir instead of reportsdir >> >> You didn''t mention what exactly the problem was with ERB and php? Would a INI or something simpler work better for your module? >> > I have my module mostly working I think now. except that the 0.5 > tarball is missing the smarty/templates_c smarty/cache > files/directories. Actually they are missing from both 4 and 5. >Resolved this one myself. the fact taht you should create the directories was left off the wiki page. After setting up the puppet module to make the directories every thing is working now. Evan --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Mon, Jun 23, 2008 at 4:10 PM, Luke Kanies <luke@madstop.com> wrote:> > On Jun 21, 2008, at 7:56 AM, R.I.Pienaar wrote: > >> >> hello, >> >> I wrote a simple PHP based viewer for puppet reports and graphs, you >> need to be able to enable: >> >> reports = rrdgraph,store >> >> on your master to use this, once you have it installed my script >> will show you a list of hosts, click on a host and you get a list of >> reports and performance graphs and then you have the ability to >> drill in and see the performance of a specific puppet run and also >> any logs that was produced. >>>> You can find me on irc #puppet usually if you need help, I''d >> appreciate any feedback and better looking default templates ;)> This is great -- thanks for writing this. Hopefully this will make > those rrd files a bit more useful to people.Luke, those graphs are really nice for a quick check of what is happening now that R.I.Pienaar has made it easy to get to them. Evan --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
>> Great. I let you know about anything else I find. I am running into a >> bit of loggerhead between the PHP and ERB for the templates so the >> module is going get a bit of a delay.. Have you considered moving the >> three config variables in to there own file? That way there is a >> clean >> file for teh config variables with out risk of some one poking the >> wrong things by accident? > > I have released version 0.5, > > - separate config file in config.php > - sorted out variable names - reportdir instead of reportsdir > > You didn''t mention what exactly the problem was with ERB and php? Would a INI or something simpler work better for your module? >I have the puppetview module finished. IT should work prety well on CentOS and RHEL systems. It is available at http://unix.eng.ua.edu/~barnowl/puppetview_module.tgz I have include the puppetview 0.5 code base in the module this should make it a one stop shop to test out puppetview. Give it try, it is about the best way to view the YAML logs I have seen and the RRD graphs make it easy to find odd patterns. I have also got a ruby rrdtools rpm that works with the EPEL rrdtool rpm and puppet rpm at http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.i386.rpm http://unix.eng.ua.edu/~barnowl/RubyRRDtool-0.6.0-1.src.rpm Evan --~--~---------~--~----~------------~-------~--~----~ 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-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---