ServiceNow: AWS Discovery error on Linux.

Michael Skov Thomsen

Solution Architect

Discovery error on UNIX: cat: /sys/hypervisor/compilation/compiled_by: No such file or directory


Have you run into this error using ServiceNow, when running discovery against a Linux device, or mapped a service containing a Linux device?

I had this issue at a customer recently. On the Linux classification, there is a probe for Amazon EC2 named “SSHCommand-Linux - Amazon EC2”, which runs this command. If the server doesn’t run Amazon Web Services, this command will fail. As there are no current out of the box methods to check for this before running the command, the solution is to either disable the probe or remove it from the classification.


Want a dialogue with the author of this article?

Get in touch with the author

Fill out this form and get in touch with Michael.