This is a cache of https://support.nagios.com/kb/article/nagios-xi-error-while-converting-svg-736.html. It is a snapshot of the page at 2025-05-12T01:10:27.132+0000.
Nagios XI - Error while converting SVG
Home » Categories » Products » Nagios XI » Troubleshooting » Common Problems

Nagios XI - Error while converting SVG

Problem Description

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.

 

 

Resolution

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:

cd /tmp
rm -rf phantomjs*
uname -a

 

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:

i686

wget phantomjs-1.9.8-linux-i686.tar https://assets.nagios.com/downloads/nagiosxi/packages/phantomjs-1.9.8-linux-i686.tar

 

x86_64

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
mkdir -p /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp
/bin/cp -f phantomjs*/bin/phantomjs /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/
chown -R nagios:nagios /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server
chmod 775 /usr/local/nagiosxi/html/includes/components/highcharts/exporting-server/temp

 

After executing these commands the graphs should now export successfully to images.

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - HTTP 500 Error / PHP Parse error - Unexpected $end
Viewed 6986 times since Mon, Jan 25, 2016
Nagios XI - Disabling Database UTF8 Connectivity
Viewed 5515 times since Thu, Mar 8, 2018
Nagios XI - Problems with $ Signs in the Check Command
Viewed 8680 times since Tue, Jan 26, 2016
Nagios XI - How To Test Check Commands From The Command-line
Viewed 49075 times since Tue, Jan 26, 2016
Nagios XI - SQL Error [nagiosxi] : ERROR: syntax error
Viewed 8327 times since Sun, Sep 10, 2017
Nagios XI - Windows Memory Usage - Physical
Viewed 18519 times since Tue, Jan 26, 2016
Upgrading to NDO 3 after having been downgraded in newer versions of Nagios XI
Viewed 4312 times since Fri, Jan 15, 2021
Nagios XI - Scheduled Downtime Not Working
Viewed 7952 times since Mon, Oct 10, 2016
Disabling Port 113 IDENT Requests
Viewed 6024 times since Tue, Mar 12, 2019
Nagios XI - Bandwidth graphs Showing 0Mb/s in Non-English Systems
Viewed 7503 times since Fri, Dec 19, 2014