Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public IPs Underutilized erroneously reported #115

Closed
sjbravent opened this issue Apr 25, 2023 · 4 comments
Closed

Public IPs Underutilized erroneously reported #115

sjbravent opened this issue Apr 25, 2023 · 4 comments

Comments

@sjbravent
Copy link

Hello,

I have noticed that if the public IP is associated to a NAT Gateway it appears as "Underutilized".

I would like to contribute any additional information to help resolve this.

Thank you very much for maintaining this fabulous tool,

@Claudio-Merola
Copy link
Collaborator

Hello,

Thanks from bringing that up.

Let's try something, can you navigate to some of those IPs and click in the "JSON View".

Then, under "properties", can you see any reference to the NAT Gateway there?

Thanks

@sjbravent
Copy link
Author

Hi Claudio,

Thanks for reply, I attach an example of JSON View:

{ "name": "name", "id": "/subscriptions/id/resourceGroups/rgname/providers/Microsoft.Network/publicIPAddresses/pipname", "etag": "W/\"xxxx\"", "location": "westeurope", "tags": {}, "properties": { "provisioningState": "Succeeded", "resourceGuid": "xxxx", "natGateway": { "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/natGateways/xxxx" }, "ipAddress": "20.x.x.x", "publicIPAddressVersion": "IPv4", "publicIPAllocationMethod": "Static", "idleTimeoutInMinutes": 4, "ipTags": [] }, "type": "Microsoft.Network/publicIPAddresses", "sku": { "name": "Standard" } }

I can see:

    "natGateway": {
        "id": "/subscriptions/xxx/resourceGroups/xxx/providers/Microsoft.Network/natGateways/xxxx"
    },

Regards

@Claudio-Merola
Copy link
Collaborator

Claudio-Merola commented May 4, 2023

Hello @sjbravent,

Thanks for the reply.

I just release the version 3.0 of the script, this issue should be fixed.

Can you download that version of the script and try it out?

Thanks

@github-actions
Copy link

This Issue is stale and may be automatically close soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants