Hi there all. I’m a Linux / Nagios newbie, so please bare with me. I’ve got Nagios setup to work well with the machine its set up on using the plugins. However, I now want to check disk space and such on other hosts.
Do I need to create the nagios user on each machine I want to use and put the plugins in that home directory? I’m assuming I can run these scripts on a host that doesn’t actually have Nagios running on it?
ie is $USER1$ the nagios user and hence the directory?
Command used to check disk space usage on local partitions
define command {
command_name check_local_disk
command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
}
If not, where do I need to put the scripts (such as check_local_disk) on the remote host and what command do I need to define in order to run it?
Thanks for any advice on this.
Edited ]