Healthbot files management (rules, playbooks, functions, tables and views) with Python - ksator/junos_monitoring_with_healthbot GitHub Wiki
The directory tables_and_views has tables and views examples
The directory rules has rules examples
The directory playbooks has playbooks examples
The directory functions has functions examples
We will see how to load files (rules, playbooks, functions, tables and views) to healthbot using healthbot API with python
requirements
$ pip install requests
$ pip install pyyaml
update this file with healthbot ip address and credentials
$ vi add_files_to_healthbot.py
Run this command to load these tables and views, functions, rules and playbooks to your healthbot
$ python add_files_to_healthbot.py