Discovery probes - differentiating Linux workstations and servers

David A2
Giga Guru

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?

https://docs.servicenow.com/bundle/london-it-operations-management/page/product/discovery/reference/...

Data collected

The Linux classifier triggers probes that perform the discovery. Several probes are launched during discovery. See the classifier for a list of the trigger probes.
LabelTable NameField NameSource
Operating Systemcmdb_ci_linux_serverosuname
OS Versioncmdb_ci_computeros_versionuname -a or cat /etc/*release
Short descriptioncmdb_ci_linux_servershort_descriptionuname
Namecmdb_ci_linux_servernameDNS, NBT
Hostnamecmdb_ci_linux_serverhost_nameDNS, NBT
DNS domaincmdb_ci_linux_serverdns_domainDNS
Start datecmdb_ci_linux_serverstart_dateuptime
Manufacturercmdb_ci_computermanufacturerdmidecode
Serial numbercmdb_ci_computerserial_numberdmidecode
1 ACCEPTED SOLUTION

doug_schulze
ServiceNow Employee
ServiceNow Employee

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.

View solution in original post

11 REPLIES 11

@doug.schulze Do you know if there are still plans for this in any upcoming pattern releases? 

Unfortunately not on any of the radars I have visibility to.