On Thu, May 27, 2010 at 12:19 PM, Michael DeHaan <mich...@puppetlabs.com> wrote: > On Thu, May 27, 2010 at 2:37 PM, Peter Berghold <salty.cowd...@gmail.com> > 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 puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.