Nagios XI - Error while converting SVG
In Nagios XI, when saving a performance graph as a PNG, JPEG image you receive the following error:
Error while converting SVG
You may also see the following error logged in /var/log/httpd/error_log:
sh: ./phantomjs: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
The problem relates to the phantomjs libraries that are used to export the images to a file.
The resolution is to reinstall the phantomjs libraries on Nagios XI.
Establish a terminal session to your Nagios XI server and execute the following commands:
The output with either contain i686 or x86_64, this is required for the following file download.
Execute the following command to download the correct file:
wget phantomjs-1.9.8-linux-i686.tar https://assets.nagios.com/downloads/nagiosxi/packages/phantomjs-1.9.8-linux-i686.tar
wget phantomjs-1.9.8-linux-x86_64.tar https://assets.nagios.com/downloads/nagiosxi/packages/phantomjs-1.9.8-linux-x86_64.tar
Now execute the following commands to reinstall phantomjs:
tar xf phantomjs*.tar
After executing these commands the graphs should now export successfully to images.
For any support related questions please visit the Nagios Support Forums at:
|Posted by: tlea - Thu, Aug 3, 2017 at 3:24 AM. This article has been viewed 2214 times.|
|Online URL: https://support.nagios.com/kb/article/nagios-xi-error-while-converting-svg-736.html|
Powered by PHPKB (Knowledge Base Software)