Closed zyadda closed 2 years ago
I think I found the solution by installing python2..
from docker docker exec -it <container-name> bash
sudo apt install python2
then navigation to cd /usr/local/bin
edit the nagios-addcluster file:
vi nagios-addcluster
press 'i' to insert
update the shebang aka 1st line to #!/usr/bin/python2
press 'esc', the ':wq' to save
re-run the nagios-addcluster
./nagios-addcluser
other commands appear to work such as nagios-listcluster & nagios-getconfig
Can replicate on both windows docker toolbox and mac docker desktop