<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[The table 'alarm_event' is full in NetXMS 4.5.3-1 version]]></title><description><![CDATA[<p dir="auto">Hi, there. five days ago, we did no able to log into the NetXMS server. The NetXMS client sent back the following message: Connection refused. I decided to look up for in the log of the system. I found the following message:</p>
<p dir="auto">2024.02.14 16:49:51.981 *E* [db.drv            ] SQL query failed (Query = "INSERT INTO alarm_events (alarm_id,event_id,event_code,event_name,severity,source_object_id,event_timestamp,message) VALUES (?,?,?,?,?,?,?,?)"): The table 'alarm_events' is full</p>
<p dir="auto">Any idea how to fix this database issue? Thanks in advance.</p>
]]></description><link>https://forum.netxms.org/topic/7879/the-table-alarm_event-is-full-in-netxms-4.5.3-1-version</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:18:50 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7879.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Feb 2024 14:46:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to The table 'alarm_event' is full in NetXMS 4.5.3-1 version on Fri, 23 Feb 2024 13:54:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Hopping over from <a href="https://www.netxms.org/forum/general-support/netxmsd-hangs-during-startup/" rel="nofollow ugc">https://www.netxms.org/forum/general-support/netxmsd-hangs-during-startup/</a> to say thanks for the pointer towards alarm_events which solved my issue!</p>
<p dir="auto">I also had a huge number of rows in this table, and found the culprit in a misconfigured event processing policy which was catching too many events. You may also have something similar.</p>
<p dir="auto">In my case I discovered it by looking at alarms with very high repeat counts. If you open the alarm details it will show the EPP rule which created it.</p>
]]></description><link>https://forum.netxms.org/post/33241</link><guid isPermaLink="true">https://forum.netxms.org/post/33241</guid><dc:creator><![CDATA[bdefloo]]></dc:creator><pubDate>Fri, 23 Feb 2024 13:54:12 GMT</pubDate></item><item><title><![CDATA[Reply to The table 'alarm_event' is full in NetXMS 4.5.3-1 version on Wed, 21 Feb 2024 16:52:57 GMT]]></title><description><![CDATA[<p dir="auto">Yes, it's better to stop it.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/33233</link><guid isPermaLink="true">https://forum.netxms.org/post/33233</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 21 Feb 2024 16:52:57 GMT</pubDate></item><item><title><![CDATA[Reply to The table 'alarm_event' is full in NetXMS 4.5.3-1 version on Wed, 21 Feb 2024 16:40:21 GMT]]></title><description><![CDATA[<p dir="auto">Victor. I have other question:</p>
<p dir="auto">Do I need to stop the NetXMS server before to truncate both tables?</p>
]]></description><link>https://forum.netxms.org/post/33232</link><guid isPermaLink="true">https://forum.netxms.org/post/33232</guid><dc:creator><![CDATA[jbriseno]]></dc:creator><pubDate>Wed, 21 Feb 2024 16:40:21 GMT</pubDate></item><item><title><![CDATA[Reply to The table 'alarm_event' is full in NetXMS 4.5.3-1 version on Wed, 21 Feb 2024 16:38:32 GMT]]></title><description><![CDATA[<p dir="auto">Victor, for your information: </p>
<p dir="auto">event_log table</p>
<p dir="auto">105941216 rows</p>
<p dir="auto">alarm_events table</p>
<p dir="auto">55125439  rows</p>
<p dir="auto">MariaDB [netxms]&gt; describe alarm_events;<br />
+------------------+---------------+------+-----+---------+-------+<br />
| Field            | Type          | Null | Key | Default | Extra |<br />
+------------------+---------------+------+-----+---------+-------+<br />
| alarm_id         | int(11)       | NO   | PRI | NULL    |       |<br />
| event_id         | bigint(20)    | NO   | PRI | NULL    |       |<br />
| event_code       | int(11)       | NO   |     | NULL    |       |<br />
| event_name       | varchar(63)   | YES  |     | NULL    |       |<br />
| severity         | int(11)       | NO   |     | NULL    |       |<br />
| source_object_id | int(11)       | NO   |     | NULL    |       |<br />
| event_timestamp  | int(11)       | NO   |     | NULL    |       |<br />
| message          | varchar(2000) | YES  |     | NULL    |       |<br />
+------------------+---------------+------+-----+---------+-------+<br />
8 rows in set (0.027 sec)</p>
]]></description><link>https://forum.netxms.org/post/33231</link><guid isPermaLink="true">https://forum.netxms.org/post/33231</guid><dc:creator><![CDATA[jbriseno]]></dc:creator><pubDate>Wed, 21 Feb 2024 16:38:32 GMT</pubDate></item><item><title><![CDATA[Reply to The table 'alarm_event' is full in NetXMS 4.5.3-1 version on Wed, 21 Feb 2024 15:59:38 GMT]]></title><description><![CDATA[<p dir="auto">Awesome ! Thanks ! I will do it.</p>
<p dir="auto">Best regards</p>
<p dir="auto">Jose</p>
]]></description><link>https://forum.netxms.org/post/33229</link><guid isPermaLink="true">https://forum.netxms.org/post/33229</guid><dc:creator><![CDATA[jbriseno]]></dc:creator><pubDate>Wed, 21 Feb 2024 15:59:38 GMT</pubDate></item><item><title><![CDATA[Reply to The table 'alarm_event' is full in NetXMS 4.5.3-1 version on Wed, 21 Feb 2024 15:42:35 GMT]]></title><description><![CDATA[<p dir="auto">Seems to be MariaDB specific issue. I'm not an expert on it unfortunately, but seems that they have all sort of strange limits on tables. One thing you may want to look at is big_tables configuration option. Maybe you should turn it on. Or consider migration to PostgreSQL <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /><br />
How many records do you have in this table? And how many active alarms? It is a bit unexpected that event_log for example works fine, but alarm_events is full. This table should contain event records for active alarms only.</p>
<p dir="auto">Best regards,<br />
Victor</p>
<p dir="auto">P.S. Primary key on that table is alarm_id,event_id - those are two integers, so should not be an issue as such.</p>
]]></description><link>https://forum.netxms.org/post/33226</link><guid isPermaLink="true">https://forum.netxms.org/post/33226</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 21 Feb 2024 15:42:35 GMT</pubDate></item><item><title><![CDATA[Reply to The table 'alarm_event' is full in NetXMS 4.5.3-1 version on Wed, 21 Feb 2024 15:36:49 GMT]]></title><description><![CDATA[<p dir="auto">Before to do it. Do I have to think about the primary key on these tables? because, I had have problems with mariaDB tables when I use the Mysql TRuncate table command. Thanks in advance</p>
]]></description><link>https://forum.netxms.org/post/33225</link><guid isPermaLink="true">https://forum.netxms.org/post/33225</guid><dc:creator><![CDATA[jbriseno]]></dc:creator><pubDate>Wed, 21 Feb 2024 15:36:49 GMT</pubDate></item><item><title><![CDATA[Reply to The table 'alarm_event' is full in NetXMS 4.5.3-1 version on Wed, 21 Feb 2024 15:33:20 GMT]]></title><description><![CDATA[<p dir="auto">Hi, Victor. First, I appreciate your time to reply my message. Second, even better you reply it as soon as possible. Third, we are using: mysql  Ver 15.1 Distrib 10.3.39-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2</p>
<p dir="auto">Best regards !<br />
Jose</p>
]]></description><link>https://forum.netxms.org/post/33223</link><guid isPermaLink="true">https://forum.netxms.org/post/33223</guid><dc:creator><![CDATA[jbriseno]]></dc:creator><pubDate>Wed, 21 Feb 2024 15:33:20 GMT</pubDate></item><item><title><![CDATA[Reply to The table 'alarm_event' is full in NetXMS 4.5.3-1 version on Wed, 21 Feb 2024 15:25:58 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">it looks to be disk space issue. You probably can truncate biggest tables (possible candidates are event_log and top idata_ tables). <br />
If you are ok with losing all alarms and event history, you can truncate tables event_log, alarms, alarm_events, and alarm_notes.</p>
<p dir="auto">What database you are using?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/33222</link><guid isPermaLink="true">https://forum.netxms.org/post/33222</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 21 Feb 2024 15:25:58 GMT</pubDate></item></channel></rss>