Opsview Knowledge Center

OS - Unix Agentless

Overview of Setting Up Unix Agentless in Opsview Monitor

To configure and utilise this Opspack, you need to add the 'OS - Unix Agentless' Opspack to the host.

The Agentless monitor works by running the plugins on the target machine over ssh. These plugins must first be stored on the target machine.

Step 1: Setup ssh using keyed encryption rather than passwords between the host and target, for the "nagios" user on the host. (Permissions 700 for "~/.ssh" folder)

Step 2: Copy the plugins check_disk, check_load and check_memory from /usr/local/nagios/libexec on the host machine, to /usr/local/nagios/libexec on the destination machine.

Note - Currently the host template is coded to run these plugins from /usr/local/nagios/libexec on the destination machine, this could be made more flexible by storing the directory in a variable in the Opsview Monitor and making all the service checks use this variable.

For a full guide see this page:

https://www.opsview.com/resources/blog/using-checkbyssh-monitoring-opsview

Step 3: Add the host template

Example of Adding Unix Agentless Host Template

Example of Adding Unix Agentless Host Template

Step 4: Reload and view the Unix Agentless statistics

Example of Unix Agentless Statistics in Opsview Monitor

Example of Unix Agentless Statistics in Opsview Monitor

OS - Unix Agentless

Overview of Setting Up Unix Agentless in Opsview Monitor