@@ -214,7 +214,7 @@ First, test that the plug-in is syntactically correct and can be started during
214214Agent based plugins loading succeeded, Active checks loading succeeded, Special agents
215215loading succeeded, Rule specs loading succeeded, Rule specs forms creation succeeded,
216216Referenced rule specs validation succeeded, Loaded rule specs usage succeeded
217- {c-omd} cmk -vv --inventory localhost | grep lsusb_demo
217+ {c-omd} cmk -vv --inventory myhost | grep lsusb_demo
218218<<<lsusb_demo>>> / Transition HostSectionParser -> HostSectionParser
219219 HostKey(hostname='myhost', source_type=<SourceType.HOST: 1>) -> Add sections: ['check_mk', 'local', 'lsusb_demo', ...]
220220 lsusb_demo: ok
@@ -420,7 +420,7 @@ def _parameter_form():
420420 parameter_form = BooleanChoice(
421421 title = Title("USB hubs"),
422422 label = Label("Consider USB hubs in the inventory table"),
423- prefill= DefaultValue(True),
423+ prefill = DefaultValue(True),
424424 ),
425425 required = True,
426426 ),
@@ -510,16 +510,16 @@ In the example, you have followed the standard procedure so far:
510510An inventory plug-in subscribes to an agent section that has the same name as the inventory plug-in.
511511But what if you want to use existing agent sections that are already being evaluated by an existing inventory plug-in?
512512In this case, there is a high probability that an inventory plug-in already exists that uses the same name as the agent section.
513- The following output provides clarity :
513+ The following output provides an overview of existing sections :
514514
515515[{shell}]
516516----
517- {c-omd} cmk -vv --inventory localhost
518- Doing HW/SW Inventory on: localhost
519- localhost :
517+ {c-omd} cmk -vv --inventory myhost
518+ Doing HW/SW Inventory on: myhost
519+ myhost :
520520+ INVENTORIZING
521521+ FETCHING DATA
522- Source: SourceInfo(hostname='localhost ', ipaddress='127.0.0.1', ident='agent' ...)
522+ Source: SourceInfo(hostname='myhost ', ipaddress='127.0.0.1', ident='agent' ...)
523523...
524524+ EXECUTING INVENTORY PLUGINS
525525 mssql_instance: skipped (no data)
0 commit comments