Skip to content

Instantly share code, notes, and snippets.

@verdurin
Created March 13, 2014 11:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save verdurin/9527028 to your computer and use it in GitHub Desktop.
Save verdurin/9527028 to your computer and use it in GitHub Desktop.
In Nagios define a service that checks whether some OpenStack values exceed given thresholds
define service {
use default-service
service_description INSTANCES ERROR
servicegroups cloud
check_command check_with_gmond!instances_error!5!10
notification_options c,w,f,s,r
host_name host.to.be.checked
normal_check_interval 30
}
define service {
use default-service
service_description INSTANCES BUILD
servicegroups cloud
check_command check_with_gmond!instances_build!3!5
notification_options c,w,f,s,r
host_name host.to.be.checked
normal_check_interval 30
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment