<?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[Error loading subagent module "mysql.nsm"]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">I am trying to setup monitoring of MySQL database</p>
<p dir="auto">I added property "SubAgent=mysql.nsm" to NetXMS agent configuration "/etc/nxagentd.conf" as described here:<br />
<a href="https://netxms.org/documentation/adminguide/database-monitoring.html#id7" rel="nofollow ugc">https://netxms.org/documentation/adminguide/database-monitoring.html#id7</a></p>
<p dir="auto">But when I run NetXMS agent service, I get this error in logs:<br />
[subagents          ] Error loading subagent module "mysql.nsm" (/usr/lib64/netxms/mysql.nsm: cannot open shared object file: No such file or directory)</p>
<p dir="auto">And this file is really missing in "/usr/lib64/netxms" folder (please see attached screenshot)</p>
<p dir="auto">My OS is AlmaLinux 9.4 and here are commands I executed to install NetXMS agent:</p>
<ol>
<li>dnf config-manager --add-repo <a href="https://packages.netxms.org/epel/netxms.repo" rel="nofollow ugc">https://packages.netxms.org/epel/netxms.repo</a></li>
<li>dnf install netxms-agent -y</li>
</ol>
<p dir="auto">How do I solve this issue?</p>
<p dir="auto">Kind regards,<br />
Andrew</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000006700-Screenshot_2024-07-26_at_14.18.22.png" alt="Screenshot 2024-07-26 at 14.18.22.png" class="img-markdown  img-fluid" width="1368" height="884" /></p>
]]></description><link>https://forum.netxms.org/topic/7986/error-loading-subagent-module-mysql.nsm</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:29:58 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7986.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Jul 2024 11:27:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Error loading subagent module "mysql.nsm" on Mon, 05 Aug 2024 10:07:50 GMT]]></title><description><![CDATA[<p dir="auto">Big thanks Filipp and Alex!</p>
<p dir="auto">Everything works now!  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60e.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--sunglasses" style="height:1.4em;width:auto;vertical-align:middle" title="8)" alt="😎" /></p>
]]></description><link>https://forum.netxms.org/post/33672</link><guid isPermaLink="true">https://forum.netxms.org/post/33672</guid><dc:creator><![CDATA[andy]]></dc:creator><pubDate>Mon, 05 Aug 2024 10:07:50 GMT</pubDate></item><item><title><![CDATA[Reply to Error loading subagent module "mysql.nsm" on Fri, 02 Aug 2024 10:26:00 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/andy" aria-label="Profile: andy">@<bdi>andy</bdi></a> said in <a href="/post/33666">Error loading subagent module "mysql.nsm"</a>:</p>
<blockquote>
<p dir="auto">Hello again, I still couldn’t solve this driver issue myself, any help would be appreciated  :-[</p>
</blockquote>
<p dir="auto">add</p>
<p dir="auto">[MySQL]<br />
Driver=mariadb</p>
<p dir="auto">to nxagentd.conf</p>
]]></description><link>https://forum.netxms.org/post/33667</link><guid isPermaLink="true">https://forum.netxms.org/post/33667</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Fri, 02 Aug 2024 10:26:00 GMT</pubDate></item><item><title><![CDATA[Reply to Error loading subagent module "mysql.nsm" on Fri, 02 Aug 2024 10:17:10 GMT]]></title><description><![CDATA[<p dir="auto">Hello again, I still couldn’t solve this driver issue myself, any help would be appreciated  :-[</p>
]]></description><link>https://forum.netxms.org/post/33666</link><guid isPermaLink="true">https://forum.netxms.org/post/33666</guid><dc:creator><![CDATA[andy]]></dc:creator><pubDate>Fri, 02 Aug 2024 10:17:10 GMT</pubDate></item><item><title><![CDATA[Reply to Error loading subagent module "mysql.nsm" on Thu, 01 Aug 2024 09:07:23 GMT]]></title><description><![CDATA[<p dir="auto">And here is how subagents folder looks like now (just in case)</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000006705-Screenshot_2024-08-01_at_11.08.16.png" alt="Screenshot 2024-08-01 at 11.08.16.png" class="img-markdown  img-fluid" width="1528" height="1154" /></p>
]]></description><link>https://forum.netxms.org/post/33659</link><guid isPermaLink="true">https://forum.netxms.org/post/33659</guid><dc:creator><![CDATA[andy]]></dc:creator><pubDate>Thu, 01 Aug 2024 09:07:23 GMT</pubDate></item><item><title><![CDATA[Reply to Error loading subagent module "mysql.nsm" on Thu, 01 Aug 2024 09:05:55 GMT]]></title><description><![CDATA[<p dir="auto">Installation of netxms-agent-mariadb worked, I have mysql.nsm now</p>
<p dir="auto">But there is another error stating that mysql.ddr is missing:</p>
<pre><code>Jul 31 19:43:18 nxagentd[240328]: [db.drv             ] Unable to load database driver module "mysql.ddr": /usr/lib64/netxms/dbdrv/mysql.ddr: cannot open shared object file: No such file or directory
Jul 31 19:43:18 nxagentd[240328]:  MYSQL: failed to load database driver
Jul 31 19:43:18 nxagentd[240328]: [subagents          ] Initialization of subagent "MYSQL" (/usr/lib64/netxms/mysql.nsm) failed
</code></pre>
<p dir="auto">This driver is not listed among netxms packages ("dnf search netxms")<br />
Also I searched for a solution among related topics, but couldn't find matching situation, thus asking for help with this one too</p>
<p dir="auto">Big thanks for your time</p>
]]></description><link>https://forum.netxms.org/post/33657</link><guid isPermaLink="true">https://forum.netxms.org/post/33657</guid><dc:creator><![CDATA[andy]]></dc:creator><pubDate>Thu, 01 Aug 2024 09:05:55 GMT</pubDate></item><item><title><![CDATA[Reply to Error loading subagent module "mysql.nsm" on Wed, 31 Jul 2024 12:53:09 GMT]]></title><description><![CDATA[<p dir="auto">Try netxms-agent-mariadb, it should be same as MySQL</p>
]]></description><link>https://forum.netxms.org/post/33654</link><guid isPermaLink="true">https://forum.netxms.org/post/33654</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Wed, 31 Jul 2024 12:53:09 GMT</pubDate></item><item><title><![CDATA[Reply to Error loading subagent module "mysql.nsm" on Wed, 31 Jul 2024 11:18:50 GMT]]></title><description><![CDATA[<p dir="auto">For some reason netxms-agent-mysql is not listed among available subagents and it cannot be installed via dnf  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
<pre><code>[andrew@a02 ~]$ sudo dnf install netxms-agent-mysql
[sudo] password for andrew:
Last metadata expiration check: 2:46:27 ago on Wed Jul 31 09:17:33 2024.
No match for argument: netxms-agent-mysql
</code></pre>
]]></description><link>https://forum.netxms.org/post/33653</link><guid isPermaLink="true">https://forum.netxms.org/post/33653</guid><dc:creator><![CDATA[andy]]></dc:creator><pubDate>Wed, 31 Jul 2024 11:18:50 GMT</pubDate></item><item><title><![CDATA[Reply to Error loading subagent module "mysql.nsm" on Wed, 31 Jul 2024 10:24:29 GMT]]></title><description><![CDATA[<p dir="auto">We don't have a list in the documentation, just some chapters mention that specific subagents are needed, e.g. Network Service monitoring requires netsvc.<br />
If you check list of available packages with dnf, you'll see them all:</p>
<pre><code>root@localhost:~# dnf search netxms-*
Last metadata expiration check: 1:38:40 ago on Wed 31 Jul 2024 10:42:43 AM EEST.
=================================================================================================================================================== Name Matched: netxms-* ===================================================================================================================================================
netxms-agent.x86_64 : NetXMS agent and extensions (subagents)
netxms-agent-asterisk.x86_64 : Agent extension (subagent) for monitoring Asterisk
netxms-agent-asterisk-debuginfo.x86_64 : Debug information for package netxms-agent-asterisk
netxms-agent-debuginfo.x86_64 : Debug information for package netxms-agent
netxms-agent-java.x86_64 : Agent extension (subagent) for running java-based monitoring providers
netxms-agent-java-debuginfo.x86_64 : Debug information for package netxms-agent-java
netxms-agent-mariadb.x86_64 : Agent extension (subagent) for monitoring MySQL/MariaDB databases
netxms-agent-mariadb-debuginfo.x86_64 : Debug information for package netxms-agent-mariadb
netxms-agent-mqtt.x86_64 : Agent extension (subagents) for communicating wiht MQTT brokers
netxms-agent-mqtt-debuginfo.x86_64 : Debug information for package netxms-agent-mqtt
netxms-agent-oracle.x86_64 : Agent extension (subagent) for monitoring Oracle databases
netxms-agent-oracle-debuginfo.x86_64 : Debug information for package netxms-agent-oracle
netxms-agent-pgsql.x86_64 : Agent extension (subagent) for monitoring PostgreSQL databases
netxms-agent-pgsql-debuginfo.x86_64 : Debug information for package netxms-agent-pgsql
netxms-agent-vmgr.x86_64 : Agent extension (subagents) for monitoring virtualization platforms
netxms-agent-vmgr-debuginfo.x86_64 : Debug information for package netxms-agent-vmgr
netxms-base.x86_64 : Common NetXMS libraries and tools
netxms-base-debuginfo.x86_64 : Debug information for package netxms-base
netxms-client.x86_64 : Integration and diagnostics tools for the NetXMSX server.
netxms-client-debuginfo.x86_64 : Debug information for package netxms-client
netxms-dbdrv-mariadb.x86_64 : ...
netxms-dbdrv-mariadb-debuginfo.x86_64 : Debug information for package netxms-dbdrv-mariadb
netxms-dbdrv-odbc.x86_64 : Middleware for interfacing with any compatible database engine via ODBC
netxms-dbdrv-odbc-debuginfo.x86_64 : Debug information for package netxms-dbdrv-odbc
netxms-dbdrv-oracle.x86_64 : Middleware for interfacing with Oracle database engine
netxms-dbdrv-oracle-debuginfo.x86_64 : Debug information for package netxms-dbdrv-oracle
netxms-dbdrv-pgsql.x86_64 : Middleware for interfacing with PostgreSQL database engine
netxms-dbdrv-pgsql-debuginfo.x86_64 : Debug information for package netxms-dbdrv-pgsql
netxms-dbdrv-sqlite3.x86_64 : Middleware for interfacing with SQLite3 database engine
netxms-dbdrv-sqlite3-debuginfo.x86_64 : Debug information for package netxms-dbdrv-sqlite3
netxms-debuginfo.x86_64 : Debug information for package netxms
netxms-debugsource.x86_64 : Debug sources for package netxms
netxms-java-base.x86_64 : Common java libraries used by the NetXMS components
netxms-java-base-debuginfo.x86_64 : Debug information for package netxms-java-base
netxms-reporting.x86_64 : JasperReports-based reporting server integrated into NetXMS
netxms-server.x86_64 : Monitoring server core
netxms-server-debuginfo.x86_64 : Debug information for package netxms-server
</code></pre>
<p dir="auto">netxms-agent-* are different subagents, netxms-dbdrv-* drivers for various databases (used both by server for it's database and by agent to perform queries to databases, netxms-base has common things needed both for server and agent, netxms-reporting is the reporting engine, that's basically it</p>
]]></description><link>https://forum.netxms.org/post/33652</link><guid isPermaLink="true">https://forum.netxms.org/post/33652</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Wed, 31 Jul 2024 10:24:29 GMT</pubDate></item><item><title><![CDATA[Reply to Error loading subagent module "mysql.nsm" on Wed, 31 Jul 2024 07:42:42 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your reply, Filipp</p>
<p dir="auto">So, I can install additional packages with command like this?<br />
dnf install netxms-agent-mysql</p>
<p dir="auto">Now I have a small following question: is there a comprehensive list of additional packages that can be installed?<br />
Before opening this topic, I tried to find information on how to add a package/module separately after installation of "main" NetXMS agent package, but didn't succeed.</p>
<p dir="auto">Hope you can share some resources regarding this.</p>
<p dir="auto">Thanks again and in advance  <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="🙂" /></p>
]]></description><link>https://forum.netxms.org/post/33649</link><guid isPermaLink="true">https://forum.netxms.org/post/33649</guid><dc:creator><![CDATA[andy]]></dc:creator><pubDate>Wed, 31 Jul 2024 07:42:42 GMT</pubDate></item><item><title><![CDATA[Reply to Error loading subagent module "mysql.nsm" on Tue, 30 Jul 2024 07:48:13 GMT]]></title><description><![CDATA[<p dir="auto">The software is split into several packages, to avoid pulling dependencies for things that are not needed. MySQL subagent should be in netxms-agent-mysql package, and you also might need netxms-dbdrv-mysql.</p>
]]></description><link>https://forum.netxms.org/post/33642</link><guid isPermaLink="true">https://forum.netxms.org/post/33642</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Tue, 30 Jul 2024 07:48:13 GMT</pubDate></item><item><title><![CDATA[Reply to Error loading subagent module "mysql.nsm" on Tue, 30 Jul 2024 07:32:54 GMT]]></title><description><![CDATA[<p dir="auto">Any ideas?  <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f622.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--cry" style="height:1.4em;width:auto;vertical-align:middle" title=":'(" alt="😢" /></p>
]]></description><link>https://forum.netxms.org/post/33641</link><guid isPermaLink="true">https://forum.netxms.org/post/33641</guid><dc:creator><![CDATA[andy]]></dc:creator><pubDate>Tue, 30 Jul 2024 07:32:54 GMT</pubDate></item></channel></rss>