cancel
Showing results for 
Search instead for 
Did you mean: 
Create a Post
Highlighted
GGiorgakis
Nickel

show different object name in logs

Dear Support Team,

I had an object name XXX with sample IP address 1.2.3.4.Then i create a new object with name ZZZZ and  IP address 1.2.3.4 and they didn't inform me that there was already created object.

By searching on object explorer i saw new object name ZZZZ for IP address 1.2.3.4.Then when i search in logs i saw name XXX.

 

Any advice how to resolve it?

 

 

0 Kudos
10 Replies

Re: show different object name in logs

I would suggest to delete the object with wrong IP.

0 Kudos
GGiorgakis
Nickel

Re: show different object name in logs

There wasn't exist. i also check in the GuiDBedit
0 Kudos
Maik
Silver

Re: show different object name in logs

Did you try to search for it via the management api/cli?
0 Kudos
GGiorgakis
Nickel

Re: show different object name in logs

Please provide commands please?
0 Kudos

Re: show different object name in logs

I would suggest to contact TAC - GuiDBedit manipulations can destroy very, very much, so it should not be used except when TAC provides the exact procedure...

0 Kudos
Maik
Silver

Re: show different object name in logs

Edit: Of course you need to be at least at R80 on the management side in order to have the mgmt api/cli. If you want to execute the below commands directly on the cli you need to add "mgmt_cli " in front of the command. You can simply use them 1:1 as mentioned (with the changed filter expression) should you want to execute them from the SmartConsole "Command Line".

 

> show objects filter "1.2.3.4"

from: 1
to: 3
total: 3
objects:
- uid: "42e9d144-afe7-4d9e-88dc-f027e2ca92e6"
name: "All_Internet"
type: "address-range"
domain:
uid: "41e821a0-3720-11e3-aa6e-0800200c9fde"
name: "SMC User"
domain-type: "domain"
ipv4-address-first: "0.0.0.0"
ipv4-address-last: "255.255.255.255"
- uid: "d5fe59ca-268a-423c-8941-d21af54f5f7e"
name: "Testhost1"
type: "host"
domain:
uid: "41e821a0-3720-11e3-aa6e-0800200c9fde"
name: "SMC User"
domain-type: "domain"
ipv4-address: "1.2.3.4"
- uid: "0d11ab6d-f3d1-4a66-a771-ca3a861a3bd2"
name: "Testhost2"
type: "host"
domain:
uid: "41e821a0-3720-11e3-aa6e-0800200c9fde"
name: "SMC User"
domain-type: "domain"
ipv4-address: "1.2.3.4"


Replace the filter argument "1.2.3.4" with the IP of your duplicated object. Once you have the result take note of the related UID of the entry that you want to delete. Afterwards execute the related delete command; e.g.:

delete host uid d5fe59ca-268a-423c-8941-d21af54f5f7e

Note: If the object is not one of the type "host" you need to change the related delete command respectively.

0 Kudos
GGiorgakis
Nickel

Re: show different object name in logs

Thank for the info but the issue is not solve i just verify that ZZZ exist and XXX not.
0 Kudos

Re: show different object name in logs

I would still suggest to contact TAC...

0 Kudos
Maik
Silver

Re: show different object name in logs

Well was worth a try - seems like something really messed up your database. Better contact TAC in order to get this resolved without any resulting issues
0 Kudos
GGiorgakis
Nickel

Re: show different object name in logs

Thanks for support..I will contact TAC
0 Kudos