5.1.3.1.1. Basic Check

As a first step to troubleshoot issues, we strongly recommended verifying the ONNAC version on each OpenNAC Enterprise component (Core, Analytics y Sensor) -the versions should be compatible. We also recommend using the latest released version. To verify the current version use:

rpm -qa | grep openNAC
../../../../_images/ts1.png


For upgrade, review Opennac Upgrade.

The following command is used to verify the resources:

  • Top command allows you to verify the system resources performance

top
  • This command allows you to verify the disk space.

df -h
  • To 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
  • To 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