Skip to content

shayanelhami/uptimer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

uptimer

Web server (in node.js) to store Linux uptime remotely.

Allows your machine to store its uptime out of the box (i.e. remotely and safe).

A post request to /save will store everything in 'uptime' paramter in a text file. Later a get request to / will return the stored content.

Example

This line can go to a cron job and run every minute:

curl -F "uptime=`uptime`" http://192.168.0.4:8085/save

Motivation

I wanted to test life time of a battery with my Raspberry Pi. I needed uptime to be stored remotely so that I can monitor it. That was all really :)

About

Web server to store Linux uptime remotely

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published