Skip to content

Instantly share code, notes, and snippets.

@insom
Created June 13, 2011 16:27
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 insom/1023112 to your computer and use it in GitHub Desktop.
Save insom/1023112 to your computer and use it in GitHub Desktop.
Icinga CGI Defines
#define HOST_SCHEDULED_DOWNTIME 1
#define HOST_NO_SCHEDULED_DOWNTIME 2
#define HOST_STATE_ACKNOWLEDGED 4
#define HOST_STATE_UNACKNOWLEDGED 8
#define HOST_CHECKS_DISABLED 16
#define HOST_CHECKS_ENABLED 32
#define HOST_EVENT_HANDLER_DISABLED 64
#define HOST_EVENT_HANDLER_ENABLED 128
#define HOST_FLAP_DETECTION_DISABLED 256
#define HOST_FLAP_DETECTION_ENABLED 512
#define HOST_IS_FLAPPING 1024
#define HOST_IS_NOT_FLAPPING 2048
#define HOST_NOTIFICATIONS_DISABLED 4096
#define HOST_NOTIFICATIONS_ENABLED 8192
#define HOST_PASSIVE_CHECKS_DISABLED 16384
#define HOST_PASSIVE_CHECKS_ENABLED 32768
#define HOST_PASSIVE_CHECK 65536
#define HOST_ACTIVE_CHECK 131072
#define HOST_HARD_STATE 262144
#define HOST_SOFT_STATE 524288
#define HOST_STATE_HANDLED 1048576
#define HOST_NOT_ALL_CHECKS_DISABLED 2097152
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment