Linux Requirements
Report metrics (Must Configure CMDB View for Linux)
Technical Requirements
# | Requirement | User Story | Importance | Challenge | Notes | ||
---|---|---|---|---|---|---|---|
1 | Mid Server | When Discovery runs dmidecode | cat, it returns garbage. {"related_data":{"tDataObj":{}}} This article: https://community.servicenow.com/community?id=community_question&sys_id=21e8e0b4db903f04fece0b55ca961926 states that a user running London had a very similar issue and resolved it by adding the mid server property “mid.property.ssh.use_snc”When Discovery runs dmidecode | cat, it returns garbage. {"related_data":{"tDataObj":{}}} This article: https://community.servicenow.com/community?id=community_question&sys_id=21e8e0b4db903f04fece0b55ca961926 states that a user running London had a very similar issue and resolved it by adding the mid server property “mid.property.ssh.use_snc” | |||||
2 | Linux Change | On the linux side, we made the following changes which are applicable to our entire environment, not just for the ServiceNow sandbox: Allowed the linux ServiceNow credential – s_svcnow_mid – to run the following commands as sudo without a password: '/usr/sbin/dmidecode', '/sbin/dmidecode', '/usr/sbin/lsof', '/sbin/lsof', '/usr/bin/fdisk -l', '/usr/bin/multipath -ll', '/usr/sbin/dmsetup table *', '/usr/sbin/dmsetup table', '/usr/sbin/dmsetup ls', '/usr/bin/ls', '/usr/bin/cat', '/bin/stat', '/usr/bin/netstat' Changed /etc/hostname to reflect the fqdn instead of just the short name. | |||||
3 | To resolved the host name/dns domain/name for new Linux CI. Nancy will be implementing automatic fully qualified domain automatically updated without rebooting the linux server |
*
PROBES
PROBES |
---|
|
PATTERNS
Pattern |
---|
Linux Server |
Linux Discovery Data Attributes Collections
Label | Table Name | Field Name | Source |
---|---|---|---|
Operating System | cmdb_ci_linux_server | os | uname |
OS Version | cmdb_ci_computer | os_version | uname -a or cat /etc/*release |
Short description | cmdb_ci_linux_server | short_description | uname |
Name | cmdb_ci_linux_server | name | DNS, NBT |
Hostname | cmdb_ci_linux_server | host_name | DNS, NBT |
DNS domain | cmdb_ci_linux_server | dns_domain | DNS |
Start date | cmdb_ci_linux_server | start_date | uptime |
Manufacturer | cmdb_ci_computer | manufacturer | dmidecode |
Serial number | cmdb_ci_computer | serial_number | dmidecode |
CPU type | cmdb_ci_linux_server | cpu_type | /proc/cpuinfo |
CPU speed (MHz) | cmdb_ci_linux_server | cpu_speed | /proc/cpuinfo |
CPU count | cmdb_ci_linux_server | cpu_count | /proc/cpuinfo |
CPU core count | cmdb_ci_computer | cpu_core_count | /proc/cpuinfo |
CPU core thread | cmdb_ci_computer | cpu_core_thread | /proc/cpuinfo |
CPU manufacturer | cmdb_ci_linux_server | cpu_manufacturer | /proc/cpuinfo |
Model number | cmdb_ci_computer | model_number | dmidecode |
Model ID | cmdb_ci_computer | model_id | dmidecode |
RAM (MB) | cmdb_ci_linux_server | ram | meminfo |
Disk space (GB)* | cmdb_ci_linux_server | disk_space | /proc/ide, /proc/scsi, /var/log/dmesg |
Type | cmdb_ci_disk | type | /proc/ide, /proc/scsi, /var/log/dmesg |
Model ID | cmdb_ci_disk | model_id | /proc/ide, /proc/scsi, /var/log/dmesg |
Disk space (GB) | cmdb_ci_disk | disk_space | /proc/ide, /proc/scsi, /var/log/dmesg |
Name | cmdb_ci_disk | name | /proc/ide, /proc/scsi, /var/log/dmesg |
Name | cmdb_ci_file_system | name | df |
Capacity (MB) | cmdb_ci_file_system | capacity | df |
Available Space (MB) | cmdb_ci_file_system | available_space | df |
Mount point | cmdb_ci_file_system | mount_point | df |
Name | cmdb_running_process | name | ps |
Command | cmdb_running_process | command | ps |
Type | cmdb_running_process | type | ps |
PID | cmdb_running_process | pid | ps |
Parameters | cmdb_running_process | parameters | ps |
Name | cmdb_ci_network_adapter | name | ifconfig |
IP address | cmdb_ci_network_adapter | ip_address | ifconfig |
MAC address | cmdb_ci_network_adapter | mac_address | ifconfig |
Netmask | cmdb_ci_network_adapter | netmask | ifconfig |
Default gateway | cmdb_ci_hardware | default_gateway | route |
TABLE COLUMNS
Note: u_ = added Data attributes
Data attributes in pink = Required fields
Data attributes in blue = Ownership fields
Data attributes in green = Data collected by Discovery
User Interface
Main Form
Related Items
Network Adapters
Storage Devices
File Systems
Software Installations
Network Adapters
Serial Numbers
CI IPs
DNS Names for CI
Memory Modules
Disk Partitions
Disks
User Interface Requirements
- Main Form:
- Owned By should be a required field. Tells who to contact if something is not working.
- Requirement was to discover Backup field automatically. However, this cannot be done automatically and will need to be entered manually.
- COA should be a required field, in order to know the charging information for the CI.
- Hide - Virus Protection, Monitoring and Warranty Expiration Date. Not used by the team.
- Cost Center should be required. Although it is part of COA it does not really spell it out. Having Cost Center populated makes it easier.
Relationships
Validation Steps
Step | Description | Verdict |
---|---|---|
Execute Linux Validation ATF | https://yalesandbox.service-now.com/nav_to.do?uri=sys_atf_test_result.do?sys_id=1d3841e3dbab3700715013296896193e | |
Open Questions
Question | Answer | Date Answered |
---|---|---|