barryib/centreon-nmap-import


Centreon module to import host from NMAP

Language: PHP


#Centreon Nmap Import

This package add the Nmap Scanner functionnality to Centreon https://community.centreon.com/projects/import-nmap

##Before installation

You need to install System_Daemon PEAR Packages

Run these commands under root user :

pear install -o -f --alldeps System_Daemon

Set HTTP rights for module.

Example : On Debian or Ubuntu

cd /usr/local/oreon/modules
chown -R www-data.www-data CentreonNmapImport

##After installation

IF YOU WANT TO USE THE OS DISCOVER FUNCTION :

Edit sudo file and add these few lines at the end:

CENTREON   ALL = NOPASSWD: /usr/bin/nmap *              # nmap os discovery
CENTREON   ALL = NOPASSWD: /etc/init.d/cnicore start    # start cnicore from the poller scan page
CENTREON   ALL = NOPASSWD: /etc/init.d/cnicore stop     # stop cnicore from the poller scan page

To be able to run cnicore from the module, you have to generate manualy the /etc/init.d/cnicore file. To do that, type:

/path/to/centreon/modules/CentreonNmapImport/bin/cnicore --write-initd

Configure the nmap binary path and the nmap xml file output in Administration > Module > Centreon Nmap Import

And enjoy ! ;-)

##License GNU/LGPL v2.1

Project Statistics

Sourcerank 2
Repository Size 94.7 KB
Stars 0
Forks 0
Watchers 0
Open issues 0
Dependencies 0
Contributors 1
Tags 1
Created
Last updated
Last pushed

Top Contributors See all

Thierno IB. BARRY

Recent Tags See all

v0.1.0 September 29, 2014

Something wrong with this page? Make a suggestion

Last synced: 2017-11-03 00:17:19 UTC

Login to resync this repository