0
Answered

Error 2000 cannot execute PhantomJS.

developers 7 years ago updated by pavel gerion (Here to help) 7 years ago 1

Good Day,


I created a new full page monitor for my website which uses the local monitoring agent, and 2 monitoring locations, which are US-Dallas and JP-Tokoyo. Successful responses are received from the US-Dallas, and JP-Tokoyo locations, but the local monitoring agent returns an error 2000: Cannot Execute phantomJS. 


Based on my checks the local agent is running correctly, as evident from the connection on the anturis agents and locations page, and from the log file /opt/anturis/log/agent-service.log which show Info and Warning messages.


Can you tell me what the Error 2000 Cannot Execute PhantoJS means and provide some recommendations to resolve it?


Thanks

Amir Mohammed

Answer

Answer
Answered

Hello,


For such type of monitor you can only use the Linux agent. I'm also attaching the instruction to set it up:

Disclaimer: the following guide is for test purposes only. In case it does not work, we can not investigate such issues.


1. Install Fontconfig (the package fontconfig or libfontconfig, depending on the distribution) on server with private agent
2. Download PhantomJS http://phantomjs.org/download.html  on server with private agent
3. Extract phantomjs binary and copy it to system PATH
After this steps full page monitor will work from private agent.


Answer
Answered

Hello,


For such type of monitor you can only use the Linux agent. I'm also attaching the instruction to set it up:

Disclaimer: the following guide is for test purposes only. In case it does not work, we can not investigate such issues.


1. Install Fontconfig (the package fontconfig or libfontconfig, depending on the distribution) on server with private agent
2. Download PhantomJS http://phantomjs.org/download.html  on server with private agent
3. Extract phantomjs binary and copy it to system PATH
After this steps full page monitor will work from private agent.