Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCCM for 9.1.1 #1

Open
aldiop opened this issue Mar 27, 2017 · 11 comments
Open

SCCM for 9.1.1 #1

aldiop opened this issue Mar 27, 2017 · 11 comments

Comments

@aldiop
Copy link

aldiop commented Mar 27, 2017

Dear
Is SCCM plugin for GLPI version 9.1.1 available ?

Thanks

@bacus99
Copy link
Owner

bacus99 commented Mar 27, 2017

orks for me on 9.1.2. You may beed to update the setup.php version

@aldiop
Copy link
Author

aldiop commented Mar 27, 2017 via email

@aldiop
Copy link
Author

aldiop commented Mar 28, 2017

that's what I see in my setup file

function plugin_version_sccm() {

return array('name' => __("Interface - SCCM", "sccm"),
'version' => '0.85-1.0Beta1',
'author' => 'TECLIB'',
'license' => 'GPLv2+',
'homepage' => 'http://www.teclib.com',
'minGlpiVersion' => '0.85');
}

function plugin_sccm_check_prerequisites() {

if (version_compare(GLPI_VERSION,'0.85','lt')
|| version_compare(GLPI_VERSION,'0.91','ge')) {
echo "This plugin requires GLPI = 0.85";
return false;
}
return true;

@bacus99
Copy link
Owner

bacus99 commented Mar 28, 2017

Change to

function plugin_version_sccm() {

return array('name' => __("Interface - SCCM", "sccm"),
'version' => '9.1.x-1.0.0',
'author' => 'TECLIB'',
'license' => 'GPLv2+',
'homepage' => 'http://www.teclib.com',
'minGlpiVersion' => '0.85');
}

function plugin_sccm_check_prerequisites() {

if (version_compare(GLPI_VERSION,'0.85','lt')) {
echo "This plugin requires GLPI = 0.85";
return false;
}
return true;
}

@bacus99
Copy link
Owner

bacus99 commented Mar 28, 2017 via email

@aldiop
Copy link
Author

aldiop commented Apr 21, 2017 via email

@anahimself
Copy link

I have trouble with empty Operating System in GLPI (the plugin seems to retrieve it in the XML afaik, but nothing in GLPI)
I saw that you said on GLPI forum that it was a problem with SCCM, can you be more specific please ?
I miss the processor too (not always), but this is less important for the time being

@bacus99
Copy link
Owner

bacus99 commented Mar 31, 2018 via email

@anahimself
Copy link

I have a few warnings in logs, but no clue if this is related:
2018-04-03 05:02:15 [1540@Webserver1]
*** PHP Warning(2): error_log() expects parameter 1 to be string, array given
Backtrace :
:
inc/commondbtm.class.php:1098 error_log()
...nventory/inc/inventorycomputerlib.class.php:199 CommonDBTM->update()
...ry/inc/inventorycomputerinventory.class.php:562 PluginFusioninventoryInventoryComputerLib->updateComputer()
...inventory/inc/inventoryruleimport.class.php:781 PluginFusioninventoryInventoryComputerInventory->rulepassed()
inc/rule.class.php:1427 PluginFusioninventoryInventoryRuleImport->executeActions()
inc/rulecollection.class.php:1459 Rule->process()
...ry/inc/inventorycomputerinventory.class.php:375 RuleCollection->processAllRules()
...ry/inc/inventorycomputerinventory.class.php:127 PluginFusioninventoryInventoryComputerInventory->sendCriteria()
...fusioninventory/inc/communication.class.php:235 PluginFusioninventoryInventoryComputerInventory->import()
...fusioninventory/inc/communication.class.php:463 PluginFusioninventoryCommunication->import()
plugins/fusioninventory/front/communication.php:93 PluginFusioninventoryCommunication->handleOCSCommunication()
2018-04-03 05:02:15 [1540@Webserver1]
*** PHP Warning(2): strcmp() expects parameter 2 to be string, array given
Backtrace :
:
inc/commondbtm.class.php:1100 strcmp()
...nventory/inc/inventorycomputerlib.class.php:199 CommonDBTM->update()
...ry/inc/inventorycomputerinventory.class.php:562 PluginFusioninventoryInventoryComputerLib->updateComputer()
...inventory/inc/inventoryruleimport.class.php:781 PluginFusioninventoryInventoryComputerInventory->rulepassed()
inc/rule.class.php:1427 PluginFusioninventoryInventoryRuleImport->executeActions()
inc/rulecollection.class.php:1459 Rule->process()
...ry/inc/inventorycomputerinventory.class.php:375 RuleCollection->processAllRules()
...ry/inc/inventorycomputerinventory.class.php:127 PluginFusioninventoryInventoryComputerInventory->sendCriteria()
...fusioninventory/inc/communication.class.php:235 PluginFusioninventoryInventoryComputerInventory->import()
...fusioninventory/inc/communication.class.php:463 PluginFusioninventoryCommunication->import()
plugins/fusioninventory/front/communication.php:93 PluginFusioninventoryCommunication->handleOCSCommunication()

@bacus99
Copy link
Owner

bacus99 commented Apr 3, 2018 via email

@anahimself
Copy link

Yep all is working and importing (except some fields like the operating system)

I will try to reset computer rules (just in case)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants