Menu

#157 Cant access ip objects after ip lookup import

3.2.1 Standalone
closed
Xtophe38
None
2024-12-18
2024-12-16
Anonymous
No

Hi,

i installed a new instance of teemip in Version 3.2.1 Standalone. So far so good everything was working.
After i setup the Collector for Ping and IP Lookup i cann't access any IP object witch was discovered by IP Lookup (see error below). After turning off IP lookup and start a new discover, everything is working again. Am i missing some settings or do i setup something wrong?

OL9
TeemIP Version 3.2.1-2412
MariaDB 11.6.2
PHP 8.2.25
Apache/2.4.62

http://XXXX.local:8080/teemip/pages/UI.php?operation=details&class=IPv4Address&id=11&c[menu]=IPv4Address

Result:
iTop: An error occurred, check server error log for more information.

log/error.log

2024-12-16 15:59:56 | Warning | 1 | Module itop-object-copy - invalid rule #child_userrequest - dest_class "UserRequest" is not a valid class | IssueLog |||
2024-12-16 15:59:56 | Warning | 1 | Module itop-object-copy - invalid rule #userrequest_from_person - dest_class "UserRequest" is not a valid class | IssueLog |||
2024-12-16 15:59:56 | Warning | 1 | Module itop-object-copy - invalid rule #userrequest_from_ci - dest_class "UserRequest" is not a valid class | IssueLog |||
2024-12-16 15:59:56 | Warning | 1 | Module itop-object-copy - invalid rule #userrequest_from_log - dest_class "UserRequest" is not a valid class | IssueLog |||
2024-12-16 15:59:56 | Warning | 1 | Module itop-object-copy - invalid rule #MailInboxStandardToMailInboxOAuth - dest_class "MailInboxOAuth" is not a valid class | IssueLog |||
2024-12-16 15:59:56 | Error | 1 | Uncaught Error: Class "TeemIp\TeemIp\Extension\NetworkManagement\Model\Domain" not found in /var/www/html/teemip/env-production/teemip-network-mgmt/src/Model/_Domain.php:99
Stack trace:
#0 /var/www/html/teemip/env-production/teemip-ip-mgmt/src/Model/_IPAddress.php(666): TeemIp\TeemIp\Extension\NetworkManagement\Model_Domain::GetDomainFromFqdn()
#1 /var/www/html/teemip/env-production/teemip-ip-discovery/model.teemip-ip-discovery.php(228): TeemIp\TeemIp\Extension\IPManagement\Model_IPAddress->DoCheckToExplodeFQDN()
#2 /var/www/html/teemip/application/utils.inc.php(1608): TeemIpIPDiscovery::EnumItems()
#3 /var/www/html/teemip/application/displayblock.class.inc.php(2193): utils::GetPopupMenuItemsBlock()
#4 /var/www/html/teemip/application/cmdbabstract.class.inc.php(443): MenuBlock->GetRenderContent()
#5 /var/www/html/teemip/application/cmdbabstract.class.inc.php(1117): cmdbAbstractObject->DisplayBareHeader()
#6 /var/www/html/teemip/pages/UI.php(446): cmdbAbstractObject->DisplayDetails()
#7 {main}
thrown | IssueLog |||
array (
'type' => 1,
'file' => '/var/www/html/teemip/env-production/teemip-network-mgmt/src/Model/_Domain.php',
'line' => 99,
)

Kind regards

Discussion

  • Xtophe38

    Xtophe38 - 2024-12-17

    Hello,

    Indeed ! I can reproduce your issue. Thanks for the warning. Let me have a look at it...

     
  • Xtophe38

    Xtophe38 - 2024-12-17

    Fixed. I pushed the corrected file teemip-core-ip-mgmt/teemip-network-mgmt/src/Model/_Domain.php to GitHub. It will be, of course, included in next 3.2.2 TeemIp revision.

     
  • Xtophe38

    Xtophe38 - 2024-12-17
    • assigned_to: Xtophe38
    • Milestone: 3.2.0 Standalone --> 3.2.1 Standalone
     
  • RiWa

    RiWa - 2024-12-17

    Hello Xtophe38,

    i deployed the fixed version and now everything is working.
    Thank you so much for the quick response.

    Kind regards

     
  • Xtophe38

    Xtophe38 - 2024-12-18
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB