GithubHelp home page GithubHelp logo

glpi_monitoring's People

Contributors

camlafit avatar ddurieux avatar hahahafr avatar jbnitro avatar jm0u avatar keyser75000 avatar mohierf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

glpi_monitoring's Issues

Graph template

Improve graphs :

  • choose counters format : 1.5k or 1.524 ...
  • keep last value or not when counter is not available
  • choose function to use when counters are aggregated :
    • average is currently used
    • none to use 0 or last value

Command line output incorrect ...

With some commands, the command line input field is corrupted when displayed. Value stored in the DB remains correct, but the display is incorrect.

For instance with a command containing simple quotes ...

Cancel a maintenance

It should be interesting to cancel a maintenance declared on a faulty service ...

Shinken contacts for hosts

When an host is passively checked, the component associated with the host is used to find the contacts used for host notifications. Actually, no contacts are found for the passively check hosts ... because the component attached to the host must not be included in a component catalog, because :
1/ the component is used to define the host check command (eg. nsca_host_check)
2/ it does not exist any service of this kind for the host because the service name used is host_check ...

If you include nsca_host_check in a component catalog, it will always be CRITICAL ...

A solution to this problem should be to modify the host contacts when host is passively checked.

Host down ...

When an host is DOWN :
1/ it should be interesting to show all services of this host as UNKNOWN whatever is the status provided by Shinken

2/ it should be interesting to be able to acknowledge all services of this host with one operation instead of acknowledging all services one by one ...

Performances problem with session_start

With ajax pages, we have performance problems with session_start because a lock is present when a page use it.

So pass in POST the session variables et recreate it manually.

Create db security table to check it's ok

Services catalogs improvements

Some possible improvements for services catalogs :

  • view catalogs sorted upon business level priority
  • build a minemap view instead of current view
  • implement services catalogs templates for selecting included hosts depending upon host entity

Minemap incoherences when selecting entity ...

Minemap is sometimes not coherent ...

1/ Services are not displayed in the minemap for host fvc318
2/ Host ek3k-cnam-0012 is not in the current entity

It is because entityies are not managed correctly ...

image

Shinken BR : hostname for the bp_rule service

Host used for the BR service should be an host used in the service catalog ... at the moment, it seems to be the first host in the DB. It is more logical that the host used for the service is an host used in the service ...

Lock view element when view is displayed

When a view is displayed (and not edited ...), the position of view elements should be locked. When an element is dragged outside from the view panel it is no more draggable ...

Notification interval

Notification interval should be defined as the freshold ... select a number and a unit ... it should be easier than having a combo box from 1 to 1000. Furthermore how should we define an interval of 1 day ... to receive a notification every day when a service remains critical (1 day = 1440 minutes) ?

Host restart command feature

  • s'il existe une commande dont le nom de commande est 'host_action', on présente une colonne dans la tacle des hosts et on y met un bouton avec le nom de la commande (eg. Redémarrage)

  • quand on clique sur ce bouton ça poste les variables de l'host vers un script php qui se trouve dans le répertoire /scripts du plugin. La ligne de commande de la commande est utilisée comme nom du script (eg. restart_host)

  • dans ce script scripts/restart_host.php, j'ai fait créer une taskjob ... mais ça ne fonctionne pas ... à toi de jouer ;-)

    L'idée étant que cette tâche Fusion soit active en permanence et que dès qu'on demande le redémarrage d'une machine, une action de redémarrage soit exécutée ...

Services catalogs improvements

Some possible improvements for services catalogs :

  • view catalogs sorted upon business level priority
  • build a minemap view instead of current view
  • implement services catalogs templates for selecting included hosts depending upon host entity

Components catalogs display minemap

Minemap for a component catalog sould be displayed :

  • open when the CC is displayed in the plugin Dashboard
  • closed when the CC is displayed in the central view or in a view

Should be stored in user preferences when (or if ...) implemented.

Table serviceevents contains check output twice

Currently, the table serviceevents contains an 'output' column and an 'event' column that are duplicates, except for that event is varchar(512) and output is varchar(255). This bevahiour is due to a modification in Glpi broker for Shinken.

@ddurieux : It is to be confirmed that the output column in the database is not used anywhere ?

Moreover, to comply with the most recent Nagios plugin API specification (http://nagios.sourceforge.net/docs/3_0/pluginapi.html), we should store :

  • event as the plugin output in a varchar(1024)
  • perfdata as the plugin perfdata
  • longoutput as the the long output from the plugin

Long output (multi lines) for plugins should be stored because some checks use multiline output and Shinken is able to deal with.

Ajax requests never stopped

Ajax update requests for components catalogs are never stopped ... place a log in the function getInfoOfCatalog of componentscatalog.class.php and then one can see that this function is always called.

User configuration for Monitoring

It should be interesting to store user's configuration for Monitoring in the database :

  • page refresh frequency
  • reduced interface or not
  • default view
  • ...

Max length for service output

The maximum length for service output is fixed to 255 character in the database (glpi_plugin_monitoring_serviceevents and glpi_plugin_monitoring_hosts) whereas maximum output in Nagios/Shinken is 512 bytes.

Checks output like hereunder (NSClient CheckMem) are not stored completely :

;OK: physical memory: 7.04G, virtual memory: 343M, paged bytes: 9.2G, page file: 9.2G|'physical memory %'=59%;75;90 'physical memory'=7.043G;8.94999;10.74;0;11.933 'virtual memory %'=0%;75;90 'virtual memory'=343.309M;6291455.906;7549747.087;0;8388607.875 'paged bytes %'=38%;75;90 'paged bytes'=9.20299G;17.898;21.478;0;23.864 'page file %'=38%;75;90 'page file'=9.20299G;17.898;21.478;0;23.864

Multiple lines output for checks

When check output is multiple lines, only the first line is stored in the database.

For instance, check output is :
Critical - Packages list (status checked) :
2 ; custom_KPM216h ; Printer Offline.
0 ; NetworkWifi ; found 1 devices : [WLAN (Intel(R) Centrino(R) Advanced-N 6205), status : 4 -> Hardware not present !.
0 ; NetworkLan ; found 1 devices : [LAN1 (Intel(R) 82579LM Gigabit Network Connection), status : 2 -> connected.
0 ; Son ; found 1 devices : Realtek High Definition Audio (Realtek High Definition Audio), status : OK (), service : IntcAzAudAddService - Driver : IntcAzAudAddService (Service for Realtek HD Audi

But only :
Critical - Packages list (status checked) :

is stored and displayed.

Shinken BR : use of and operator

Shinken business rules can use an and operator but Glpi Monitoring does not propose this operator in the services catalogs form ...

Component catalog : improvements

1/ service states shoud not be clickable if user's profile does not allow to read resources ... because a click tries to display the first dashboard tab.

2/ vertical text is not well rendered on IE (even IE 11)
image

Notification period / check period

Actually, Shinken attributes check_period and notification_period are valued thanks to 'Control period' defined in the component. It should be interesting to have two different Timeperiods ...

Same component in several component's catalog ...

When the same component is defined in several component's catalog, the Shinken configuration is warning because the service is already defined ... it should be interesting to define the service only once.

Shinken restart information

Shinken restarted information is not reliable ... it is logged when Shinken requests Services from Glpi's web services, but the configuration has not yet been tested nor accepted ! If an error occurs in the Shinken configuration, the arbiter is stopped and the system is locked down !

We must find a solution for this problem ... to be discussed !

Services catalog : use dynamic hosts

It should be very interesting to be able to define a service catalog including all the hosts of the current entity.

The need is to have a service catalog for the same service (eg. nsca_printer) on all the hosts attached to the entity.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.