Not all servers have the software installations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Everyone, we have multiple operational Linux and Windows servers in cmdb where "software installations" is filled. But not all software looks like to be discovered. For instance only on a small subset of these servers we can see Microsoft Defender in "software installation".
I want to understand why defender is not appearing in software installation records for the remaining servers.
Any suggestions would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Siddharth,
This is two separate effects, and Defender in particular is a special case:
1. Where Software Installation records come from
The records on the Software Installations related list (table cmdb_sam_sw_install) are not calculated from the CI. They are written per host during horizontal Discovery — the Windows/Linux server patterns collect installed software (Programs and Features / uninstall registry entries on Windows, package data such as rpm/dpkg on Linux) — or by a Service Graph connector source such as SCCM. So a server whose list is empty or thin was either never successfully scanned for software, was created/updated by a source that does not supply software (import set, manual creation, a different integration), or its last discovery run errored before the software collection step. Compare a "good" and a "bad" server side by side: Discovery source, Last discovered, OS/version, and the latest Discovery status (Discovery > Status), including ECC queue errors for that run. WMI/registry "Access denied" on Windows is the classic reason the software step returns nothing while basic CI data still updates.
Quick check: open cmdb_sam_sw_install directly and filter Installed on = <that server>. If other software rows exist but one product is missing, see point 2. If there are no rows at all for a server that shows a recent discovery date, software collection for that host is failing or not running — re-run discovery on that single IP and watch the run end to end.
2. Why Defender only shows on a subset
On current Windows Server builds, Windows Defender Antivirus is a built-in Windows feature, not a separately installed application, so on most builds it does not register a normal Programs and Features / uninstall entry for Discovery to turn into a software installation record. On the subset where you do see it, that host's build or discovery source does expose such an entry (for example an uninstall registry entry, or a connector such as SCCM reporting it). So the inconsistency across mixed OS builds/sources is expected, and the Software Installations table is not a reliable source for "is Defender present on this server."
If the goal is Defender coverage reporting, check the feature/AV state on the host itself (for example Get-WindowsFeature Windows-Defender or Get-MpComputerStatus, collected via Discovery/ACC) instead of cmdb_sam_sw_install.
Hope that helps separate the two cases across your server estate.