GithubHelp home page GithubHelp logo

Comments (38)

voileux avatar voileux commented on August 16, 2024 1

could you please upgrade your plugin to be compatible with GLPI 9.1.

from glpi_monitoring.

ddurieux avatar ddurieux commented on August 16, 2024 1

Yes, will do it quickly

from glpi_monitoring.

ddurieux avatar ddurieux commented on August 16, 2024 1

I will do this this week end ;)

from glpi_monitoring.

keyser75000 avatar keyser75000 commented on August 16, 2024 1

Hi,

I'm testing GLPI 9.2 and I still need monitoring.
I managed to make monitoring work. Some method are removed since 9.1 others are deprecated (still work but will be removed).

I found only these methods that break compatibilty :

  • in componentscatalog.class.php:191, edit static hosts in components catalog.
//      Dropdown::showAllItems('items_id');
      Dropdown::showSelectItemFromItemTypes(['items_id']);
  • in componentscatalog.class.php:1047, synthesis in components catalog.
    For "Start Date field" :
//Html::showDateFormItem("date_start", date('Y-m-d H:i:s', date('U') - (24 * 3600 * 7)));
Html::showDateTimeField("date_start",
                              array('value'      => date('Y-m-d H:i:s', date('U') - (24 * 3600 * 7)),
                                    'timestep'   => 1,
                                    'maybeempty' => true
));

and for "End date field" :

//Html::showDateFormItem("date_end", date('Y-m-d'));
Html::showDateTimeField("date_end",
                              array('value'      => date('Y-m-d H:i:s'),
                                    'timestep'   => 1,
                                    'maybeempty' => true
));

Others methods are deprecated ("openArrowMassives()" and "closeArrowMassives") but still work. I didn't find others but I didn't check everything.
For my use (managed Shinken config, computers state, resources state, alerts) it still works perfectly.
It allows me to wait for an future update (and probably migrate to Alignak ?).

from glpi_monitoring.

keyser75000 avatar keyser75000 commented on August 16, 2024 1

Find another used in notification templates.

  • in servicenotificationtemplate.form.php:196 :
//$this->showTabs($options);
$this->defineAllTabs($options);

from glpi_monitoring.

Megachip avatar Megachip commented on August 16, 2024 1

@keyser75000 could you provide a patch which @ddurieux could include? Would be nice to see monitoring compatible with 9.1 and 9.2

from glpi_monitoring.

keyser75000 avatar keyser75000 commented on August 16, 2024 1

@Megachip I made a request for 9.1.
As I said, I managed to make it work with 9.2, by replacing some olds methods. But I don't use at this time 9.2 in production, so I'm not sure there's not side effects.

You can also use my solutions in #226.

from glpi_monitoring.

keyser75000 avatar keyser75000 commented on August 16, 2024

It can work in 9.1.2 with little modifications in setup.php for both plugins monitoring and webservices.
In file setup.php, just modify test in fonction "plugin__check_prerequisites()" :
if (version_compare(GLPI_VERSION,'0.85','lt') || version_compare(GLPI_VERSION,'9.2','ge')) {

from glpi_monitoring.

voileux avatar voileux commented on August 16, 2024

Could you provide an update on this issue ?

from glpi_monitoring.

voileux avatar voileux commented on August 16, 2024

I'm looking forward to Monday ;)
Have a good week-end

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

Bonjour,

Est ce qu'il y a du nouveau vis à vis du Plugin Monitoring ?

Je dois rendre un rapport lundi et cela ne marche toujours pas 👍
image

Une piste ? Un nouveau plugin ?

Merci d'avance !

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

Hello and sorry to rewrite this post (better in english isn't it ?

On GLPI 9.1.6, I try to install :
Injection de fichiers | 2.4.2 | GPLv2+ | Activé | W. Nouh, R. Collet, N. Mahu-Lasson, X. Caillaud
Monitoring | 0.90+1.0 | AGPLv3+ | Activé | D. DURIEUX
OCS Inventory NG | 1.3.3 | GPLv2+ | Activé | G. Dubois, R. Collet, N. Mahu-Lasson, D. Durieux, X. Caillaud, W. Nouh, A. Jaouen
Services Web | 1.7. | GPLv2+ | Activé | Remi Collet, Nelly Mahu-Lasson

I experience some problemes withthe Monitoring Problem which are not well displayed on GLPI.
(Please have a look on the screenshot below)

Is there some update of this plugin, or something to do for make that working ?

Is there someone working on that ?

Thanks by advance

Richard

image

from glpi_monitoring.

ddurieux avatar ddurieux commented on August 16, 2024

Check the profiles

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

Could you explain me how to do as I am a beginner ?
Perhaps you have an exemple ?

Thanks by advance
Richard

from glpi_monitoring.

keyser75000 avatar keyser75000 commented on August 16, 2024

Check in "Administration > Profils > YOUR_PROFILE".
image

from glpi_monitoring.

ddurieux avatar ddurieux commented on August 16, 2024

Ok, so that's not normal :(

from glpi_monitoring.

keyser75000 avatar keyser75000 commented on August 16, 2024

@ddurieux it's an example for @FrichardF :)

from glpi_monitoring.

ddurieux avatar ddurieux commented on August 16, 2024

Ah ok sorry :p

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

Hello,

I have the same than you : Another Idea ?

Is there an update ?

Thanks by advance
image

from glpi_monitoring.

keyser75000 avatar keyser75000 commented on August 16, 2024

Is there any error in debug mode ?
Are you in 9.2 version or 9.1.x ?
in php-error.log ?

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

Debug mode ? Sorry, as I am a real beginner. I am on 9.1.6.
Thanks for your time.

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

Is it this one ?

image

from glpi_monitoring.

keyser75000 avatar keyser75000 commented on August 16, 2024

Do you have Shinken installed ? Does it communicate with GLPI, through webservices plugin (arbiter log) ?

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

3 points below :

1 - Shinken 2.4.3 installed but pending on host :
image

2 - Could you explain how to do : "Does it communicate with GLPI, through webservices plugin (arbiter log)"

3 - Here are the log files in debug mode from /opt/glpi/file/_log/
sql-errors.log
remove.txt
php-errors.log
event.log
cron.log
webservices.log

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

pas d'erreurs dans les .log Shinken a priori

Others logs
image

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

/var/log/shinken/arbiterd.log

image

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

/var/log/shinken/arbiterd.log.2017-11-07

image

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

logs shinken

schedulerd.log

receiverd.log

reactionnerd.log

pollerd.log

brokerd.log

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

autres log shinken
schedulerd.log
receiverd.log
reactionnerd.log
pollerd.log
Uploading brokerd.log…

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

log apache2

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

error.log

access.log

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

autre log apache2 (log.1)

error.log
access.log

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

Thank you very much for your help

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

No errors in debug mode when I refresh the plugins/monitoring tab on the browser with developpemnt tools enable on firefox.

Someone to help ? Thanks by advance

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

Some one to help please. I am on this problem for 4 days please.
Please have a look on the posts above

Thanks by advance

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

Many thanks for your help and supports !!!

from glpi_monitoring.

FrichardF avatar FrichardF commented on August 16, 2024

Hello,

After so many days in front of my computers (and 2 complete nights) :

So, I have solved the pending problem on shinken : just let localhost in all the .cfg files from manuals :
image

There is a problem left, an idea to solve that ?
image

Many thanks for your help and supports !!!

from glpi_monitoring.

keyser75000 avatar keyser75000 commented on August 16, 2024

@FrichardF : I think you're Shinken <=> GLPI communication is not correctly installed :

  • In arbiter log I don't see any communication between import-glpi module and webservices GLPI plugin.
  • Also in arbiter log, I don't see ws-arbiter (is 7760 port listening ?)
  • You're broker module glpidb doesn't seem to work : "No module named MySQLdb" (python module for mysql).
  • php library "php_xmlrpc.dll" doesn't seem to load.
    You're Shinken is working in standalone mode (localhost is configured by default).

In summary, you have to check you're whole installation.
Have a look to this doc : http://sysadmin.cool/2016/03/installation-glpi-monitoring
You should have a look to glpi forum too. Post preferably on glpi forum (and/or Shinken one). This issue was for glpi compatibility with 9.1).

from glpi_monitoring.

Related Issues (20)

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.