<?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[monitoring space on remote HDD over SSH]]></title><description><![CDATA[<p dir="auto">Hi...<br />
I have remote HDD and I have not possibility install Agent on the machine where is the HDD.<br />
Is anyhow possible create SSH connection to such drive and run there command or script?</p>
<p dir="auto">Thank You for any hint<br />
Regards ZAJDAN</p>
]]></description><link>https://forum.netxms.org/topic/6519/monitoring-space-on-remote-hdd-over-ssh</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 13:10:53 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6519.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 07 May 2020 15:11:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to monitoring space on remote HDD over SSH on Fri, 08 May 2020 12:58:04 GMT]]></title><description><![CDATA[<p dir="auto">ok ...</p>
<ol>
<li>I have added the log level</li>
<li>Then I restarted the agent</li>
<li>Then I restarted the pool on the server</li>
<li>Jumped into the log a here it is:</li>
</ol>
<pre><code>2020.05.08 14:34:30.615 *D* [                   ] Event sender thread started
2020.05.08 14:34:31.616 *I* [                   ] NetXMS Agent started
2020.05.08 14:35:23.876 *D* [                   ] Incoming connection from 10.6.6.17
2020.05.08 14:35:23.876 *D* [                   ] Connection from 10.6.6.17 rejected
2020.05.08 14:35:30.615 *D* [dc                 ] DataCollector: sleeping for 60 seconds
</code></pre>
<p dir="auto">10.6.6.17 is the NetXMS server self<br />
so I again opened the nxagentd.conf and I have put there:</p>
<p dir="auto"><strong>MasterServers=127.0.0.0/8,10.6.6.17</strong><br />
<em>before was just:<br />
MasterServers=127.0.0.0/8</em></p>
<p dir="auto">and problem is <strong>SOLVED!</strong> super Thank You :_)</p>
]]></description><link>https://forum.netxms.org/post/27858</link><guid isPermaLink="true">https://forum.netxms.org/post/27858</guid><dc:creator><![CDATA[ZAJDAN]]></dc:creator><pubDate>Fri, 08 May 2020 12:58:04 GMT</pubDate></item><item><title><![CDATA[Reply to monitoring space on remote HDD over SSH on Fri, 08 May 2020 12:33:04 GMT]]></title><description><![CDATA[<p dir="auto">Ok, can set DebugLevel=7 in agent configuration file and show an extract from agent log file when the SSH command is executed.</p>
<p dir="auto">Also, you can use nxget command - it requests data from the agent, e.g.:</p>
<pre><code>nxget 127.0.0.1 "SSH.Command(host,user,password,ls)"
</code></pre>
]]></description><link>https://forum.netxms.org/post/27857</link><guid isPermaLink="true">https://forum.netxms.org/post/27857</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 08 May 2020 12:33:04 GMT</pubDate></item><item><title><![CDATA[Reply to monitoring space on remote HDD over SSH on Fri, 08 May 2020 11:35:16 GMT]]></title><description><![CDATA[<p dir="auto">for sure I restarted the <strong>agnetd</strong> a checked his status:</p>
<pre><code>~# systemctl status nxagentd
● nxagentd.service - NetXMS Agent
   Loaded: loaded (/lib/systemd/system/nxagentd.service; disabled; vendor preset
   Active: active (running) since Fri 2020-05-08 13:25:58 CEST; 7min ago
  Process: 1658 ExecStart=/usr/bin/nxagentd -d (code=exited, status=0/SUCCESS)
 Main PID: 1659 (nxagentd)
    Tasks: 19 (limit: 3480)
   Memory: 13.9M
   CGroup: /system.slice/nxagentd.service
           └─1659 /usr/bin/nxagentd -d

May 08 13:25:55 info21-srv-monitor systemd[1]: Starting NetXMS Agent...
May 08 13:25:55 info21-srv-monitor systemd[1]: nxagentd.service: Can't open PID
May 08 13:25:58 info21-srv-monitor systemd[1]: Started NetXMS Agent.
</code></pre>
<p dir="auto">Configuration Poll (Full)</p>
<pre><code>08.05.2020 13:26:12] **** Poll request sent to server ****
[08.05.2020 13:26:25]    Checking EtherNet/IP...
[08.05.2020 13:26:25]    Cannot get device identity via EtherNet/IP (CONNECT FAILED)
[08.05.2020 13:26:25] Capability check finished
[08.05.2020 13:26:25] Checking interface configuration...
[08.05.2020 13:26:25] Interface configuration check finished
[08.05.2020 13:26:25] Checking node name
[08.05.2020 13:26:25] Node name is OK
[08.05.2020 13:26:25] Updating general system hardware information
[08.05.2020 13:26:25] Finished configuration poll for node info21-srv-monitor
[08.05.2020 13:26:25] Node configuration was not changed after poll
[08.05.2020 13:26:25] **** Poll completed successfully ****
</code></pre>
<p dir="auto">but it doesn´t seems to be, that it helped <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>
]]></description><link>https://forum.netxms.org/post/27856</link><guid isPermaLink="true">https://forum.netxms.org/post/27856</guid><dc:creator><![CDATA[ZAJDAN]]></dc:creator><pubDate>Fri, 08 May 2020 11:35:16 GMT</pubDate></item><item><title><![CDATA[Reply to monitoring space on remote HDD over SSH on Fri, 08 May 2020 11:05:28 GMT]]></title><description><![CDATA[<p dir="auto">The could be an issue that first SSH.Command since agent start is failing (<a href="https://track.radensolutions.com/issue/NX-1852" rel="nofollow ugc">https://track.radensolutions.com/issue/NX-1852</a>), but is should start working when polled again.</p>
]]></description><link>https://forum.netxms.org/post/27855</link><guid isPermaLink="true">https://forum.netxms.org/post/27855</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 08 May 2020 11:05:28 GMT</pubDate></item><item><title><![CDATA[Reply to monitoring space on remote HDD over SSH on Fri, 08 May 2020 07:41:48 GMT]]></title><description><![CDATA[<p dir="auto">the <strong>myserver</strong> in my case means the <strong>NetXMS server</strong> itself.<br />
So I deleted the source node on the parameter, but it doesnt soved it.<br />
<img src="https://pasteall.org/media/7/5/75441e222cb9d2586842d3220a62bbc6.png" alt="" class="img-markdown  img-fluid" /></p>
]]></description><link>https://forum.netxms.org/post/27849</link><guid isPermaLink="true">https://forum.netxms.org/post/27849</guid><dc:creator><![CDATA[ZAJDAN]]></dc:creator><pubDate>Fri, 08 May 2020 07:41:48 GMT</pubDate></item><item><title><![CDATA[Reply to monitoring space on remote HDD over SSH on Fri, 08 May 2020 07:17:56 GMT]]></title><description><![CDATA[<p dir="auto">You do not need source node if you have configured it on NetXMS server node. It defines where actual data collection will happen, in case of "agent" origin - what agent will be queried. You'll need source node to be set in the opposite case - when you configure DCI on "myserver" node but SSH subagent is on NetXMS server - then you'll have to set source node to NetXMS server node.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/27848</link><guid isPermaLink="true">https://forum.netxms.org/post/27848</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 08 May 2020 07:17:56 GMT</pubDate></item><item><title><![CDATA[Reply to monitoring space on remote HDD over SSH on Thu, 07 May 2020 22:01:11 GMT]]></title><description><![CDATA[<p dir="auto">OK...</p>
<ol>
<li>On the NetXMS server I found <strong>/etc/nxagentd.conf</strong> and added new line <strong>SubAgent=ssh.nsm</strong>, then restarted the agent.</li>
<li>On the server node I opened 'Data Collection Configuration' and there created new parameter.<br />
<strong>Parameter:</strong> SSH.Command(192.168.10.1,admin,mypass,ls)<br />
<strong>Origin:</strong> NetXMS Agent  <strong>Data Type:</strong> String<br />
<strong>Source Node:</strong> myserver</li>
</ol>
<p dir="auto">Then I go into Object Details of the Node(myserver) and tab 'Last Values'.<br />
Here I see the my parameter, but value is <strong>&lt;&lt;ERROR&gt;&gt;</strong> , Timestamp is empty.</p>
<p dir="auto">thank You for any hint</p>
]]></description><link>https://forum.netxms.org/post/27846</link><guid isPermaLink="true">https://forum.netxms.org/post/27846</guid><dc:creator><![CDATA[ZAJDAN]]></dc:creator><pubDate>Thu, 07 May 2020 22:01:11 GMT</pubDate></item><item><title><![CDATA[Reply to monitoring space on remote HDD over SSH on Thu, 07 May 2020 20:47:37 GMT]]></title><description><![CDATA[<p dir="auto">Absolutely, please check NetXMS docs on that: <a href="https://www.netxms.org/documentation/adminguide/ssh-monitoring.html" rel="nofollow ugc">https://www.netxms.org/documentation/adminguide/ssh-monitoring.html</a><br />
Make sure you add ssh.nsm subagent to the configuratio file of netxms agent running on your netxms server and restart the agent afterwards.</p>
]]></description><link>https://forum.netxms.org/post/27845</link><guid isPermaLink="true">https://forum.netxms.org/post/27845</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Thu, 07 May 2020 20:47:37 GMT</pubDate></item></channel></rss>