• D
    djbakerman

    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 read more
  • D
    djbakerman

    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 read more
  • D
    djbakerman

    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 read more
  • D
    djbakerman

    @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 read more
  • D
    djbakerman

    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 read more
  • D
    djbakerman

    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 read more
  • D
    djbakerman

    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 read more