{"id":12921,"date":"2022-05-29T22:29:06","date_gmt":"2022-05-29T19:29:06","guid":{"rendered":"https:\/\/kifarunix.com\/?p=12921"},"modified":"2024-03-09T12:34:29","modified_gmt":"2024-03-09T09:34:29","slug":"install-librenms-on-ubuntu","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-librenms-on-ubuntu\/","title":{"rendered":"Install LibreNMS on Ubuntu 22.04\/Ubuntu 20.04"},"content":{"rendered":"\n<p>Follow through this tutorial to learn how to install LibreNMS on Ubuntu 22.04\/Ubuntu 20.04. <a href=\"https:\/\/www.librenms.org\/#features\" target=\"_blank\" rel=\"noreferrer noopener\">LibreNMS<\/a> is a fully featured MySQL\/PHP and SNMP based network monitoring system.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Install LibreNMS on Ubuntu<\/h2>\n\n\n\n<p>To install LibreNMS on Ubuntu 22.04\/Ubuntu 2.04 proceed as follows;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create LibreNMS system User Account<\/li>\n<\/ul>\n\n\n\n<p>To begin with, create non privileged system user account for LibreNMS by executing the command below;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>useradd -d \/opt\/librenms -M -r -s \/bin\/bash librenms<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Run system update;<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install Required Packages<\/li>\n<\/ul>\n\n\n\n<p>LibreNMS is requires L[E\/A]MP stack. Hence, run the command below to install the Webserver, Nginx, PHP, MariaDB and other required packages. Nginx is the recommended web server to use.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install --no-install-recommends nginx-full php nmap mtr-tiny \\\nphp-{cli,curl,fpm,gd,gmp,json,mbstring,mysql,snmp,xml,zip} \\\nrrdtool snmp snmpd whois unzip python3-pymysql python3-dotenv acl curl \\\npython3-redis python3-setuptools python3-systemd python3-pip git \\\nmariadb-server mariadb-client composer fping graphviz imagemagick<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create Database and Database User for LibreNMS<\/li>\n<\/ul>\n\n\n\n<p>Run the initial security script to remove the test tables, disable remote root login, remove test tables\/databases\/anonymous users.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql_secure_installation<\/code><\/pre>\n\n\n\n<p>Next, login to MariaDB database and create a database and database user for LibreNMS. The names used here are not standard. Feel free to use any suitable name.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql -u root -p -e \"create database librenmsdb character set utf8mb4 collate utf8mb4_unicode_ci\"<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql -u root -p -e \"create user librenmsuser@localhost identified by 'StronGP@ssw0RD'\"<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql -u root -p -e \"grant all on librenmsdb.* to librenmsuser@localhost\"<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>mysql -u root -p -e \"flush privileges\"<\/code><\/pre>\n\n\n\n<p>Configure InnoDB to use one tablespace file per InnoDB table and enable the preservation of the lettercase of database and table names;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sed -i.bak -e '\/\\&#91;mysqld\\]\/a innodb_file_per_table=1\\nlower_case_table_names=0' \/etc\/mysql\/mariadb.conf.d\/50-server.cnf<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install LibreNMS on Ubuntu<\/li>\n<\/ul>\n\n\n\n<p>Next, install LibreNMS by cloning its Github repository to home directory, <code><strong>\/opt\/librenms<\/strong><\/code>,  defined above for the <strong>librenms<\/strong> user;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git clone https:\/\/github.com\/librenms\/librenms.git \/opt\/librenms<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Set ownership, permission and access control lists for the LibreNMS directories and files;<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>chown -R librenms:librenms \/opt\/librenms\nchmod 771 \/opt\/librenms<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>setfacl -d -m g::rwx \/opt\/librenms\/rrd \/opt\/librenms\/logs \/opt\/librenms\/bootstrap\/cache\/ \/opt\/librenms\/storage\/<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>setfacl -R -m g::rwx \/opt\/librenms\/rrd \/opt\/librenms\/logs \/opt\/librenms\/bootstrap\/cache\/ \/opt\/librenms\/storage\/<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install LibreNMS PHP dependencies<\/li>\n<\/ul>\n\n\n\n<p>As user librenms, install required PHP dependencies;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -Hiu librenms \/opt\/librenms\/scripts\/composer_wrapper.php install --no-dev<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Set the Database Connection credentials<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo -Hiu librenms vim \/opt\/librenms\/.env<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>DB_HOST=localhost\nDB_DATABASE=librenmsdb\nDB_USERNAME=librenmsuser\nDB_PASSWORD=StronGP@ssw0RD<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Update System and PHP timezone;<\/li>\n<\/ul>\n\n\n\n<p>Ensure that you update your system and PHP timezone accordingly.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>timedatectl set-timezone America\/Santiago<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>grep -irl ';date.timezone =' \/etc\/php\/ | xargs -I {} sed -i.bak 's\/;date.timezone =\/date.timezone = America\\\/Santiago\/' {}<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Configure LibreNMS SNMPD<\/li>\n<\/ul>\n\n\n\n<p>Copy the default SNMP configuration file;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cp \/opt\/librenms\/snmpd.conf.example \/etc\/snmp\/snmpd.conf<\/code><\/pre>\n\n\n\n<p>Edit the SNMPD and update the community string.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>vim \/etc\/snmp\/snmpd.conf<\/code><\/pre>\n\n\n\n<p>Replace the <strong>RANDOMSTRINGGOESHERE<\/strong> with your string.<\/p>\n\n\n\n<p>Save and exit the file<\/p>\n\n\n\n<p>Next, download and install system distribution detection script;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -o \/usr\/bin\/distro https:\/\/raw.githubusercontent.com\/librenms\/librenms-agent\/master\/snmp\/distro<\/code><\/pre>\n\n\n\n<p>Make the script executable;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>chmod +x \/usr\/bin\/distro<\/code><\/pre>\n\n\n\n<p>Start and enable SNMPD services;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl enable --now snmpd<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install LibreNMS Cron Job<\/li>\n<\/ul>\n\n\n\n<p>Copy the default cron job in place;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cp \/opt\/librenms\/librenms.nonroot.cron \/etc\/cron.d\/librenms<\/code><\/pre>\n\n\n\n<p>Enable Cron jobs log rotation;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cp \/opt\/librenms\/misc\/librenms.logrotate \/etc\/logrotate.d\/librenms<\/code><\/pre>\n\n\n\n<p>Create global LibreNMS shortcuts;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ln -s \/opt\/librenms\/lnms \/usr\/local\/bin\/lnms<\/code><\/pre>\n\n\n\n<p>Enable LibreNMS bash completion;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cp \/opt\/librenms\/misc\/lnms-completion.bash \/etc\/bash_completion.d\/<\/code><\/pre>\n\n\n\n<p>Import LibreNMS database schema into the database.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>su - librenms<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>.\/lnms migrate<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create LibreNMS Nginx Site configuration file<\/li>\n<\/ul>\n\n\n\n<p>Remove the default Nginx site configuration.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>rm -rf \/etc\/nginx\/sites-enabled\/default<\/code><\/pre>\n\n\n\n<p>Next, run the commands below to install LibreNMS Nginx site configuration. <strong>Be sure to replace the PHP-FPM socket path accordingly.<\/strong><\/p>\n\n\n\n<p>On Ubuntu 20.04;<\/p>\n\n\n\n<pre class=\"scroll-box\"><code>\ncat > \/etc\/nginx\/sites-enabled\/librenms << 'EOL'\nserver {\n listen      80;\n server_name librenms.kifarunix-demo.com;\n root        \/opt\/librenms\/html;\n index       index.php;\n\n charset utf-8;\n gzip on;\n gzip_types text\/css application\/javascript text\/javascript application\/x-javascript image\/svg+xml text\/plain text\/xsd text\/xsl text\/xml image\/x-icon;\n location \/ {\n  try_files $uri $uri\/ \/index.php?$query_string;\n }\n location ~ [^\/]\\.php(\/|$) {\n  fastcgi_pass unix:\/run\/php\/php7.4-fpm.sock;\n  fastcgi_split_path_info ^(.+\\.php)(\/.+)$;\n  include fastcgi.conf;\n  fastcgi_read_timeout 240;\n }\n location ~ \/\\.(?!well-known).* {\n  deny all;\n }\n}\nEOL\n<\/code><\/pre>\n\n\n\n<p>On Ubuntu 22.04;<\/p>\n\n\n\n<pre class=\"scroll-box\"><code>\ncat > \/etc\/nginx\/sites-enabled\/librenms << 'EOL'\nserver {\n listen      80;\n server_name librenms.kifarunix-demo.com;\n root        \/opt\/librenms\/html;\n index       index.php;\n\n charset utf-8;\n gzip on;\n gzip_types text\/css application\/javascript text\/javascript application\/x-javascript image\/svg+xml text\/plain text\/xsd text\/xsl text\/xml image\/x-icon;\n location \/ {\n  try_files $uri $uri\/ \/index.php?$query_string;\n }\n location ~ [^\/]\\.php(\/|$) {\n  fastcgi_pass unix:\/run\/php\/php8.1-fpm.sock;\n  fastcgi_split_path_info ^(.+\\.php)(\/.+)$;\n  include fastcgi.conf;\n  fastcgi_read_timeout 240;\n }\n location ~ \/\\.(?!well-known).* {\n  deny all;\n }\n}\nEOL\n<\/code><\/pre>\n\n\n\n<p>Change Nginx web user from <code><strong>www-data<\/strong><\/code> to <strong><code>librenms<\/code><\/strong> user;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sed -i.bak 's\/www-data\/librenms\/' \/etc\/nginx\/nginx.conf<\/code><\/pre>\n\n\n\n<p>Change the PHP FPM user from <code>www-data<\/code> to <strong><code>librenms<\/code><\/strong> user created above.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sed -i.bak 's\/www-data\/librenms\/g' \/etc\/php\/*\/fpm\/pool.d\/www.conf<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Restart Nginx and PHP-FPM services<\/li>\n<\/ul>\n\n\n\n<p>Verify Nginx for any syntax;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nginx -t<\/code><\/pre>\n\n\n\n<p>Sample output if no errors;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nginx: the configuration file \/etc\/nginx\/nginx.conf syntax is ok\nnginx: configuration file \/etc\/nginx\/nginx.conf test is successful<\/code><\/pre>\n\n\n\n<p>Restart the services;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart nginx php7.4-fpm<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl restart nginx php8.1-fpm<\/code><\/pre>\n\n\n\n<p>Enable to run on boot;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl enable nginx php7.4-fpm<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl enable nginx php8.1-fpm<\/code><\/pre>\n\n\n\n<p>Check the status;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl status nginx php7.4-fpm<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl status nginx php8.1-fpm<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>\u25cf nginx.service - A high performance web server and a reverse proxy server\n     Loaded: loaded (\/lib\/systemd\/system\/nginx.service; enabled; vendor preset: enabled)\n     Active: active (running) since Thu 2022-05-26 13:31:30 -04; 25s ago\n       Docs: man:nginx(8)\n    Process: 2501 ExecStartPre=\/usr\/sbin\/nginx -t -q -g daemon on; master_process on; (code=exited, status=0\/SUCCESS)\n    Process: 2506 ExecStart=\/usr\/sbin\/nginx -g daemon on; master_process on; (code=exited, status=0\/SUCCESS)\n   Main PID: 2507 (nginx)\n      Tasks: 3 (limit: 2282)\n     Memory: 3.5M\n     CGroup: \/system.slice\/nginx.service\n             \u251c\u25002507 nginx: master process \/usr\/sbin\/nginx -g daemon on; master_process on;\n             \u251c\u25002508 nginx: worker process\n             \u2514\u25002509 nginx: worker process\n\nMay 26 13:31:30 ubuntu20 systemd[1]: Starting A high performance web server and a reverse proxy server...\nMay 26 13:31:30 ubuntu20 systemd[1]: Started A high performance web server and a reverse proxy server.\n\n\u25cf php7.4-fpm.service - The PHP 7.4 FastCGI Process Manager\n     Loaded: loaded (\/lib\/systemd\/system\/php7.4-fpm.service; enabled; vendor preset: enabled)\n     Active: active (running) since Thu 2022-05-26 13:31:30 -04; 26s ago\n       Docs: man:php-fpm7.4(8)\n    Process: 2513 ExecStartPost=\/usr\/lib\/php\/php-fpm-socket-helper install \/run\/php\/php-fpm.sock \/etc\/php\/7.4\/fpm\/pool.d\/www.conf 74 (code=exited, status=0\/SUCCESS)\n   Main PID: 2487 (php-fpm7.4)\n     Status: \"Processes active: 0, idle: 2, Requests: 0, slow: 0, Traffic: 0req\/sec\"\n      Tasks: 3 (limit: 2282)\n     Memory: 10.3M\n     CGroup: \/system.slice\/php7.4-fpm.service\n             \u251c\u25002487 php-fpm: master process (\/etc\/php\/7.4\/fpm\/php-fpm.conf)\n             \u251c\u25002511 php-fpm: pool www\n             \u2514\u25002512 php-fpm: pool www\n\nMay 26 13:31:30 ubuntu20 systemd[1]: Starting The PHP 7.4 FastCGI Process Manager...\nMay 26 13:31:30 ubuntu20 systemd[1]: Started The PHP 7.4 FastCGI Process Manager.\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Finalize LibreNMS installation on Web Browser<\/li>\n<\/ul>\n\n\n\n<p>Open Nginx web server on firewall if any is running.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ufw allow 80\/tcp<\/code><\/pre>\n\n\n\n<p>Next, access LibreNMS using the url <strong>http:\/\/server-name<\/strong>.<\/p>\n\n\n\n<p>LibreNMS Pre-install Checks;<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-pre-install-checks.png\" class=\"td-modal-image\"><div class=\"wp-block-image\"><figure class=\"alignleft size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1538\" height=\"780\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-pre-install-checks.png\" alt=\"Install LibreNMS on Ubuntu 22.04\/Ubuntu 20.04\" class=\"wp-image-12959\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-pre-install-checks.png?v=1653851496 1538w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-pre-install-checks-768x389.png?v=1653851496 768w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-pre-install-checks-1536x779.png?v=1653851496 1536w\" sizes=\"(max-width: 1538px) 100vw, 1538px\" \/><\/figure><\/div><\/a><\/div>\n\n\n\n<p>LibreNMS Database Connection Settings. We already supplied the credentials before, hence everything should be ok.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/database-connections.png\" class=\"td-modal-image\"><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1295\" height=\"718\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/database-connections.png\" alt=\"Install LibreNMS on Ubuntu 22.04\/Ubuntu 20.04\" class=\"wp-image-12960\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/database-connections.png?v=1653851533 1295w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/database-connections-768x426.png?v=1653851533 768w\" sizes=\"(max-width: 1295px) 100vw, 1295px\" \/><\/figure><\/div><\/a><\/div>\n\n\n\n<p>Create LibreNMS Administrative User<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/create-librenms-admin-user.png\" class=\"td-modal-image\"><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1360\" height=\"809\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/create-librenms-admin-user.png\" alt=\"Install LibreNMS on Ubuntu 22.04\/Ubuntu 20.04\" class=\"wp-image-12961\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/create-librenms-admin-user.png?v=1653851559 1360w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/create-librenms-admin-user-768x457.png?v=1653851559 768w\" sizes=\"(max-width: 1360px) 100vw, 1360px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>Click <strong>Finish install<\/strong> to finalize the LibreNMS setup.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-finish-install.png\" class=\"td-modal-image\"><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1346\" height=\"747\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-finish-install.png\" alt=\"Install LibreNMS on Ubuntu 22.04\/Ubuntu 20.04\" class=\"wp-image-12962\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-finish-install.png?v=1653851593 1346w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-finish-install-768x426.png?v=1653851593 768w\" sizes=\"(max-width: 1346px) 100vw, 1346px\" \/><\/figure><\/div><\/a><\/div>\n\n\n\n<p>Validate LibreNMS installation by clicking the <strong>validate your install<\/strong> link.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/validate-librenms-install.png\" class=\"td-modal-image\"><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1321\" height=\"948\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/validate-librenms-install.png\" alt=\"\" class=\"wp-image-12964\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/validate-librenms-install.png?v=1653851665 1321w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/validate-librenms-install-768x551.png?v=1653851665 768w\" sizes=\"(max-width: 1321px) 100vw, 1321px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>You should be redirected to the login page.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-login-page.png\" class=\"td-modal-image\"><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1232\" height=\"584\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-login-page.png\" alt=\"\" class=\"wp-image-12963\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-login-page.png?v=1653851640 1232w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-login-page-768x364.png?v=1653851640 768w\" sizes=\"(max-width: 1232px) 100vw, 1232px\" \/><\/figure><\/a><\/div>\n\n\n\n<p>Validation will then proceed and results are displayed on the dashboard.<\/p>\n\n\n\n<div><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-dashboard.png\" class=\"td-modal-image\"><div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1894\" height=\"940\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-dashboard.png\" alt=\"Install LibreNMS on Ubuntu 22.04\/Ubuntu 20.04\" class=\"wp-image-12968\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-dashboard.png?v=1653852522 1894w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-dashboard-768x381.png?v=1653852522 768w, https:\/\/kifarunix.com\/wp-content\/uploads\/2022\/05\/librenms-dashboard-1536x762.png?v=1653852522 1536w\" sizes=\"(max-width: 1894px) 100vw, 1894px\" \/><\/figure><\/div><\/a><\/div>\n\n\n\n<p>You may see that there is a warning about hosts having not been added to LibreNMS yet.<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/add-hosts-to-librenms-server-for-monitoring\/\" target=\"_blank\" rel=\"noreferrer noopener\">Add Hosts to LibreNMS Server for Monitoring<\/a><\/p>\n\n\n\n<p>That marks the end of our tutorial on how to install LibreNMS on Ubuntu.<\/p>\n\n\n\n<p>In the meantime, read more in the <a href=\"https:\/\/docs.librenms.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">documentation page<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Other Tutorials<\/h3>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/easily-install-and-setup-cacti-on-ubuntu-20-04\/\" target=\"_blank\" rel=\"noreferrer noopener\">Easily Install and Setup Cacti on Ubuntu 20.04<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-ntopng-on-rocky-linux-8\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install ntopng on Rocky Linux 8<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Follow through this tutorial to learn how to install LibreNMS on Ubuntu 22.04\/Ubuntu 20.04. LibreNMS is a fully featured MySQL\/PHP and SNMP based network monitoring<\/p>\n","protected":false},"author":1,"featured_media":12965,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[72,121],"tags":[5248,5245,5246,5247,5249],"class_list":["post-12921","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-monitoring","category-howtos","tag-install-librenms","tag-install-librenms-ubuntu","tag-ubuntu-2-04-librenms-install","tag-ubuntu-22-04-librenms-install","tag-ubuntu-librenms-install","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/12921"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=12921"}],"version-history":[{"count":21,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/12921\/revisions"}],"predecessor-version":[{"id":20492,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/12921\/revisions\/20492"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/12965"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=12921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=12921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=12921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}