Merge pull request #7481 from Icinga/feature/check-network-perfdata

Add summarized performance data to check_network
This commit is contained in:
Michael Friedrich 2019-09-09 09:47:37 +02:00 committed by GitHub
commit fbee705105
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -193,6 +193,7 @@ static int printOutput(printInfoStruct& printInfo, const std::vector<nInterface>
std::wcout << " " << tIn + tOut << L"B/s | "
<< L"'network'=" << tIn + tOut << L"B;" << printInfo.warn.pString() << L";" << printInfo.crit.pString() << L";" << L"0; "
<< L"'network_in'=" << tIn << L"B 'network_out'=" << tOut << L"B "
<< tss.str() << '\n';
return state;