imedge / node
Installs: 73
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=8.1
- ext-ctype: *
- ext-gmp: *
- ext-iconv: *
- ext-json: *
- ext-openssl: *
- ext-pcntl: *
- ext-posix: *
- ext-sockets: *
- ext-zlib: *
- amphp/http-client: ^5.0
- amphp/mysql: ^3.0
- amphp/process: ^2.0
- amphp/redis: ^2.0
- amphp/sql-common: ^2.0
- evenement/evenement: ^3.0
- gipfl/linux-health: ^0.2.0
- imedge/async: >=0.2
- imedge/certificate-store: ^0.1
- imedge/config: ^0.2
- imedge/distance-router: ^0.3
- imedge/filesystem: ^0.1
- imedge/influxdb-streamer: ^0.4
- imedge/inventory: ^0.5
- imedge/json: ^0.1
- imedge/jsonrpc: ^0.7
- imedge/log: ^0.7.1
- imedge/metrics: ^0.4
- imedge/process-runner: ^0.3
- imedge/protocol-netstring: ^0.4
- imedge/protocol-ntp: ^0.1
- imedge/redis-runner: ^0.2
- imedge/redis-tables: ^0.8
- imedge/redis-utils: ^0.2
- imedge/rpc-api: ^0.3
- imedge/simple-daemon: ^0.2
- imedge/systemd: ^0.3
- laminas/laminas-db: ^2.18
- ramsey/uuid: ^4.7
- revolt/event-loop: ^1.0
- ulrichsg/getopt-php: ^4.0
Requires (Dev)
- phpstan/phpstan: ^1.10 | ^2
- phpunit/phpunit: ^10.3
- squizlabs/php_codesniffer: ^3.7
- symplify/easy-coding-standard: ^12.0.8
README
IMEdge ships a bunch of powerful components for your Open Source Monitoring environment. As in Edge Computing best practices, this brings processing closer to the data source.
Installation
CentOS 9
PHP on CentOS 9 is outdated, therefore we're going to install a recent PHP version via REMI:
# Install the REMI repositoriy... dnf -y install https://rpms.remirepo.net/enterprise/remi-release-9.rpm # ...and disable it by default: dnf config-manager --set-disabled remi-modular --set-disabled remi-safe # Install related dependencies dnf -y install rrdtool redis openssl-perl php83 php83-php-pecl-event \ php83-php-pecl-ev php83-php-gmp php83-php-intl php83-php-ldap \ php83-php-mysqlnd php83-php-mbstring php83-php-pdo php83-php-sodium \ php83-php-xml php83-php-soap php83-php-phpiredis php83-php-process \ php83-php-pecl-zip --enablerepo=remi-safe,remi-modular # Add the REMI php binary path to the IMEdge node daemons path: echo PATH="/opt/remi/php83/root/usr/bin:/opt/remi/php83/root/usr/sbin:$PATH" \ > /etc/default/imedge
CentOS 8
PHP on CentOS 8 is outdated, therefore we're going to install a recent PHP version via REMI:
# Install the REMI repositoriy... dnf -y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm # ...and disable it by default: dnf config-manager --set-disabled remi-modular --set-disabled remi-safe # Install related dependencies dnf -y install rrdtool redis openssl-perl php83 php83-php-pecl-event \ php83-php-pecl-ev php83-php-gmp php83-php-intl php83-php-ldap \ php83-php-mysqlnd php83-php-mbstring php83-php-pdo php83-php-sodium \ php83-php-xml php83-php-soap php83-php-phpiredis php83-php-process \ php83-php-pecl-zip --enablerepo=remi-safe,remi-modular # Add the REMI php binary path to the IMEdge node daemons path: echo PATH="/opt/remi/php83/root/usr/bin:/opt/remi/php83/root/usr/sbin:$PATH" \ > /etc/default/imedge
Please note that this is not touching your default PHP installation, if any. The IMEdge Node package has no hard dependency on a specific PHP version, but assumes a recent version (>= 8.1) being installed and available.
Now we're ready to install the latest IMEdge node package and a bunch of related feature packages:
dnf -y install \ https://github.com/im-edge/node/releases/download/v0.10.0/imedge-node-0.10.0-1.noarch.rpm \ https://github.com/im-edge/inventory-feature/releases/download/v0.13.0/imedge-feature-inventory-0.13.0-1.noarch.rpm \ https://github.com/im-edge/metrics-feature/releases/download/v0.18.0/imedge-feature-metrics-0.18.0-1.noarch.rpm \ https://github.com/im-edge/snmp-feature/releases/download/v0.11.0/imedge-feature-snmp-0.11.0-1.noarch.rpm \ https://github.com/im-edge/tcp-feature/releases/download/v0.7.0/imedge-feature-tcp-0.7.0-1.noarch.rpm
Your IMEdge Node is now ready to go, and can be started:
systemctl enable --now imedge
You can verify correct operation via systemctl status imedge.service
: