I'd like to set MID server detects Windows Machine correctly

Tomoki4
Kilo Contributor

I'd like to set MID server detects Windows Machine correctly.

 MID server is CentOS7, and there is Windows Machine as detected server.

I completed some settings, execute "Discover now" and could confirm Windows Machine in records of
"Discovery Status" in "Discovery Schedures".
 
But I confirmed Warning Messages in records of "Discovery Schedure > Discovery Status > Devices > Discovery Log".
("Devices" record is the Windows Machine)
Warning Messages is followings:
"MID Server isn't Windows, unable to run ScriptRunner"
"Unsupported shell '$0'. Supported shells are [tcsh, csh, ksh, sh, bash], and Bourne compatible shells in that list are specified by 'mid.ssh.shells_supported' (defaults to [ksh,sh,bash])"
 
I couldn't confirm the existence of Windows machine.
 
In this case, would I need some setting in the instance, MID server, Windows Machine and so on?
 
 
 
1 ACCEPTED SOLUTION

adilrathore
ServiceNow Employee
ServiceNow Employee

As you are using CentOS MID Server which is a linux based OS you would not be able to run WMI queries for Windows Server discovery. You need to use a MID Server which is hosted on a Windows machine to discover Windows machines.

 

It is mentioned in the below documentation link as well:

MID Server system requirements

 

Windows server: To discover Windows-based servers, run Service Mapping patterns, or execute Orchestration commands on Windows devices, the MID Server must be installed on a Windows server. The MID Server supports all Windows Server 2008, 2012, and 2016 editions, virtual machines, and 64-bit systems.

Note: .NET Framework version 3.5, 4.0, 4.5, 4.6, or 4.7 is required for Service Mapping support and for Windows pattern-based discovery.

View solution in original post

4 REPLIES 4

adilrathore
ServiceNow Employee
ServiceNow Employee

As you are using CentOS MID Server which is a linux based OS you would not be able to run WMI queries for Windows Server discovery. You need to use a MID Server which is hosted on a Windows machine to discover Windows machines.

 

It is mentioned in the below documentation link as well:

MID Server system requirements

 

Windows server: To discover Windows-based servers, run Service Mapping patterns, or execute Orchestration commands on Windows devices, the MID Server must be installed on a Windows server. The MID Server supports all Windows Server 2008, 2012, and 2016 editions, virtual machines, and 64-bit systems.

Note: .NET Framework version 3.5, 4.0, 4.5, 4.6, or 4.7 is required for Service Mapping support and for Windows pattern-based discovery.

Thank you for your courteous reply.

This means that CentOS MID server cannot discover Windows machine as servicenow's specifications.

 

I will consider another way. Thank you!!

robertgeen
Tera Guru

As Adil said above a Linux MID server cannot be used to discover windows due to not having WMI and Powershell natively. You will need a MID server running on Windows to discover those (whereas unlike a Linux MID server a Windows mid server can discover Linux using SSH).

Thank you for your courteous reply.

It's useful information that Windows MID server can discover those.

 

Thank you!!