Comments (8)
issue fixed.
from netbox-agent.
Package: lshw
Version: 02.18.85-0.1
Installed-Size: 763
from netbox-agent.
lshw output according to script
[
{
"id" : "SOMENAME",
"class" : "system",
"claimed" : true,
"handle" : "DMI:0001",
"description" : "Desktop Computer",
"product" : "X9DRT-HF+ (To be filled by O.E.M.)",
"vendor" : "Supermicro",
"version" : "0123456789",
"serial" : "0123456789",
"width" : 64,
"configuration" : {
"boot" : "normal",
"chassis" : "desktop",
"family" : "To be filled by O.E.M.",
"sku" : "To be filled by O.E.M.",
"uuid" : "00000000-0000-0000-0000-AAAAAAAAAAA"
},
"capabilities" : {
"smbios-2.7" : "SMBIOS version 2.7",
"dmi-2.7" : "DMI version 2.7",
"smp" : "Symmetric Multi-Processing",
"vsyscall32" : "32-bit processes"
} {
"id" : "core",
"class" : "bus",
"claimed" : true,
"handle" : "DMI:0002",
"description" : "Motherboard",
"product" : "X9DRT-HF+",
"vendor" : "Supermicro",
from netbox-agent.
seems to be a lshw -json bug: when using JSONLint i get this:
Error: Parse error on line 24:
...-bit processes" } { "id": "core",
----------------------^
Expecting 'EOF', '}', ',', ']', got '{
from netbox-agent.
can't we do a scrap off the capabilities part before passing this to the json decoder ? we don't need this part
from netbox-agent.
what os/distro are you using ?
I don't have the problem on Ubuntu 12.04 -> 18.04 and Debian 10
from netbox-agent.
Found this:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929206
i have lots of servers, but this server is Debian 10 buster with lshw:
lshw:
Installed: 02.18.85-0.3
Candidate: 02.18.85-0.3
Versionstabelle:
*** 02.18.85-0.3 100
100 /var/lib/dpkg/status
02.18.85-0.1 500
500 http://debian.inet.de/debian buster/main amd64 Packages
from netbox-agent.
i did manually copy over lshw from another system where it works (debian9) - need to find the working version or just copy the file then i do a install script for the agent
from netbox-agent.
Related Issues (20)
- error on IPMI interface HOT 2
- Several fields on the cable API serializers have been altered or removed to support multiple-object cable terminations HOT 4
- Interfaces in virtual machines need to use different endpoint HOT 3
- the script cannot create an ip address HOT 2
- how to integrate automatic scanning/discovery in HP enclosures:blades ? HOT 1
- Project dependencies may have API risk issues HOT 3
- netbox 3.3.9 HOT 3
- A brief description of the fields in netbox_agent.yaml that netbox-agent can work with. HOT 2
- serial: This field may not be null. (on disks?) HOT 1
- detailed project dependencies needed. HOT 1
- Problem adding interfaces HOT 1
- lldm.py return error: current_dict[final] = value, TypeError HOT 3
- (config.py): no verify ssl doesnt parse with python<3.9 HOT 2
- Error when querying VLANs that are duplicated across datacenters | ValueError: get() returned more than one result HOT 1
- AttributeError: 'NoneType' object has no attribute 'id' HOT 2
- [Feature] Create Site if not exists
- Error installing HOT 1
- inventory remote machines HOT 1
- Supermicro only baseboard serial number set
- netbox_agent==0.7.2 not available on pip HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netbox-agent.