- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
43m ago
Recently Getting Error Identifier: validation error: cmdb_ci_linux_server: missing mandatory fields: serial_number While doing Linux Discovery
Cause : The Identification and Reconciliation Engine (IRE) requires a unique identifier (like serial_number) to verify if a Configuration Item (CI) already exists or if it needs to create a new one. If the Discovery pattern fails to retrieve this data, the IRE aborts the insertion to prevent duplicate or corrupt records.
Solution: 1. Check Sudo Permissions: Linux patterns use commands like dmidecode or lshw to fetch the serial number. If the discovery user lacks proper sudo privileges, these commands return empty results. Ensure your /etc/sudoers file has non-interactive entry for the discovery user
Steps To check from pattern
Go to discovery status open ip . Go to discovery logs and click on Here as shown in screenshot
Once you click you will see like screenshot
Click on Discovery and Debug
Select mid server which you are using and click on connect
Debug will start and after sometime you will see like below image
Now go to section 4 and under it 4.1.2 Get DMI type 1 click on Run Command
Once command is run you will get result like this
Now you have to informed this to your respective team about dmidecode ser lacks proper sudo privileges, these commands return empty results. Ensure your /etc/sudoers file has non-interactive entry for the discovery user: bash snc_discovery ALL=(ALL) NOPASSWD: /usr/sbin/dmidecode, /usr/bin/lshw
Thank You
LinkedIn : https://www.linkedin.com/in/harish-baisla-8895aa22a/
ServiceNow Community Rising Star 2024 & 2025