Skip to content

Extending the App

To discuss new features or report bugs for this App, please contact us through the Network to Code customer portal.

Extending Troubleshooting

1) Add a troubleshooting_checks/troubleshooting_check.yaml file - Use date.yaml as an example. This will use the existing entry_point, subprocess_run.py, to run a command against the OS. - Use nautobot_server_jobs.yaml as an example. This will use the existing entry_point, subprocess_run.py, as well as a nautobot-server command troubleshooting_check_jobs.py to run. This example also provides the option to add a json payload for entry_point options.

2) Add a entry_point.py file - Use troubleshooting_checks/subprocess_run.py as an example. You will then need a troubleshooting_check.yaml file to pass data into that entry_point.

3) Edit functionality of the troubleshooting.py main script. Please exercise caution here as we will want to ensure backwards compatibility.

4) Add new jobs to jobs/troubleshooting.py. This improves the GUI functionality of Troubleshooting in a running Nautobot instance.