fiware-orion

Orion Context Broker installation issue

流过昼夜 提交于 2019-12-11 06:19:38
问题 We are trying to install Orion Context Broker in a CentOS-7 virtual machine as recommended in this link: https://fiware-orion.readthedocs.io/en/master/admin/install/index.html When we run the step "yum install contextBroker", an HTTPS 404 error is obtained (please, see instalation log). Apparently, the repositories are not available. We can access to the URL https://nexus.lab.fiware.org/service/rest/repository/browse/el/7/x86_64/release/ from the virtual machine (see curl output) and our

Subscription in Orion Context Broker Fiware

妖精的绣舞 提交于 2019-12-11 06:13:12
问题 I try to send a subscription to my Orion Context Broker instance. I'm sending this JSON: { "duration": "P1M", "reference": "http://130.206.127.23:1026/ngsi10/notifyContext", "notifyConditions": [ { "condValues": [ "PT10s" ], "type": "ONTIMEINTERVAL" } ], "entities": [ { "id": "1.0", "type": "Capsule", "isPattern": "false" } ], "attributes": [ "temperature" ] } And I receive the next message: <subscribeContextResponse> <subscribeError> <errorCode> <code>400</code> <reasonPhrase>Bad Request<

pidfile '/var/log/contextBroker/contextBroker.pid' does not exist

扶醉桌前 提交于 2019-12-11 05:06:19
问题 I installed the new version of ContextBroker: curl localhost:1026/version { "orion" : { "version" : "1.2.1", "uptime" : "0 d, 0 h, 7 m, 58 s", "git_hash" : "af44fd1fbdbbfd28d79ef4f929e871e515b5452e", "compile_time" : "Thu Jun 16 15:46:51 CEST 2016", "compiled_by" : "fermin", "compiled_in" : "centollo" } } Then I installed the watchdog and verifying the file /var/log/contextBroker/monitBROKER.log , I encounter the following error: error : 'contextBroker' failed to start (exit status 1) -- /etc

How do I configure context broker accept post requests from my remote sensor?

落爺英雄遲暮 提交于 2019-12-11 04:36:07
问题 I have set my weather station with different sensors attached. My practice until now was to send the sensor data to a web address. But now that I have set up a CentOS 6.6 on a server with its IP address so now I want to send the sensor data directly to that machine that has orion context broker installed. So my question is, how do I configure orion context broker to accept these post requests (from the weather station sensors) that are being sent to the CentOS machine? 回答1: You shouldn't have

How I specify the Fiware-Service and Fiware-ServicePath fields at Orion that set the name of MySQL database and table in Cygnus?

一个人想着一个人 提交于 2019-12-11 03:04:44
问题 So far I have configured ContextBroker to send data to Cygnus which in turn saves data by default names in database. But what if I want to target a specific database with a specific table? I know I have to set: dbName=<fiware-service> tableName=<fiware-servicePath>_<entityId>_<entityType> I dont know where that file is, and I know it isnt in /etc/sysconfig/contextBroker because that folder doesnt exist. EDIT1: here is my updatecontext: (curl localhost:1026/NGSI10/updateContext -s -S --header

Connecting Orion Context Broker from another machine

天涯浪子 提交于 2019-12-11 02:28:16
问题 I can't connect to ContextBroker from another machine, even a machine in the same LAN. Accessing by ssh without any problem ssh geezar@192.168.1.115 and then curl localhost:1026/statistics the terminal shows the statistics, all right <orion> <xmlRequests>3</xmlRequests> <jsonRequests>1</jsonRequests> <updates>1</updates> <versionRequests>1</versionRequests> <statisticsRequests>2</statisticsRequests> <uptime_in_secs>84973</uptime_in_secs> <measuring_interval_in_secs>84973</measuring_interval

Orion does not notify Cygnus (timeout error)

浪子不回头ぞ 提交于 2019-12-11 02:25:17
问题 Orion appears not to be able to reach Cygnus, and gives the following warning (I have hidden the IP's): WARNING@13:33:21 AlarmManager.cpp[303]: Raising alarm NotificationError Y.Y.Y.Y:5050/notify: (curl_easy_perform failed: Timeout was reached) I first created an entity, then made a subscription, and subsequently updated the entity. For information, here is the entire debug logging from startup of the contextBroker: INFO@13:31:51 contextBroker.cpp[1808]: Startup completed INFO@13:32:51

Fiware: configure orion context broker port

蓝咒 提交于 2019-12-11 02:05:18
问题 I'm using Orion Context Broker but the default port is not valid in my organization (a firewall is filtering out 1026 for external connections). How can I change the Orion Context Broker default port? 回答1: You can change the Orion Context Broker service port using the -port command line option. For example, if you want to use port 9999, run contextBroker using the following: contextBroker ... -port 9999 Check the Orion Context Broker administration manual for details. 来源: https:/

Why cepheus don't send int without quotes to orion?

强颜欢笑 提交于 2019-12-11 00:04:25
问题 In this question I have a problem that the orion conditions were not satisfied but it was solved by removing the quotes on the especial value Why this orion subscription don't works as I want? The new problem is that when I process an event with cep that calculates the mFlag int attribute it send it to orion but apparently it is send with the quotes (same problem as described in the related question posted before) because the orion entity is changed but the notification is not triggered. The

Fiware Cygnus: no data have been persisted in CKAN

不想你离开。 提交于 2019-12-10 22:45:00
问题 I am trying to use cygnus with CKAN, but no data have been persisted in CKAN when the attribute is JSON type. First, I send information to Orion: Accept: application/json X-AUTH-TOKEN: <mytoken> Fiware-Service: PapelClubDemo Fiware-ServicePath: /events/leonliterario { "contextElements": [ { "type": "Events", "isPattern": "false", "id": "thisweek", "attributes": [ { "name": "schedule", "type": "json", "value": [{"title": "Presentación Viva Mi Gente","date": "2015-11-30","location": "Salón de