ServiceNow: AWS Discovery error on Linux.



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.


Read other our other blogposts