<?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[Oracle 26ai monitoring CDB and PDB´s with common user]]></title><description><![CDATA[<p dir="auto">Hi<br />
My enviroment:</p>
<p dir="auto">Database: Oracle 26ai with CDB and PDB´s.<br />
NetXMS: Version 6.0<br />
Subagent: Oracle.nsm<br />
Subagent: dbquery.nsm</p>
<p dir="auto">Im using common user with prefix c## to monitor the CDB via Oracle.nsm subagent. The prefix working well for CDB.<br />
Now I tried to get data from PDB´s with this subagent. As example open_mode, etc.</p>
<ul>
<li>Is it possible to monitoring the PDB´s, too with the Oracle.nsm?</li>
</ul>
<p dir="auto">I tried as second solution via dbquery.nsm (I use it for special select statements in oracle and this works with traditional Oracle DB´s (Instance based). Now i tried to get data like open_mode from PDB´s with dbquery.nsm. It seems that the agent does not support the "c##" user prefix. If I use it, the agent service will not start. If I try it on SQLDevelopment Studio it works. Is there a solution to use common accounts to monitor PDB´s?</p>
<p dir="auto">This is how I tried the connection:</p>
<pre><code>*DBQUERY
Database = id=CDB0;driver=oracle.ddr;server=//hostABC:1521/CDB0;login=c##netxms_agent;Password=mypassword
Query = Open_Mode_PDB1:CDB0:15:select open_mode from v$pdbs where NAME = 'PDB1'
</code></pre>
<p dir="auto">--&gt; This query works on Oracle SQL Develper.</p>
<p dir="auto">How do you monitor your PDB´s without creating collection data for every PDB?<br />
We using dataguard-manager with switchover and failover capability.</p>
<p dir="auto">Thank you for any hint´s or suggestions.<br />
Sincerly Lars</p>
]]></description><link>https://forum.netxms.org/topic/8328/oracle-26ai-monitoring-cdb-and-pdb-s-with-common-user</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:10:16 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/8328.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 18 Feb 2026 12:42:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Oracle 26ai monitoring CDB and PDB´s with common user on Fri, 20 Feb 2026 08:30:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/filipp-sudanov" aria-label="Profile: filipp-sudanov">@<bdi>filipp-sudanov</bdi></a> said in <a href="/post/35194">Oracle 26ai monitoring CDB and PDB´s with common user</a>:</p>
<blockquote>
<p dir="auto">You can enquote the whole value:<br />
Database = "id=CDB0;driver=oracle.ddr;server=//hostABC:1521/CDB0;login=c##netxms_agent;Password=mypassword"</p>
</blockquote>
<p dir="auto">Thank you Filipp. This was the missing hint. I tried to enqoute only username. Now it works like a charme. Thank you verry much!</p>
]]></description><link>https://forum.netxms.org/post/35200</link><guid isPermaLink="true">https://forum.netxms.org/post/35200</guid><dc:creator><![CDATA[Eisbaeeer]]></dc:creator><pubDate>Fri, 20 Feb 2026 08:30:51 GMT</pubDate></item><item><title><![CDATA[Reply to Oracle 26ai monitoring CDB and PDB´s with common user on Thu, 19 Feb 2026 11:46:57 GMT]]></title><description><![CDATA[<p dir="auto">Not sure how your config looks for oracle.nsm part, but the dbquery example issue is due to # char - it's treated as comment when configuration file is parsed.</p>
<p dir="auto">You can enquote the whole value:<br />
Database = "id=CDB0;driver=oracle.ddr;server=//hostABC:1521/CDB0;login=c##netxms_agent;Password=mypassword"</p>
<p dir="auto">Or it's better to use new configuration format that goes in a section, just make sure login is in quotes:</p>
<p dir="auto">[DBQUERY/Databases/db1]<br />
driver=pgsql<br />
server=10.0.0.4<br />
login="netxms"<br />
password=netxms1<br />
name=test_db</p>
<p dir="auto">(<a href="https://netxms.org/documentation/adminguide/application-monitoring.html#configuration-example" rel="nofollow ugc">https://netxms.org/documentation/adminguide/application-monitoring.html#configuration-example</a>)</p>
]]></description><link>https://forum.netxms.org/post/35194</link><guid isPermaLink="true">https://forum.netxms.org/post/35194</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Thu, 19 Feb 2026 11:46:57 GMT</pubDate></item></channel></rss>