Ce sera laptop.
Cordialement
Hello !
I partially solved the problem by adding a "softwares" table in the OCS mysql database. There are no longer empty fields with a 1.
However, I no longer have the list of software in "Administrative data""Software". If anyone knows how to fix this I'm in for it!
Bonjour,
Je tente aujourd'hui d'exécuter un nettoyage silencieux Ccleaner sur des postes clients depuis le serveur OCS. J'arrive à déployer le logiciel silencieux en l'installant sur un client, sauf que j'aimerai par la suite qu'il exécute un nettoyage avec la commande CCleaner64.exe /AUTO à une certaine fréquence.
Faut il créer un autre paquet comprenant un script permettant de lancer cette commande en détectant le logiciel déjà installé ? Si oui comment faire ? (J'ai du mal avec l'exécution de script distant)
Est-il également possible de nettoyer le registre comme il est possible de le faire manuellement ? (J'ai cru comprendre que non)
Autre solution, la plus pratique 2 en 1, Ccleaner existe en exécutable uniquement, idéalement télécharger et "stocker" le paquet sur le client puis exécuter la commande CCleaner64.exe /AUTO, là encore comment configurer (le paquet) cela depuis le serveur ?
En ce qui concerne, Defragler (même éditeur), je pense que la réponse sera vite trouvée, mais je chercher pareil à lancer une défrag rapide en silencieur (mais la commande /AUTO ne semble pas marcher ici ^^), mais idéalement trouver un moyen d'executer une défrag rapide soit avec le logiciel installé sur la machine ou directement avec une version exécutable uniquement.
En vous remerciant par avance pour vos réponses.
Cordialement,
Hans.
Système
Logiciel
just create an package with a script which executes the command to clean up the computer
you can ask OCS to force reinstall the package :
so you can deploy a package as often as you want
Another possibilty to create a local task via script and OCS-Inventory .. (on the remote computer)
and if you don't want to use this task anymore.. just create a script which deletes this task on target computer.
here some information about how to create a task via cmd
https://ss64.com/nt/schtasks.html
I also want to have the possibilty to autimatically run a scheduled task in ocs-onventory server .. so a command will for example be executed every week. So a package will be downloaded every week on the client pc.. and will be executed "recuring server side task"
But this isn't possible right now
Kind regards
Sokatra
BGoroll,
You must to add a new table in mysql like this :
--
-- Table structure for table `softwares`
--
CREATE TABLE `softwares` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`HARDWARE_ID` int(11) NOT NULL,
`PUBLISHER` varchar(255) DEFAULT NULL,
`NAME` varchar(255) DEFAULT NULL,
`VERSION` varchar(255) DEFAULT NULL,
`FOLDER` text,
`COMMENTS` text,
`FILENAME` varchar(255) DEFAULT NULL,
`FILESIZE` int(11) DEFAULT '0',
`SOURCE` int(11) DEFAULT NULL,
`GUID` varchar(255) DEFAULT NULL,
`LANGUAGE` varchar(255) DEFAULT NULL,
`INSTALLDATE` datetime DEFAULT NULL,
`BITSWIDTH` int(11) DEFAULT NULL,
`CATEGORY` varchar(255) DEFAULT NULL,
PRIMARY KEY (`ID`),
KEY `NAME` (`NAME`),
KEY `VERSION` (`VERSION`),
KEY `HARDWARE_ID` (`HARDWARE_ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
this table will allow the ocsinventory agent to do the hardware but not software data. However, there will no longer be a 500 type error message. While waiting for an update which will allow the software to be recovered.
See you soon
virusdav,
that was great job/hint from you. Thanks, it works! :D
Where did you find or get that table structure? I'm still not able to find that documentation...
Have a nice DOS, ;)
BGoroll
UPDATE: I found it:
https://github.com/OCSInventory-NG/OCSInventory-ocsreports/blob/master/files/ocsbase_new.sql
I am happy that you can have the inventory feeds again. Have a good day
Hello,
In use case of using function SNMP (and of the ipdiscover function), What is the minimum recommended version of a unix agent that would be used with a 2.8 server ?
Thanks a lot for your answers
Hi,
Traduct by google :
In theory, plugins must first be deleted from the server (also delete plugins files from the server)and restart apcahe. Then you must download the plugins for v2.88 on the github and install them on the server
Your can see the official documentation
Best Regards