glpi_monitoring's People
Forkers
camlafit mohierf jeromelb ymolinet wildone wiflye81 jm0u dcsingzon rubichonl gabrielcavalari jbnitro webelys hahahafr jsamaniegog keyser75000 mat44444 clisboac anouri93 cconard96 delcroipglpi_monitoring's Issues
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.
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 !
Minemap incoherences when selecting entity ...
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 ...
Changes in services catalog does not restart Shinken
When a services catalog is modified (hosts added / removed), the Shinken restart command is not invoked
Data sources name incorrect
Resources counters are faulty ...
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.
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 ...
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) ?
Profile right : view perf data not stored in DB
Changing View performance in profile form is not stored in DB ...
Component catalog : bad translation
When adding a new element,
"Ajout d'un nouveau composant : "
instead of
"Ajout d'un nouvel élément :"
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.
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 ...
Component catalog : improvements
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
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 ...
Some graphs do not contain any data, even when available ...
Component view : more information in the view
When viewing components list, it should be interesting to have more columns ... actually, only component id is viewable.
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.
Acknowlegde needs to allow two rights in the profile
For a Glpi user to be able to ackwnoledge a problem, it needs to be allowed "command" and "control definition" rights in his profile ... does not seem very logical ! Command right should be enough ...
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
in host list page, display too printers and networkequipments
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
- ...
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.
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 ...
Acknowledgement failure
When ack comment contains accented text, the Shinken web service raises an error ...
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 : dynamic hosts rule name
When the name of a rule contains special characters (eg. single quote), the name is corrupted :
- bornes de l'entité
becomes : - bornes de l\
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 ...
Host resource state is always green
In host status view, when the host resources state is not ok it is displayed as Ko but with green CSS ...
Last month graph is corrupted ...
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
Synthesis tab should not generate statistics for services without perfdata
When on synthesis tab in the component catalog, lines are generated even for services which do not have perfdata ... the PDF report also contains empty lines.
Sort by host name in ressources view
In ressources view, it should interesting t oactivate the sorting by computer's host name ... especially when there are many hosts :-)
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
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
PHP errors in components catalogs view
Graph template, DS names and accented characters
When data sources name contains accented characters, the graph template configuration is not memorized in the database ... check boxes checked are not checked anymore after saving.
Cancel a maintenance
It should be interesting to cancel a maintenance declared on a faulty service ...
Re-add 'components catalog' search field in ressources view
No graphs in Monitoring(graph) tab for computer
There is no graphs in the Monitoring(graphs) tab of the computers
Database table 'glpi_plugin_monitoring_hosts' is not updated
The database table 'glpi_plugin_monitoring_hosts' is not updated when some hosts are no more monitored
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.
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.
Add alias in component form
It should be more friendly to have an alias for a component ...
Add option to always display minemap in items of view
When add an item, have a checkbox to display by default the minemap
Components catalog : display on Glpi home page
It should be interesting to display components catalog on host page of Glpi, but ... don't known how I should do it.
Any hint ?
No data available for hourly graphs but some for monthly ...
Problem with minemap when have elements not computer (switch, printer...)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.