.. _nep_monitoring_asset:


******************
 Monitoring Asset
******************

The ``nep-monitoring-asset`` provides the minimum requirements to implement a basic monitoring of a NetAye asset management services based on GLPI and OCSInventory. 
With ``nep-monitoring-asset`` it is possible to perform standard monitoring of:

- Service availability
- Assets information

Using the provided objects, is possible to:

- Service Set providing common monitoring for OCS and GLPI inventory
- Check Old not up-to-date assets in OCS and GLPI
- Checks OCS and GLPI duplicate assets


Minimum supported environment
=============================
This package can be installed on systems running the software described below. Systems with equivalent components are also suitable for installation.

================= ===============
Required software Requirements
================= ===============
NetEye            Version ``4.20+``
NetEye modules    ``Core``
================= ===============


Package requirements
====================
Service and Host Template shipped with package ``nep-monitoring-asset`` require the following nep:

- nep-common
- nep-monitoring-core

The Package requires a readonly user on Glpi database ( `MariaDB KB`__ )

.. __: https://mariadb.com/kb/en/create-user/


Setup instructions
==================
If all requirements are met, you can now install this package. To manually set up the ``nep-monitoring-asset`` package, just use ``nep-setup`` utility to install it.

.. code:: bash

    nep-setup install nep-monitoring-asset

Once installed the configuration file /usr/lib64/neteye/monitoring/plugins/check_inventory.pl should be updated with readonly user parameters.


Available Objects
=================
This section contains a description of all the Objects from this package that can be used to build your own monitoring environment.

Director Objects
----------------
The Package contains the following Director Objects.

**Data Lists**

The following Data Lists can be freely customized by the End User. Their purpose is to provide easy data filling to better describe the monitoring environment.

==========================================  ===========
Datalist name                               Description
==========================================  ===========
[NX] Inventory Command List                  Used to provide the list of check available for ``check_inventory`` command
==========================================  ===========

**Service Templates**

The following Service Templates can be used to freely create Service Objects, Service Apply Rules or Service Sets.
Remember to not edit these Service Templates because they will be restored/updated at the next NEP Package update.

======================================= ============ ===========
Template name                           Run on Agent Description
======================================= ============ ===========
nx-st-agentless-inventory               No           Checks all aspects of monitoring of NetEye Asset service 
======================================= ============ ===========

**Service Sets**

The following Service Sets can be used to freely monitor Host Objects.
Remember to not edit these Service Sets because they will be restored/updated at the next NEP Package update.

================================ ===========
Service Set name                 Description
================================ ===========
nx-ss-neteye-inventory           Service Set providing common monitoring for OCS and GLPI inventory: Asset Old not up-to-date, Asset Duplicates
================================ ===========


ITOA Dashboards
---------------

The Package does not provide any ITOA Dashboards right now.


Package's objects list
----------------------

.. csv-table::
    :file: objects_list.csv
    :header-rows: 1