Ask Your Question
0

Can puppet manage individual entries in nrpe.cfg?

asked 2015-09-08 12:51:55 -0500

erichymowitz gravatar image

I know that puppet can add/delete/manage individual entries in my /etc/hosts file, my crontab file, and stuff like that.

Can puppet add/delete/manage individual entries in my nrpe.cfg file?

The backstory is that I am slowly adding machines to my new puppet environment. I would like puppet to add itself to each machine's nrpe.cfg file, so that machines with puppet are monitoring puppet, but machines without puppet aren't, without manual intervention.

Is that possible?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-09-08 17:41:49 -0500

GregLarkin gravatar image

I'm not a Nagios user, but I wonder if this Forge module would help you: https://forge.puppetlabs.com/herculesteam/augeasproviders_nagios/types

The folks at Example42 produce quality modules, too, and maybe this one would be useful: https://forge.puppetlabs.com/example42/nrpe

edit flag offensive delete link more

Comments

Thanks. The herculesteam one looks promising.

erichymowitz gravatar imageerichymowitz ( 2015-09-08 18:17:13 -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: 2015-09-08 12:51:55 -0500

Seen: 43 times

Last updated: Sep 08 '15