THIS KNOWLEDGE BASE HAS BEEN ARCHIVED AND IS NO LONGER BEING UPDATED
Please visit library.nagios.com/docs for the latest and most up-to-date documentation.
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!

2.33 (3)
Article Rating (3 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
PHPMailer - Troubleshooting Using Debug Logging
Viewed 42143 times since Tue, Aug 14, 2018
Nagios XI - Problems with $ Signs in the Check Command
Viewed 11922 times since Tue, Jan 26, 2016
Upgrading to NDO 3 after having been downgraded in newer versions of Nagios XI
Viewed 6152 times since Fri, Jan 15, 2021
Nagios XI - Scheduled Backup Log Level
Viewed 7607 times since Tue, Apr 18, 2017
Nagios XI - MSSQL Query Wizard - Invalid characters in the username
Viewed 7381 times since Thu, Aug 3, 2017
Nagios XI - Uploaded plugin returns "/bin/bash^M: bad interpreter: No such file or directory"
Viewed 10451 times since Thu, Feb 25, 2016
Nagios XI - Defining Global Environment Variables
Viewed 13275 times since Thu, Mar 17, 2016
Nagios XI - SourceGuardian Errors 2009R1.2C
Viewed 6235 times since Tue, Feb 2, 2016
Nagios XI - Apply Configuration Fails - Backend login to the Core Configuration failed
Viewed 28744 times since Tue, Aug 2, 2016
Disabling Outdated Versions of SSL/TLS
Viewed 10839 times since Thu, Aug 6, 2020