<?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[Custom Events from syslog with reverse DNS lookup]]></title><description><![CDATA[<p dir="auto">I need to have reverse DNS lookup on the message portion of a custom event that is created from a syslog message. For instance I have create an event from a syslog message and the event looks like the below (taken from a proxy):</p>
<pre><code>20.01.2015 06:35:43	firewall	Warning	PROXY_BLOCK	Blocked Category: Web Ads; Srcip: 10.30.29.45; Name: web request blocked, forbidden category detected; statuscode: 403; URL: https://googleads.g.doubleclick.net/
</code></pre>
<p dir="auto">I need a reverse lookup on the message portion of the event to convert the "Srcip" to hostname or FQDN instead of IP. Currently I do this manually but it would be great to automate this with NetXMS. Is this possible? Anyone know?</p>
]]></description><link>https://forum.netxms.org/topic/3561/custom-events-from-syslog-with-reverse-dns-lookup</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 15:17:04 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3561.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Jan 2015 13:34:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Custom Events from syslog with reverse DNS lookup on Tue, 20 Jan 2015 19:57:32 GMT]]></title><description><![CDATA[<p dir="auto">Thanks. That does work. However it's the long way around. I posted a feature request to add that to a future release.</p>
<p dir="auto">v/r</p>
]]></description><link>https://forum.netxms.org/post/15754</link><guid isPermaLink="true">https://forum.netxms.org/post/15754</guid><dc:creator><![CDATA[pryzrak]]></dc:creator><pubDate>Tue, 20 Jan 2015 19:57:32 GMT</pubDate></item><item><title><![CDATA[Reply to Custom Events from syslog with reverse DNS lookup on Tue, 20 Jan 2015 17:09:22 GMT]]></title><description><![CDATA[<p dir="auto">General answer is "no" - nxsl do not provide any way to do a back resolve. We can add function for that and then it can be implemented quite easily: in EPP, in create alarm /  send notification section – you use %{scriptName} instead of the message (%m, usually), and in this "scriptName"  (from Script Library) you do any transformation you like (extract IP, resolve and combine message back together). You can register feature request in our bug tracker: <a href="https://dev.raden.solutions/projects/netxms/" rel="nofollow ugc">https://dev.raden.solutions/projects/netxms/</a>.</p>
<p dir="auto">Right now you can do this kind of a hack:</p>
<ol>
<li>in EPP add "execute external application" as action</li>
<li>write script (shell, python, application - anything), which split message, extract IP, do back resolve, compose new message</li>
<li>push it back to NetXMS using "nxevent" command line utility. Note, you should use different event for that – or you'll create infinite loop.</li>
</ol>
]]></description><link>https://forum.netxms.org/post/15752</link><guid isPermaLink="true">https://forum.netxms.org/post/15752</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Tue, 20 Jan 2015 17:09:22 GMT</pubDate></item></channel></rss>