Pandora FMS community forums
Add flag in UI settings to suppress "PhantomJS is not installed" warning. - Printable Version

+- Pandora FMS community forums (http://pandorafms.org/forum)
+-- Forum: Pandora FMS (http://pandorafms.org/forum/forum-3.html)
+--- Forum: Suggestions and new feature request (http://pandorafms.org/forum/forum-12.html)
+--- Thread: Add flag in UI settings to suppress "PhantomJS is not installed" warning. (/thread-15370.html)



Add flag in UI settings to suppress "PhantomJS is not installed" warning. - JonRussell - 08-05-2020

Hi,

Would it be possible to add a flag in the UI settings to suppress the "PhantomJS is not installed" warning ?

I don't need PhantomJS so I haven't installed it, so I get warning every time I update or reboot.

I usually go in to the code and comment out the test in the PHP. It would be nice if there was a flag in the UI config that tells the server not to check if PhantomJS is installed ?

Thanks.
Jon.


RE: Add flag in UI settings to suppress "PhantomJS is not installed" warning. - Jimmy_Olano - 08-05-2020

Good day! How do you do?

Here my opinion (just that: an opinion)

PhantomJS is a very important component inside Pandora FMS, even is listed in "General Settings" with other very high settings as "Automatically check for updates" and "Use SSL certificates":

https://pandorafms.com/docs/images/1/11/Pandora_generalsetup1.png

Instructions for install it (we must fix some URL's at Wiki PFMS ):

https://pandorafms.com/docs/index.php?title=Pandora:Documentation_en:Installing#Phantomjs_.2F_PDF_reports_special_install

I am thinking -maybe- about a class that works for every user for set their preferences. Of course such class must create own table at database for remember every user's preference. Hard but not impossible.

Bye, have a nice day everyone!