Stacked Switches missing IP Address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 01:42 PM
Hi All,
Our CMDB health results flagged our stacked switches because the IP Address field was blank. Discovery found the entire stack, created CIs for the primary and each secondary, and created all the relationships. However, the secondaries don't always have an IP address listed. According to the docs, I believe the IP address should be populated (the same for each CI in the stack).
What gets weirder, I have one stack where the primary and 1 secondary have the IP address listed but another 2 secondaries are missing the IP address.
How do I fix this so the IP address is populated?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 02:20 PM
Hi @Ryan S I had faced the same issue and its normal for stack switch, you wont see IP there,
Actually i had selected IP address as recommended field and then RECD tasks generated on them so we excluded the IP address from recommended fields to solve this issue.
Master switch will always have IP so once job get executed stack one will also get updated, That's how master and stack works.
Hope it will help you.
Thanks,
Harsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 02:50 PM
Hi Harsh,
I was going through the data again and actually found some where ServiceNow did discover and populate the IP address on the secondary switch. Only on a few, and it was on our previous MID server (we switched to a different one for Discovery a few months ago). For now I was able to exclude the secondary switches from health results but I really just want the IP address populated for the secondary switches (which seems to be what the documentation indicates should be happening).
Alternatively, is there a way to exclude just the 'ip_address' field from the recommended health metric for the secondary switches? The health inclusion applies to the whole class.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 03:00 PM
You can use "Stack Mode" or Stack fields on health inclusion rule , that will give you some details if that device is master or slave.
doc link for further details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2024 03:02 PM
Correct, and that's what I did at first. But then I can't measure the health on those records for other fields, like firmware information. I still need the records in the health results, just not for 'ip address' field.