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
- ; 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