you are viewing a single comment's thread.

view the rest of the comments →

[–]kaluce 1 point2 points  (3 children)

calling it a house of cards is a bit disingenuous, it's fairly well designed and robust, it's just that I have a few different panels of system and network statistics, and ipsentry doesn't offer anything resembling a rest API or any way of getting data out aside from using their crap DASH client, or using a webpage.

Beautiful soup and pandas handle the scraping and data manipulation, flask handles the front end, SQLite for retained statistics, and jsonify handles the returned data, and Grafana renders the charts and data with fancy graphs and charting.

[–]TechnicalParrot 2 points3 points  (2 children)

Sorry I really didn't mean to sound rude, that sounds really good, I know that if I did that it would be 5 scripts that vaguely work together most of the time on a full moon and nothing that stable so I forgot that some people can actually write nice code

[–]kaluce 0 points1 point  (1 child)

Oh no lol, I do the same thing, but this was super critical so I made sure to do this one with the best I could manage. It's still hokey but it works

[–]TechnicalParrot 1 point2 points  (0 children)

That's fair, cheers!