Corrupted Windows eventlog message

icinga2
windows
eventlog

(Leon) #1

Hey,

I’m trying to check the event log of a Windows server using NRPE and NSClient++. The results come in too, only the presentation bothers me:

  1. Why are the individual entries not displayed in detail, but only the first one (Truncated Text)?
  2. Why comes the output of an “Umlaut” of the eventlog like this: �
  3. Why do I get the following error message after clicking on “Inspect”:

Parsing JSON result failed: Malformed UTF-8 characters, possibly incorrectly encoded

    #0 /usr/share/icingaweb2/modules/director/library/Director/Core/RestApiResponse.php(21): Icinga\Module\Director\Core\RestApiResponse->parseJsonResult(String)
    #1 /usr/share/icingaweb2/modules/director/library/Director/Core/RestApiClient.php(196): Icinga\Module\Director\Core\RestApiResponse::fromJsonResult(String)
    #2 /usr/share/icingaweb2/modules/director/library/Director/Core/RestApiClient.php(66): Icinga\Module\Director\Core\RestApiClient->curlRequest(String, String, String, Boolean, Boolean)
    #3 /usr/share/icingaweb2/modules/director/library/Director/Core/RestApiClient.php(215): Icinga\Module\Director\Core\RestApiClient->request(String, String, Object(stdClass))
    #4 /usr/share/icingaweb2/modules/director/library/Director/Core/CoreApi.php(67): Icinga\Module\Director\Core\RestApiClient->get(String, Object(stdClass))
    #5 /usr/share/icingaweb2/modules/director/application/controllers/InspectController.php(92): Icinga\Module\Director\Core\CoreApi->getObject(String, String)
    #6 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(507): Icinga\Module\Director\Controllers\InspectController->objectAction()
    #7 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch(String)
    #8 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
    #9 /usr/share/php/Icinga/Application/Web.php(407): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response))
    #10 /usr/share/php/Icinga/Application/webrouter.php(104): Icinga\Application\Web->dispatch()
    #11 /usr/share/icingaweb2/public/index.php(4): require_once(String)
    #12 {main}
Click for Icinga2 Master Sysinfo

OS: Ubuntu Server 16.04.4 LTS
Database: mysql Ver 14.14 Distrib 5.7.22, for Linux (x86_64)
Icinga2: r2.8.3-1
director: master

Greetings,
Leon