Which lightweight self hosted remote monitoring script would you recommend?

fixidixi

Active Member
Hy,

I've read this topic and did the ususal google search, but I'd be interested in your recommendations:

I'm looking for a lightweight self hosted remote monitoring script which would generate a static uptime report.

Report should only include if the node/service ip is up/down.

Goodie: if its able to monitor services on different ports.

But the major factor would be to be able to run it with minimal resources..

The script should be able to monitor at least 5 different nodes..

I've also looked at the pretty graphs of catci/munin but drawing graphs is cpu intensive as ive read. Any ideas?

Thanks & Regards,
 

zim

The Invader
Verified Provider
PHP Ping

https://github.com/geerlingguy/Ping

Code:
$host = 'www.example.com';
$ping = new Ping($host);
$latency = $ping->ping();
if ($latency) {
  print 'Latency is ' . $latency . ' ms';
}
else {
  print 'Host could not be reached.';
}
 

nunim

VPS Junkie
You can do it in bash, will be the most secure and use the least resources.  I create downtime logs with traceroutes on downtime so I can see where the problem is or you can send a mail alert or both.  If you want to monitor ports as well you can use nmap after ensuring the host is online.  You can then parse the logs any way you wish to create a report or graph.
 
Last edited by a moderator:
Top