Brent Clark
2012-Oct-11 15:03 UTC
[Puppet Users] Automate adding new host to nagios server?
Good day I was wondering if someone could help me. Say I have three servers. One puppet master, one webserver, and one nagios server. Is there a way to automate the process of adding the web server to the nagios server for monitoring via a puppet. If someone could assists, or suggest a better means, it would be appreciated. Kind Regards Brent Clark -- 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.
Bernd Adamowicz
2012-Oct-11 15:48 UTC
RE: [Puppet Users] Automate adding new host to nagios server?
See: * http://docs.puppetlabs.com/guides/exported_resources.html or * http://www.bernd-adamowicz.de/12/puppet-stored-configurations-and-icinga/ Cheers, Bernd -----Original Message----- From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On Behalf Of Brent Clark Sent: Donnerstag, 11. Oktober 2012 17:03 To: puppet-users@googlegroups.com Subject: [Puppet Users] Automate adding new host to nagios server? Good day I was wondering if someone could help me. Say I have three servers. One puppet master, one webserver, and one nagios server. Is there a way to automate the process of adding the web server to the nagios server for monitoring via a puppet. If someone could assists, or suggest a better means, it would be appreciated. Kind Regards Brent Clark -- 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 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.
Peter Brown
2012-Oct-11 23:13 UTC
Re: [Puppet Users] Automate adding new host to nagios server?
On 12 October 2012 01:48, Bernd Adamowicz <Bernd.Adamowicz@esailors.de> wrote:> See: > > * http://docs.puppetlabs.com/guides/exported_resources.html or > * http://www.bernd-adamowicz.de/12/puppet-stored-configurations-and-icinga/That''s how I do it as well. It''s extremely amazing once you get it setup right. On a side note I am intending to put my nagios modules on github soonish so if you are willing to wait that may be an option for you.> Cheers, > Bernd > > -----Original Message----- > From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On Behalf Of Brent Clark > Sent: Donnerstag, 11. Oktober 2012 17:03 > To: puppet-users@googlegroups.com > Subject: [Puppet Users] Automate adding new host to nagios server? > > Good day > > I was wondering if someone could help me. > > Say I have three servers. One puppet master, one webserver, and one nagios server. > > Is there a way to automate the process of adding the web server to the nagios server for monitoring via a puppet. > > If someone could assists, or suggest a better means, it would be appreciated. > > Kind Regards > Brent Clark > > -- > 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 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 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.
Brent Clark
2012-Oct-12 07:53 UTC
Re: [Puppet Users] Automate adding new host to nagios server?
On 11/10/2012 17:48, Bernd Adamowicz wrote:> See: > > * http://docs.puppetlabs.com/guides/exported_resources.html or > * http://www.bernd-adamowicz.de/12/puppet-stored-configurations-and-icinga/ > > Cheers, > BerndSir Thank you so much. Kind Regards Brent Clark -- 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.
Oliver Schad
2012-Oct-13 21:20 UTC
Re: [Puppet Users] Automate adding new host to nagios server?
On Thu, 11 Oct 2012 17:03:05 +0200 Brent Clark <brentgclarklist@gmail.com> wrote:> I was wondering if someone could help me. > > Say I have three servers. One puppet master, one webserver, and one > nagios server. > > Is there a way to automate the process of adding the web server to > the nagios server for monitoring via a puppet. > > If someone could assists, or suggest a better means, it would be > appreciated.As others already said, there exists exported resources. But IMHO is puppet not very good for exchanging information between hosts und you shouldn''t use the exported resources much. Instead you should model your hosts somewhere else, maybe in hiera or in a complete other DB and transform this model in something puppet can use. Puppet is *not* a model of your environment, it''s a config management system, host by host. Regards Oli -- 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.