Lower log noise
This commit is contained in:
parent
6b38c5374e
commit
9ae23885de
@ -99,7 +99,7 @@ var Icinga2API = class extends GenericServer {
|
|||||||
|
|
||||||
for ( var entry of json.results )
|
for ( var entry of json.results )
|
||||||
{
|
{
|
||||||
this.monitoLog ( JSON.stringify(entry) );
|
// this.monitoLog ( JSON.stringify(entry) );
|
||||||
var _attrs = entry.attrs;
|
var _attrs = entry.attrs;
|
||||||
_attrs [ 'real_host_name' ] = entry.attrs.host_name.repeat ( 1 );
|
_attrs [ 'real_host_name' ] = entry.attrs.host_name.repeat ( 1 );
|
||||||
_attrs [ 'status' ] = _statuses [ entry.attrs.state ];
|
_attrs [ 'status' ] = _statuses [ entry.attrs.state ];
|
||||||
|
Loading…
Reference in New Issue
Block a user