Skip to content

[CENTREON REQUIRED] script to discover network interfaces from the hosts stored in Centreon

Notifications You must be signed in to change notification settings

sgaudart/disco_interfaces

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

disco_interfaces

Perl program to discover the interfaces from the hosts stored in Centreon. You can choose the discovered interfaces and the script create for you a CLAPI file (Centreon CLI for create object into Centreon).

  • INPUT : config file (disco_interfaces.cfg)
  • OUTPUT : CLAPI.sh (you can run to create the interfaces in Centreon.

Screenshot 1

Requirement

  • Perl (main script)
  • the script [pyselection.py] (https://github.com/sgaudart/pyselection) (python2.X & curses module)
  • IMPORTANT : you need to launch disco_interfaces.pl with the nagios/centreon user (need to access to the pollers with SSH).

Usage

./disco_interfaces.pl

Usefull Keys

  • UP/DOWN : navigate
  • SPACE : select/unselect the line
  • OTHER KEY : you can make a dynamic text filter
  • BACKSPACE : you delete one chr of the text filter
  • ENTER : save and exit
  • ESC : no save and exit

About

[CENTREON REQUIRED] script to discover network interfaces from the hosts stored in Centreon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages