Giter VIP home page Giter VIP logo

armadito-glpi's People

Contributors

cedric-anne avatar fdechelle avatar gitter-badger avatar vhamon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

armadito-glpi's Issues

StateModule Php error

2016-07-21 17:30:56 [2@n5glpi]
*** PHP Warning(2): Missing argument 2 for PluginArmaditoStateModule::__construct(), called in /var/www/html/glpi/inc/db.function.php on line 215 and defined
Backtrace :
plugins/armadito/inc/statemodule.class.php:37
inc/db.function.php:215 PluginArmaditoStateModule->__construct()
inc/commonglpi.class.php:207 getItemForItemtype()
plugins/armadito/inc/statedetail.class.php:128 CommonGLPI->addStandardTab()
inc/commonglpi.class.php:158 PluginArmaditoStatedetail->defineTabs()
ajax/updatecurrenttab.php:51

Add Job status

The following statuses will be available :
1 - queued
2 - downloaded
3 - waiting
4 - started
5 - successful or failed

Add GET /config api

Define it in swagger spec;
Agent sync his config which is defined on server-side

Add getJobs limit config

     $query = "SELECT * FROM `glpi_plugin_armadito_jobs`
             WHERE `plugin_armadito_agents_id`='".$this->agentid."' LIMIT 10";

It implies configuration to be loaded before doing stuff.

Enrollment of new devices

When a task "Enrollment" is executed on agent :
The plugin receives an enrollment request and gives a new agent_id or an already existing one.

SQL Errors at plugin installation

2016-07-22 11:09:35 [2@n5glpi]
*** MySQL query error:
SQL: SHOW COLUMNS FROM glpi_plugin_armadito_jobs
Error: Table 'glpi.glpi_plugin_armadito_jobs' doesn't exist
Backtrace :
inc/dbmysql.class.php:398
inc/commondbtm.class.php:288 DBmysql->list_fields()
inc/commondbtm.class.php:2676 CommonDBTM->getEmpty()
inc/commondbtm.class.php:4406 CommonDBTM->maybeDeleted()
inc/profile.class.php:2449 CommonDBTM->getRights()
plugins/armadito/inc/profile.class.php:116 Profile::getRightsFor()
plugins/armadito/install/install.php:46 PluginArmaditoProfile::initProfile()
plugins/armadito/hook.php:93 pluginArmaditoInstall()
inc/plugin.class.php:664 plugin_armadito_install()
: Plugin->install()
front/plugin.form.php:49 call_user_func()
2016-07-22 11:09:35 [2@n5glpi]
*** MySQL query error:
SQL: SHOW COLUMNS FROM glpi_plugin_armadito_agents
Error: Table 'glpi.glpi_plugin_armadito_agents' doesn't exist
Backtrace :
inc/dbmysql.class.php:398
inc/commondbtm.class.php:288 DBmysql->list_fields()
inc/commondbtm.class.php:2676 CommonDBTM->getEmpty()
inc/commondbtm.class.php:4406 CommonDBTM->maybeDeleted()
inc/profile.class.php:2449 CommonDBTM->getRights()
plugins/armadito/inc/profile.class.php:116 Profile::getRightsFor()
plugins/armadito/install/install.php:46 PluginArmaditoProfile::initProfile()
plugins/armadito/hook.php:93 pluginArmaditoInstall()
inc/plugin.class.php:664 plugin_armadito_install()
: Plugin->install()
front/plugin.form.php:49 call_user_func()

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.