Collection of CheckMK checks (see https://checkmk.com/). All checks and plugins are provided as is. Absolutely no warranty. Send any comments to thl-cmk[at]outlook[dot]com

Skip to content
Snippets Groups Projects
Commit e76533f2 authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

Update HOWTO.md

parent 6e1faf4a
No related branches found
No related tags found
No related merge requests found
### 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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment