Lower log noise

This commit is contained in:
Benjamin Drieu 2023-07-03 16:41:13 +02:00 committed by Benjamin Drieu
parent 6b38c5374e
commit 9ae23885de

View File

@ -99,7 +99,7 @@ var Icinga2API = class extends GenericServer {
for ( var entry of json.results )
{
this.monitoLog ( JSON.stringify(entry) );
// this.monitoLog ( JSON.stringify(entry) );
var _attrs = entry.attrs;
_attrs [ 'real_host_name' ] = entry.attrs.host_name.repeat ( 1 );
_attrs [ 'status' ] = _statuses [ entry.attrs.state ];