How to get Kernel version information using extension section of Discovery Pattern

_Yash24
Tera Guru

Hi All

I got requriment where I need to manage LinuxServer kernel version information, which is not currently implemented in OOTB also I want to get command to manage kernel information in the extension section of Discovery Pattern and creates extension fields in cmdb_ci_linux_server

How to do that? and what command we can use?

Thanks,

Yash

1 ACCEPTED SOLUTION

AJ-TechTrek
Giga Sage
Giga Sage

Hi @_Yash24 ,

 

You can create a extension section in Linux Server Pattern and create a step to get the kernal version, Refer the below article, where couple of commands mentioned to get the Kernal version.

 

Best Cammand to get Kernal Version only -=  uname –r

 

https://www.scaler.com/topics/how-to-check-kernel-version-in-linux/

 

https://www.servicenow.com/community/itom-articles/extending-patterns/ta-p/2326816

 

https://www.servicenow.com/community/itom-articles/extending-patterns-method-2/ta-p/2326781

 

Please appreciate the efforts of community contributors by marking appropriate response as Mark my Answer Helpful or Accept Solution this may help other community users to follow correct solution in future.

 

Thanks

AJ

Linkedin Profile:- https://www.linkedin.com/in/ajay-kumar-66a91385/

ServiceNow Community Rising Star 2024

View solution in original post

5 REPLIES 5

SK Chand Basha
Tera Sage
Tera Sage

Hi @_Yash24 

If the mid server is installed in your PDI you can build an extension pattern to test you have to enable debug mode and pattern sync with mid server .

 

Here I'm sharing Firmware version retrieval which will be helpful for you 

 

Retrieve Firmware version of F5 using pattern - ServiceNow Community - Linux 

 

And I'm here attached Windows version retrieval.

 

Please Mark this Helpful !!!. If this Helps you to understand. This will help both the community and me.