This message was deleted.
# puppet-enterprise
s
This message was deleted.
b
I think the current plan makes sense and also the xml idea. I made similar stuff in the past from a physical network point of view
and I think it would make sense to merge your plan into the pe_status_check module?
m
yeah eventually, need something stable before i put it in there since status check is in the product right now
do you know anything opensource that can draw from xml?
i figure outputting to a format another tool can use to draw this would be a good start
b
what about the dot language? puppet uses that as well for graphs
👍 1
and there are libs available to write dot language and also to render it into svg
m
could work, as what we are talking about here is basically a relational table schema
i wonder how it would handle 1 to many data points or would i have to render a diagram for each service type
b
isn't it more of a graph?
m
the way i see it, its gonna output a list of nodes, and a list of services, and then have a table to plot the services on the node host, as well as a coomunication line of the services on other hosts
it feels more like a psuedeo relational database table stucture
b
would be nice to use the vox pupuli module for tables to generate humand readable output and maybe dot for graphs or json and people can then convert it on their own
m
got a link?
only issue with using modules is it prevents me from shipping with PE, i have to use native functions only
b
mhm every month I am searching for that git repo
give me an hour or so :D
PE could vendor it? it already vendors other modules (and damn old forks of modules...)
m
yeah, thats been noted 🙂
This would actually be a start i could probably list each host node with a service, and if its a client of an upstream service list the upstream hostname and a status for the link
b
yeah
m
ideally i could draw a network map, but getting a table based structure is just about spending the time determining which components i want to interrogate, and doing them one by one
👍 1
b
o/
thinking about it, a functional network map like

https://github.com/puppetlabs/puppetlabs-peadm/blob/main/documentation/images/PE_Large_Architecture_no_DR.png

would be cool
but displaying the real architecture with real configured ports/ips
everbody hates to draw draw.io diagrams in confluence that are outdated after a month
it would be more helpful if we could autogenerate it
m
yeah thats the dream
thats what i have on my whiteboard, the easy but time consuming part is getting that data, the part i have no idea about is how to draw it like that, im hoping a tool exists and i can just output a format that it can read
or something like this http://go.drawthe.net/
this one seems easy enough https://mermaid.js.org/syntax/c4c.html
Could build that no problem
b
yeah those are nice
the benefit about the dot syntax would be that there are existing libs to use. it's human- and machine-readable and it would be consistent with what puppet agent uses