Re: [Puppet Users] Puppet & Nagios/NRPE with Plugins...

2013-02-11 Thread Peter Brown
Hi Gavin. Those are in my monitoring module which uses nrpe::plugin define to add resources to a node. It's on forge and github now if you want to take a look... I am trying to write more portable code that manages one service as opposed to how I had it before which was one module managing nagios

Re: [Puppet Users] Puppet & Nagios/NRPE with Plugins...

2013-02-11 Thread Gavin Williams
Pete Bit of a blast from the past, but this is next on my hit-list... Code looks like it fits quite well overall, however I'm struggling to see how you handle adding additional plugin scripts to the boxes... Can see plugin.pp adding the required nagios cfg additions, but it doesnt appear to b

Re: [Puppet Users] Puppet & Nagios/NRPE with Plugins...

2012-12-05 Thread Peter Brown
Cool. Let me know how it goes. I am making a start at splitting out my code for nagios into a module by itself and setting up one for icinga as well. Will likely post to the list when it's ready for consumption. Pete. On 5 December 2012 23:17, Gavin Williams wrote: > Pete > > Cheers for th

Re: [Puppet Users] Puppet & Nagios/NRPE with Plugins...

2012-12-05 Thread Gavin Williams
Pete Cheers for that... Will have a read through the code and give it a spin :) Cheers Gavin On Wednesday, 5 December 2012 04:45:05 UTC, Pete wrote: > > Hi again, > > It seems github is a better option as they have an issue tracker. > > https://github.com/rendhalver/puppet-nrpe > > > > On 5

Re: [Puppet Users] Puppet & Nagios/NRPE with Plugins...

2012-12-04 Thread Peter Brown
Hi again, It seems github is a better option as they have an issue tracker. https://github.com/rendhalver/puppet-nrpe On 5 December 2012 13:30, Peter Brown wrote: > Hi Gav, > > I just put my nrpe module up on gitorious. > > https://gitorious.org/rendhalver-puppet/nrpe > > I had to pull out m

Re: [Puppet Users] Puppet & Nagios/NRPE with Plugins...

2012-12-04 Thread Peter Brown
Hi Gav, I just put my nrpe module up on gitorious. https://gitorious.org/rendhalver-puppet/nrpe I had to pull out my nrpe::firewall class for now because it uses my firewall module which I will be releasing at some point as well. I tagged the stable release as v1.0 so if you are going to clone i

Re: [Puppet Users] Puppet & Nagios/NRPE with Plugins...

2012-12-04 Thread Peter Brown
On 4 December 2012 17:05, fatmcgav wrote: > Pete > > Sounds good to me... N be easier than me re-inventing the wheel... > > Would be happy to guinea pig... :) > Awesome. I have an account on gitorious which I am going to use to put my code on. Gimme a bit to get my module cleaned up and make su

Re: [Puppet Users] Puppet & Nagios/NRPE with Plugins...

2012-12-03 Thread fatmcgav
Pete Sounds good to me... N be easier than me re-inventing the wheel... Would be happy to guinea pig... :) Cheers Gav On 3 December 2012 23:56, Peter Brown wrote: > Hi Gavin, > > I have a module i wrote that seems like it will do what you need. > I also have a nagios module that uses it to s

Re: [Puppet Users] Puppet & Nagios/NRPE with Plugins...

2012-12-03 Thread Peter Brown
Hi Gavin, I have a module i wrote that seems like it will do what you need. I also have a nagios module that uses it to setup nrpe services on each node and exports nagios checks to be imported into a nagios instance. I basically setup nrpe on each node to use a config directory and have a define

Re: [Puppet Users] Puppet & Nagios/NRPE with Plugins...

2012-12-03 Thread Nikola Petrov
Well you can tell puppet to source a whole directory and put it somewhere for you. Here is an example from our nagios application specific manifest class app { #install the app package include app::install include base #generic nagios checks like memory, load, etc include nagios::targ

[Puppet Users] Puppet & Nagios/NRPE with Plugins...

2012-12-03 Thread Gavin Williams
Morning all I've had a quick google, but couldn't find anything useful for our scenario... Basically, we use Nagios & NRPE in our environment, along with a hand-full of in-house written plugins specific to our applications etc... These scripts change on a fairly regular basis, so hand rollin