Suppose I have 50 puppet client and a single puppetmaster. How can set some alerts when some catalog applied to a client fail? Is this possible? Does puppet brings some alerts of that kind? regards, israel. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
the easiest way is to parse syslog (or wherever you store your puppet logs). if you are looking for client failures ( e.g. the catalog was applied to the client) try to enable puppet reports. there are a few web interfaces in the making that process those reports. Ohad On Sat, Aug 15, 2009 at 2:39 AM, ELTigre <igalvarez@gmail.com> wrote:> > Suppose I have 50 puppet client and a single puppetmaster. How can set > some alerts when some catalog applied to a client fail? Is this > possible? Does puppet brings some alerts of that kind? > > regards, > israel. > > > >--~--~---------~--~----~------------~-------~--~----~ 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 14 août, 20:39, ELTigre <igalva...@gmail.com> wrote:> Suppose I have 50 puppet client and a single puppetmaster. How can set > some alerts when some catalog applied to a client fail? Is this > possible? Does puppet brings some alerts of that kind? >I think splunk might come handy for that. Redirect all your hosts'' syslogs to your splunk server and use the "saved search" feature ... Erwan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Erwan A. wrote:> On 14 août, 20:39, ELTigre <igalva...@gmail.com> wrote: >> Suppose I have 50 puppet client and a single puppetmaster. How can set >> some alerts when some catalog applied to a client fail? Is this >> possible? Does puppet brings some alerts of that kind? >>The logcheck configuration in the ext directory of the source package is also handy for this. Regards James Turnbull -- Author of: * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux)
thanks for your soon answers, :-) BUT, I''m just looking for a way to get some alerts immediately if there was some errors in a transaction on a puppet client, maybe a mail or a SMS. thanks again. regards, Israel. On Aug 15, 7:01 pm, James Turnbull <ja...@lovedthanlost.net> wrote:> Erwan A. wrote: > > On 14 août, 20:39, ELTigre <igalva...@gmail.com> wrote: > >> Suppose I have 50 puppet client and a single puppetmaster. How can set > >> some alerts when some catalog applied to a client fail? Is this > >> possible? Does puppet brings some alerts of that kind? > > The logcheck configuration in the ext directory of the source package is > also handy for this. > > Regards > > James Turnbull > > -- > Author of: > * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) > * Pulling Strings with Puppet (http://tinyurl.com/pupbook) > * Pro Nagios 2.0 (http://tinyurl.com/pronagios) > * Hardening Linux (http://tinyurl.com/hardeninglinux) > > signature.asc > < 1KViewDownload--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ELTigre wrote:> thanks for your soon answers, :-) BUT, I''m just looking for a way to > get some alerts immediately if there was some errors in a transaction > on a puppet client, maybe a mail or a SMS. >Then have a look at piping the results of one of the reports (or designing your own report - they are very extensible) to something: http://reductivelabs.com/trac/puppet/wiki/ReportReference http://reductivelabs.com/trac/puppet/wiki/ReportsAndReporting Regards James Turnbull - -- Author of: * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFKh2Rh9hTGvAxC30ARAuVjAJ4wCSGh6dvd5edbyQ9vpk4O0ROpsgCdGhrD OlWK4w4osJ/Et+eFAXebf5I=ZDuG -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Thanks again Turnbull, We''ll make some script to parse YAML files on puppemaster in order to send us an alert message. One last question, How can I monitor ssl conections between server/ client? I need to be sure all clients are connecting the master. :-) best regards, Israel. On Aug 15, 8:44 pm, James Turnbull <ja...@lovedthanlost.net> wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > ELTigre wrote: > > thanks for your soon answers, :-) BUT, I''m just looking for a way to > > get some alerts immediately if there was some errors in a transaction > > on a puppet client, maybe a mail or a SMS. > > Then have a look at piping the results of one of the reports (or > designing your own report - they are very extensible) to something: > > http://reductivelabs.com/trac/puppet/wiki/ReportReferencehttp://reductivelabs.com/trac/puppet/wiki/ReportsAndReporting > > Regards > > James Turnbull > > - -- > Author of: > * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) > * Pulling Strings with Puppet (http://tinyurl.com/pupbook) > * Pro Nagios 2.0 (http://tinyurl.com/pronagios) > * Hardening Linux (http://tinyurl.com/hardeninglinux) > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (Darwin) > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/ > > iD8DBQFKh2Rh9hTGvAxC30ARAuVjAJ4wCSGh6dvd5edbyQ9vpk4O0ROpsgCdGhrD > OlWK4w4osJ/Et+eFAXebf5I> =ZDuG > -----END PGP SIGNATURE-------~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
you could parse the yaml files under yaml/node/hostname, it would include the date of the last connection between the puppetmaster and its client. if its over 30 minutes (or what ever your run interval is) you can generate an alert for that host. Ohad On Sun, Aug 16, 2009 at 11:01 AM, ELTigre <igalvarez@gmail.com> wrote:> > Thanks again Turnbull, > > We''ll make some script to parse YAML files on puppemaster in order to > send us an alert message. > > One last question, How can I monitor ssl conections between server/ > client? I need to be sure all clients are connecting the master. :-) > > best regards, > Israel. > > > On Aug 15, 8:44 pm, James Turnbull <ja...@lovedthanlost.net> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > ELTigre wrote: > > > thanks for your soon answers, :-) BUT, I''m just looking for a way to > > > get some alerts immediately if there was some errors in a transaction > > > on a puppet client, maybe a mail or a SMS. > > > > Then have a look at piping the results of one of the reports (or > > designing your own report - they are very extensible) to something: > > > > > http://reductivelabs.com/trac/puppet/wiki/ReportReferencehttp://reductivelabs.com/trac/puppet/wiki/ReportsAndReporting > > > > Regards > > > > James Turnbull > > > > - -- > > Author of: > > * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) > > * Pulling Strings with Puppet (http://tinyurl.com/pupbook) > > * Pro Nagios 2.0 (http://tinyurl.com/pronagios) > > * Hardening Linux (http://tinyurl.com/hardeninglinux) > > -----BEGIN PGP SIGNATURE----- > > Version: GnuPG v1.4.7 (Darwin) > > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/ > > > > iD8DBQFKh2Rh9hTGvAxC30ARAuVjAJ4wCSGh6dvd5edbyQ9vpk4O0ROpsgCdGhrD > > OlWK4w4osJ/Et+eFAXebf5I> > =ZDuG > > -----END PGP SIGNATURE----- > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Ohad Levy wrote:> you could parse the yaml files under yaml/node/hostname, it would > include the date of the last connection between the puppetmaster and its > client.Or there is puppetlast - also in the ext directory - that will output the last connection time/date/etc. Regards James Turnbull -- Author of: * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux)
matt.adams@cypressinteractive.com
2009-Aug-16 09:38 UTC
[Puppet Users] Re: Alerts in puppet and puppetmaster
Thank you for your message. I am out of the office until August 17th and will respond after I return. Thank you! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Dear Matt It appears you are on leave! Congratulations! As you would know we all love a holiday. In future though could you consider tuning your out-of-office email to only respond to mailing lists once. My eternal thanks and I hope you have enjoyed your time away from the office. Kind Regards James Turnbull -- Author of: * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux)
James Turnbull wrote:> It appears you are on leave! Congratulations! As you would know we > all love a holiday. In future though could you consider tuning your > out-of-office email to only respond to mailing lists once.Even once is too much for an autoresponse to a mailing list! But it''s often too much to ask that autoresponders be properly configured. :) -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Everyone needs to believe in something. I believe I''ll have another beer.
James Turnbull wrote:> Then have a look at piping the results of one of the reports (or > designing your own report - they are very extensible) to something:They may be very extensible, but they aren''t very well documented, so you need to be at least a couple levels higher on Puppet wizardry than I am to actually write your own report handler... I understand that one should define a process() method, but what kind of information is available and in what format isn''t particularly obvious from the existing report types. /Bellman --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thomas Bellman wrote:> James Turnbull wrote: > >> Then have a look at piping the results of one of the reports (or >> designing your own report - they are very extensible) to something: > > They may be very extensible, but they aren''t very well documented, so > you need to be at least a couple levels higher on Puppet wizardry than > I am to actually write your own report handler... > > I understand that one should define a process() method, but what kind of > information is available and in what format isn''t particularly obvious > from the existing report types.Reasonable call. Luke - do you have any basic documentation for the reports that you could throw into an email and I can adapt as wiki documentation? I seem to remember we did discuss this in 07 or 08 and I did write an SNMP trap generator report but I can''t find my code or my notes - I''ll dig through some backups tonight but I suspect it''s gotten mislaid somewhere along the way. Regards James Turnbull - -- Author of: * Pro Linux Systems Administration (http://tinyurl.com/linuxadmin) * Pulling Strings with Puppet (http://tinyurl.com/pupbook) * Pro Nagios 2.0 (http://tinyurl.com/pronagios) * Hardening Linux (http://tinyurl.com/hardeninglinux) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFKiR/C9hTGvAxC30ARAj0aAJ9SaN2fiGZTFhEW6JAIMyLpuL8tswCgjnO4 SbD/GyhtvJpmlNJNhSmOYHI=BTu4 -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---