NRPE and the $USER1$ variable

Posted by timbrigham on Server Fault See other posts from Server Fault or by timbrigham
Published on 2011-11-29T21:16:49Z Indexed on 2011/12/01 10:01 UTC
Read the original article Hit count: 466

Filed under:
|
|

I have NRPE daemons running on all of my remote Linux boxes. I have a couple configurations in place and I'm trying to standardize the paths in my nrpe.cfg. The changes are deployed via Puppet.

I would like to use the following syntax:

command[mycommand]=$USER1$/check_tcp .. etc.

The $USER1$ variable is not available in my NRPE setup. I could write Puppet templates for all the variants but I would much prefer to manage this through a native method. Is there anything available to do so? If not does anyone have a sample Puppet config that will address this?

© Server Fault or respective owner

Related posts about nagios

Related posts about puppet