Can we develop a System Monitoring Tool (Web Interface) using PHP or Perl? I mean a monitoring tool like Nagios. I am curious to develop such a tool that can display alerts / status when:
CPU Utilization Exceeds a Set Threshold Value
RAM Utilization Exceeds a Set Threshold Value
Disk Space for a Given Mount-Point / Partition Exceeds a Set Threshold Value
Certain Services, Applications, Clients or Workstations, and Servers are unavailable or have gone down
Etc., etc.
Any ideas?
System Monitoring Tool (Web Interface) using PHP
Moderator: General Moderators
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: System Monitoring Tool (Web Interface) using PHP
Yes, you could. Probably the easiest way to access that information would be to use shell_exec() to get data from the terminal.
Re: System Monitoring Tool (Web Interface) using PHP
You may wish to use Munin
http://munin-monitoring.org/
http://munin-monitoring.org/wiki/munin-man#munin-html
and just use or write your own data gathering script.
http://munin-monitoring.org/
http://munin-monitoring.org/wiki/munin-man#munin-html
and just use or write your own data gathering script.
There are 10 types of people in this world, those who understand binary and those who don't
-
sharad.pai
- Forum Newbie
- Posts: 1
- Joined: Wed Sep 15, 2010 4:44 am
Re: System Monitoring Tool (Web Interface) using PHP
I recently worked on a project where i had to monitor all servers connected to switches in datacenter.. Monitoring can be done by installing mrtg and configuring all cfg files by cfgmaker. You will have to write perl alogrithm to calculate 95%,usage per day,usage per month