search cancel

meraki probe Inventory update failed with java.lang.IllegalArgumentException

book

Article ID: 256991

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

After configuration of the meraki probe seeing the following in the log file and the profile is in a failed state.

Dec 21 17:23:57:194 [Data Collector - Profile Meraki, meraki] UnexpectedError: CtdBuilder.buildCtdEntity: 
Dec 21 17:23:57:194 [Data Collector - Profile Meraki, meraki] java.lang.IllegalArgumentException
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:108)
    at com.nimsoft.ids.ctd.extension.CtdElementFactory.newInstance(CtdElementFactory.java:19)
    at com.nimsoft.probe.framework.devkit.util.CtdBuilder.buildCtdElement(CtdBuilder.java:71)
    at com.nimsoft.probe.framework.devkit.inventory.Element.buildCtdElement(Element.java:233)
    at com.nimsoft.probe.framework.devkit.inventory.Element.buildCtdEntity(Element.java:221)
    at com.nimsoft.probe.framework.devkit.inventory.Element.getOrBuildCtdEntity(Element.java:415)
    at com.nimsoft.probe.framework.genprobe.GenInventory.update(GenInventory.java:152)
    at com.nimsoft.probe.framework.genprobe.GenSession.updateInventory(GenSession.java:145)
    at com.nimsoft.probe.common.ctd.CtdSession.doInventoryUpdate(CtdSession.java:258)
    at com.nimsoft.probe.common.ctd.ProbeDataCollector.executeSessionUpdateInventory(ProbeDataCollector.java:1063)
    at com.nimsoft.probe.common.ctd.ProbeDataCollector.execute(ProbeDataCollector.java:218)
    at com.nimsoft.vm.collector.DataCollector.run(DataCollector.java:151)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748
Dec 21 17:23:57:194 [Data Collector - Profile Meraki, meraki] Inventory update failed. Sending resource alarm
Dec 21 17:23:57:195 [Data Collector - Profile Meraki, meraki] (1) error, Inventory update failed for Profile Meraki: java.lang.IllegalArgumentException
    at com.nimsoft.probe.framework.genprobe.GenInventory.handleInventoryUpdateException(GenInventory.java:209)
    at com.nimsoft.probe.framework.genprobe.GenInventory.update(GenInventory.java:186)
    at com.nimsoft.probe.framework.genprobe.GenSession.updateInventory(GenSession.java:145)
    at com.nimsoft.probe.common.ctd.CtdSession.doInventoryUpdate(CtdSession.java:258)
    at com.nimsoft.probe.common.ctd.ProbeDataCollector.executeSessionUpdateInventory(ProbeDataCollector.java:1063)
    at com.nimsoft.probe.common.ctd.ProbeDataCollector.execute(ProbeDataCollector.java:218)
    at com.nimsoft.vm.collector.DataCollector.run(DataCollector.java:151)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: (1) error, java.lang.IllegalArgumentException: null
    at com.nimsoft.probe.framework.devkit.util.CtdBuilder.buildCtdElement(CtdBuilder.java:82)
    at com.nimsoft.probe.framework.devkit.inventory.Element.buildCtdElement(Element.java:233)
    at com.nimsoft.probe.framework.devkit.inventory.Element.buildCtdEntity(Element.java:221)
    at com.nimsoft.probe.framework.devkit.inventory.Element.getOrBuildCtdEntity(Element.java:415)
    at com.nimsoft.probe.framework.genprobe.GenInventory.update(GenInventory.java:152)
    ... 12 more
Caused by: java.lang.IllegalArgumentException
    at com.google.common.base.Preconditions.checkArgument(Preconditions.java:108)
    at com.nimsoft.ids.ctd.extension.CtdElementFactory.newInstance(CtdElementFactory.java:19)
    at com.nimsoft.probe.framework.devkit.util.CtdBuilder.buildCtdElement(CtdBuilder.java:71)
    ... 16 more

 

Environment

Release : 20.4

Component: meraki probe

Resolution

This is due to the fact that Hostname Visibility has not be set the the meraki instance.

https://documentation.meraki.com/MR/Monitoring_and_Reporting/Hostname_Visibility

Please note per Cisco it can take up to 24 hours for the changes to propagate completely.