CMDB and library dependencies

Moderator: crythias

Post Reply
seberget
Znuny newbie
Posts: 3
Joined: 27 Nov 2012, 10:46
Znuny Version: 3.2.5
Real Name: Stein Erik Berget
Company: Vizrt

CMDB and library dependencies

Post by seberget »

Hi!
I'm running OTRS 3.1.11 with ITSM 3.1.8. (Will upgrade real soon now)

I've started to play around with the CMDB part of OTRS. What I really would like to do is to add all the Java Library dependencies our product line (we are a Java Software company) has into CMDB. Getting all of these into the CMDB is 'easy' by doing the import. The hard part is linking them. Is it possible to make the links from the import? As far as I can see from the manuals, and searching here, it don't seem to be the case...

I've now created a few CI for a few Jar files. Let's say I have the following:

client-core (5.4.4) ---> httpcache4j-core (3.4) ---> httpcache4j-storage-api (3.4)

I've used "depends on/required for" here. The number in () are the version from the CI record. Basically this says that client-core depends on httpcache4j-api to work.

First question. Is it possible to change a configuration so that the 'version' from the CI record is shown together with the name in searches? Or do I have to 'hack' the templates to make this work?

When the next version comes along we might end up in something like this:

client-core (5.4.5) ---> httpcache4j-core (3.4) ---> httpcache4j-storage-api (3.4)

That is we get a new CI that is 'client-core (5.4.5)' that depends on the same release of "httpcache4j-core" as the previous one. So we don't update the previous 'client-core' with a new version, as our customers still will be on the older release.

Have others done it like this?

Another thing that I find strange is that if I set 'httpcache4j-core' to 'incident', both 'client-core' and 'httpcache4j-storage-api' will get 'warning' set. I was expecting only 'client-core' to get this state.

Are there any configuration I can change to have that resolved? I've seen viewtopic.php?f=62&t=18024&p=70567&hili ... ion#p70567 and ccottet seems to have hit the same 'snag' as I've done.

I want to add our dependencies on artifacts in our CMDB to visualize our dependencies, and to get MTBF numbers to see if the quality of our dependencies are up to standards. It will also show us the risk, if we are to replace one with another library, or new release of one.
yuri0001
Znuny superhero
Posts: 631
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: CMDB and library dependencies

Post by yuri0001 »

Try a look on KIX4OTRS product :?
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
seberget
Znuny newbie
Posts: 3
Joined: 27 Nov 2012, 10:46
Znuny Version: 3.2.5
Real Name: Stein Erik Berget
Company: Vizrt

Re: CMDB and library dependencies

Post by seberget »

yuri0001 wrote:Try a look on KIX4OTRS product
I've had a quick look at that, but I can't see how that would help me in this situation. If you are not to busy, could you please explain to me which module in KIX4OTRS that would help me?

Is it so that the CMDB module of OTRS is never used?
tto
Znuny wizard
Posts: 315
Joined: 09 Jan 2007, 15:24
Znuny Version: OTRS 5.0.x
Real Name: Torsten
Company: c.a.p.e. IT GmbH
Location: Chemnitz
Contact:

Re: CMDB and library dependencies

Post by tto »

seberget wrote:
yuri0001 wrote:Try a look on KIX4OTRS product
I've had a quick look at that, but I can't see how that would help me in this situation. If you are not to busy, could you please explain to me which module in KIX4OTRS that would help me?

Is it so that the CMDB module of OTRS is never used?
Hi SEB,

as I understand you, you have trouble linkeing confing items upon import or without the quite complex handling in creating links between objects in OTRS. From this point of view you may give a try to the extension package ITSM-CIAttributeCollection, i.e. CI-attribute types "CIClassReference" and "ServiceReference". You find this package on our website or at OPAR:


http://www.cape-it.de/free-otrs-communi ... dules.html
http://opar.perl-services.de/bin/index. ... Collection - also gives a short doc on the attional attribute types

regards, T.
--
KIX 17.x (fork of OTRS)
Professional KIX-, or OTRS-integration, development and consulting by c.a.p.e. IT - http://www.cape-it.de
For questions and hints regarding KIX(4OTRS) please go to https://forum.kixdesk.com/
Bei Fragen und Hinweisen zu KIX(4OTRS) bitte an https://forum.kixdesk.com/ wenden.
seberget
Znuny newbie
Posts: 3
Joined: 27 Nov 2012, 10:46
Znuny Version: 3.2.5
Real Name: Stein Erik Berget
Company: Vizrt

Re: CMDB and library dependencies

Post by seberget »

Hi Torstein,
tto wrote: as I understand you, you have trouble linkeing confing items upon import or without the quite complex handling in creating links between objects in OTRS. From this point of view you may give a try to the extension package ITSM-CIAttributeCollection, i.e. CI-attribute types "CIClassReference" and "ServiceReference". You find this package on our website or at OPAR:
Had a look at it and I've tried to install it. Did not succeed, or at least OTRS thinks I've failed: ITSM-CIAttributeCollection 2.1.0 - Package not correctly deployed! Please reinstall the package.. When I look at the module itself I see these two lines:
  • ITSM-CIAttributeCollection.sopm
    CHANGES_ITSM-CIAttributeCollection
These two have a status that is status

Code: Select all

no file installed
. Is this expected behavior, or have I missed something?

With that written, I still don't really see how this will help me. Are you saying that I should use the (i) Use of the CI-Attribute "CIClassReference" and use that to make references to different java libraries? And do something like this:

Code: Select all

{
       Key        => 'DependsOn',
       Name       => 'Depends on Libraries',
       Searchable => 1,
       Input => {
           Type                           => 'CIClassReference',
           ReferencedCIClassName          => Software',
           ReferencedCIClassLinkType      => 'DependsOn',
           ReferencedCIClassLinkDirection => 'Normal',
       },
       CountMin => 0,
       CountMax => 10,
   },
I'm grateful for all help, this is really interesting!
tto
Znuny wizard
Posts: 315
Joined: 09 Jan 2007, 15:24
Znuny Version: OTRS 5.0.x
Real Name: Torsten
Company: c.a.p.e. IT GmbH
Location: Chemnitz
Contact:

Re: CMDB and library dependencies

Post by tto »

seberget wrote:Hi Torstein,
  • ITSM-CIAttributeCollection.sopm
    CHANGES_ITSM-CIAttributeCollection
These two have a status that is status

Code: Select all

no file installed
. Is this expected behavior, or have I missed something?
I guess your webserver user is not allowed to install files in directory /opt/otrs - it's a permission issue. We find, that CHANGES-files and the packages description belong there. For some reason the permissions are not set this way.

You can install the package with root user and set the directory permission afterwards for a workaround.
seberget wrote: With that written, I still don't really see how this will help me. Are you saying that I should use the (i) Use of the CI-Attribute "CIClassReference" and use that to make references to different java libraries? And do something like this:

Code: Select all

{
       Key        => 'DependsOn',
       Name       => 'Depends on Libraries',
       Searchable => 1,
       Input => {
           Type                           => 'CIClassReference',
           ReferencedCIClassName          => Software',
           ReferencedCIClassLinkType      => 'DependsOn',
           ReferencedCIClassLinkDirection => 'Normal',
       },
       CountMin => 0,
       CountMax => 10,
   },
Yes, that's pretty much it (if I understood your initial request right).

regards, T.
--
KIX 17.x (fork of OTRS)
Professional KIX-, or OTRS-integration, development and consulting by c.a.p.e. IT - http://www.cape-it.de
For questions and hints regarding KIX(4OTRS) please go to https://forum.kixdesk.com/
Bei Fragen und Hinweisen zu KIX(4OTRS) bitte an https://forum.kixdesk.com/ wenden.
seberget2
Znuny newbie
Posts: 74
Joined: 17 May 2013, 09:30
Znuny Version: 6.0.30
Real Name: Stein Erik Berget

Re: CMDB and library dependencies

Post by seberget2 »

tto wrote:Yes, that's pretty much it (if I understood your initial request right).
Yes you did! I've been a bit busy, sorry for not thanking you sooner! And as you can see I've lost my original User name in here :-(
OTRS 6.0.12 on Ubuntu with MySQL DB, and various plug-ins and a hack or two :-D
Post Reply