ocsinventory-ng / ocsinventory-ocsreports Goto Github PK
View Code? Open in Web Editor NEWWebconsole for OCS Inventory NG
Home Page: https://www.ocsinventory-ng.org
License: GNU General Public License v2.0
Webconsole for OCS Inventory NG
Home Page: https://www.ocsinventory-ng.org
License: GNU General Public License v2.0
I wanted to hide CPU and RAM columns, but it's not working as expected. I wanted to show some custom columns and always the first administrative column is shown, and I think is not working as expected. I recorded an uploaded a video here: https://youtu.be/QCpOlgSEnfA
Migrate Front-end UI to bootstrap, aggregates features:
Hello
In 2.2RC1 release we are now limited to a maximum of 100 entries visualization.
Is it possible to enlarge the number or even to the ALL function to allow me to see all PCs.
Bonjour
Dans la page de résultat Software Search , est il possible d'y ajouter également le champs USER après IP ou COMPUTERS.
Cordialement
Having 2 or more network cards on a computer, for example wired and wireless card, with one of them disabled raised a warning when we assign a package from group distribution with a matching rule on subnet.
As the package is assign thanks to the nework card whose match the subnet, the warning is not relevant and should not be raised.
Thanks
En partant de la fonction "visu_repart_tag", je clique sur le nombre en regard d'un tag. Dans l'exemple ci-dessous, je clique sur le 24 en regard du tag "ADMIN-LAPTOP":
J'arrive alors sur le lien function=visu_computers&filtre=a.TAG&value=ADMIN-LAPTOP, et, là, la liste d'agent ne semble plus rien filtrer, il m'affiche les 200 agents de mon inventaire:
Bàv,
Cyr
Bonjour,
lorsqu'on sélectionne plusieurs ordinateurs dans la table "search from various criteria", dans plusieurs onglets de la table, la selection ne garde que les ordinateurs sélectionnés dans l'onglet en cours.
Exemple: si vous avez 20 ordinateurs et que vous affichez la table 10 entrées à la fois. Si vous sélectionnez l'ordinateur 1 et 3, puis passez à l'onglet suivant (pour voir les ordinateurs de 11 à 20), et sélectionnez l'ordinateur 15, seul l'ordinateur 15 sera sélectionné pour les options de déployement dans le dessous de la page.
Cyrille
I see the following errors on console when I open my browser
GET http://hostname/usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_search_soft/js/autocomplete-3-2.js [HTTP/1.1 404 Not Found 1 ms]
GET http://hostname/usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_search_soft/js/print.js [HTTP/1.1 404 Not Found 1 ms]
GET http://hostname/usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_users/js/profile-create-form.js [HTTP/1.1 404 Not Found 1 ms]
GET http://hostname/usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_users/js/profile-edit-form.js`
It tried to load using the absolute path of the file instead of the relative one
password_compat
is only imported if the user isn't logged in: https://github.com/OCSInventory-NG/OCSInventory-ocsreports/blob/master/require/header.php#L323
It should be imported when editing user credentials so that passwords can be changed.
a good feature for ocs is to add SMART counter reading disk
http://forums.ocsinventory-ng.org/viewtopic.php?id=337
https://blueprints.launchpad.net/ocsinventory-windows-agent/+spec/ocs-agent-hdd-smart-reading
It could be cool to be able to display every computers using the filter.
I wanted to configure a given group for a given users profile, having a look in internet i found this url:
http://forums.ocsinventory-ng.org/viewtopic.php?id=10436
I am working with ocs-inventory 2.2.rc and I can't find any way in the user profiles section where i can configure the desired computer TAGs.
After to request support in the IRC channel GillesDubois request me to open a issue.
Any help will be appreciated because this property is very important for us.
Regards!
Any roadmap for using a GUI Widgets Library for the presentation layer (ex:PrimeUI and ZnetDK)
Since OCS 2.2 the number of displayed results aren't memorized anymore (work good in OCS 2.1)
For example If I choose 50, it's always set to 10 when refreshing the page.
The same problem with sorter, I always want to sort my computer by "last inventory date" but since OCS 2.2 when refreshing the page, the order is lost.
Thoses bugs appear anywhere in OCS (computer list, deployment list, etc)
I also have found a Bug in 2.1.2 on the 'Activity' page.
If i click on the number of devices that haven't had contact to the server for 45 days, i end up on the 'Search' page and some variables filled into the search field. If i try to use the Calendar to input a date, it just fills in 'undefined'. This only happens if the language is switched to german. In english it works fine.
I have attached some screenshots.
I‘ve recently upgraded from OCS 2.1 to 2.2 and very much appreciate the new bootstrag UI.
The OCS 2.2 was installed on a RHEL7 system with a properly working Kerberos implementation in Apache/php. This was proved by adding error_log($_SERVER['REMOTE_USER']);
to the .. /ocsreports/index.php
which shows something like: [email protected] (samaccountname@AD-domain).
After implementing the changes to ../backend/AUTH/auth.php
suggested by a HowTo in the OCS Wiki the error log showed the following: PHP Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 54
This was easily fixed by changing $value
to $value[0]
. Hoping to be near to get SSO working, I ended up in install.php
which was invoked by the header.php’s condition:if (GUI_VER != $_SESSION['OCS']['SQL_BASE_VERS']){ ...
Any idea what went wrong?
With best regards,
Juergen
Bonjour,
Depuis la mise à niveau en version 2.2 du serveur OCS Inventory NG, il m'est impossible de créer un profil utilisateur. Aucune erreur n'apparaît lors de la validation du formulaire.
Le profil personnalisé créé auparavant, n'est pas répertorié dans la liste des profils disponibles.
Cordialement.
Hi;
XAMPP 7 is out with PHP 7 and MariaDB 10, please update the next release to be compatible.
Thanks.
I Installed Release 2.2 RC1 Looks nice, but SNMP does not work because the little plus '+' is missing in:
Network(s)
->Administer
--->Add
------>ID
Without the little plus, it is not possible to add a new ID to a clean database, and therefore not able to save a new entry.
Sorry for that; but after 2 weeks of test we downgrade to 2.1 because of bugs, and we were not comfortable with the new look !!
We prefer to switch back to the old style (with icons, popups, ...).
Bonjour,
Il me semble avoir trouvé une régression dans la version 2.2RC1.
Quand on fait une recherche d'agents en utilisant la fonction visu_search, les listes d'agents affichées ne permettent pas de cliquer sur une entrée pour voir le détail de l'agent correspondant.
Ci-dessous un exemple d'une telle liste. Vous pouvez y voir que l'entrée "LAPTOP-YVES" que j'ai laissé visible n'est pas affichée en gras contrairement à ce qui se fait dans les autres listes:
Ci-dessous un exemple d'une liste obtenue avec function=visu_computers&filtre=a.TAG&value=ADMIN_LAPTOP, on voit que la même entrée est en gras (et, je peux cliquer dessus):
Bien à vous,
Cyrille
When OCS_MODPERL_VERSION=2, the webservice / plugin engine needs SOAP::Transport::HTTP2 (see package Apache::Ocsinventory::SOAP).
This is nowhere explained.
It seems that it is not possible to select the same columns in every reports.
In multi criteria search, it is possible to display hard disk space information, which it is not possible to do in the main report "All computers"
Other example in all computers, it is possible to show the serial number, which is not possible to do that in multi criteria search.
To say it simple: it should be possible to show each field present in a computer information.
Une mise à jour du plugin permettant de remonter les 5 derniers caractères de la clé Office 2013 serait la bienvenue :) merci
cscript.exe "%ProgramFiles%\Microsoft Office\Office15\OSPP.VBS" /dstatus
Agent with Version 2.1.1.2 and 2.1.1.3 and 2.1.1.4 (2.2 alpha) arent compatible with Windows XP
Service can't be installed -
if i start
ocsinventory.exe /SAVE_CONF
i will get immediatly a graphical windows with the following errorcode
C:\Program Files\Ocsinventory Agent\OCSInventory.exe is not a valid win32 application
Hello,
Server : centos 7 / php-fpm 7
ocsinventory 2.1.2
On the main page :
Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /usr/share/ocsinventory-reports/ocsreports/backend/require/connexion.php on line 10
Améliorer le plugin Office afin :
hi,
for high availability I use a Percona InnoDB MySQL Cluster. Percona supports only InnoDB as replication storage engine, but ocsbase.sql has a lot of MyISAM tables. Usually the most applications works without any problem, if I change all entries to "engine=InnoDB", but not ocs-reports:
If I try to push the SQL after the changes into the cluster, I get:
ERROR 1061 (42000) at line 530: Duplicate key name 'IVALUE'
That is the line:
ALTER TABLE devices ADD INDEX IVALUE (IVALUE);
[...]
If I use the ocsbase_new.sql,:
ERROR 1071 (42000) at line 485: Specified key was too long; max key length is 1000 bytes
CREATE TABLE engine_mutex
(
NAME
varchar(255) NOT NULL DEFAULT '',
PID
int(11) DEFAULT NULL,
TAG
varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (NAME
,TAG
)
) ENGINE=MEMORY DEFAULT CHARSET=UTF8;
Maybe, I have the same problem with other tables too.
It would be very nice, If ocs-inventory uses InnoDB only, to get it on a MySQL InnoDB cluster working. :-)
Update: I used now ocsreports/files/ocsbase_new.sql, changed all MyISAM to InnoDB and the table "engine_mutex" to something lower than 255 (trying now 160).
Hello,
we are using OCSInventoryNG reports 2.0.5 (but also tested on 2.1.2) and we found a very weird bug on dynamic groups.
We created a static group (named StaticGroup) with 5 machines.
We then created a dynamic group (DynamicGroup) with the following search:
When the static group has at least one machine, the dynamic group works well.
The problem appears when there is no machine in the static group. Then the dynamic group fills in with ALL the machines which corresponds to the second request (Software: name DIFFERENT).
We activated MySQL logs and saw that:
in the first case the request looks like
SELECT .... AND ID IN ('1', '2', ...)
-> ('1', '2'...) being the list of machines ID in the StaticGroup
but in the second case (empty static group) the request looks like
SELECT ....
-> no filtering is done with the StaticGroup content.
It seems that the first request returns no value so it's removed from the second one. Which causes this bug.
I have not tested it but it this bug may also exists with another condition than a static group.
I can give more details if needed.
Thanks.
I've recently installed OCS Inventory NG 2.2 Release and after invest some time, I have verified that there is a bug in this release.
The error is located in this file:
ocsreports\plugins\computer_detail\cd_admininfo\cd_admininfo.php Line:144
( "onclick=window.open()" is missing)
In order to solve the error we have to replace the line by:
array_push($config['COMMENT_AFTER'],$up_png . "<a href=# onclick=window.open(\"index.php?".PAG_INDEX."=".$pages_refs['ms_adminvalues']."&head=1&tag=ACCOUNT_VALUE_" . $val_admin_info['NAME'] . "\")><img src=image/plus.png></a>");
Commit 05a1420 changed line ~795 as follows, to attempt to fix the confusion between "Software Name" and "Computer Name":
'NAME'=>'h.NAME',
//'NAME'=>'h.NAME',
$l->g(23)=>'h.name',
The change from h.NAME to h.name fixed the confusion, but after this fix the "Computer" column entries do not have a hyperlink to the specific machine entry.
Then commit be601e9 changed the line as follows, to fix the hyperlinking:
$l->g(23)=>'h.name',
'NAME'=>'h.NAME',
..but this undid the NAME/name change from earlier. I believe what this line needs to be, is:
'NAME'=>'h.name',
which is something of a combination of the previous 2 fixes. I have tested this locally and it seems to give the desired result.
Hi! I would like to suggest a simple feature that could help a lot of users. When we need to create a blacklist, using Config -> Blacklist -> Add -> Mac Address, we should enter the complete mac address. But, if we can insert just a prefix (just part of mac address), this would facilitate management.
Two uses in which we would be benefited would be: (1) virtualbox hosts and (2) CARP (or VRRP) IPs. Both cases use the same mac address prefix and we could exclude these hosts from inventory. Another possibility with this feature would be exclude a vendor from inventory, just inserting the three first blocks of mac address.
Thanks!
:)
Related to this question: http://ask.ocsinventory-ng.org/2784/how-can-generate-list-machines-using-particular-video-card
"The option to search for a graphics card model search appears to be missing under the "search with various criteria" drop down menu."
Nous avons aussi un problème lié aux accents qui ne s'affichent pas.
Exemple: Microsoft Windows 7 Entreprise
Pour le moment le footer permettant d'effectuer des actions en masse n'est disponible que dans la vue "visu_search" (search with various criteria").
Ce serait bien qu'il se trouve également dans d'autres vues, comme la vue "all computers"
bien à vous,
Cyrille
Hi All,
Is it possible to block port 80 in apcahe/ports.conf and still use package deployment over https? If port 80 is NOT blocked, any agent can communicate with the server over 80 and push an inventory otherwise.
Thats a big issue if any agent can push inventory over http.
Cheers
Hello,
During the installation on a centos 7 server / php-fpm 7 : for ocsinventory 2.1.2
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; language has a deprecated constructor in /usr/share/ocsinventory-reports/ocsreports/require/fichierConf.class.php on line 14
It's impossible to create an ID for an inventoried network.
On 2.1 versions, there was a button with the sign "+"
It could be useful to have the ability to get all licences grouped by type or keys
Can't delete a record from "Identified peripherals list"
La directive dans setup.sh est "run "setup.sh" and follow the instructions. If you get a error / warning because of a missing module, install it and retry."
Si on fait confiance a cette directive, on a un système qui ne fonctionne pas pour le webservice (et donc les plugins).
il faudrait que setup.sh teste la présence de Archive::Zip
Hello,
When using the (download) links from the "Package activation" list, I get several dozen warnings like this:
Warning: Invalid argument supplied for foreach() in /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_export/ms_csv.php on line 156
It does still generate the CSV file, but with a bunch of html-formatted warnings at the beginning. I haven't modified this ms_csv.php, but just for completeness, here is line 156 of that file:
foreach ($data_fixe[$cont['ID']] as $key => $val) {
I am on version 2.2_rc1, please let me know if any more information about my local setup is needed.
Thanks!
There is a bug when creating a type :
Tested on version 2.2 beta 1, I think this bug has not been fixed
When trying to add a subnet there is no + button to add an ID.
Please add a LICENSE file
Add a functionnality to archive computers.
For example a checkbox on the computer details.
If this checkbow is checked, the computer shouldn't be reported on "Computer unavailable for more than 30 days", nor in software searchs.
It add the ability to get the trace of olds computers no more longer on activity (but have informations on the computer).
Use case can be to get historic, get asset accounting, ability to manage computers put on stock and which are no longer up to date, ...
Regards,
Anael
hi,
when run plugin manager show error
Fatal error: Call to undefined function pagesplugin() in /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_config/ms_config.php on line 119
find fuction not found
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.