mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-22 17:28:02 +02:00
parent
d09add3b86
commit
ee815307af
@ -155,7 +155,12 @@ void IcingaCheckTask::ScriptFunc(const Checkable::Ptr& checkable, const CheckRes
|
||||
String appVersion = Application::GetAppVersion();
|
||||
|
||||
String output = "Icinga 2 has been running for " + Utility::FormatDuration(uptime) +
|
||||
". Version: " + appVersion;
|
||||
". Version: " + appVersion +
|
||||
"; Platform: " + Utility::GetPlatformName() +
|
||||
"; Platform version: " + Utility::GetPlatformVersion() +
|
||||
"; Kernel: " + Utility::GetPlatformKernel() +
|
||||
"; Kernel version: " + Utility::GetPlatformKernelVersion() +
|
||||
"; Architecture: " + Utility::GetPlatformArchitecture();
|
||||
|
||||
/* Indicate a warning if the last reload failed. */
|
||||
double lastReloadFailed = Application::GetLastReloadFailed();
|
||||
|
Loading…
x
Reference in New Issue
Block a user