Re: [Puppet Users] Automate adding new host to nagios server?

2012-10-13 Thread Oliver Schad
On Thu, 11 Oct 2012 17:03:05 +0200
Brent Clark  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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Automate adding new host to nagios server?

2012-10-12 Thread Brent Clark

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,
Bernd


Sir

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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Automate adding new host to nagios server?

2012-10-11 Thread Peter Brown
On 12 October 2012 01: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/

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+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.
>

-- 
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] Automate adding new host to nagios server?

2012-10-11 Thread Bernd Adamowicz
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+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.



[Puppet Users] Automate adding new host to nagios server?

2012-10-11 Thread Brent Clark

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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.