On Thu, May 27, 2010 at 12:19 PM, Michael DeHaan <[email protected]> wrote:
> On Thu, May 27, 2010 at 2:37 PM, Peter Berghold <[email protected]>
> wrote:
>> Has anybody out there written a custom check for Nagios to determine if
>> puppetd and/or puppetmasterd is running? I am considering writing one if
>> not.
I did a minimal check like this on the assumption that both apache2
and puppetmasterd have to be functioning for the response to be 400.
nagios_command { "check_https_port_status":
command_line => "/usr/lib/nagios/plugins/check_http --ssl -H
'\$HOSTADDRESS\$' -I '\$HOSTADDRESS\$' -p '\$ARG1\$' -e '\$ARG2\$'",
}
nagios_service { "puppet-https-8140":
service_description => "HTTPS 8140",
hostgroup_name => "puppetmaster",
check_command => "check_https_port_status!8140!400",
}
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.