Check_MK HW/SW Inventory - Cannot update tree(!)

Hi,

I’ve an issue with collecting HW/SW on Windows with mk_inventory.vbs. Since upgrading to V2 this service keep saying Cannot update tree (!) , Found xxx entry. So my inventory is not updating. When looking at the state folder on windows agent there is a file with 0-byte

Anyone has this issue? Now I’m running on 2.0.0.p019 RAW and still the issue exist…
Can someone help?
Many thanks…

TB.

Nobody has this issue??? In the Agent-Log it said mk_inventory.vbs has no data…

Hi, did you check if the inventor plugin on the right place. Since 1.6 (new Agent) the path to the plugins is different.
Regards, Christian

Hi ChristianM,

Yes - I do…Output to Agent state dir is empty…

Even system monitored with snmp cannot update the tree…I’m lost…Very strange things happens here right???

Kind regards,
TB

I would do the following test

cmk --debug -vv --inventory-as-check HOSTNAME

If you have a faulty inventory plugin it should be shown.
This is the same command as CMK is executing it.

Hi,
did you check your Inventory rulset. Please look that your status inventory is switched on.
Best regards,
Christian

Hi Andreas,

I get SNMPFetcher error whem running cmk --debug -vv --inventory-as-check HOSTNAME …

[SNMPFetcher] Execute data source
SNMP scan:
Getting OID .1.3.6.1.2.1.1.1.0: Running ‘snmpget -v2c -c public -m “” -M “” -On -OQ -Oe -Ot HOSTNAME .1.3.6.1.2.1.1.1.0’
ERROR: SNMP error
Timeout: No Response from HOSTNAME.

Any clue how this can be solved? This happens to all the hosts…
When creating another site on the same machine en running the inventory this runs correctly.
I didn’t have any snmp configuration/rule for this inventory but when running cmk -D HOSTNAME the output of Agent type include snmp…Very strange…

Type of agent:
TCP: HOSTNAME:6556
SNMP (Community: ‘public’, Bulk walk: no, Port: 161, Backend: Classic)

Many thanks in advance for helping…

Kind regards…
TB

Hi,
did you check the firewall settings on the other site or check if an ACL is set or UDP is allowed.
Best regards,
Christian

Hi Christian,

Everything has been checked. I had even create a new site on the same machine…This works fine…
Something in the configuration or update is wrong but I cannot find what this is…

Kind Regards,
TB

Is there nobody that has this issue? Cannot update tree (!) when doing HW/SW Inventory?

Sorry i missed the last answers. If your hosts are shown as “mixed” hosts with agent and SNMP then it is normal if SNMP is not working that the HW/SW inventory fails.
First step is to find the “why” is the host configured as agent and SNMP.
How does the host config looks like for such a device?

Hi Andreas,

All configurations are defaults like: API integrations or Agent…No SNMP No Piggyback

The configuration had worked before but at somepoint I noticed this problem because I was adding new devices…

At this moment I had turn off the inventory till the issue has been tracked…

After update to 2.1.0p3 the issue is solved…Very strange…

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.