To my surpise the installer immediately exited with "It looks like Nagios Network Analyzer is already installed." although some installed.<step> files were not yet created.Running 'install_cron'...
install_cron step completed OK
Running 'wkhtmltopdf'...
./fullinstall: line 315: wget: command not found
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios Enterprises technical support.
The step that failed was: 'wkhtmltopdf'
I had to remove line 667 from libinstall.sh that reads "exit 0" to continue fullinstall.
To my surprise the installer exits fullinstall script when I run it again because /usr/local/nagiosna is present.
Could you please improve fullinstall logic?do_install_check() {
# Check if NNA is already installed
if [ -d "/usr/local/nagiosna" ]; then
echo "It looks like Nagios Network Analyzer is already installed."
exit 0
fi
Thanks in advance, Jørgen van der Meulen