StatusChecker

StatusChecker Used AI

10 devlogs
9h 12m
•  Ship certified
Created by fsh

A simple, user-friendly PHP and JavaScript-based status page that attempts TCP connections to ports and checks systemd statuses for services.
It also displays system resource usage stats for CPU, RAM and storage.
The data is displayed in cards, and you can filter by status. (All, Active or Inactive)

System: https://fish.hackclub.app/system
Services: https://fish.hackclub.app

Timeline

Ship 2

1 payout of shell 59.0 shells

fsh

about 2 months ago

fsh Covers 4 devlogs and 3h 38m
Earned sticker

The system resource script now includes 5 minute CPU usage, and the % and GB text is now directly with the value.

Update attachment
Earned sticker

Updated the README with new information from recent updates.

Update attachment
Earned sticker

New system resources page that displays CPU, RAM and storage usage.

Update attachment
Earned sticker

I will add another page that lists system resource usage.
This PHP file outputs system resource usage in a JSON format.
It checks the system CPU load averages (1 minute, 5 minutes and 15 minutes), RAM and storage usage.

Update attachment

Ship 1

1 payout of shell 102.0 shells

fsh

about 2 months ago

fsh Covers 6 devlogs and 5h 34m
Earned sticker

I created the README file.

Update attachment
Earned sticker

I added the Last Updated time at the bottom. The time is set when the page is loaded and services are checked.

Update attachment
Earned sticker
fsh
fsh
1h 24m 2 months ago

I added more CSS and a filter that allows you to choose All, Active or Inactive.

Update attachment
fsh
fsh
1h 24m 2 months ago

After experiencing problems while trying to make the table responsive, I thought cards would work better. It did. I also added more CSS to improve its appearance.

Update attachment

I added a HTML page and JavaScript file that gets the data from the JSON PHP and displays it in a table. Minimal CSS is used for the Online and Offline text and will be improved.

Update attachment
Earned sticker

This PHP file outputs port and systemd service statuses in JSON format. It will be used like an API for the status page.
For ports, it attempts to open a connection with the server and reports if it's successful or fails. For systemd services, it runs the command systemctl is-active with the service name and reports the status.
The true/false and active/inactive is changed to Online and Offline.

Update attachment