You are here

nrpe_local.txt in Monitoring 7

; Means to be "allow the master to send additional command args via '-a' which
; you should enable (potential security risk).
;
dont_blame_nrpe=1

; Change to the IP address of the machine where the Icinga runs.
;
allowed_hosts=@ip

; The command that will be executed to gather the sensor data.
;   - Check if the root path is correct.
;   - Check if the --uri param is the site directory name.
;   - You can provide an absolute path to the drush executable.
;
command[check_@site_key]=drush --root=@root --uri=@uri monitoring-icinga $ARG1$ 2>&1

; Alternatively with sudo:
;
; command[check_@site_key]=sudo -u www_user drush --root=@root --uri=@uri monitoring-icinga $ARG1$ 2>&1

File

modules/monitoring_icinga/config_tpl/nrpe_local.txt
View source
  1. ; Means to be "allow the master to send additional command args via '-a' which
  2. ; you should enable (potential security risk).
  3. ;
  4. dont_blame_nrpe=1
  5. ; Change to the IP address of the machine where the Icinga runs.
  6. ;
  7. allowed_hosts=@ip
  8. ; The command that will be executed to gather the sensor data.
  9. ; - Check if the root path is correct.
  10. ; - Check if the --uri param is the site directory name.
  11. ; - You can provide an absolute path to the drush executable.
  12. ;
  13. command[check_@site_key]=drush --root=@root --uri=@uri monitoring-icinga $ARG1$ 2>&1
  14. ; Alternatively with sudo:
  15. ;
  16. ; command[check_@site_key]=sudo -u www_user drush --root=@root --uri=@uri monitoring-icinga $ARG1$ 2>&1