Created
September 21, 2011 20:20
-
-
Save benjaminws/1233169 to your computer and use it in GitHub Desktop.
Mock up of nagios LWRP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| nagios_command "generic_queue_size" do | |
| command "/path/to/check_rabbitmq_queue_size.pl" | |
| arg_one {"queue_name" => String} | |
| arg_two {"warning_size" => Integer} | |
| arg_three {"critical_size" => Integer} | |
| end | |
| nagios_service "generic_queue_size" do | |
| nagios_command_generic_queue_size do | |
| queue_name "random_queue" | |
| warning_size 50 | |
| critical_size 100 | |
| end | |
| end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment