Info |
---|
This article provides guidance on resolving issues with disappearing and reappearing host inventory. |
Status |
---|
colour | Green |
---|
title | LAST TESTED ON CHECKMK 2.0.0P1 |
---|
|
Panel |
---|
borderColor | black |
---|
bgColor | #f8f8f8 |
---|
title | Table of Contents |
---|
|
|
Problem
You might encounter , that the host inventory data might disappear on either every inventory run or at least several times a day, like this:
Image Removed
The solution is to set the check interval settings to 4 hours minitum or a multiple of it (like 8/12/16h and so on):
Image Removed
...
Image Added
HW/SW inventory is related to CMK agent hosts, a two-step story:
- The agent plugin collects the data, by default, every 4h
- The data delivered by the agent is then validly cached on CMK site side for 4h (or however the plugin interval is set)
- The HW/SW inventory service runs every 24h (set by the rule "normal check interval for service checks") and reads the cached data - NO AgentPoll is done at this time!
Now it could be due to different things that the data disappears:
- There is no AgentAccess for 4h, so the data can't be fetched
- The plugin interval is set longer than that of the service
- Or, attention: if the agenthost is queried multiple times from the same IP, then it could be that the data is "stolen" between these queries and therefore does not exist! This could happen, e.g., if another site on the same server as the "correct" one queries the host (SRC address is the same, and the agent thinks it has already sent the data) or the host is queried multiple times (but with different hostnames) from the same site - with the same result related to the SRC address
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | KB |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ( "agent" , "inventory" , "troubleshooting" ) and type = "page" and space = "KB" |
---|
labels | agent inventory |
---|
|
...