Service status information output more than 255 characters

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
bofh666
Posts: 7
Joined: Mon Feb 23, 2015 4:55 am

Service status information output more than 255 characters

Post 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
Kind regards,
Roland
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Service status information output more than 255 characte

Post 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.
Former Nagios employee
User avatar
bofh666
Posts: 7
Joined: Mon Feb 23, 2015 4:55 am

Re: Service status information output more than 255 characte

Post by bofh666 »

thank's tmcdonald,

this is what i was looking for!
Kind regards,
Roland
Locked