diff --git a/prefs.js b/prefs.js index b9f033f..cba36cc 100644 --- a/prefs.js +++ b/prefs.js @@ -377,7 +377,7 @@ function createColumnsPrefTab ( noteBook, type, isActive ) { let grid = new Gtk.Grid ( { halign: Gtk.Align.FILL, - margin: 18, +// margin: 18, column_spacing: 12, row_spacing: 12, visible: true, diff --git a/servers/genericserver.js b/servers/genericserver.js index 8e52ccf..46d9d1a 100644 --- a/servers/genericserver.js +++ b/servers/genericserver.js @@ -85,7 +85,7 @@ var GenericServer = class { prepareHttp ( ) { if ( this._httpSession == null ) { - this.monitoLog ( 'Preparing new HTTP with strict SSL ' + this.strict_ssl ); +// this.monitoLog ( 'Preparing new HTTP with strict SSL ' + this.strict_ssl ); this._httpSession = new Soup.Session(); this._httpSession.ssl_strict = this.strict_ssl; this._httpSession.user_agent = Me.metadata.uuid; @@ -113,7 +113,7 @@ var GenericServer = class { // this.monitoLog ( message.status_code ); // this.monitoLog ( message.response_body ); message.response_headers.foreach ((name, val) => { - this.monitoLog (name, val); +// this.monitoLog (name, val); }); // this.monitoLog ( message.response_body.data ); @@ -145,7 +145,7 @@ var GenericServer = class { { // if error, grep for class='errorMessage' // else grep for class='successBox' - this.monitoLog ( 'Cmd output ' + _data ); +// this.monitoLog ( 'Cmd output ' + _data ); } } catch ( e ) diff --git a/servers/icinga2api.js b/servers/icinga2api.js index 7be0ea4..4c256e2 100644 --- a/servers/icinga2api.js +++ b/servers/icinga2api.js @@ -85,7 +85,7 @@ var Icinga2API = class extends GenericServer { handlePollMessage ( _httpSession, message ) { - this.monitoLog ( 'handlePollMessage' ); +// this.monitoLog ( 'handlePollMessage' ); let _data = super.handleMessage ( _httpSession, message ); try @@ -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 ];