Fixes in README

This commit is contained in:
Antonio de la Rosa 2021-11-13 17:14:43 +01:00
parent aacfa5052b
commit 8a00167560
2 changed files with 19 additions and 0 deletions

View file

@ -96,4 +96,23 @@ There other options how I/O where you can define a file log for check errors if
All's done!, you can init your service with **nssm start MonitService** and let's go.
# Developing plugins.
You can add simple python scripts how plugins for add new collections to your data.
The python scripts need have the next structure:
```python
def stat(obj_stats):
obj_stats['test_data']={'pos': 0}
return obj_stats
```
You define a function with name *stat* and arguments *obj_stats*
*obj_stats* is a python object. You can add new data or manipulate original collected data for your own proposites.

View file