# Genieacs plugin

# Introduction

**Ver**. 02-12-2021

This plugin take data from your environment genieacs.

**Tipo**: Server Plug-in

# Compatibility matrix

<table border="1" id="bkmrk-sistemas-donde-se-ha" style="border-collapse: collapse; width: 100%; height: 84px;"><tbody><tr style="height: 28px;"><td style="width: 50%; height: 28px;">**Systems where it has been tested**</td><td style="width: 50%; height: 28px;">CentOS 7, Fedora

</td></tr><tr style="height: 28px;"><td style="width: 50%; height: 28px;">**Systems where it should work**</td><td style="width: 50%; height: 28px;">Any linux system

</td></tr></tbody></table>

# Prerequisites

Required :

- A genieacs environment
- Run genieacs-nbi
- Python 3

# Configuration

You will have to launch genieacs-nbi, which generates the api on port 7557 by default.

[![image-1638540535770.png](https://pandorafms.com/guides/public/uploads/images/gallery/2021-12/scaled-1680-/image-1638540535770.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2021-12/image-1638540535770.png)

# Manual execution and parameters

You can run the plugin manually from the terminal with the --as\_agent\_plugin parameter, leaving it at 1 :

[![genie acs ejecucion manual.png](https://pandorafms.com/guides/public/uploads/images/gallery/2021-12/scaled-1680-/genie-acs-ejecucion-manual.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2021-12/genie-acs-ejecucion-manual.png)

The plug-in has the following parameters:

<table id="bkmrk-par%C3%A1metro-descripci%C3%B3" style="height: 210px; width: 798px;"><tbody><tr style="height: 35px;"><td style="height: 35px; width: 185px;">**Parámeter**

</td><td style="height: 35px; width: 613px;"><span style="font-weight: 400;">Description</span>

</td></tr><tr style="height: 35px;"><td style="width: 185px; height: 35px;"><span style="font-weight: 400;">-u ip, --url ip</span>

</td><td style="width: 613px; height: 35px;">This is mandatory. You have to enter your ip with the port, for example1 92.168.1.178:7557

</td></tr><tr><td style="width: 185px;"><span style="font-weight: 400;">--as\_agent\_plugin</span>

</td><td style="width: 613px;">It's optional, if you want the plugin to be an agent plugin and put the modules in the pandora agent, execute this with a 1

</td></tr><tr style="height: 35px;"><td style="height: 35px; width: 185px;"><span style="font-weight: 400;">-g GROUP, --group GROUP</span>

</td><td style="height: 35px; width: 613px;">Pandora FMS Target Group

</td></tr><tr style="height: 35px;"><td style="height: 35px; width: 185px;"><span style="font-weight: 400;">--data\_dir DATA\_DIR</span>

</td><td style="height: 35px; width: 613px;">Pandora FMS data directory. By default it is /var/spool/pandora/data\_in/</td></tr></tbody></table>

# Modules generated by the plugin

The execution of the plugin will generate an agent with the following modules :

**Provisions**

<table border="1" id="bkmrk-provision-id" style="border-collapse: collapse; width: 100%;"><tbody><tr><td style="width: 100%;">Provision id</td></tr></tbody></table>

**Virtual Parameters**

<table border="1" id="bkmrk-virtual-parameters-0" style="border-collapse: collapse; width: 100%;"><tbody><tr><td style="width: 100%;">Virtual Parameters</td></tr></tbody></table>

**Presets**

<table border="1" id="bkmrk-preset-id-preset-cha" style="border-collapse: collapse; width: 100%; height: 116px;"><tbody><tr style="height: 29px;"><td style="width: 100%; height: 29px;">Preset id</td></tr><tr style="height: 29px;"><td style="width: 100%; height: 29px;">preset channel</td></tr><tr style="height: 29px;"><td style="width: 100%; height: 29px;">preset precondition</td></tr><tr style="height: 29px;"><td style="width: 100%; height: 29px;">preset weight</td></tr></tbody></table>

**Files**

<table border="1" id="bkmrk-file-id-file-chunksi" style="border-collapse: collapse; width: 100%;"><tbody><tr><td style="width: 100%;">FIle id</td></tr><tr><td style="width: 100%;">file chunksize</td></tr><tr><td style="width: 100%;">file legth</td></tr><tr><td style="width: 100%;">file upload date</td></tr></tbody></table>

[![genieacs modulos.png](https://pandorafms.com/guides/public/uploads/images/gallery/2021-12/scaled-1680-/genieacs-modulos.png)](https://pandorafms.com/guides/public/uploads/images/gallery/2021-12/genieacs-modulos.png)