Skip to content
This repository has been archived by the owner on Apr 24, 2019. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Fesk
  • Loading branch information
arvearve committed Sep 24, 2014
1 parent 215f9aa commit 0903976
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ lists servers based on pings to its API. The servers themselves need to report
to be shown in the list. However, it is not necessary to attach more than hostname
and a username in the POST request.

If more than 15 minutes pass without a report, your server will show up as dead.

### Reporting
The easiest way to report to Census is to set up a cron job that reports every ten mintues to Census.
```bash
curl -X POST http://census.abakus.no/api/report --data "hostname=<hostname>&username=<username>"
curl -X POST https://census.abakus.no/api/report --data "hostname={hostname}&username={username}"
```

## Setup
Expand Down

0 comments on commit 0903976

Please sign in to comment.