2024-09-01 11:34:49 +00:00
|
|
|
# jilo-agent
|
|
|
|
|
2024-09-02 20:09:42 +00:00
|
|
|
## overview
|
|
|
|
|
2024-09-02 18:43:49 +00:00
|
|
|
Jilo Agent - a remote agent for Jilo Web
|
|
|
|
|
|
|
|
Initial version is in PHP.
|
|
|
|
|
|
|
|
The current version is in "go" folder and is in Go.
|
2024-09-02 20:09:42 +00:00
|
|
|
|
|
|
|
## license
|
|
|
|
|
|
|
|
This project is licensed under the GNU General Public License version 2 (GPL-2.0). See LICENSE file.
|
|
|
|
|
|
|
|
## installation
|
|
|
|
|
|
|
|
Clone the git repo.
|
|
|
|
|
|
|
|
Build the agent:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
go build -o jilo-agent main.go
|
|
|
|
```
|
|
|
|
|
|
|
|
## configuration
|
|
|
|
|
|
|
|
The config file is "jilo-agent.json", in the same folder as the "jilo-agent" binary.
|
|
|
|
|
|
|
|
## usage
|
|
|
|
|
|
|
|
Run the agent
|
|
|
|
|
|
|
|
```bash
|
|
|
|
./jilo-agent
|
|
|
|
```
|
|
|
|
|
|
|
|
Send queries to its port (by default 8080, configurable in jilo-agent.json):
|
|
|
|
|
|
|
|
```bash
|
|
|
|
curl -s http://localhost:8080/nginx
|
|
|
|
curl -s http://localhost:8080/jicofo
|
|
|
|
etc...
|
|
|
|
```
|