armadito / armadito-glpi Goto Github PK
View Code? Open in Web Editor NEWPlugin Armadito for GLPI
License: GNU Affero General Public License v3.0
Plugin Armadito for GLPI
License: GNU Affero General Public License v3.0
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
Will be used as a first solution to avoid doubles in database
The following statuses will be available :
1 - queued
2 - downloaded
3 - waiting
4 - started
5 - successful or failed
Based on fusioninventory plugin front-end tabs
Define it in swagger spec;
Agent sync his config which is defined on server-side
User will be able to create multiple custom scans configuration
There will be stored in database
$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.
Use OOP a lot more.
Create some chart classes with inheritance.
specific to armadito
Cancel A job queued
/scanreports ?
How to do it in agent ?
Include State Task, etc
use min javascript
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.
There should have no ID unassigned
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()
One time password authentication
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.