> For the complete documentation index, see [llms.txt](https://documentation.ocsinventory-ng.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.ocsinventory-ng.org/default-inventoried-data/linux-agent.md).

# Linux Agent

Inventory data collected from assets running the Linux Agent 3.X (Debian-based or RHEL-based).

### Default Template

| Section                               | Fields reported                                                                                                                                                               |
| ------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **BATTERIES**                         | Chemistry, Cycles, Description, Design capacity, Design voltage, Estimated charge remaining, Manufacturer, Name, Serial number, Status                                        |
| **BIOS**                              | Manufacturer, Model, Serial number, Type, Bios manufacturer, Bios version, Bios date, Asset tag, Motherboard manufacturer, Motherboard model, Motherboard serial number       |
| **CONTROLLERS**                       | Manufacturer, Name, Caption, Description, Version, Type                                                                                                                       |
| **CPUS**                              | Manufacturer, Type, Serial number, Frequency, Cores number, L2 cache size, Architecture, Data width, Current address width, Logical CPUs, Voltage, Current speed, Socket type |
| **DRIVES** (partitions/volumes)       | Designation, Type, File system, Total (MB), Free (MB), Capacity                                                                                                               |
| **INPUTS** (keyboard/mouse/readers)   | Type, Manufacturer, Caption, Description, Interface                                                                                                                           |
| **LOCAL GROUPS**                      | Group ID, Member, Name                                                                                                                                                        |
| **LOCAL USERS**                       | User ID, Group ID, Name, Home, Shell, Login                                                                                                                                   |
| **MEMORIES** (RAM modules)            | Caption, Description, Capacity, Purpose, Type, Speed, Slot number, Serial number                                                                                              |
| **MONITORS**                          | Manufacturer, Caption, Manufactured on (week/year), Type, Serial number                                                                                                       |
| **NETWORKS** (network interfaces)     | Description, Type, Speed, MTU, MAC address, Status, IP address, Netmask, Gateway, Network number                                                                              |
| **PORTS**                             | Type, Name, Caption, Description                                                                                                                                              |
| **PRINTERS**                          | Name, Driver, Port, Description                                                                                                                                               |
| **REPOSITORY** (package repositories) | Name, Base URL                                                                                                                                                                |
| **SLOTS** (expansion slots)           | Name, Description, Designation, Status                                                                                                                                        |
| **SOFTWARES** (installed software)    | Name, Publisher, Version, Comments, File size, Installation date, From, Architecture, Major, Minor, Patch                                                                     |
| **SOUNDS**                            | Manufacturer, Name, Description                                                                                                                                               |
| **STORAGES** (physical disks)         | Manufacturer, Name, Model, Description, Type, Disk size, Serial number, Firmware                                                                                              |
| **USB DEVICES**                       | Description, Interface, Manufacturer, Serial number, Type                                                                                                                     |
| **VIDEOS** (graphics cards)           | Name, Chipset, Memory                                                                                                                                                         |
| **VIRTUAL MACHINES**                  | Name, UUID                                                                                                                                                                    |

### Extended Template

{% hint style="info" %}
The extended inventory also contains the sections from the default inventory template.
{% endhint %}

| Section                                                   | Fields reported                                                                             |
| --------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| **CRON TAB TASKS** (scheduled cron jobs)                  | Minute, Hour, Dom, Month, Dow, User, Cron                                                   |
| **FIREWALL RULES**                                        | Direction, Source, Source port, Destination, Destination port, Action, Protocol, Comment    |
| **REDHAT ERRATA** (RedHat security advisories, RHEL only) | Errata, Package, Severity, Type, Updated                                                    |
| **RUNNING PROCESS**                                       | Username, Process ID, CPU usage, Virtual memory, Process memory, TTY, Started, Command line |
| **SECURITY CERTIFICATE** (installed certificates)         | Name, Authority, Date start, Expiration                                                     |
| **TEAM VIEWER** (TeamViewer client presence/config)       | Version, ID                                                                                 |
| **UPTIME**                                                | Duration, Log date                                                                          |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://documentation.ocsinventory-ng.org/default-inventoried-data/linux-agent.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
