Hi there!
Some background first. We have several servers running in different AWS regions. So I want to register these servers in the OTRS CMDB (6.0.4). So I use Amazon Web Services - EC2 as vendor. When I now select Model I would like it to be a list of the different instance types EC2 have available. I would also like that this selection also prepopulate the CPU, Ram and Hard disk and maybe other fields.
During normal operations we also change the instance type, and then we also would like it to change.
So how to make this happen. Would the best idea be to create a set of template Configuration Items that represent the different AWS Instance types? Listen to CI change events for the Model field and then merge the information from the template with the real CI. And then combine this with some ACL to make sure the fields from the template are not editable by a user in the UI.
Have any of you other ideas on how to do this?
Have a happy day!
Developing some CMDB automation
-
- Znuny newbie
- Posts: 74
- Joined: 17 May 2013, 09:30
- Znuny Version: 6.0.30
- Real Name: Stein Erik Berget
Developing some CMDB automation
OTRS 6.0.12 on Ubuntu with MySQL DB, and various plug-ins and a hack or two
-
- Znuny superhero
- Posts: 890
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Developing some CMDB automation
Hello seberget2,
how does the process look where you need the CPU, RAM and hard disk information?
An alternative would be to keep the EC2 linked fields empty and dynamically display the details on the screen where you need them.
Therefore you could create an admin module where you link the EC2 instance types with the corresponding technical information.
Best regards
Emin
how does the process look where you need the CPU, RAM and hard disk information?
An alternative would be to keep the EC2 linked fields empty and dynamically display the details on the screen where you need them.
Therefore you could create an admin module where you link the EC2 instance types with the corresponding technical information.
Best regards
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Developing some CMDB automation
Two possible solutions come to my mind:
*) You could create ConfigItem-Event module that does the listen to the VersionAdd event and does an API request to the AWS-API based on the name of the item. That module
*) Create dynamic fields that get the information from the API with https://opar.perl-services.de/dist/Dyna ... nAPI-5.0.1 . Define CI attributes based on DynamicFields with https://opar.perl-services.de/dist/ITSM ... tion-5.0.3 .
*) You could create ConfigItem-Event module that does the listen to the VersionAdd event and does an API request to the AWS-API based on the name of the item. That module
*) Create dynamic fields that get the information from the API with https://opar.perl-services.de/dist/Dyna ... nAPI-5.0.1 . Define CI attributes based on DynamicFields with https://opar.perl-services.de/dist/ITSM ... tion-5.0.3 .
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de