node --version
v8.2.1

It works as the user from the command line but when its run in nagios as a 
check it fails. I have the geckodriver in the path and I updated the 
webdriver. 
Any ideas? 

/usr/lib64/nagios/plugins/node_modules/selenium-webdriver/lib/promise.js:2634
throw error;
^
\nWebDriverError: connection refused
at Object.throwDecodedError 
(/usr/lib64/nagios/plugins/node_modules/selenium-webdriver/lib/error.js:497:15)
at parseHttpResponse 
(/usr/lib64/nagios/plugins/node_modules/selenium-webdriver/lib/http.js:519:13)
at doSend.then.response 
(/usr/lib64/nagios/plugins/node_modules/selenium-webdriver/lib/http.js:441:30)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
From: Task: WebDriver.createSession()
at Function.createSession 
(/usr/lib64/nagios/plugins/node_modules/selenium-webdriver/lib/webdriver.js:769:24)
at Function.createSession 
(/usr/lib64/nagios/plugins/node_modules/selenium-webdriver/firefox/index.js:571:41)
at createDriver 
(/usr/lib64/nagios/plugins/node_modules/selenium-webdriver/index.js:170:33)
at Builder.build 
(/usr/lib64/nagios/plugins/node_modules/selenium-webdriver/index.js:645:16)
at Object.<anonymous> (/usr/lib64/nagios/plugins/search.js:7:6)
at Module._compile (module.js:569:30)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:503:32)
at tryModuleLoad (module.js:466:12)
at Function.Module._load (module.js:458:3)

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/135109cb-9852-4394-a964-33d6d80112e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to