From e76533f29d1e131c9a786716b04c7f6f2e150dc3 Mon Sep 17 00:00:00 2001 From: thl-cmk <thl-cmk@outlook.com> Date: Mon, 23 Dec 2024 11:15:39 +0000 Subject: [PATCH] Update HOWTO.md --- HOWTO.md | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/HOWTO.md b/HOWTO.md index dffea2a..bcbdf7f 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. -- GitLab