mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-02 19:34:28 +02:00
parent
3e7b943e36
commit
adad7180e0
@ -361,9 +361,8 @@ die:
|
|||||||
INT PrintOutput(CONST po::variables_map& vm, printInfoStruct& pi)
|
INT PrintOutput(CONST po::variables_map& vm, printInfoStruct& pi)
|
||||||
{
|
{
|
||||||
std::wstringstream wssPerfData;
|
std::wstringstream wssPerfData;
|
||||||
wssPerfData << "perfmon=" << pi.dValue << ';'
|
wssPerfData << "\"" << pi.wsFullPath << "\"=" << pi.dValue << ';'
|
||||||
<< pi.tWarn.pString() << ';' << pi.tCrit.pString() << ";; "
|
<< pi.tWarn.pString() << ';' << pi.tCrit.pString() << ";;";
|
||||||
<< '"' << pi.wsFullPath << "\"=" << pi.dValue;
|
|
||||||
|
|
||||||
if (pi.tCrit.rend(pi.dValue)) {
|
if (pi.tCrit.rend(pi.dValue)) {
|
||||||
std::wcout << "PERFMON CRITICAL \"" << pi.wsFullPath << "\" = "
|
std::wcout << "PERFMON CRITICAL \"" << pi.wsFullPath << "\" = "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user