Skip to content

Instantly share code, notes, and snippets.

@jskarpe
Last active February 15, 2017 10:42
Show Gist options
  • Save jskarpe/3efd23c7c1188dd0cbbd70621ddff630 to your computer and use it in GitHub Desktop.
Save jskarpe/3efd23c7c1188dd0cbbd70621ddff630 to your computer and use it in GitHub Desktop.
class apache2 {
package { 'apache2': ensure => present }
service { 'apache2:' ensure => running }
sensu::check { 'apache2':
command => 'check-process.rb --pattern apache2 --warn-under 1'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment