Remote Linux Monitoring - User rights

Hello. For the below extension:

is it somewhere stated what specific rights are needed for the Linux monitoring user? I guess that we need execute or read rights but for which commands?

Thanks.

I have a draft of new Hub documentation that will be published soon but this is the relevant part. The answer depends on the OS selected.

For Debian based ones we also read some data from /proc/stat and /proc/meminfo.

It’s designed to not need anything that would require elevated permissions in a ‘default’ install.

Debian Based Linux (Generic Linux)

  • vmstat
  • w
  • df
  • cat
  • top
  • pgrep
  • iostat
  • ip or netstat
    • older OSs don’t have required stats in ‘ip’ command and will ‘fall back’ to netstat

Solaris

  • vmstat
  • w
  • df
  • netstat
  • ps
  • grep
  • prstat
  • kstat
  • mpstat
  • iostat
  • swap
  • prtconf

AIX

  • vmstat
  • w
  • df
  • netstat
  • ps
  • grep
  • svmon
  • mpstat
  • iostat

FreeBSD

  • vmstat
  • w
  • df
  • netstat
  • ps
  • top
  • grep
  • iostat

HP-UX

  • vmstat
  • w
  • df
  • netstat
  • ps
  • grep
  • swapinfo
  • top
  • sar

Thank you very much!

@JamesKitson,

Great stuff! Looking for support of AIX 5.3 (very old). Do you know if it works?

Great work @JamesKitson I have several clients asking for this.

We can’t test every version of every distro, but it’s designed so that it shouldn’t matter unless some of these basic commands are missing. If there does seem to be an issue with an older one, a ticket can be opened and we can investigate if adding support is feasible.

FYI there’s a new version available now and as part of this update we added this information to the hub page (under troubleshooting): https://www.dynatrace.com/hub/detail/remote-linux-monitoring