All Projects → jrgp → Linfo

jrgp / Linfo

Licence: mit
Linfo PHP Server Health Status

Projects that are alternatives of or similar to Linfo

Statsviz
🚀 Instant live visualization of your Go application runtime statistics (GC, MemStats, etc.) in the browser
Stars: ✭ 1,015 (+239.46%)
Mutual labels:  monitoring, stats
Tautulli
A Python based monitoring and tracking tool for Plex Media Server.
Stars: ✭ 4,152 (+1288.63%)
Mutual labels:  monitoring, stats
Opencensus Java
A stats collection and distributed tracing framework
Stars: ✭ 640 (+114.05%)
Mutual labels:  monitoring, stats
Opencensus Csharp
Distributed tracing and stats collecting framework
Stars: ✭ 126 (-57.86%)
Mutual labels:  monitoring, stats
Opencensus Erlang
A stats collection and distributed tracing framework
Stars: ✭ 131 (-56.19%)
Mutual labels:  monitoring, stats
Opencensus Web
A stats collection and distributed tracing framework
Stars: ✭ 168 (-43.81%)
Mutual labels:  monitoring, stats
Opencensus Go
A stats collection and distributed tracing framework
Stars: ✭ 1,895 (+533.78%)
Mutual labels:  monitoring, stats
Opencensus Node
A stats collection and distributed tracing framework
Stars: ✭ 249 (-16.72%)
Mutual labels:  monitoring, stats
Sensu
Monitoring for today's infrastructure.
Stars: ✭ 2,941 (+883.61%)
Mutual labels:  monitoring
Flood
A modern web UI for various torrent clients with a Node.js backend and React frontend.
Stars: ✭ 282 (-5.69%)
Mutual labels:  webui
Prometheus.erl
Prometheus.io client in Erlang
Stars: ✭ 276 (-7.69%)
Mutual labels:  monitoring
Gosivy
Real-time visualization tool for Go process metrics
Stars: ✭ 284 (-5.02%)
Mutual labels:  monitoring
Hastic Server
Hastic data management server for analyzing patterns and anomalies from Grafana
Stars: ✭ 292 (-2.34%)
Mutual labels:  monitoring
Wallace Cli
Pretty CSS analytics on the CLI
Stars: ✭ 281 (-6.02%)
Mutual labels:  stats
Wirespy
Framework designed to automate various wireless networks attacks (the project was presented on Pentester Academy TV's toolbox in 2017).
Stars: ✭ 293 (-2.01%)
Mutual labels:  monitoring
Supervizer
NodeJS Application Manager
Stars: ✭ 278 (-7.02%)
Mutual labels:  monitoring
Alertr
A client/server based multi-purpose alarm and monitoring system
Stars: ✭ 277 (-7.36%)
Mutual labels:  monitoring
Nightingale
💡 A Distributed and High-Performance Monitoring System. Prometheus enterprise edition
Stars: ✭ 4,003 (+1238.8%)
Mutual labels:  monitoring
Kixi.stats
A library of statistical distribution sampling and transducing functions
Stars: ✭ 294 (-1.67%)
Mutual labels:  stats
Drop watch
Monitor reasons why and where linux drops UDP packets
Stars: ✭ 289 (-3.34%)
Mutual labels:  monitoring

Linfo - Server stats UI/library

Build Status

Linfo is a:

  • Light themable Web UI and REST API displaying lots of system stats
  • Ncurses CLI view of WebUI
  • Extensible, easy (composer) to use PHP5 Library to get extensive system stats programmatically from your PHP app

Contributing

Interested in contributing? Check out Development Readme

web UI

Linfo WebUI Screenshot

ncurses preview

Linfo Ncurses Screenshot

See: Enabling ncurses

PHP library usage

composer require linfo/linfo
<?php
$linfo = new \Linfo\Linfo;
$parser = $linfo->getParser();

var_dump($parser->getCPU()); // and a whole lot more

Runs on

  • Linux
  • Windows
  • FreeBSD
  • NetBSD
  • OpenBSD
  • DragonflyBSD
  • Darwin/Mac OSX
  • Solaris
  • Minix

Information reported

  • CPU type/speed; Architecture
  • Mount point usage
  • Hard/optical/flash drives
  • Hardware Devices
  • Network devices and stats
  • Uptime/date booted
  • Hostname
  • Memory usage (physical and swap, if possible)
  • Temperatures/voltages/fan speeds
  • RAID arrays
  • Via included extensions:
    • Nvidia GPU temps
    • Truecrypt mounts
    • DHCPD leases
    • Samba status
    • APC UPS status
    • Transmission torrents status
    • uTorrent torrents status
    • Soldat server status
    • CUPS printer status
    • IPMI
    • libvirt VMs
    • lxd Containers
    • more

System requirements:

  • At least PHP 5.4
  • If you are using PHP 7.1.9 or lower, you might need to disable the opcache extension.
  • pcre extension

Windows

Linux

  • /proc and /sys mounted and readable by PHP
  • Tested with the 2.6.x/3.x kernels

FreeBSD

  • PHP able to execute usual programs under /bin, /usr/bin, /usr/local/bin, etc
  • Tested on 8.0-RELEASE, 10.2-RELEASE

NetBSD

  • PHP able to execute usual programs under /bin, /usr/bin, /usr/local/bin, /usr/pkg/bin, etc
  • Tested on NetBSD 5.0.2

OpenBSD

  • PHP able to execute usual programs under /bin, /usr/bin, /usr/local/bin, etc
  • Tested on OpenBSD 4.7, 5.7
  • Turn chroot of httpd/nginx/php-fpm off

Web UI Installation

  1. Extract tarball contents to somewhere under your web root
  2. Rename sample.config.inc.php to config.inc.php, after optionally changing values in it
  3. Visit page in web browser
  4. Pass URL to your friends to show off

URL arguments

  • ?out=json - JSON output
  • ?out=jsonp&callback=functionName - JSON output with a function callback. (Look here: http://www.json-p.org/ )
  • ?out=php_array - PHP serialized associative array
  • ?out=html - Usual lightweight HTML (default)

Extensions

  • See a list of php files in src/Linfo/Extensions/
  • Open them and look at the comment at the top of the file for usage

Troubleshooting:

Set $settings['show_errors'] = true; in config.inc.php to yield useful error messages.

TODO:

  • Support for other Unix operating systems (Hurd, IRIX, AIX, HP UX, etc)
  • Support for strange operating systems: Haiku/BeOS
  • More superfluous features/extensions
  • Make ncurses mode rival htop (half kidding)

Meta

This project is dedicated to the memory of Eric Looper.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].