diff --git a/HOWTO.md b/HOWTO.md index dffea2a30f7598b4c33fad684dbbe78a7f334c8f..bcbdf7f1ef3292bbd0cdf91e8d742b227dc50202 100644 --- a/HOWTO.md +++ b/HOWTO.md @@ -1,11 +1,13 @@ -### How to +# How to -1. create credentials for the Cisco Suport API [Cisco Support APIs](https://apiconsole.cisco.com/supportapis) via the [Cisco API Console](https://apiconsole.cisco.com/) +1. create credentials for the [Cisco Support APIs](https://apiconsole.cisco.com/supportapis) via the [Cisco API Console](https://apiconsole.cisco.com/) 1. add these credentials to the Cisco LifeCycle config file `~/etc/ciscoapi/ciscoapi.json` 1. add a cronjob for the background plugins to fetch the data from the Cisco database -1. let the HW/SW inventory pick up the data +1. Wait for the background tools to fetch the data + +--- +### CISCO Support APIs/Cisco API Console -## CISCO Support APIs/Cisco API Console You need to have access to the [Cisco Support APIs](https://apiconsole.cisco.com/supportapis) via the [Cisco API Console](https://apiconsole.cisco.com/). There you need to create credentials for the plugin to work. These credentials need to have access to - **Bug API** @@ -15,7 +17,8 @@ You need to have access to the [Cisco Support APIs](https://apiconsole.cisco.com - **Software Suggestion API** - **PSIRT API** -## Adjust the Cisco LifeCycle config file +--- +### Adjust the Cisco LifeCycle config file If you have your credentials you need to adjust the config file for the Lifecycle plugin. @@ -63,7 +66,8 @@ If you have your credentials you need to adjust the config file for the Lifecycl } ``` -## Create a cronjob for the background tools +--- +### Create a cronjob for the background tools Last step is to create a cron job for the plugin to fetch the data from the Cisco database. I tend to let it run every hour. @@ -79,4 +83,7 @@ Don't forget to restart the cmk crond omd restart crontab crontab ``` -## Now wait for the background plugins to fetch the data, if the have, the cmk inventory plugins will pick them up in the next cycle. +--- +### Now wait for the background plugins to fetch the data + +If the have, the cmk inventory plugins will pick them up in the next cycle.