Modules:Nmap XML Import

From Wiki Centreon

Jump to: navigation, search


This Page is completely designed for Nmap XML Import Module For Oreon.

Contents

Nmap XML Import Module

This module is designed for import hosts from Nmap XML files.

Image:Critical.png This module is under developpement. No release date. Any comments are welcome. Centreon 2.x version adoption: http://o0o.nu/files/NmapXmlImport.tgz

Features

  • Will be define later...

Requirements

  • Nmap 4.20
  • Some PHP XML modules. Will be define later

Installation

Will be define later...

Configuration

Once it is installed, customize options in 'Options > General Options > Nmap XML Import'.

Options

Default Template is used for hosts which are unknown by Nmap.

You can customize the Nmap OS list with your own host template. You must uncheck 'Use Default Template ?' option for override the default template.

Usage

First, you must generate a Nmap Xml file. You can do it with a command like that :

 nmap -sS -O -p T:22,25,80,443,8080,110,143 -oX 192.168.0.0.xml 192.168.0.0/24

or

 nmap -sS -O -p T:22,25,80,443,8080,110,143 -oX myhosts.xml 192.168.52.83 192.168.52.84 192.168.50.50


You can access the 'Nmap XML Import Module' in 'Configuration > Nagios' > Nmap Xml Importer'

V 0.1 alpha :

Thanks Donki for your real/fake xml file ;-)
Load XML file

You can select hosts that you want import, and override the detected template. Only 'UP' hosts will be load. Select hosts to import

If the host already exist in the database, it will be skip. If not, it will be import Import Ok

Hosts imported

Personal tools