Hello, I managed to successfully test my GEi using the command below: /usr/lib/nagios/plugins/check_http -H iot-discovery.lab.fiware.org --port=80 --onredirect=follow --url=/s2w/ --header=X-Auth-Token:Fe2rv78 xwhcYE-EY6C84Koyg_VAWTMm_ULzsBS73sNZjEZTx6VQkYoMRa83v3CO4_Ea2U04HbVxZoFLXHkQrAw The issue is that my GEi works behind the PEP proxy (via port 80). Therefore I need to feed the keyrock token in the test. Should I also specify this in the config files, if so where? Best regards, Tarek From: Elsaleh T Mr (Electronic Eng) Sent: 13 March 2015 16:22 To: 'fiware-monitoring at lists.fi-ware.org' Subject: testing with Nagios plugin for IoT Discovery global instance Hello, I am trying to test the following command but I get an error: /usr/lib/nagios/plugins/check_http -H iot-discovery.lab.fiware.org -k X-Auth-Token=Fe2rv78xwhcYE-EY6C84Koyg_VAWTMm_ULzsBS73sNZjEZTx6VQkYoMRa83v3CO4_Ea2U04HbVxZoFLXHkQrAw --port=80 --onredirect=follow --url=/ HTTP CRITICAL - No data received from host Even though I have tested using a REST client and it works. Would you know what I am doing wrong here? Best regards, Tarek -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.fiware.org/private/fiware-monitoring/attachments/20150314/12c929a0/attachment.html>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy