Recommended home directory for nagios user

fhsnagios

What is the recommended home directory for the nagios user (FHS)?

When I monitor a linux system, I have to create a user for ssh-key-based login and for grating him the needed rights via sudoers.

I found serveral recommendations:

/var/run/nagios3

/var/lib/nagios3

/home/nagios3

What would be the best location in view to the Filesystem Hierarchy Standard?

Best Answer

Nagios doesn't need a certain location. The default is fine. If you change it from the default, you have to ensure the configuration files match. When monitoring a Linux guest all you have to install is nrpe and the defaults for that work fine as well (in my case at least).