Icinga2 | Plugins | define path
 
    
            
            
            
                
| 0 | default Plugins on Debian | # /usr/lib/nagios/plugins | --> source | 
| define a new path for not default or modified Plugins | # mkdir /usr/lib/nagios/pluginsCustom | ||
| define the new Path to ... | # vi /etc/icinga2/constants.conf | const PluginCustomDir = "/usr/lib/nagios/pluginsCustom" | |
| restart | #  systemctl restart icinga2 # systemctl status icinga2  | 
||
| the Path i do use for new Plugins is | # cd /usr/lib/nagios/pluginsCustom | ||
| and i do create a Directory for echa plugin too | # mkdir new-plugin |