-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding more checks #44
Comments
Hi, I've created a custom nagios_conf::commands class where I define the new commands like: class nagios_conf::commands (
$nrpe_command = '$USER1$/check_nrpe -H $HOSTADDRESS$ -t 15',
) {
nagios_command { 'check_nrpe_puppet_agent':
command_line => "${nrpe_command} -c check_puppet_agent",
}
[...] with this new command available you define new checks like:
This code will create a new puppet check for any node that includes it. HTH, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the best way to add new/custom checks without changing anything? I believe I have it doing everything I want properly - which is adding the host on the nagios server of the client's puppet is using - but now I just want to make "templates" with specific checks.
Thanks!
The text was updated successfully, but these errors were encountered: