An amazing system activity tracking and chart generation in PHP
Demo here
- Install required packages (using
aptitudefor example) - Install and configure a http server
- Modify
db/database.sql,shell/monitor_cron,www/monitor.phpandshell/monitor.shaccording to your needs - Import
db/database.sqlinto your database - Insert filesystems and pinghosts into your database (see
db/example.sql) - Put
shell/monitor.shanywhere,chown rootandchmod u+xit - Put
www/content somewhere into your http server document directory - Put
shell/monitor_croninto/etc/cron.d/ - Do a
service cron restart
- Rewrite Bash script in PHP-CLI
- 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