CI not binding based on MAC Address in Event Management generated Alert

odinx16
Kilo Contributor

Hello,

 

I am trying to use the Default CI Binding, but using the MAC Address as Node. (OOB documentation says that it accepts CI name, FQDN, IP or MAC for Host CIs). (this is in a personal instance)

The node is set with the Mac Address value, and I have a Wireless Access Point with that same MAC set. I have tried also setting it to a computer (same results). The created event does not identify the CI:

Binding alert CI process flow:
Node is MAC address
Node was not found, checking by name
Event CI type is empty
No CI found for binding (Failed to resolve the event node to CI id)
Binding Failure Reason: Failed to find the host with name: 5c5b350eabcf

Domain is global for both event and CI.  I have attached some screenshots of an event generated, its alert and part of the event rule. Binding is default. 

Thanks in advance for any suggestions.

Nick

1 ACCEPTED SOLUTION

robertgeen
Tera Guru

Can you show a screenshot of the CI? That mac address needs to be in a network adapter that is associated to the device not the mac_address field on the CI. Often things can get complicated as it expects discovery to be in place and when you don't have it in place chances are you don't have the proper data in the right fields. If you have it flattened at the hardware level then I would suggest overriding the binding and do it on cmdb_ci_hardware table and by attribute and then match your node fields into mac_address (or the name of the field that has the mac address in it) and blank out the node. Either way provide that screenshot of where on the CI it is and I'll see if I can help further.

View solution in original post

3 REPLIES 3

moshe_d
ServiceNow Employee
ServiceNow Employee

Hi

 

According to the message, u don't have a Ci with this name if u have a CI with name 5c5b350eabcf it will bind to this CI automatically, according to the value in the node field in the event record.

Event rules are designed to make more complex binding.

Regards, Moshe

robertgeen
Tera Guru

Can you show a screenshot of the CI? That mac address needs to be in a network adapter that is associated to the device not the mac_address field on the CI. Often things can get complicated as it expects discovery to be in place and when you don't have it in place chances are you don't have the proper data in the right fields. If you have it flattened at the hardware level then I would suggest overriding the binding and do it on cmdb_ci_hardware table and by attribute and then match your node fields into mac_address (or the name of the field that has the mac address in it) and blank out the node. Either way provide that screenshot of where on the CI it is and I'll see if I can help further.

Thank you. I did have the MAC in the CI MAC Adress field. As soon as I linked it to a Network Adapter with that MAC, it worked as expected.