Could you advise how Installed SW can be detected on Ubuntu, please?
HW and OS and even File Audit are correct.
Looks like RPM packages are implemented differently from Red Hat or Suse.
Are you talking about RPM or debian packages? As I know it should be possible to collect rpm packages on both OSs without any exception.
Detecting debian packages is not implemented on 7.x. But I guess this can be achived by inventory solution. Will take a look.
Sorry for the delay.
In attach you can find Debian_Package_Info.xml - an example/template you can refer to while building your own custom data class for debian pacakges, or you can import it as is to your NS.
Custom Inventory - Debian Packages.xml - is a script that populates this data class.
I checked this on ITMS 8.0 HF4 using ubuntu 16.
That is great, thanks - it works perfectly (even in v7.6).
Your help is really appreciated.
I have tested this on ubuntu 16. Seems that for Ubuntu v 12 command output differs from v16, hence information from client goes into incorrect column. Will update script to support ubuntu 12 and 14.
Attaching second version of the script that should work on ubuntu strating from v12
Thanks - I will try that new script.
That brings additional question: is that Ubuntu machine "Server" or "Workstation" type? Could you check on your test machines and advise how to clasify that?
The reason I am asking is, that Server Inventory Plug-in installs on server and not on workstation OS - at least on Windows OS is that rule valid.
Well, I have not detected any databases reported on Ubuntu - does that mean that none of my Ubuntu machines have Oracle Database installed, or is that because Server Inventory is not able to detect Oracle Database on Ubuntu?
Please check if you have Oracle DB on your test Ubuntu and whether or not Server Inventory task is able to report it properly.
I am not Linux expert and therefore cannot confirm how it works on Linux to detect for databases. I wonder to know :-)
I have both. But nor of them have Oracle DB installed. And as I know Oracle DB is not certified to run on Ubuntu. See https://docs.oracle.com/database/121/LADBN/toc.htm#LADBN101. Instead I can check same for MySQL DB, which is supported.
Attaching new data class and script xmls for installed software report. This is now perl based and contains additional column - InstalledDate. But please, take into account that Ubuntu and its package manager doesn't hold software installation time, hence it is calculated based on based on some secondary signs.
I also checked ability to collect MySQL information using server packs. Unfortunately it doesn't work out of the box. Problem is in default shell used in Ubuntu - /bin/dash, hence default /bin/sh points us to /bin/dash. However after I have changed bin/sh to point to bin/bash - mysql information was successfully collected.
The first option is to modify inventory scripts to be compatible with dash shell (remove any bash specific constructions). And the second option is to create job that will contain 3 tasks - first will change /bin/sh to point to /bin/bash, second will launch inventory , and third will return /bin/sh to point back to bin/dash.