| 377 | } |
| 378 | |
| 379 | IcingaDB::QueryArgPair IcingaDB::GetCheckableStateKeys(const Type::Ptr& type) |
| 380 | { |
| 381 | QueryArgPair result; |
| 382 | if (Host::TypeInstance == type) { |
| 383 | result.ObjectKey = CONFIG_REDIS_KEY_PREFIX "host:state"; |
| 384 | result.ChecksumKey = CHECKSUM_REDIS_KEY_PREFIX "host:state"; |
| 385 | } else if (Service::TypeInstance == type) { |
| 386 | result.ObjectKey = CONFIG_REDIS_KEY_PREFIX "service:state"; |
| 387 | result.ChecksumKey = CHECKSUM_REDIS_KEY_PREFIX "service:state"; |
| 388 | } |
| 389 | return result; |
| 390 | } |
| 391 | |
| 392 | /** |
| 393 | * Get the given command's environment variables and arguments Redis keys. |
nothing calls this directly
no outgoing calls
no test coverage detected