Unable to discover the serial number of Linux server

AnkushD
Tera Contributor

Hello Experts,

I am trying to discover the serial number of  linux server which is hosted on AWS Cloud but unable to discover it.

I have configured the sudo user on linux server and added the below entry in sudoers file. 

snow  ALL=(ALL)   NOPASSWD:ALL 

Also, configured the same sudo user and password on MID server and validated the credentials and run the quick discovery still unable to get the serial number. 

I have run the command manually on server and it run successfully please see the below screenshot 

AnkushD_0-1738778815203.png

Please refer the below log screenshot and suggest the solution.

AnkushD_1-1738779017211.png

Thanks, and looking to get help resolve this error.

 

1 ACCEPTED SOLUTION

SK Chand Basha
Giga Sage

Hi @AnkushD 

 

Refer my post i hope it will helpful

 

https://www.servicenow.com/community/itom-forum/serial-number-on-linux-server-with-acc/td-p/3080854

 

Mark it Helpful and Accept Solution!! If this helps you to understand.

View solution in original post

2 REPLIES 2

James Hammond
Giga Guru

Hello @AnkushD 

The error message screenshot refers to a problem with the JSON file structure within the pattern itself, rather than a problem with the command being run on the server; I would suggest debugging the pattern directly to resolve the problem, starting at the failed step and tracking back a few steps to see where the problem with the file parsing is occurring.

SK Chand Basha
Giga Sage

Hi @AnkushD 

 

Refer my post i hope it will helpful

 

https://www.servicenow.com/community/itom-forum/serial-number-on-linux-server-with-acc/td-p/3080854

 

Mark it Helpful and Accept Solution!! If this helps you to understand.