Basic Check¶
As first step to troubleshoot issues we strongly recommended verify the ONAC version on each OpenNac component (Core, Analytics y Sensor), the used versions should be compatible, we also recommend use the latest released version. For verify the current version use:
rpm -qa | grep openNAC

For upgrade please review Opennac Upgrade.
For verify the resources with this commands in the terminal console.
- Top command allows you to verify the system resources performance
top
- This command allows you to verify the disk space.
df –h
- For verify a specific process
ps –ef | grep "processName"
- Display a treee of process
pstree
- Shows statistics for CPU and input/output devices
iostat –x interval_in_seconds
- For verify which port is being used by a specific service
netstat –nap | grep "processName"
- Shows the last 10 lines for a specific file, -f option allows you to refresh the screen as the file grows
tail –f logFile
- Allows to do a capture for a specific interface and specific port number.
tcpdump -i interface –n –nn port portNumber