exasol / nagios-monitoring

Docker container with installed and configured Nagios software for EXASOL DB monitoring.
MIT License
10 stars 11 forks source link

nagios-addcluster command not working #57

Closed zyadda closed 2 years ago

zyadda commented 4 years ago

image

image

other commands appear to work such as nagios-listcluster & nagios-getconfig image

Can replicate on both windows docker toolbox and mac docker desktop

zyadda commented 4 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