Skip to content

VonJagdstrumel/SystemMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

System Monitor

An amazing system activity tracking and chart generation in PHP

Demo here

Debian package dependencies

How to install

  • Install required packages (using aptitude for example)
  • Install and configure a http server
  • Modify db/database.sql, shell/monitor_cron, www/monitor.php and shell/monitor.sh according to your needs
  • Import db/database.sql into your database
  • Insert filesystems and pinghosts into your database (see db/example.sql)
  • Put shell/monitor.sh anywhere, chown root and chmod u+x it
  • Put www/ content somewhere into your http server document directory
  • Put shell/monitor_cron into /etc/cron.d/
  • Do a service cron restart

Used libs

Todo

  • Rewrite Bash script in PHP-CLI
    • Wrap shell code using ShellWrap
    • Multiple DBMS support using PDO
  • Use triggers instead of hardcoded preprocess requests
  • Dynamic JS code generation
    • Use Ajax
  • New trackers
    • Disk/IO
    • Net/IO
    • Iptables rules count (iptables-save | egrep "^-A" | wc -l)
  • Finer configuration
  • Admin interface
  • Unprivileged user support
  • Daemon instead of a cron job
  • Standalone API for generic data gathering
    • OO refactoring
    • REST API
  • Multiple system aggregation
  • Downtime support

About

An amazing system activity tracking and chart generation in PHP

Topics

Resources

License

Stars

Watchers

Forks

Contributors