Enabling Service Discovery
This module provides autodiscovery and documentation of services running on Windows and Linux machines.
The Windows/Linux autodiscovery tool contains a checkbox for Discovering Services. If the Discover Services box is checked, then when autodiscovery is run, the services running on that machines will be retrieved.
The autodiscovery job will find each service. In the above example, the nginx service was found running on the device named “device42”. If the service is found on multiple machines then the Service Instances section will have multiple machines.
If you do not wish to track a particular service, then in the Edit view, change the Service Type to “Ignored”.
You can also link a service to an Application Component. In the example above, the nginx service is linked to an application component named “Web Server”. In the edit mode, you can choose the Application Component from a pulldown list.
Note on Autodiscovery of Services
Device42 intelligently compares the output of several commands to provide an accurate reflection of services running on your servers, but there are some limitations. For instance, many Java applications will currently only be discovered as a running Java process rather than the actual application name, ie Jira. Device42 will pull in any service that is listed in chkconfig or service –status-all or listed in the Services Console, depending on distribution/OS. We attempt to match listening ports to these services, but sometimes differences in the process names cause connections to not be made. It is possible to map two services so that the relationship is shown in Device42.
To map services and relate them to each other in Device42, go to Software>Services>Service Ports. You can filter by device name/port to drill down to the service you would like to map.
Click on the port number, and then in the next window click “Edit” in the upper right. In the Listeners section, click the magnifying glass for “Mapped Service Instance” and choose the service you would like to map.
Now when you click on the mapped service, you will be able to see the discovered service, as well as port and remote IP information.