Skip to content

Commit

Permalink
add default handler in readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
antonlindstrom committed Mar 18, 2013
1 parent e2b0c8b commit 67cd5c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Pluginsync should be enabled. Also, you need ruby json library/gem on all your n
]
}

sensu::handler { 'default':
command => 'mail -s \'sensu alert\' ops@foo.com',
}

sensu::check { 'check_ntp':
command => 'PATH=$PATH:/usr/lib/nagios/plugins check_ntp_time -H pool.ntp.org -w 30 -c 60',
handlers => 'default',
Expand Down

0 comments on commit 67cd5c8

Please sign in to comment.