Hi, I wanted to configure reporting in puppet. I came across the below links which says what needs to be added in config file to enable reports. But I was wondering how I view the visual report/graphs do I need to create my own script. http://reductivelabs.com/trac/puppet/wiki/ReportReference#rrdgraph http://reductivelabs.com/trac/puppet/wiki/ReportsAndReporting -- Deepak _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Oct 29, 2007, at 1:44 PM, Deepak Naidu wrote:> Hi, > > I wanted to configure reporting in puppet. I came across > the below links which says what needs to be added in config file to > enable reports. > > > > But I was wondering how I view the visual report/graphs do I need > to create my own script. > > > > http://reductivelabs.com/trac/puppet/wiki/ReportReference#rrdgraph > > http://reductivelabs.com/trac/puppet/wiki/ReportsAndReporting >Puppet will create the rrd graph files if you enable the rrdgraph report, and they''re PNG files, so you can view them in anything that can read PNG. It also creates painfully simplistic html index files, so you can just load those index files and see everything. -- Love truth, and pardon error. -- Voltaire --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
So my understanding is that the report works like the rrd in MRTG outputs a index.html with PNG''s thats nice, let me try. Also the main thing is, would this report the OS type, package list, kernel version, CPU, load etc.. giving a system kind of status.(I am not sure I am asking more or its basic of any Configuration Management Report). -- Deepak -----Original Message----- From: puppet-users-bounces@madstop.com [mailto:puppet-users-bounces@madstop.com] On Behalf Of Luke Kanies Sent: Monday, October 29, 2007 2:31 PM To: Puppet User Discussion Subject: Re: [Puppet-users] Reports in Puppet On Oct 29, 2007, at 1:44 PM, Deepak Naidu wrote:> Hi, > > I wanted to configure reporting in puppet. I came across > the below links which says what needs to be added in config file to > enable reports. > > > > But I was wondering how I view the visual report/graphs do I need > to create my own script. > > > > http://reductivelabs.com/trac/puppet/wiki/ReportReference#rrdgraph > > http://reductivelabs.com/trac/puppet/wiki/ReportsAndReporting >Puppet will create the rrd graph files if you enable the rrdgraph report, and they''re PNG files, so you can view them in anything that can read PNG. It also creates painfully simplistic html index files, so you can just load those index files and see everything. -- Love truth, and pardon error. -- Voltaire --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Oct 29, 2007, at 4:37 PM, Deepak Naidu wrote:> So my understanding is that the report works like the rrd in MRTG > outputs a index.html with PNG''s thats nice, let me try. > > Also the main thing is, would this report the OS type, package list, > kernel version, CPU, load etc.. giving a system kind of status.(I > am not > sure I am asking more or its basic of any Configuration Management > Report).Nope. Currently it just provides some basic stats on timing and counts, such as how many resources are being managed and how long the configuration took to compile and run. If someone wants to add that information, I''m all for it. -- Nonreciprocal Laws of Expectations: Negative expectations yield negative results. Positive expectations yield negative results. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
I have enabled rrd in puppet config. But still I don''t see the index or PNG files it seems it created a directory with the FQDN of the host. [puppetmasterd] reports = tagmail,daily,security,store,log,rrdgraph /var/lib/puppet/rrd [root@v rrd]# ll rhel4.fqdn.com/ total 0 It didn''t create any rrd or PNG files, I am looking at the correct location? Also I have all these packages installed. perl-rrdtool-1.2.23-1.el4.rf rrdtool-1.2.23-1.el4.rf ruby-rrdtool-1.2.23-1.el4.rf -- Deepak -----Original Message----- From: puppet-users-bounces@madstop.com [mailto:puppet-users-bounces@madstop.com] On Behalf Of Luke Kanies Sent: Monday, October 29, 2007 2:31 PM To: Puppet User Discussion Subject: Re: [Puppet-users] Reports in Puppet On Oct 29, 2007, at 1:44 PM, Deepak Naidu wrote:> Hi, > > I wanted to configure reporting in puppet. I came across > the below links which says what needs to be added in config file to > enable reports. > > > > But I was wondering how I view the visual report/graphs do I need > to create my own script. > > > > http://reductivelabs.com/trac/puppet/wiki/ReportReference#rrdgraph > > http://reductivelabs.com/trac/puppet/wiki/ReportsAndReporting >Puppet will create the rrd graph files if you enable the rrdgraph report, and they''re PNG files, so you can view them in anything that can read PNG. It also creates painfully simplistic html index files, so you can just load those index files and see everything. -- Love truth, and pardon error. -- Voltaire --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 30 October 2007, Deepak Naidu wrote:> I have enabled rrd in puppet config. But still I don''t see the index or > PNG files it seems it created a directory with the FQDN of the host. > > [puppetmasterd] > reports = tagmail,daily,security,store,log,rrdgraph > > > /var/lib/puppet/rrd > [root@v rrd]# ll rhel4.fqdn.com/ > total 0 > > > It didn''t create any rrd or PNG files, I am looking at the correct > location? > > Also I have all these packages installed. > > perl-rrdtool-1.2.23-1.el4.rf > rrdtool-1.2.23-1.el4.rf > ruby-rrdtool-1.2.23-1.el4.rfDo you have any reports created? The first time I tried reporting I didn''t set --report on the clients and was wondering why no reports at all where generated. Regards, David - -- The primary freedom of open source is not the freedom from cost, but the free- dom to shape software to do what you want. This freedom is /never/ exercised without cost, but is available /at all/ only by accepting the very different costs associated with open source, costs not in money, but in time and effort. - -- http://www.schierer.org/~luke/log/20070710-1129/on-forks-and-forking -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD4DBQFHJu5q/Pp1N6Uzh0URAihXAKCY3tr3jF8IqNbZsZ3Ai+EXcyvLmgCXeJSG qY0DEnGE/1AhJwVFbZSrzg==tb+d -----END PGP SIGNATURE-----
Yes, I have the reports generated, but no rrd files getting generated. [root@v14 rhel4.fqdn.com]# pwd /var/lib/puppet/reports/fqdn.com [root@v14 rhel4.fqdn.com]# ll total 24 -rw-r----- 1 puppet puppet 1474 Oct 29 16:25 200710292325.yaml -rw-r----- 1 puppet puppet 1475 Oct 29 16:49 200710292349.yaml -rw-r----- 1 puppet puppet 1473 Oct 29 17:21 200710300021.yaml -rw-r----- 1 puppet puppet 1472 Oct 29 17:24 200710300024.yaml -rw-r----- 1 puppet puppet 1473 Oct 29 17:31 200710300031.yaml -rw-r----- 1 puppet puppet 1885 Oct 29 17:32 200710300032.yaml -- Deepak -----Original Message----- From: puppet-users-bounces@madstop.com [mailto:puppet-users-bounces@madstop.com] On Behalf Of David Schmitt Sent: Tuesday, October 30, 2007 1:42 AM To: Puppet User Discussion Subject: Re: [Puppet-users] Reports in Puppet -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 30 October 2007, Deepak Naidu wrote:> I have enabled rrd in puppet config. But still I don''t see the indexor> PNG files it seems it created a directory with the FQDN of the host. > > [puppetmasterd] > reports = tagmail,daily,security,store,log,rrdgraph > > > /var/lib/puppet/rrd > [root@v rrd]# ll rhel4.fqdn.com/ > total 0 > > > It didn''t create any rrd or PNG files, I am looking at the correct > location? > > Also I have all these packages installed. > > perl-rrdtool-1.2.23-1.el4.rf > rrdtool-1.2.23-1.el4.rf > ruby-rrdtool-1.2.23-1.el4.rfDo you have any reports created? The first time I tried reporting I didn''t set --report on the clients and was wondering why no reports at all where generated. Regards, David - -- The primary freedom of open source is not the freedom from cost, but the free- dom to shape software to do what you want. This freedom is /never/ exercised without cost, but is available /at all/ only by accepting the very different costs associated with open source, costs not in money, but in time and effort. - -- http://www.schierer.org/~luke/log/20070710-1129/on-forks-and-forking -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD4DBQFHJu5q/Pp1N6Uzh0URAihXAKCY3tr3jF8IqNbZsZ3Ai+EXcyvLmgCXeJSG qY0DEnGE/1AhJwVFbZSrzg==tb+d -----END PGP SIGNATURE----- _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
Ok, this is what I noticed in the log which says. puppetmasterd[10806]: RRD library is missing; cannot store metrics puppetmasterd[10806]: RRD library is missing; cannot graph metrics I have /usr/lib/librrd.so.2.0.10 library file also it''s the library patch is in /etc/ld.so.conf Below packages installed. What I am missing any clue. perl-rrdtool-1.2.23-1.el4.rf rrdtool-1.2.23-1.el4.rf ruby-rrdtool-1.2.23-1.el4.rf -- Deepak -----Original Message----- From: puppet-users-bounces@madstop.com [mailto:puppet-users-bounces@madstop.com] On Behalf Of Deepak Naidu Sent: Tuesday, October 30, 2007 10:40 AM To: Puppet User Discussion Subject: Re: [Puppet-users] Reports in Puppet Yes, I have the reports generated, but no rrd files getting generated. [root@v14 rhel4.fqdn.com]# pwd /var/lib/puppet/reports/fqdn.com [root@v14 rhel4.fqdn.com]# ll total 24 -rw-r----- 1 puppet puppet 1474 Oct 29 16:25 200710292325.yaml -rw-r----- 1 puppet puppet 1475 Oct 29 16:49 200710292349.yaml -rw-r----- 1 puppet puppet 1473 Oct 29 17:21 200710300021.yaml -rw-r----- 1 puppet puppet 1472 Oct 29 17:24 200710300024.yaml -rw-r----- 1 puppet puppet 1473 Oct 29 17:31 200710300031.yaml -rw-r----- 1 puppet puppet 1885 Oct 29 17:32 200710300032.yaml -- Deepak -----Original Message----- From: puppet-users-bounces@madstop.com [mailto:puppet-users-bounces@madstop.com] On Behalf Of David Schmitt Sent: Tuesday, October 30, 2007 1:42 AM To: Puppet User Discussion Subject: Re: [Puppet-users] Reports in Puppet -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 30 October 2007, Deepak Naidu wrote:> I have enabled rrd in puppet config. But still I don''t see the indexor> PNG files it seems it created a directory with the FQDN of the host.>> [puppetmasterd]> reports = tagmail,daily,security,store,log,rrdgraph>>> /var/lib/puppet/rrd> [root@v rrd]# ll rhel4.fqdn.com/> total 0>>> It didn''t create any rrd or PNG files, I am looking at the correct> location?>> Also I have all these packages installed.>> perl-rrdtool-1.2.23-1.el4.rf> rrdtool-1.2.23-1.el4.rf> ruby-rrdtool-1.2.23-1.el4.rfDo you have any reports created? The first time I tried reporting I didn''t set --report on the clients and was wondering why no reports at all where generated. Regards, David - -- The primary freedom of open source is not the freedom from cost, but the free- dom to shape software to do what you want. This freedom is /never/ exercised without cost, but is available /at all/ only by accepting the very different costs associated with open source, costs not in money, but in time and effort. - -- http://www.schierer.org/~luke/log/20070710-1129/on-forks-and-forking -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD4DBQFHJu5q/Pp1N6Uzh0URAihXAKCY3tr3jF8IqNbZsZ3Ai+EXcyvLmgCXeJSG qY0DEnGE/1AhJwVFbZSrzg= =tb+d -----END PGP SIGNATURE----- _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Oct 30, 2007, at 2:16 PM, Deepak Naidu wrote:> Ok, this is what I noticed in the log which says. > > > > puppetmasterd[10806]: RRD library is missing; cannot store metrics > > puppetmasterd[10806]: RRD library is missing; cannot graph metrics > > > > I have /usr/lib/librrd.so.2.0.10 library file also it’s the library > patch is in /etc/ld.so.conf > > > > Below packages installed. What I am missing any clue. > > > > perl-rrdtool-1.2.23-1.el4.rf > > rrdtool-1.2.23-1.el4.rf > > ruby-rrdtool-1.2.23-1.el4.rfYou need to RRDtool library installed; the following code must work: ruby -rRRDtool -e ''puts :yep'' -- The only thing that saves us from the bureaucracy is inefficiency. An efficient bureaucracy is the greatest threat to liberty. --Eugene McCarthy --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
I cant get it clear. I am using CentOS 4.5 installed rrdtool, also have /usr/lib/librrd.so.2.0.10 library file, but why I am not able to run NOTE: I have the library is /usr/lib/librrd.so.2.0.10 not an RRDTool library. ruby -rRRDtool -e ''puts :yep'' ruby: No such file to load -- RRDtool (LoadError) & also I get RRD library is missing; cannot store metrics Luke, can you please point rpm for RRDtool library, I think its rrdtool which I have, does puppet need any specific version of rrd hwy its fails. -- Deepak -----Original Message----- From: puppet-users-bounces@madstop.com [mailto:puppet-users-bounces@madstop.com] On Behalf Of Luke Kanies Sent: Tuesday, October 30, 2007 12:25 PM To: Puppet User Discussion Subject: Re: [Puppet-users] Reports in Puppet On Oct 30, 2007, at 2:16 PM, Deepak Naidu wrote:> Ok, this is what I noticed in the log which says.>>>> puppetmasterd[10806]: RRD library is missing; cannot store metrics>> puppetmasterd[10806]: RRD library is missing; cannot graph metrics>>>> I have /usr/lib/librrd.so.2.0.10 library file also it''s the library> patch is in /etc/ld.so.conf>>>> Below packages installed. What I am missing any clue.>>>> perl-rrdtool-1.2.23-1.el4.rf>> rrdtool-1.2.23-1.el4.rf>> ruby-rrdtool-1.2.23-1.el4.rfYou need to RRDtool library installed; the following code must work: ruby -rRRDtool -e ''puts :yep'' -- The only thing that saves us from the bureaucracy is inefficiency. An efficient bureaucracy is the greatest threat to liberty. --Eugene McCarthy --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Deepak Naidu wrote:> I cant get it clear. I am using CentOS 4.5 installed rrdtool, also have > /usr/lib/librrd.so.2.0.10 library file, but why I am not able to run >You may need the Ruby bindings for RRD - I am not sure what the rrdtool-ruby package provides precisely. But see the RubyForge site: http://rubyforge.org/frs/download.php/13992/RubyRRDtool-0.6.0.tgz Or on CentOS try the rrdtool-ruby RPM if it exists. Regards James Turnbull - -- James Turnbull <james@lovedthanlost.net> - --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) - --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHJ6fM9hTGvAxC30ARAuwYAJ9ztuOYD/mtxOrxAifK7sNqLA6yZwCgy3dd ThohtcaJB36Keoa4XM3FXRw=G4BL -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James Turnbull wrote:> Deepak Naidu wrote: >> I cant get it clear. I am using CentOS 4.5 installed rrdtool, also have >> /usr/lib/librrd.so.2.0.10 library file, but why I am not able to run > > > You may need the Ruby bindings for RRD - I am not sure what the > rrdtool-ruby package provides precisely. But see the RubyForge site: > > http://rubyforge.org/frs/download.php/13992/RubyRRDtool-0.6.0.tgz > > Or on CentOS try the rrdtool-ruby RPM if it exists. >Bah - ignore that last about the RPM - no coffee yet. Try the bindings download. It should add the required Ruby library. Regards James Turnbull - -- James Turnbull <james@lovedthanlost.net> - --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) - --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHJ6nX9hTGvAxC30ARApHHAKDWaUKqq/NNJNh3OAGAK5repZVkagCgg4RP ywXi+vb1qOtO/jKxcr8sVQ8=T8D1 -----END PGP SIGNATURE-----
Yep James, that did the trick, thanks man. -- Deepak -----Original Message----- From: puppet-users-bounces@madstop.com [mailto:puppet-users-bounces@madstop.com] On Behalf Of James Turnbull Sent: Tuesday, October 30, 2007 3:02 PM To: Puppet User Discussion Subject: Re: [Puppet-users] Reports in Puppet -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James Turnbull wrote:> Deepak Naidu wrote: >> I cant get it clear. I am using CentOS 4.5 installed rrdtool, alsohave>> /usr/lib/librrd.so.2.0.10 library file, but why I am not able to run > > > You may need the Ruby bindings for RRD - I am not sure what the > rrdtool-ruby package provides precisely. But see the RubyForge site: > > http://rubyforge.org/frs/download.php/13992/RubyRRDtool-0.6.0.tgz > > Or on CentOS try the rrdtool-ruby RPM if it exists. >Bah - ignore that last about the RPM - no coffee yet. Try the bindings download. It should add the required Ruby library. Regards James Turnbull - -- James Turnbull <james@lovedthanlost.net> - --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) - --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHJ6nX9hTGvAxC30ARApHHAKDWaUKqq/NNJNh3OAGAK5repZVkagCgg4RP ywXi+vb1qOtO/jKxcr8sVQ8=T8D1 -----END PGP SIGNATURE----- _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users