<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:media="http://search.yahoo.com/mrss/" >

<channel>
	<title>database &#8211; Nagios Library</title>
	<atom:link href="https://library.nagios.com/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>https://library.nagios.com</link>
	<description>Complete Nagios monitoring resources and documentation</description>
	<lastBuildDate>Tue, 03 Nov 2026 19:31:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://library.nagios.com/wp-content/uploads/2024/11/Nagios-Blue-N.svg</url>
	<title>database &#8211; Nagios Library</title>
	<link>https://library.nagios.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Nagios XI: Status Summary Dashlets Showing Zero (How to Fix)</title>
		<link>https://library.nagios.com/support-tips/nagios-xi-status-summary-dashlets-showing-zero/</link>
		
		<dc:creator><![CDATA[Tom Griep]]></dc:creator>
		<pubDate>Tue, 03 Nov 2026 19:25:59 +0000</pubDate>
				<category><![CDATA[Support Tips]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Crashed]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Nagios XI]]></category>
		<category><![CDATA[Repair]]></category>
		<guid isPermaLink="false">https://library.nagios.com/?p=71009</guid>

					<description><![CDATA[If Nagios XI’s Status Summary dashlets show zero across the board, a corrupted MySQL table is usually the cause, here’s how to identify and repair it with Nagios’ built-in script.]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">Purpose</h2>



<p class="wp-block-paragraph">This document describes how to repair issues with the Nagios XI database, when encountering zero values in the Host Status Summary or the Service Status Summary dashlets.</p>



<h2 class="wp-block-heading">Identifying the Problem</h2>



<p class="wp-block-paragraph">After logging in to the Nagios XI web interface and you see either the Host Status Summary or the Service Status Summary dashlets displaying zero for all of the statuses (See screen shots below) it is most likely caused by a corrupted table in the MySQL database. </p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="185" src="https://library.nagios.com/wp-content/uploads/2026/10/Host-Service-Status-Summary-1024x185.png" alt="Nagios XI Host and Service Status Summary" class="wp-image-71010" title="Nagios XI: Status Summary Dashlets Showing Zero (How to Fix) 1" srcset="https://library.nagios.com/wp-content/uploads/2026/10/Host-Service-Status-Summary-1024x185.png 1024w, https://library.nagios.com/wp-content/uploads/2026/10/Host-Service-Status-Summary-300x54.png 300w, https://library.nagios.com/wp-content/uploads/2026/10/Host-Service-Status-Summary-768x138.png 768w, https://library.nagios.com/wp-content/uploads/2026/10/Host-Service-Status-Summary.png 1104w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">Nagios XI Host and Service Status Summary</figcaption></figure>



<h2 class="wp-block-heading">Repairing the Database</h2>



<p class="wp-block-paragraph">Nagios included a new script, beginning with XI 2024R1.2 to repair the MySQL database, which will fix the above issue.</p>



<p class="wp-block-paragraph">Running this script can take up to an hour, which is normal. You will want to allow the script to fully complete. If it is interrupted, other issues with the database may develop and may not be repairable. </p>



<p class="wp-block-paragraph">Make sure to run this script in a ssh session as root user, to clean and repair the MySQL database of temporary data and to stop the old processes that should not be running. The script stops and re-starts associated processes.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-Geist-Mono" style="font-size:.875rem;font-family:Code-Pro-Geist-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.5rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span role="button" tabindex="0" style="color:#D4D4D4;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>/usr/local/nagiosxi/scripts/repair_crashed_databases.sh</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M4.5 12.75l6 6 9-13.5"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6"></path></svg></span><pre class="shiki dark-plus" style="background-color: #1E1E1E" tabindex="0"><code><span class="line"><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">usr</span><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">local</span><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">nagiosxi</span><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">scripts</span><span style="color: #D4D4D4">/</span><span style="color: #9CDCFE">repair_crashed_databases</span><span style="color: #D4D4D4">.</span><span style="color: #9CDCFE">sh</span></span></code></pre></div>



<h3 class="wp-block-heading">Confirming the Fix</h3>



<p class="wp-block-paragraph">Wait 5–10 minutes after the script completes, then log back in to the XI interface and check whether the statuses are updating.</p>



<h3 class="wp-block-heading">Still Seeing Zero Values?</h3>



<p class="wp-block-paragraph">If the dashlets still display zero for all statuses, open a case through the support portal so a support engineer can help resolve the issue.</p>



<ul class="wp-block-list">
<li><a href="https://supportportal.nagios.com/" target="_blank" rel="noopener">Nagios Customer Support Portal</a>  </li>



<li><a href="https://supportportal.nagios.com/s/article/Creating-a-Case" target="_blank" rel="noopener">Creating a Case</a><br><br></li>
</ul>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
