HEAT Discovery - How to debug Netscanner without sending the resulting data into ISM

Version 2

    Details

    This article describes how to create a copy of Netscanner and increase the logging level to debug for testing purposes


    Resolution

    -Create a copy of the entire Netscanner Folder in another location (In this example I am using C:\Temp)

    -Create the folder C:\Temp\Netscanner, also create a subfolder for output files C:\Temp\Netscanner\Outbox
    -Copy "C:\Program Files (x86)\Ivanti\SaaSIMClient\ClientAgent\Netscanner" C:\Temp\Netscanner (This path may vary depending on custom location or if in older versions "Ivanti" may be replaced with "HEAT Software" or even "FrontRange Solutions")
    -Go to the temp folder where the copy of Netscanner resides (in this example C:\Temp\Netscanner)
    -Edit Log.Confg
    -Change <file value="C:\Program Files (x86)\Common Files\FRS\Logs\NetScanner.log"/>      to <file value="C:\Temp\Netscanner\Outbox\NetScanner.log"/>
    -Save
    -Edit NetScan.xml to update the output path
    -Change <OutputPath>C:\Program Files (x86)\Common Files\FRS\SaasIMClient\ClientMsgSender\Outbox\LanProbe.XML</OutputPath>   to <OutputPath>C:\Temp\Netscanner\Outbox\LanProbe.XML</OutputPath>
    -Change <ScopePath>C:\Program Files (x86)\Common Files\FRS\Scope</ScopePath>     to <ScopePath>C:\Temp\Netscanner\Outbox\Scope</ScopePath>
    -(Optional, if needed for precise testing) Edit the Subnet needing scanned using CIDR notation (If attempting to test a single endpoint such as 192.168.100.1, use 192.168.100.1/32) or using the IPRange format with astart and end IP addresses.  A sample of the NetworkSegments element including an example of each format is below:
    <NetworkSegments><SkipUnconnectableCI>false</SkipUnconnectableCI>
    <IPRange><StartAddress>10.101.2.100</StartAddress><EndAddress>10.101.2.105</EndAddress></IPRange>
    <SubnetRange><Subnet>192.168.100.1/32</Subnet></SubnetRange>
    </NetworkSegments>
    -Save
    -Open a Command prompt with  Administrator rights
    -Change directory: cd C:\Temp\Netscanner
    -Run Netscanner (no switches are needed): Netscanner.exe
    -Wait for it to complete and return to the Command line
    -Send to support if requested and/or use your favorite text editor to view the output files in C:\Temp\Netscanner\Outbox.  If you have multiple subnets being scanned you'll find a separate output file for each subnet.  C:\Temp\Netscanner\Outbox\Scope will contain logs detailing the SNMP auditing as well.