This is a cache of https://support.nagios.com/kb/article/nagios-xi-status-information-cut-off-at-256-characters-478.html. It is a snapshot of the page at 2025-05-14T00:09:12.535+0000.
Nagios <strong>xi</strong> - Status Information Cut Off At 256 Characters
Home » Categories » Products » Nagios xi » Troubleshooting » Common Problems

Nagios xi - Status Information Cut Off At 256 Characters

Problem Description

In the Nagios xi interface, the Status Information shown for a service stops at 256 characters (anything after is cut off). When you look at the service in Nagios Core you can see the entire Status Information.

 

Explanation

In Nagios xi, that data is stored in a database as opposed to Core. When xi stores it in the database, the database has a limit as to how much data can be stored.

 

Resolving The Problem

The database can be updated so that it can store more information.

Open an SSH session to your xi server and execute the following commands:

echo "use nagios;alter table nagios_servicestatus modify output varchar(65535) not null;alter table nagios_servicestatus modify long_output TEXT not null;alter table nagios_servicestatus modify perfdata TEXT not null;" | mysql -pnagiosxi

echo "use nagios;alter table nagios_hoststatus modify output varchar(65535) not null;alter table nagios_hoststatus modify long_output TEXT not null;alter table nagios_hoststatus modify perfdata TEXT not null;" | mysql -pnagiosxi

echo "use nagios;alter table nagios_servicechecks modify output varchar(65535) not null;alter table nagios_servicechecks modify long_output TEXT not null;alter table nagios_servicechecks modify perfdata TEXT not null;" | mysql -pnagiosxi

echo "use nagios;alter table nagios_hostchecks modify output varchar(65535) not null;alter table nagios_hostchecks modify long_output TEXT not null;alter table nagios_hostchecks modify perfdata TEXT not null;" | mysql -pnagiosxi

 

Note:

  • These are long commands

  • The commands end with -pnagiosxi where nagiosxi is the default password. If you have changed your database password you'll need to change the command to reflect this.

  • If our have offloaded MySQL to another server, these commands need to be executed on the offloaded server.

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

5 (1)
Article Rating (1 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Turning Off PHP Notices and Deprecated Messages
Viewed 4467 times since Wed, Oct 20, 2021
Nagios xi - Core Configuration Mananger Display Issues
Viewed 5081 times since Tue, Jan 26, 2016
Nagios xi - Migrate Performance Data
Viewed 13101 times since Tue, Jan 26, 2016
Nagios xi - Installing Latest SourceGuardian Loaders
Viewed 8129 times since Mon, Jun 18, 2018
Nagios xi - Configuration Applies, but still get "Configuration File Is Out Of Date" Error
Viewed 5396 times since Tue, Jan 26, 2016
Nagios xi - HTTP 500 Error / PHP Parse error - Unexpected $end
Viewed 7002 times since Mon, Jan 25, 2016
Nagios xi - Configuration Verification Failed
Viewed 19872 times since Mon, Jan 25, 2016
Nagios xi - How To Test Check Commands From The Command-line
Viewed 49115 times since Tue, Jan 26, 2016
Nagios xi - mysql_error out of range value for column
Viewed 6701 times since Tue, Aug 14, 2018
Nagios xi - NSP: Sorry Dave, I can’t let you do that
Viewed 22946 times since Tue, Jan 27, 2015