- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 02:04 AM
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
Solved! Go to Solution.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 04:54 AM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 04:50 AM
Here is how its done as a concept. Just try to replace it with your Linux Commands which will fetch Kernal Info and Parse it.
Example is for Windows use case but you can easily build it for ur use case too.
Regards
RP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 04:54 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 10:28 PM
Hi @AJ-TechTrek and @Rahul Priyadars ,
Thank you for the reply.
First I need to implement it in PDI, Is it possible to implement in my PDI?
I tried but In PDI I dont have MID server installed so at the time of Debug (Debug Mode) its asking for MID server IP details and couldn't procceed ahead from that step.
Is there any other way I can implement this solution in PDI?
Or can we skip debug mode step and procceed with next step in PDI? if yes then how?
Thanks,
Yash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2024 10:48 PM
Hi @_Yash24 ,
Yes you can try on your PDI as well, use the free virtual machines on Azure and install the mid application on windows server.
Azure will provide the two virtual machine (Windows and Linux) free to troubleshoot and learn the Azure things.
Let me know if any more information required on this.
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