title: How to check remote server load average using Icinga2
body: <p>In <code>Icinga2</code> there is a script in <code>nagios plugins</code> folder called <code>check_load</code> which gives the result for host OS. When I call the script with <code>-h</code> it reports:</p>
  
  <pre><code>check_load v2.1.1 (monitoring-plugins 2.1.1)
  Copyright (c) 1999 Felipe Gustavo de Almeida &lt;galmeida@linux.ime.usp.br&gt;
  Copyright (c) 1999-2007 Monitoring Plugins Development Team
      &lt;devel@monitoring-plugins.org&gt;
  
  This plugin tests the current system load average.
  
  Usage:
  check_load [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15
  
  Options:
   -h, --help
      Print detailed help screen
   -V, --version
      Print version information
   --extra-opts=[section][@file]
      Read options from an ini file. See
      https://www.monitoring-plugins.org/doc/extra-opts.html
      for usage and examples.
   -w, --warning=WLOAD1,WLOAD5,WLOAD15
      Exit with WARNING status if load average exceeds WLOADn
   -c, --critical=CLOAD1,CLOAD5,CLOAD15
      Exit with CRITICAL status if load average exceed CLOADn
      the load average format is the same used by "uptime" and "w"
   -r, --percpu
      Divide the load averages by the number of CPUs (when possible)
  
  Send email to help@monitoring-plugins.org if you have questions regarding
  use of this software. To submit patches or suggest improvements, send email
  to devel@monitoring-plugins.org
  </code></pre>
  
  <p>As it appears there is not parameter to pass as host address.</p>
  
  <p><strong>The question is</strong> how should I get the load average (1m, 5m, 15m) of remote servers?</p>