2 | Check if the plugin returns the data according to the design | - Build and install collectd with debug log level and capabilities plugin enabled.
- Start collectd
- Read the data collectd by plugin
- curl localhost:9104
| HTTP GET request should result in the display of a data structure about system capabilities read from dmidecodeExample from collectd logs: {noformat} [debug] capabilities: formatted response: {"BIOS":[{"BIOS Information":{"Vendor":"Intel Corporation","Version":"SE5C620.86B.0D.01.0338.011120192100","Release Date":"01/11/2019","Address":"0xF0000","Runtime Size":"64 kB","ROM Size":"4096 kB","Characteristics":["PCI is supported","PNP is supported","BIOS is upgradeable","BIOS shadowing is allowed","Boot from CD is supported","Selectable boot is supported","EDD is supported","5.25\"/1.2 MB floppy services are supported (int 13h)","3.5\"/720 kB floppy services are supported (int 13h)","3.5\"/2.88 MB floppy services are supported (int 13h)","Print screen service is supported (int 5h)","8042 keyboard services are supported (int 9h)","Serial services are supported (int 14h)","Printer services are supported (int 17h)","CGA/mono video services are supported (int 10h)","ACPI is supported","USB legacy is supported","LS-120 boot is supported","ATAPI Zip drive boot is supported","BIOS boot specification is supported","Function key-initiated network boot is supported","Targeted c {noformat} | Pass |
|