- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2019 09:58 AM
We are using the OOTB probes, and our classifier doesn't seem to be able to distinguish between Linux servers and Linux workstations. From the logs it looks like it's gathering the OS information from uname-a, but the output doesn't give any of the unique os version info. The documentation seems to say this information can come from either uname -a or cat /etc/*release, the second being the more promising area. Do I need to customize the classifier to get it to look at cat/etc/*release?
Data collected
Label | Table Name | Field Name | Source |
---|---|---|---|
Operating System | cmdb_ci_linux_server | os | uname |
OS Version | cmdb_ci_computer | os_version | uname -a or cat /etc/*release |
Short description | cmdb_ci_linux_server | short_description | uname |
Name | cmdb_ci_linux_server | name | DNS, NBT |
Hostname | cmdb_ci_linux_server | host_name | DNS, NBT |
DNS domain | cmdb_ci_linux_server | dns_domain | DNS |
Start date | cmdb_ci_linux_server | start_date | uptime |
Manufacturer | cmdb_ci_computer | manufacturer | dmidecode |
Serial number | cmdb_ci_computer | serial_number | dmidecode |
Solved! Go to Solution.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2019 10:29 AM
I just explained how to something similar here but for triggering specific probes. In your case, you can take the result and use the value as a classification criteria. But know in our licensing model we consider all Linux OS's as a server os that ticks a license count. If you re-classify a Linux os outside the server class you might get into a grey area in your agreements and should probably have a conversation with your Account Manager for clarification on what can and can't be done in your use case.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2019 10:56 AM
I see I have a response in my query on this subject (over a year ago) that ServiceNow only thought of Linux as Servers. SN can clearly telll us they are either Ubuntu or Red Hat (and in our environment RH are servers, Ubuntu are HP Thin Clients), where they classified to Thin Client table by OS. Not sure it anyone else tried this. Will have to look into this. But SN should not be generalizing all Linux as servers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2019 11:58 AM
I agree Susan. In our environment we have Red Hat servers and workstations, but it's pretty easy to tell the difference.
In /etc/redhat-release
Workstation shows:
Red Hat Enterprise Linux Workstation release 6.10 (Santiago)
Server shows:
Red Hat Enterprise Linux Server release 7.1 (Maipo)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2019 12:19 PM
Likes, enhancement request created and dropped a note to the PM, thank you for the important feedback.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2019 02:13 PM
Good news, talked to the powers that be and this distinction will be in the NY release for our pattern-based discovery!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2020 12:11 PM
Update, it didn't quite make NY but I have created an update set to do just this..
Custom Probe/Sensor (Linux Laptops)