Compare commits

...

2 Commits

Author SHA1 Message Date
07534326e8 Update 2023-11-08 11:38:30 +01:00
a42ce2283d Update 2023-11-08 11:37:39 +01:00
3 changed files with 9 additions and 3 deletions

View File

@ -378,7 +378,7 @@ function createColumnsPrefTab ( noteBook, type, isActive )
{ {
let grid = new Gtk.Grid ( { let grid = new Gtk.Grid ( {
halign: Gtk.Align.FILL, halign: Gtk.Align.FILL,
margin: 18, // margin: 18,
column_spacing: 12, column_spacing: 12,
row_spacing: 12, row_spacing: 12,
visible: true, visible: true,

View File

@ -123,9 +123,15 @@ var GenericServer = class {
// this.monitoLog ( message.status_code ); // this.monitoLog ( message.status_code );
// this.monitoLog ( message.response_body ); // this.monitoLog ( message.response_body );
<<<<<<< HEAD
message.response_headers.foreach ((name, val) => {
// this.monitoLog (name, val);
});
=======
// message.response_headers.foreach ((name, val) => { // message.response_headers.foreach ((name, val) => {
// this.monitoLog (name, val); // this.monitoLog (name, val);
// }); // });
>>>>>>> 0d8113e52b9d6e05fe8ad6a0c7dab045291ac987
// this.monitoLog ( message.response_body.data ); // this.monitoLog ( message.response_body.data );
if ( message.status_code != Soup.Status.OK ) if ( message.status_code != Soup.Status.OK )
@ -156,7 +162,7 @@ var GenericServer = class {
{ {
// if error, grep for class='errorMessage' // if error, grep for class='errorMessage'
// else grep for class='successBox' // else grep for class='successBox'
this.monitoLog ( 'Cmd output ' + _data ); // this.monitoLog ( 'Cmd output ' + _data );
} }
} }
catch ( e ) catch ( e )

View File

@ -85,7 +85,7 @@ var Icinga2API = class extends GenericServer {
handlePollMessage ( _httpSession, message ) handlePollMessage ( _httpSession, message )
{ {
this.monitoLog ( 'handlePollMessage' ); // this.monitoLog ( 'handlePollMessage' );
let _data = super.handleMessage ( _httpSession, message ); let _data = super.handleMessage ( _httpSession, message );
try try