- Removed `index.md`
- Added `monitoring.md` with notes on setting up the JSON-RPC module for unrealircd
This commit is contained in:
Tristan B. Velloza Kildaire 2023-04-02 12:39:56 +02:00
parent bb86dec32b
commit 0ba31e57cc
2 changed files with 37 additions and 2 deletions

View File

@ -1,2 +0,0 @@
Network
=======

View File

@ -0,0 +1,37 @@
Monitoring
==========
You can setup monitoring of your node with OpenBNET which is our custom written monitoring software for thew `unrealircd` daemon.
## Configuring JSON-RPC
The way in which OpenBNET communicates with the `unrealircd` daemon is via a JSON-RPC HTTP socket, however this is not enabled by default in unrealircd, therefore one must enable it by including this piece of configuration in a new file named `openbnet.conf`:
```
/* Load the JSON-RPC modules */
include "rpc.modules.default.conf";
/* Setup a block to listen for RPC calls */
listen
{
ip 127.0.0.1;
port 8001;
options { rpc; }
}
/* Set authentication details */
rpc-user apiuser
{
match { ip *; }
password "password";
}
```
Once this file has been created you can place the following at the end of your `unrealircd.conf` file:
```
/* Support for OpenBNET NG */
include "openbnet.conf";
```
Now save this file and reload your unrealircd daemon