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

Diagram #163

Closed
salimkapadia opened this issue Jan 19, 2024 · 9 comments
Closed

Diagram #163

salimkapadia opened this issue Jan 19, 2024 · 9 comments

Comments

@salimkapadia
Copy link

Thank you for open sourcing this script! I wanted to request a feature for the Diagram output. Within the Network Topology, I'd like to see the diagram output put all the resource groups that are in the same subscription to be part of the same box. currently it creates a green box per RG and puts the name of the subscription below it.

@red-erik
Copy link

Hello,
are Network Topology Diagrams supposed to work ?
I saw #141 and #150 closed by inactivity but without proper answer/solution.

Thank you.

Regards,
Red.

@Claudio-Merola
Copy link
Collaborator

Hello @salimkapadia,

unfortunately the network topology represent the network view, as so the boxes are the vnets. changing it to the resource groups would not be possible in that view. The other views (Subscription views), are not the representation you need?

@red-erik, the Network Topology works, it is not working for you?

@red-erik
Copy link

Hello,
honestly not. The XML is created but the Network Diagram tab is missing at all. We tried with and without -debug -DiagramFullEnvironment but the tab is missing
image

Into the image I covered the sub name for privacy but the Network Diagram is not available at all.

Regards,
Red.

@Claudio-Merola
Copy link
Collaborator

@red-erik

That's odd.

I just made a change to the diagram file, now it will create a log file with general information about the diagram construction.

The log file will be "C:\AzureResourceInventory\DiagramLogFile.log".

Can you download the last version of the repo, run it and post the content of that log file here?

I made it in a way that no information about your environment will be present in the log file.

@red-erik
Copy link

red-erik commented Feb 15, 2024

Hello,
reading
https://github.com/microsoft/ARI/issues/118
I decided to build a new VM. The only difference with the preceding one is that the "not working" is Windows 2019 while
the "working" one is Windows 2022.
No other software or packages installed on both 2019 and 2022, anyway, it seems to work on a fresh new deployed VM.
I'll run it against our whole env and keep you posted.
Thank you veru much (we will test the log setting).
It is possible that the -ReportDir and -ReportName are interfeering ?

Regards,
Red.

@red-erik
Copy link

Hello,
run on Windows 2019 WITHOUT -ReportDir and -ReportName and it's producing the Diagram. Very odd.

Regards,
Red.

@Claudio-Merola
Copy link
Collaborator

@red-erik

Humnn, ok, That gave a hugh hint and I think I found a bug in the main file.

I just updated the files and now it should work (version 3.1.13)

@red-erik
Copy link

red-erik commented Feb 15, 2024

Hello,
to be precise, with -ReportDir and -ReportName it's NOT working and we have

DrawIOCoreFile - 2024-02-15_13_53_00 - Starting Draw.IO file
DrawIOCoreFile - 2024-02-15_13_53_00 - Setting XML files to be clean
DrawIOCoreFile - 2024-02-15_13_53_00 - Cleaning old files
DrawIOCoreFile - 2024-02-15_13_53_00 - Starting Organization Function
DrawIOCoreFile - 2024-02-15_13_53_00 - Starting Network Topology Function
DrawIONetwork - 2024-02-15_13_53_00 - Starting Network Diagram Job...
DrawIOCoreFile - 2024-02-15_13_53_01 - Starting Subscription Function
DrawIOCoreFile - 2024-02-15_13_53_01 - Waiting for Jobs to complete
DrawIONetwork - 2024-02-15_13_53_04 - Setting Subnet files
DrawIONetwork - 2024-02-15_13_53_04 - Calling Variables0 Function
DrawIONetwork - 2024-02-15_13_53_05 - Waiting Variables Job to complete
DrawIONetwork - 2024-02-15_13_53_07 - Setting Variables
DrawIONetwork - 2024-02-15_13_53_07 - Defining XML file
DrawIONetwork - 2024-02-15_13_53_08 - Calling Stensils
DrawIONetwork - 2024-02-15_13_53_08 - Calling OnPremNet
DrawIONetwork - 2024-02-15_13_53_14 - Calling as FullEnvironment
DrawIONetwork - 2024-02-15_13_53_15 - Waiting Job2 to complete
DrawIONetwork - 2024-02-15_13_53_17 - Processing Subnet files
DrawIONetwork - 2024-02-15_13_53_17 - End of Network Diagram
DrawIOCoreFile - 2024-02-15_13_53_17 - Starting to process files
DrawIOCoreFile - 2024-02-15_13_53_17 - Cleaning old jobs

Without those parameters it IS working and we have

DrawIOCoreFile - 2024-02-15_14_35_48 - Starting Draw.IO file
DrawIOCoreFile - 2024-02-15_14_35_48 - Setting XML files to be clean
DrawIOCoreFile - 2024-02-15_14_35_48 - Cleaning old files
DrawIOCoreFile - 2024-02-15_14_35_48 - Starting Organization Function
DrawIOCoreFile - 2024-02-15_14_35_49 - Starting Network Topology Function
DrawIONetwork - 2024-02-15_14_35_49 - Starting Network Diagram Job...
DrawIOCoreFile - 2024-02-15_14_35_49 - Starting Subscription Function
DrawIOCoreFile - 2024-02-15_14_35_49 - Waiting for Jobs to complete
DrawIONetwork - 2024-02-15_14_35_53 - Setting Subnet files
DrawIONetwork - 2024-02-15_14_35_53 - Calling Variables0 Function
DrawIONetwork - 2024-02-15_14_35_53 - Waiting Variables Job to complete
DrawIONetwork - 2024-02-15_14_35_56 - Setting Variables
DrawIONetwork - 2024-02-15_14_35_56 - Defining XML file
DrawIONetwork - 2024-02-15_14_35_56 - Calling Stensils
DrawIONetwork - 2024-02-15_14_35_56 - Calling OnPremNet
DrawIONetwork - 2024-02-15_14_36_00 - Calling as FullEnvironment
DrawIONetwork - 2024-02-15_14_36_01 - Waiting Job2 to complete
DrawIONetwork - 2024-02-15_14_36_07 - Processing Subnet files
DrawIONetwork - 2024-02-15_14_36_08 - End of Network Diagram
DrawIOCoreFile - 2024-02-15_14_36_08 - Starting to process files
DrawIOCoreFile - 2024-02-15_14_36_08 - Cleaning old jobs

I'll test 3.1.13

Regards,
Red.

@red-erik
Copy link

Hello,
I confirm the new version is working with those parameters too.
Thank you very much.

Regards,
Red.

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

No branches or pull requests

3 participants