NagiosEnterprises / ncpa

Nagios Cross-Platform Agent
Other
176 stars 95 forks source link

installer ncpa-3.0 not handling duplicates in /usr/local/ncpa/etc/ncpa.cfg #1044

Open bakkc opened 7 months ago

bakkc commented 7 months ago

After install of the new version 3.0 the ncpa service won't start due to duplicates in /usr/local/ncpa/etc/ncpa.cfg.

Linux / Mac OS X

.sh = /bin/sh $plugin_name $plugin_args .py = python3 $plugin_name $plugin_args .pl = perl $plugin_name $plugin_args .php = php $plugin_name $plugin_args

Windows

.ps1 = powershell -ExecutionPolicy Bypass -File $plugin_name $plugin_args .vbs = cscript $plugin_name $plugin_args //NoLogo .wsf = cscript $plugin_name $plugin_args //NoLogo .bat = cmd /c $plugin_name $plugin_args .sh = /bin/bash $plugin_name $plugin_args

I managed to start ncpa by replacing the ".sh" line in the Linux stanza with the ".sh" one from the windows stanza. Hope that is the correct solution.