I have an issue on brand, device type. I had created a new class under infrastructure (using this tutorial https://www.itophub.io/wiki/page?id=2_7_0%3Acustomization%3Aadd-class-sample#add_monitor_class_in_modeltype) in CMDB which is Firewall. But when I tried adding a device type/model and assigned it under firewall, it wont show up when I choose the Sophos brand. Upon checking the device type is listed undefined even though i've choosed the Firewall class. Anyone can help me with this issue?
Thank you
--
I've managed to saved the device type to firewall but the issue still persist, when I click the Brand "Sophos" no model shows up in drop down list.
Another thing I can think of, is that you'd need to add a dependency in your modules to the iTop module (included in the community edition) in which "model" is defined.
👍
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This is because of the filter constraint defined on the PhysicalDevice.model_id field.
So for me to change the value from PCFIFW to Firewall i just need to add an entry to the extension dictionary right?
This should work !
The dict key should be named like Class:<class_name>/Attribute:<attribute_code>/Value:<value>
There are plenty of examples in the default datamodel, like in datamodels/2.x/itop-config-mgmt/en.dict.itop-config-mgmt.php
For example Class:PhysicalDevice/Attribute:status/Value:implementation</value></attribute_code></class_name>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi All,
I have an issue on brand, device type. I had created a new class under infrastructure (using this tutorial https://www.itophub.io/wiki/page?id=2_7_0%3Acustomization%3Aadd-class-sample#add_monitor_class_in_modeltype) in CMDB which is Firewall. But when I tried adding a device type/model and assigned it under firewall, it wont show up when I choose the Sophos brand. Upon checking the device type is listed undefined even though i've choosed the Firewall class. Anyone can help me with this issue?
Thank you
--
I've managed to saved the device type to firewall but the issue still persist, when I click the Brand "Sophos" no model shows up in drop down list.
Last edit: Jayson Manaol 2020-11-04
It reminds me of a bug I once reported to Combodo in their example. Can you share the XML here? (or perhaps the extension on GitHub)?
Hi Jeffrey,
Here's the XML
Thanks
Last edit: Jayson Manaol 2020-11-04
In current specs, this should be
Another thing I can think of, is that you'd need to add a dependency in your modules to the iTop module (included in the community edition) in which "model" is defined.
Hi Jeffrey,
Thanks that fixed the problem! So for me to change the value from PCFIFW to Firewall i just need to add an entry to the extension dictionary right?
This is because of the filter constraint defined on the PhysicalDevice.model_id field.
This should work !
The dict key should be named like Class:<class_name>/Attribute:<attribute_code>/Value:<value>
There are plenty of examples in the default datamodel, like in datamodels/2.x/itop-config-mgmt/en.dict.itop-config-mgmt.php
For example
Class:PhysicalDevice/Attribute:status/Value:implementation
</value></attribute_code></class_name>Thanks Pierre, this solves my problem.