Я делаю пользовательский XML с NMAP:
<?xml version='1.0' encoding='utf-8'?>
<NMAP>
<HOSTNAME>agent-bsd.Home (192.168.1.69)</HOSTNAME>
<MAC_ADDRESS>08:00:27:0d:a5:d0</MAC_ADDRESS>
<CLOSED_PORTS>998 closed ports</CLOSED_PORTS>
<PORT_SERVICE>| fingerprint-strings:</PORT_SERVICE>
<PORT_SERVICE>| GetRequest, HTTPOptions:</PORT_SERVICE>
<PORT_SERVICE>| HTTP/1.1 400 Bad Request</PORT_SERVICE>
<PORT_SERVICE>| Date: Tue, 09 Jun 2020 16:48:00 GMT</PORT_SERVICE>
<PORT_SERVICE>| Server: WSGIServer/0.2 CPython/3.7.4</PORT_SERVICE>
<PORT_SERVICE>| Content-Type: text/html</PORT_SERVICE>
<PORT_SERVICE>| X-Content-Type-Options: nosniff</PORT_SERVICE>
<PORT_SERVICE>| Connection: close</PORT_SERVICE>
<PORT_SERVICE>| <!DOCTYPE html></PORT_SERVICE>
<PORT_SERVICE>| <html lang="en"></PORT_SERVICE>
<PORT_SERVICE>| <head></PORT_SERVICE>
<PORT_SERVICE>| <meta http-equiv="content-type" content="text/html; charset=utf-8"></PORT_SERVICE>
<PORT_SERVICE>| <meta name="robots" content="NONE,NOARCHIVE"></PORT_SERVICE>
<PORT_SERVICE>| <title>DisallowedHost</PORT_SERVICE>
<PORT_SERVICE>| /</title></PORT_SERVICE>
<PORT_SERVICE>| <style type="text/css"></PORT_SERVICE>
<PORT_SERVICE>| html * { padding:0; margin:0; }</PORT_SERVICE>
<PORT_SERVICE>| body * { padding:10px 20px; }</PORT_SERVICE>
<PORT_SERVICE>| body * * { padding:0; }</PORT_SERVICE>
<PORT_SERVICE>| body { font:small sans-serif; background-color:#fff; color:#000; }</PORT_SERVICE>
<PORT_SERVICE>| body>div { border-bottom:1px solid #ddd; }</PORT_SERVICE>
<PORT_SERVICE>| font-weight:normal; }</PORT_SERVICE>
<PORT_SERVICE>| margin-bottom:.8em; }</PORT_SERVICE>
<PORT_SERVICE>| margin:1em 0 .5em 0; }</PORT_SERVICE>
<PORT_SERVICE>| margin:0 0 .5em 0; font-weight: normal; }</PORT_SERVICE>
<PORT_SERVICE>| code, pre { font-size: 100%; white-space: pre-wrap; }</PORT_SERVICE>
<PORT_SERVICE>|_ table { border:1px solid #ccc; border-collapse: collapse; width:10</PORT_SERVICE>
<PORT_SERVICE>|_http-server-header: WSGIServer/0.2 CPython/3.7.4</PORT_SERVICE>
<DEVICE_TYPE>general purpose</DEVICE_TYPE>
<OS>OpenBSD 5.6 - 5.8</OS>
</NMAP>
Я следую документации «http://fusioninventory.org/documentation/agent/additional_content.html», но не работает, и я не знаю почему: /.
Подробнее о моей проблеме: "https://github.com/fusioninventory/fusioninventory-for-glpi/issues/2985"
Кто-нибудь может помочь? : /