<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">
    
    <channel>
    
    <title>Tideway Community Forum</title>
    <link>http://www.tideway.com/community/forum/</link>
    <description>Tideway Community Forum</description>
    <dc:language>en</dc:language>
    <dc:rights>Copyright 2008</dc:rights>
    <dc:date>2008-10-01T16:40:39+00:00</dc:date>
    <admin:generatorAgent rdf:resource="http://expressionengine.com/" />
    

    <item>
      <title>TPL: How to trigger each time a Host is scanned</title>
      <link>http://www.tideway.com/community/forum/viewthread/46/</link>
      <guid>http://www.tideway.com/community/forum/viewthread/46/#When:16:40:39Z</guid>
      <description>&lt;p&gt;We&#8217;ve added another article to the &lt;a href=&quot;http://www.tideway.com/configipedia/Power_Tips&quot;&gt;Power Tips&lt;/a&gt; series to start a few simple tips if you are just starting out in pattern writing.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.tideway.com/configipedia/Getting_Started:_Trigger_On_Host_Scan&quot;&gt;How to trigger each time a Host is scanned&lt;/a&gt;?&lt;/p&gt;

&lt;p&gt;Short answer:&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
&lt;span style=&quot;color: #FF8000&quot;&gt;//&amp;nbsp;The&amp;nbsp;correct&amp;nbsp;way&amp;nbsp;to&amp;nbsp;trigger&amp;nbsp;each&amp;nbsp;time&amp;nbsp;a&amp;nbsp;Host&amp;nbsp;is&amp;nbsp;scanned&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;triggers&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;on&amp;nbsp;host&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Host&amp;nbsp;created&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;confirmed&lt;br /&gt;&amp;nbsp;&amp;nbsp;end&amp;nbsp;triggers&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&amp;nbsp;&lt;/span&gt;
&lt;/span&gt;
&lt;/code&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</description>
      <dc:date>2008-10-01T16:40:39+00:00</dc:date>
    </item>

    <item>
      <title>TPL: model.Host gotchas</title>
      <link>http://www.tideway.com/community/forum/viewthread/42/</link>
      <guid>http://www.tideway.com/community/forum/viewthread/42/#When:09:51:27Z</guid>
      <description>&lt;p&gt;A frequent gotcha I&#8217;ve seen in TPL is accidentally using model.Host() when you meant model.host() or host.attribute&lt;/p&gt;

&lt;p&gt;I&#8217;ve written this up with examples in &lt;a href=&quot;http://www.tideway.com/configipedia/Gotcha:_Model_Host&quot;&gt;this article&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you want the executive summary:&lt;/p&gt;

&lt;p&gt;Any use of model.Host() in TPL should be avoided.&lt;/p&gt;

&lt;p&gt;From the next release onwards the TPL compiler will warn you of this situation.&lt;/p&gt;</description>
      <dc:date>2008-09-24T09:51:27+00:00</dc:date>
    </item>

    <item>
      <title>Playback Windows record data using Foundation</title>
      <link>http://www.tideway.com/community/forum/viewthread/26/</link>
      <guid>http://www.tideway.com/community/forum/viewthread/26/#When:15:28:13Z</guid>
      <description>&lt;blockquote&gt;&lt;p&gt;The advice in this post is relevant for the 6.x range of Foundation. Additional techniques are available on the 7.x range.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;You may decide to rescan a host with the information available in record data. This can be useful when you are consolidating multiple tideway appliances discovered (record) data into one appliance for reporting purpose. &lt;/p&gt;

&lt;p&gt;The first thing you will do is change the discovery mode to playback in the UI&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&lt;b&gt;Method #1 &#45; Using the Appliance Pool Data&lt;/b&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;1.&amp;nbsp;   Scan the Windows machines (eg. 172.17.4.46) with a Slave connected to an Appliance.&lt;br /&gt;
2.&amp;nbsp;   If you haven&#8217;t just scanned the host(s) and are loading data from another source you will only need the pool data sourced from the Appliance.&lt;br /&gt;
3.&amp;nbsp;   Create a .no&#45;expiry file in that host&#8217;s pool data on the Appliance. To do this for all hosts do: find /usr/tideway/var/pool/ &#45;type d &#45;links 2 &#45;exec touch &#123;&#125;/.no&#45;expiry ;&lt;br /&gt;
4.&amp;nbsp;   At this time you should also confirm that the full set of pool data files are there (getInfo getInterfaceList getNames getNetworkConnectionList getPackageList getProcessList getProcessToConnectionMapping nmap&#45;small), if not delete the pool data and rescan the host again. Make sure the pool&#45;expiry isn&#8217;t set to &#45;1 or something ridiculously low in ~/bin/tw_svc_discovery.&lt;br /&gt;
5.&amp;nbsp;   Go into the Tideway UI and delete the host nodes for the Windows machines. &lt;br /&gt;
6.&amp;nbsp;   Stop the Slave service on the Windows machine and stop the tideway service on the Appliance.&lt;br /&gt;
7.&amp;nbsp;   For post&#45;6.2 Appliances change the Discovery Mode in Setup&#45;&amp;gt;Appliance&#45;&amp;gt;System Settings.&lt;br /&gt;
8.&amp;nbsp;   Scan the Windows IPs (eg. 172.17.4.46) in playback mode, there is no need to setup credentials.&lt;br /&gt;
9.&amp;nbsp;   Once finished playing back data run find /usr/tideway/var/pool/ &#45;type f &#45;name .no&#45;expiry &#45;exec rm &#45;f &#123;&#125; ; to remove the .no&#45;expiry files and restore normal pool data functionality.&lt;br /&gt;
Note: When you use the PDA (Playback Data Archive) way of gathering the pool data, it creates the .no&#45;expiry files for you as well. There&#8217;s also a script called tw_pool2playback which is a command line tool that creates a PDA called PFI_Data (Primary Foundation Instance, it came out of the BAM Lite work) from all the current pool data.&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;
&lt;em&gt;&lt;i&gt;&lt;b&gt;Method #2 &#45; Using Record Data on the Appliance and Slave&lt;/b&gt;&lt;/i&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;1.&amp;nbsp;   Scan the Windows machines (eg. 172.17.4.46) with a Slave connected to an Appliance.&lt;br /&gt;
2.&amp;nbsp;   Delete the host nodes for the Windows machines.&lt;br /&gt;
3.&amp;nbsp;   If you haven&#8217;t just scanned the host(s) and are loading data from another source you will need the record data sourced from the Appliance as well as the record data sourced from the Slave.&lt;br /&gt;
4.&amp;nbsp;   Stop the the Slave service on the Windows slave host and set it to playback mode by altering the CommandLine value in the HKEY_LOCAL_MACHINESOFTWARETidewayDISCOVERY&amp;lt;Slave Type&amp;gt; Registry key.&lt;br /&gt;
5.&amp;nbsp;   Appliance. For post&#45;6.2 Appliances change the Discovery Mode in Setup&#45;&amp;gt;Appliance&#45;&amp;gt;System Settings.&lt;br /&gt;
6.&amp;nbsp;   Create a file called os_type with the contents Windows in each record data directory for a Windows host. This script automates this process.&lt;br /&gt;
7.&amp;nbsp;   Restart both services, make sure that the Appliance is connected to the Slave.&lt;br /&gt;
8.&amp;nbsp;   If you are using a Credential Slave make sure there are some credentials for the IP ranges you want to playback. These credentials can be anything &#45; and username and password as long as the password isn&#8217;t blank. This is not required for AD/Workgroup Slaves.&lt;br /&gt;
9.&amp;nbsp;   Start Discovery and scan the host(s).&lt;/p&gt;

&lt;p&gt;&lt;br /&gt;
&lt;em&gt;&lt;i&gt;&lt;b&gt;Method #3&#45; Using existing appliance record data only&lt;/b&gt;&lt;/i&gt;&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The below instructions are for Windows hosts. For Unix hosts you just need the record data on the Appliance and then you can set the Appliance to playback mode and do a scan.&lt;br /&gt;
1.&amp;nbsp;   Create record directories on the slave and appliance for the host IP you want to scan. (eg. var/record/172/17/4/46/) &lt;br /&gt;
2.&amp;nbsp;   Copy the record data to the slave.&lt;br /&gt;
3.&amp;nbsp;   Check if your record data has a file called ‘nmap’ if not copy from another set of record data and edit the ip address in the file. Or create a file called os_type as above.&lt;br /&gt;
4.&amp;nbsp;   Copy the nmap and nmap&#45;small files to the record directory on your appliance. &lt;br /&gt;
5.&amp;nbsp;   With your Slave and Appliance set to playback mode scan the ip address of your record data. (eg. 172.17.4.46)&lt;/p&gt;&lt;/blockquote&gt;</description>
      <dc:date>2008-06-05T15:28:13+00:00</dc:date>
    </item>

    <item>
      <title>Sharing table lookups between TPL modules</title>
      <link>http://www.tideway.com/community/forum/viewthread/24/</link>
      <guid>http://www.tideway.com/community/forum/viewthread/24/#When:12:37:16Z</guid>
      <description>&lt;p&gt;You may not know that you can share table definitions between modules. You can see examples of this in TKU (see the SupportingFiles.Tables module).&lt;/p&gt;

&lt;p&gt;For example, define a module with a table definition:&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;tpl&amp;nbsp;1.0&amp;nbsp;module&amp;nbsp;TEST1&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;//&amp;nbsp;Define&amp;nbsp;a&amp;nbsp;table&amp;nbsp;to&amp;nbsp;be&amp;nbsp;shared&amp;nbsp;in&amp;nbsp;other&amp;nbsp;modules&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;table&amp;nbsp;LookupPath&amp;nbsp;1.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;sudo&#39;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&#45;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#91;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;/sbin/sudo&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;/usr/local/bin/suexec&#39;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#93;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;end&amp;nbsp;table&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&amp;nbsp;&lt;/span&gt;
&lt;/span&gt;
&lt;/code&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;p&gt;This allows a value to be returned by the table based on a key (in this case a list of strings). In one or more other modules, &#8220;import&#8221; the table in module scope with the command:&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;from&amp;nbsp;TEST1&amp;nbsp;import&amp;nbsp;LookupPath&amp;nbsp;1.0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&amp;nbsp;&lt;/span&gt;
&lt;/span&gt;
&lt;/code&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;

&lt;p&gt;and then the table can be used in a pattern this second module as normal:&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;tpl&amp;nbsp;1.0&amp;nbsp;module&amp;nbsp;TEST2&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;from&amp;nbsp;TEST1&amp;nbsp;import&amp;nbsp;LookupPath&amp;nbsp;1.0&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;pattern&amp;nbsp;TEST2&amp;nbsp;1.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;&#39;&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;Test&amp;nbsp;pattern&amp;nbsp;to&amp;nbsp;use&amp;nbsp;imported&amp;nbsp;table&lt;br /&gt;&amp;nbsp;&amp;nbsp;&#39;&#39;&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;overview&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tags&amp;nbsp;TEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;end&amp;nbsp;overview&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;triggers&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;on&amp;nbsp;device&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;DeviceInfo&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;end&amp;nbsp;triggers&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;body&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;host&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;model&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;host&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;device&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;not&amp;nbsp;host&amp;nbsp;then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;log&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;error&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;No&amp;nbsp;host&amp;nbsp;node&amp;nbsp;for:&amp;nbsp;%&amp;nbsp;device.name%&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;stop&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;end&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;val&amp;nbsp;in&amp;nbsp;LookupPath&#91;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;sudo&#39;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&#93;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;do&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;info&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;Possible&amp;nbsp;path:&amp;nbsp;%&amp;nbsp;val%&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;end&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;for;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;end&amp;nbsp;body&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;end&amp;nbsp;pattern&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&amp;nbsp;&lt;/span&gt;
&lt;/span&gt;
&lt;/code&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</description>
      <dc:date>2008-06-05T12:37:16+00:00</dc:date>
    </item>

    <item>
      <title>Don&#8217;t forget regex.extractAll()</title>
      <link>http://www.tideway.com/community/forum/viewthread/27/</link>
      <guid>http://www.tideway.com/community/forum/viewthread/27/#When:10:26:27Z</guid>
      <description>&lt;p&gt;When writing TPL you will probably end up using regex.extract() most frequently, however don&#8217;t forget to check the TPL guide for its friend, regex.extractAll() which is useful when you need to extract several data items matching a single pattern.&lt;/p&gt;

&lt;p&gt;This example shows its use, for extracting nameserver out of a Unix hosts&#8217;s DNS config file:&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;
&lt;span style=&quot;color: #0000BB&quot;&gt;tpl&amp;nbsp;1.0&amp;nbsp;module&amp;nbsp;TEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;pattern&amp;nbsp;TEST&amp;nbsp;1.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;&#39;&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;Demo&amp;nbsp;to&amp;nbsp;show&amp;nbsp;how&amp;nbsp;to&amp;nbsp;use&amp;nbsp;extractAll&lt;br /&gt;&amp;nbsp;&amp;nbsp;&#39;&#39;&#39;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;overview&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;tags&amp;nbsp;TEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;end&amp;nbsp;overview&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;triggers&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;on&amp;nbsp;device&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;DeviceInfo&amp;nbsp;where&amp;nbsp;os_class&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;UNIX&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;end&amp;nbsp;triggers&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;body&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;host&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;model&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;host&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;device&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;not&amp;nbsp;host&amp;nbsp;then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;log&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;error&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;No&amp;nbsp;host&amp;nbsp;node&amp;nbsp;for:&amp;nbsp;%&amp;nbsp;device.name%&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;stop&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;end&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;file&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;discovery&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;fileGet&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;host&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;/etc/resolv.conf&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;file&amp;nbsp;then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;nameservers&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;:=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;regex&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;extractAll&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;file&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;content&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;regex&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;nnameservers+(S+)&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;nameserver&amp;nbsp;in&amp;nbsp;nameservers&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;do&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;log&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;info&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#39;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;nbsp;Detected&amp;nbsp;nameserver&amp;nbsp;%&amp;nbsp;nameserver%&#39;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;end&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;for;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;end&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;end&amp;nbsp;body&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;end&amp;nbsp;pattern&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&amp;nbsp;&lt;/span&gt;
&lt;/span&gt;
&lt;/code&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</description>
      <dc:date>2008-06-06T10:26:27+00:00</dc:date>
    </item>

    <item>
      <title>Difference between fqdn and dns_domain in Foundation</title>
      <link>http://www.tideway.com/community/forum/viewthread/25/</link>
      <guid>http://www.tideway.com/community/forum/viewthread/25/#When:14:43:38Z</guid>
      <description>&lt;p&gt;The &lt;b&gt;fqdn&lt;/b&gt; is the host’s Fully Qualified Domain Name. Ie. The hostname with the domain that the host is in appended, this produces a resolvable DNS name. Eg. from inside the Tideway network you can see the mail server as just ‘mail’ (ie. ping mail) or as mail.tideway.com, but from outside it must be stated &#8216;fully&#45;qualified&#8217; as mail.tideway.com to be resolvable.&lt;/p&gt;

&lt;p&gt;The&lt;b&gt; dns_domain&lt;/b&gt; is from /etc/resolv.conf on the host and is the DNS domain to search in if none is specified. Ie. If I’m sitting on the Tideway network how does the DNS client on my machine know that when it gets a non&#45;fully qualified name like ‘mail’ to turn it into ‘mail.tideway.com’. See man resolv.conf&lt;/p&gt;</description>
      <dc:date>2008-06-05T14:43:38+00:00</dc:date>
    </item>

    
    </channel>
</rss>