• Recent
    • Tags
    • Popular
    • Register
    • Login
    1. Home
    2. djbakerman

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 8
    • Best 0
    • Controversial 0
    • Groups 0

    djbakerman

    @djbakerman

    0
    Reputation
    373
    Profile views
    8
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    djbakerman Unfollow Follow

    Latest posts made by djbakerman

    • RE: Http retriever and cookies

      I ended up using net-snmp locally on the box, and passing an exec command. Then via mango, use SNMP data source to query the values. An expensive hack, but works fine on a small scale.

      -Dan

      posted in User help
      D
      djbakerman
    • RE: Http retriever and cookies

      @mlohbihler said:

      I guess it should be easy enough to create a new data source that can initiate a process and then handle the results.

      I can write this, as I need it, and pass it back to you. I'll take a look at the vmstat and see how that goes.

      -Daniel

      posted in User help
      D
      djbakerman
    • RE: Http retriever and cookies

      The webserver is looking for a cookie, apparently that's how the server authenticates. Using the -b with curl sets the cookie variables, but passing the same variable as a get does not seem to work.

      Is there a place in source code to modify the retriever?

      Is there a place in data source to run a script every x minutes? I could easily write a perl script or shell script to run the curl and parse the results as an output.

      posted in User help
      D
      djbakerman
    • Http retriever and cookies

      Hello -

      Any way to pass post variables and/or cookie information for the http retriever data source?

      From the command line using curl, the string would look something like this:

      curl -b "device-id=anonymous" http://webserver.web.com/~abspath/%23ac-c1a-01?as=action-set&oldlocation=7

      Regards,

      Daniel

      posted in User help
      D
      djbakerman
    • RE: Http retriever and cookies

      Hello -

      Any way to pass post variables and/or cookie information for the http retriever data source?

      From the command line using curl, the string would look something like this:

      curl -b "device-id=anonymous" http://webserver.web.com/~abspath/%23ac-c1a-01?as=action-set&oldlocation=7

      Regards,

      Daniel

      posted in User help
      D
      djbakerman
    • RE: Server-side graphical view throws error, null pointer

      Sorry, but what do you mean "get meta points to work"? RE JavaScript environment, I tried on XP IE 7, MAC OS X with Safari and Firefox

      I've been playing around pretty heavy with point hierarchy, I will create a new data source and data point and try again.

      posted in User help
      D
      djbakerman
    • Server-side graphical view throws error, null pointer

      Hello -

      I'm unable to add a server-side component. The error "Error:" pops up when selecting a point. I've tried numerous points, the same points work when choosing analog graphic, other components.

      Running linux, java 1.6, tomcat 6, latest stable. Below is stack trace from catalina.out

      WARN 2009-10-04 14:40:20,265 (org.directwebremoting.util.CommonsLoggingOutput.warn:59) - --Erroring: batchId[7] message[java.lang.NullPointerException]
      ERROR 2009-10-04 14:40:20,641 (com.serotonin.web.dwr.ExceptionDetectionFilter.doFilter:29) - DWR invocation exception
      java.lang.NullPointerException
      at com.serotonin.mango.view.component.ScriptComponent.addDataToModel(ScriptComponent.java:75)

      ...

      WARN 2009-10-04 14:40:20,644 (org.directwebremoting.util.CommonsLoggingOutput.warn:67) - Method execution failed:
      java.lang.NullPointerException
      at com.serotonin.mango.view.component.ScriptComponent.addDataToModel(ScriptComponent.java:75)

      ...

      posted in User help
      D
      djbakerman
    • RE: Server-side graphical view throws error, null pointer

      Hello -

      I'm unable to add a server-side component. The error "Error:" pops up when selecting a point. I've tried numerous points, the same points work when choosing analog graphic, other components.

      Running linux, java 1.6, tomcat 6, latest stable. Below is stack trace from catalina.out

      WARN 2009-10-04 14:40:20,265 (org.directwebremoting.util.CommonsLoggingOutput.warn:59) - --Erroring: batchId[7] message[java.lang.NullPointerException]
      ERROR 2009-10-04 14:40:20,641 (com.serotonin.web.dwr.ExceptionDetectionFilter.doFilter:29) - DWR invocation exception
      java.lang.NullPointerException
      at com.serotonin.mango.view.component.ScriptComponent.addDataToModel(ScriptComponent.java:75)

      ...

      WARN 2009-10-04 14:40:20,644 (org.directwebremoting.util.CommonsLoggingOutput.warn:67) - Method execution failed:
      java.lang.NullPointerException
      at com.serotonin.mango.view.component.ScriptComponent.addDataToModel(ScriptComponent.java:75)

      ...

      posted in User help
      D
      djbakerman