SM NetworkScanner

From MicroFocusInternationalWiki
Revision as of 15:12, 29 October 2012 by Bmaryniuk (Talk | contribs) (Created page with "= SUSE Manager Network Scanner = == About == SUSE Manager Network Scanner is a software for scanning network and finding hosts in it. === Current status === WARNING! Netwo...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SUSE Manager Network Scanner

About

SUSE Manager Network Scanner is a software for scanning network and finding hosts in it.

Current status

WARNING! Network Scanner is indeed "Bloody Alpha" state and in some cases may not exactly find your network layout. Make sure you get latest updates, we're cranking!

Requirements

- Java Runtime 1.6 from the following major vendor: IcedTea, OpenJDK, Oracle Java, IBM Java.

- Python 2.4 or better (for client).

- jpcap (http://jpcap.sourceforge.net/)

- SUSE Linux Enterprise. :-)

- One network port. By default, running on port 5000 and listening only to a localhost.


Installation Instructions

The installation procedure described below is possible only on SUSE Linux family (SLE and openSUSE). Assuming Zypper contains all required repositories, please follow the following steps:

1. Install the SUSE Manager Network Discovery daemon:

  sudo zypper install sm-network-discovery

2. Install client for the above:

  sudo zypper install sm-network-discovery-client


Configuration

Network Scanner does not need SNMP protocol or any special hints from your network other than just an ability to send ICMP packets to ping its targets. This gives an advantage to work on any network layout without any specific configuration and assumptions that some credentials needs to be sent somewhere in order to get required precise starting info. However, it still requires configuration, which essentially has default values except the network device on which daemon is listening on.

To know configuration details:

   man sm-netscan.conf


Usage

Network Scanner consists of two pars: daemon that discovers the network and the client that returns you already captured data.

To start the daemon:

   # rcsm-network-discovery start

To view scanned networks (after some time), please use SUSE Manager Network Discovery client:

   sm-netscan --help

Typically, to see found subnets, issue the following command:

   sm-netscan --subnets

To see the hosts in particular subnets, issue the following command:

   sm-netscan --hosts=<subnet IP>

More details, see the man page for sm-netscan:

   man sm-netscan

Other usage

Network Discovery client can also output the data in XML. To do so, you need to pass "format" parameter (see the man page for more details). It is possible to reuse the output in your own scripts by transforming the output with XSLT template, for example.