bderenzo / tinystatus

Static status page generator
MIT License
454 stars 67 forks source link

tiny feature request: group services #23

Open jamiew0w opened 2 years ago

jamiew0w commented 2 years ago

For example, say you want to monitor:

abc.com
minecraft game server
nop.net
teamspeak server port
xyz.com

Currently we can't group the websites and the servers seperately, I think our only option is numbering them to force arrange them - IE

01-abc.com
02-nop.com
03-xyz.com
04-minecraft game server etc etc

If we had a way to create 1,2 or 3 groups it would make things a bunch neater.

web

website1 website2

gameserver

gameserver1 gameserver2

Loving the project by the way, thank you!

thomasdn commented 7 months ago

I would absolutely love this as well. I think a way to implement this would be to either add a column in the checks.csv that if present contains the group name.

Alternatively, the script would accept multiple checks.csv files as argument and then group them.

So you could have: webservers.csv, mailservers.csv, etc.

bderenzo commented 6 months ago

Now, the results are displayed in the same order as in the checks.csv file. Only the outages are displayed first, but this can be adapted easilyin the code.

Adding groups, although possible, would add a lot of complexity to the code that I want to keep as simple as possible. For the moment, I haven't found a solution that satisfies me. If someone proposes a solution that is not complex, I'm ready to take a look at it.