Ask Your Question
0

Monitor nodes with nagios and puppet

asked 2014-04-22 02:10:40 -0500

puppetlearners gravatar image

We found in docs.puppetlabs a listing of Nagios related resource types. We have Puppet Enterprise installed and would like to know how we can start with automated Nagios Monitoring using Puppet. Do we have to Install Nagios on nodes before starting to use the Puppet resource Nagios types?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2014-04-22 03:08:08 -0500

updated 2014-04-22 03:08:34 -0500

before do anything , you need to know the requirements to automate the integration between Nagios and Puppet. You will need to make sure that your puppet working with some external config like puppetdb. if you are not using it yet.

1 - Install some external config like PuppetDB or directly on mysql or postgresql.

2 - Configure the puppet server to use PuppetDB or some other external config.

after external config is done.

3 - create a puppet class for a nagios server and a class to export the informations from the nodes.

Here is an excellent getting started with nagios and puppet.

http://blog.gurski.org/index.php/2010/01/28/automatic-monitoring-with-puppet-and-nagios/

you can check this article for some advanced tips:

http://www.linuxjournal.com/content/puppet-and-nagios-roadmap-advanced-configuration

and the most recommended is the book Pro Puppet , there are a topic about external config and an example to how to integrate and automate nagios with puppet.

Have a lot of information about it on the internet.

edit flag offensive delete link more

Comments

Thank you for the reference. Pro Puppet was of real help for us

puppetlearners gravatar imagepuppetlearners ( 2014-04-28 06:44:16 -0500 )edit

Is it mandatory to configure PuppetDb for Nagios installation

jyotsna gravatar imagejyotsna ( 2017-01-31 07:41:39 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-04-22 02:10:40 -0500

Seen: 1,307 times

Last updated: Apr 22 '14