Prozzie, the Wizzie Data Platform Collector
This project is maintained by wizzie-io
Hosted on GitHub Pages — Theme by orderedlist
In order to setup SNMP polling in prozzie, is advisable to add all snmp agents
to SENSORS_ARRAY
environment variable before use monitor setup, using
the format described in
monitor readme.
For example:
MONITOR_SENSORS_ARRAY='{"sensor_id":1,"timeout":2000,"sensor_name": "my-sensor","sensor_ip": "172.18.0.1","snmp_version":"2c","community" : "public","monitors": [{"name": "mem_total", "oid": "HOST-RESOURCES-MIB::hrMemorySize.0", "unit": "%"}]}'
To configure SNMP you can use prozzie config setup snmp
To listen for snmp in a specific port you have to use the TRAPS_PORT
environment variable. This variable is defined in docker-compose yaml file with port number 162
by default.
You can check that messages are properly delivered using prozzie kafka consume <your-monitor-topic>
.
Monitor connector includes all net-snmp mibs distributed MIBs. If you want to add more, the easier way is to set the MONITOR_CUSTOM_MIB_PATH variable. When you set it, the next things happens:
monitor_custom_mibs
, nothing happens.Internally, all variables are added to prozzie_monitor_custom_mibs
volume.
The procedure to delete old MIBs is to manually mount the volume in a temporary
container and delete it:
docker run --rm -it -v prozzie_monitor_custom_mibs:/mibs --workdir /mibs alpine sh
25
monitor
monitor_custom_mibs
''