Page 1 of 1

Service status information output more than 255 characters

Posted: Tue Feb 24, 2015 8:08 am
by bofh666
The Service Status Information in XI has a Limit of 255 characters and therefore the Output is trimmed.
If you check the Service Status Information in nagios core (Service Status Detail -> Advanced -> See this Service in nagios core), the ful Output is shown.

My question is how to extend the Limit of the Service Status Information in XI.

regards,
roland

Re: Service status information output more than 255 characte

Posted: Tue Feb 24, 2015 10:22 am
by tmcdonald
The following SQL command will extend that limit to 255:

Code: Select all

alter table nagios_servicestatus modify output varchar(1024) not null;
Run it on the "nagios" database in MySQL. Note that this will only affect statuses going forward - it will not show anything more than what is already in the db.

Re: Service status information output more than 255 characte

Posted: Wed Feb 25, 2015 1:56 am
by bofh666
thank's tmcdonald,

this is what i was looking for!