<?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[How to do timedrift detection on agents]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I have been trying to setup a time-drift template, that monitors my agents local system time and compares it to the time of the monitoring server, basically I'd like to find servers that drifts in time despite of a NTP daemon (all servers are in the same time zone).</p>
<p dir="auto">But I can't seem to get it to work as I only seem to be able to get the agents local time.</p>
<p dir="auto">Any suggestions on how this could be solved?</p>
<p dir="auto">Thanks</p>
<p dir="auto">Anders</p>
]]></description><link>https://forum.netxms.org/topic/2080/how-to-do-timedrift-detection-on-agents</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:24:52 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2080.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 14 Dec 2012 08:01:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to do timedrift detection on agents on Fri, 14 Dec 2012 08:22:05 GMT]]></title><description><![CDATA[<p dir="auto">Aha! Thanks Victor, this should have been obvious, but for some reason I got the impression that time() returned the agents local time and not the netxms servers local time.</p>
]]></description><link>https://forum.netxms.org/post/9150</link><guid isPermaLink="true">https://forum.netxms.org/post/9150</guid><dc:creator><![CDATA[Anders]]></dc:creator><pubDate>Fri, 14 Dec 2012 08:22:05 GMT</pubDate></item><item><title><![CDATA[Reply to How to do timedrift detection on agents on Fri, 14 Dec 2012 08:10:07 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">You can use transformation script to calculate time difference with NetXMS server. Add parameter System.CurrentTime, and use the following transformation script:</p>
<pre><code>return time() - $1;
</code></pre>
<p dir="auto">You'll got difference in seconds between NetXMS server's local time and remote system time.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/9148</link><guid isPermaLink="true">https://forum.netxms.org/post/9148</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 14 Dec 2012 08:10:07 GMT</pubDate></item></channel></rss>