This appendix defines the different collection objects in the Linux Base Pack PowerPack.
Use the following menu options to navigate the SL1 user interface:
- To view a pop-out list of menu options, click the menu icon (
).
- To view a page containing all of the menu options, click the Advanced menu icon (
).
This appendix covers the following topics:
Collection Objects in Linux Dynamic Applications
The following tables list the Collection Objects included in those Dynamic Applications and the Linux commands used by each of those objects. You can use these commands to grant or restrict access to certain data types on the user account you will use to monitor your Linux devices.
The following table is a list of configuration and performance Dynamic Applications in the PowerPack:
Dynamic Application | Collection Object | Linux Command |
---|---|---|
Linux: Configuration Discovery | Determines if a device is a Linux system before discovery in SL1. If the device is not a Linux system, it will not be discovered. | |
Linux: CPU Configuration |
All |
cat /proc/cpuinfo/
lscpu |
Server Product Name | cat /sys/devices/virtual/dmi/id/product_name | |
Linux: CPU Cores Performance | All | cat /proc/stat |
Linux: CPU Performance | All | cat /proc/stat |
Linux: Disk IOPs Performance | All | cat /proc/diskstats |
Linux: Hardware Configuration | All | sudo dmidecode -qt 1,2,3 |
Linux: ICMP Performance | All | cat /proc/net/snmp |
Linux: Inode Performance | All | df -iPT |
Linux: Memory Performance | All | cat /proc/meminfo |
Linux: Route Table Configuration | All | ip route 2>/dev/null || /sbin/ip route 2>/dev/null |
Linux: System Configuration | Kernel Version | cat /proc/sys/kernel/osrelease |
Distribution Genus | cat 2> /dev/null /etc/os-release| grep PRETTY_NAME || cat 2> /dev/null /etc/redhat-release || cat 2> /dev/null /etc/lsb-release | grep DISTRIB_DESCRIPTION || cat /etc/SuSE-release | |
Host Name | cat /proc/sys/kernel/hostname | |
Distribution Release | cat /etc/os-release | grep PRETTY_NAME | |
AppDynamics Host Name | IP Address | hostname=$(cat /proc/sys/kernel/hostname) && echo $hostname"|"<silo:ip> | |
AppDynamics Namespace | echo "appdynamics/ns" | |
Architecture Type | uname -a | |
Compiler | cat /proc/version | |
Domain Name | cat /proc/sys/kernel/domainname && cat /proc/sys/kernel/hostname | |
Dynatrace Hostname | cat /proc/sys/kernel/hostname | |
Dynatrace Namespace | echo "dynatrace/physical/ns" | |
New Relic Hostname | cat /proc/sys/kernel/hostname | |
New Relic Namespace | echo "newrelic/server/ns" | |
Release Date | cat /proc/sys/kernel/version | |
SMP Support | cat /proc/sys/kernel/version | |
Time Zone | date "+%Z" | |
Total Physical Memory (MBytes) | cat /proc/meminfo | |
Total Swap Memory (MBytes) | cat /proc/meminfo | |
Linux: System Load Performance | All | cat /proc/loadavg |
CPU | lscpu | |
Linux: TCP Performance | All | cat /proc/net/snmp |
Linux: UDP Performance | All | cat /proc/net/snmp |
Linux: UDP Services Configuration | All | ss -luan 2>/dev/null || /usr/sbin/ss -luan 2>/dev/null || /bin/ss -luan 2>/dev/null |
Linux: Zombie Process | All | ps aux | grep Z |
The following table is a list of internal collection inventory and performance Dynamic Applications in the PowerPack:
Dynamic Application | Collection Object | Linux Command |
---|---|---|
Linux: IC Detail | All | Internal Collection that consumes data stored by the "Linux: ICDA Cache" Dynamic Application. |
Linux: IC Filesystem Inventory | All | Internal Collection that consumes data stored by the "Linux: ICDA Cache" Dynamic Application. |
Linux: IC Filesystem Performance | All | Internal Collection that consumes data stored by the "Linux: ICDA Cache" Dynamic Application. |
Linux: IC Interface Inventory | All | Internal Collection that consumes data stored by the "Linux: ICDA Interface Cache" Dynamic Application. |
Linux: IC Interface Performance | All | Internal Collection that consumes data stored by the "Linux: ICDA Interface Cache" Dynamic Application. |
Linux: IC Port Performance | All | Internal Collection that consumes data stored by the "Linux: ICDA Cache" Dynamic Application. |
Linux: IC Process Inventory | All | Internal Collection that consumes data stored by the "Linux: ICDA Interface Cache" Dynamic Application. |
Linux: IC Process Performance | All | Internal Collection that consumes data stored by the "Linux: ICDA Interface Cache" Dynamic Application. |
Linux: ICDA Cache | Filesystem | df -kPT |
Hardware Config Product Name | cat /sys/devices/virtual/dmi/id/product_name | |
Network Interfaces | for x in `ls -ld /sys/class/net/* | grep -v '/virtual/' | rev | cut -d/ -f1 | rev`; do echo $x ': ' `if [ "$x" = "lo" ]; then echo "0"; else cat /sys/class/net/$x/speed 2>/dev/null || echo "0" ; fi`; done; | |
Network Interfaces IP Address | /sbin/ip addr | |
Uptime | cat /proc/uptime | |
Linux: ICDA Interface Cache | Interface Stats | /sbin/ip -s -s link |
Process | ps aux | |
TCP Listening Ports | echo ".";ss -ltn 2</dev/null|| /usr/sbin/ss -ltn 2</dev/null|| /bin/ss -ltn 2>/dev/null |