cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
14249
Views
0
Helpful
3
Replies
Highlighted
Cisco Employee

DMo Server - Event not firing and general troubleshooting support

Hi,

My team is trying to set up a DMO server using the .ova (in the downloads section of https://developer.cisco.com/site/data-in-motion/discover/overview/) for an innovation project.  We have set up the VM successfully using Virtual box as detailed here in the installation guide.... https://developer.cisco.com/fileMedia/download/ebe9d5b0-4d0b-474d-a6a2-cffdb824cc7e

Second, we have set up a simple python web server on the same VM as the DMO, to prove that our sensor traffic from an Arduino is traversing on the network.  That much works fine.

Next, we created an event based rule on the DMO.  The problem is that our sensor data does not appear to be getting processed at all.  We are transmitting JSON data using HTTP.

We need some help figuring out what is going on.  I cannot find any instructions or details of how to obtain any logs from the DMO to explain why my event rule is not being executed, or any verbose logging options in either the installation guide or the API reference.

Additionally, during my efforts I have found that the "dm" process on the RedHat VM has exited unexpectedly and the webserver that serves up the UI on port 8000 for entering Rules is not accessible.  This means I need to reboot my VM.  So there are obviously stability issues, and I would like to know how I can get support when this happens.

Thanks,

Padraig

Some final notes.

1. Feel free to contact me directly if you need more details.

2. DMRoot/log/_dm_L_.0000 looks to contain some sort of logs, and I can see the text "License check passed" in here, so I don't believe I have a licnese issue.

3. I can also see that the DMRoot/mem folder is full of binary files, so it looks like some data is being recieved from the Arduino.

4. The JSON data that I am posting across the network using HTTP looks like this ... {"SensorValue": "160", "Voltage": "0.78", "Temperature(C)": "28.13"}

5. Attached is a screenshot of my Event Rule.

3 REPLIES 3
Highlighted
Cisco Employee

Hi Padraig,

You may check the below things. Hope it helps.

  • Check the config file of "dm.cfg" in DMRoot/cfg to make sure all the configuration are set correctly.
  • Check the dmo.log file in DMRoot/log/ to see what exact error it is.
  • Check the rule files in the folder of DMRoot/contexts to see the related rules are created successfully.
  • Check the process and listening port to see whether the DMo program is started successfully.

Steve

Highlighted

Hi Steve,

Thanks for your input.  I have checked all the bullet points above, and still cannot see where things are going wrong. :-(

  • Check the config file of "dm.cfg" in DMRoot/cfg to make sure all the configuration are set correctly.
    • Attached - I cannot see any trouble here.  It is identical to the version in the installation guide.
  • Check the dmo.log file in DMRoot/log/ to see what exact error it is.
    • Attached - no error reported here.  Licence check passed.  Note I see a reference to Timer Rules, but not Event Rules.  Is that a problem?
  • Check the rule files in the folder of DMRoot/contexts to see the related rules are created successfully.
    • Attached (terminal output - contexts.txt) - I cannot see anything wrong here either.
  • Check the process and listening port to see whether the DMo program is started successfully.
    • Attached (netstat,txt) - Shows dm process is up and ports open.

Any additional thoughts on why the product doesn't work, please let me know.

Thanks,

Padraig

Highlighted

It should be working well based on the installation guide of "https://developer.cisco.com/fileMedia/download/ebe9d5b0-4d0b-474d-a6a2-cffdb824cc7e". To do some troubleshooting, you may:

  • check the configure again based in the guide.
  • re-create the rules again, for example, pass all the information (without filtering) for testing, and then do some filtering. All the rules will be in the folder of "context".
  • You may create an Event rule for testing as well.
CreatePlease to create content
Content for Community-Ad
Cisco Community October 2020 Spotlight Award Winners
This widget could not be displayed.