mirror of https://github.com/bonobonet/website.git
network/
- Removed `index.md` - Added `monitoring.md` with notes on setting up the JSON-RPC module for unrealircd
This commit is contained in:
parent
bb86dec32b
commit
0ba31e57cc
|
@ -1,2 +0,0 @@
|
|||
Network
|
||||
=======
|
|
@ -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
|
Loading…
Reference in New Issue