Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nibalizer/tincstat

Microservice that provides tinc status in json
https://github.com/nibalizer/tincstat

Last synced: 2 months ago
JSON representation

Microservice that provides tinc status in json

Awesome Lists containing this project

README

        

# Tinc Status Server

## API Usage

### Uptime

Get some basics of the tinc daemon, must be run as the user of tinc

Resource: /tincstat
Method: GET

#### Curl Example
```
curl -i http://127.0.0.1:9000/tincstat
```

Response

```
HTTP/1.1 200 OK
Content-Type: application/json
Date: Tue, 17 Dec 2013 00:57:36 GMT
Content-Length: 111

{
"total_bytes_in": 115324,
"total_bytes_out": 67990,
"connections": [
{
"name": "some_random_node",
"ip": "192.0.2.15",
"port": 2003
}
]
}

```