[Reconnoiter-users] How to access the REST interface

Rui Lopes rgl at ruilopes.com
Wed Mar 17 08:43:28 EDT 2010


How can we access the REST interface?

>From the docs [0], this should be something like:

  curl --cert test/client.crt --key test/client.key

But for some reason that fails. I've also tried to use netcat (nc
localhost 43191), but the connection is immediately disconnected; I've
tried to disable SSL by modifying:

  <listener type="control_dispatch" address="*" port="43191" ssl="off">

I can now connect using netcat, but if I try to issue the HTTP
request, it does not work.

Any idea how to make it work?

BTW, I'm using todays trunk version. And I'm using the default noitd
configuration, except the checks section, which is:

<checks max_initial_stutter="30000" filterset="default">
    <local timeout="4000" period="5000" target="">
        <check uuid="f7cea020-f19d-11dd-85a6-cb6d3a2207dc" module="selfcheck"/>
        <check uuid="1b4e28ba-2fa1-11d2-883f-b9b761bde3fb" module="ping_icmp"/>
        <check uuid="1cddb2a8-76ff-11dd-83c8-f75cb8b93bd9" module="ssh2"/>


Best regards,
Rui Lopes

[0] https://labs.omniti.com/docs/reconnoiter/noitd.wire.protocol.html#id322454

More information about the Reconnoiter-users mailing list