New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
Made my own with my non-existant knowledge of php
https://simpleno.de/monitor/
I know it looks shit.
I quite like that, actually
http://pastebin.com/YnAyK8jq
Needs HTML Kickstarter, and PHPSysInfo on the nodes you want to monitor.
The one I use, requires only bash on the nodes you want to monitor, and php on the server where you want to display it: https://raymii.org/cms/p_Bash_PHP_Server_Status_Monitor
Well,
Status2k.
It looks awesum.
Looks partially broken here
http://pastie.org/4724117
I'm having some serious deja vu here, it's almost like there was a topic like this already today...
OpenStatus?
Haha Yeah, there was actually. Oops, oh well.
ty
>
You have to set it up to match your servers.
Nice, i think i will be checking out https://simpleno.de/monitor/
@dominicl You can check Zabbix for Live Monitoring and Pingdom for public.
what about the files it downloads though? then json files
@raymii
In your example you say that the monitored servers only need bash but then you grab them via a httpd
@DanielM @MikHo it works like this: on the clients you setup a bash script which generates a json file with statistics. (/var/www/client.sh > /var/www/stat.json) You then transport that file to the monitor server (basicly just where the php file is). The php script parses the JSON files and shows the result in a nice way.
My script uses http as the transport method, but you could also just ftp, rsync or nfs for example. The php script needs to be able to read the json files. I've also setup a configuration for a friend of mine which uses an nfs share to place the stat.json files. But you can also let the monitor server get the files at a set interval via rsync with ssh passwordless login (key based). Then you would not need a httpd on the client.
@raymii
I understood that from your instructions
For me personally its no problem, I just got hungup that you took for granted that there would be a httpd installed on the monitored server.
I hope you take it as constructive critisism regarding your documentation on a good status monitoring system ( I presume this since I haven't used it myself )
@MikHo I don't mind crictism, I always see it as a way to make things better. And yes, the script also standard monitors lighttpd/ngix/apache, so it indeed takes a httpd for granted. On a vpn server that is mostly not the case..
And, you can try using it, it takes almost no resources, little setup time? Demo: http://vps11.sparklingclouds.nl/status or http://raymii.nl/stat.php (vps11 has some problems with the style)
@raymii
I probably will, when theres a few minutes over
Been using openstatus but that feels like using to much resources on busy really lowend boxes.
@MikHo
I also used openstatus, but the openstatus-server took so much IO that my host complained because I was taking the node performance down. So thats why I've switched and wrote my own. I'm working on history per node, and maybe mail alerts.
I'm more interested in history when monitoring. I use it to decide of i should keep the vps or not.
Where I work we use prtg by paessler. Good but expensive as hell. Even if theres a free version.
For those looking to roll their own uptime monitor we found this project particularly useful: http://fzaninotto.github.com/uptime/
@serverbear, how to use it?
This seems important improve
@ErawanArifNugroho It works out of the box with the instructions but to modify any code you'll need to know node.js
@Zen, so we only need to include the .js to the page?
We're using a custom one bradley built with codeingiter - http://status.nodedeploy.com/
Which reminds me i should make him add the node stats under "More info"
Anyways, statusmon is a cool one to use if you don't want to code.
Phil
I have a php script that uses fsockopen - is that a good/safe method to use?