{"id":19476239,"url":"https://github.com/pgaref/nagios_demo","last_synced_at":"2026-03-02T03:06:19.620Z","repository":{"id":27293968,"uuid":"30767728","full_name":"pgaref/Nagios_Demo","owner":"pgaref","description":"Getting started with Nagios infrastructure monitoring tool repository!","archived":false,"fork":false,"pushed_at":"2015-02-13T21:53:47.000Z","size":6136,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-08T06:35:45.084Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pgaref.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-13T17:39:14.000Z","updated_at":"2015-02-13T21:47:56.000Z","dependencies_parsed_at":"2022-09-02T04:41:21.414Z","dependency_job_id":null,"html_url":"https://github.com/pgaref/Nagios_Demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaref%2FNagios_Demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaref%2FNagios_Demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaref%2FNagios_Demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgaref%2FNagios_Demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pgaref","download_url":"https://codeload.github.com/pgaref/Nagios_Demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240701173,"owners_count":19843653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T19:37:44.267Z","updated_at":"2026-03-02T03:06:14.589Z","avatar_url":"https://github.com/pgaref.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Getting Started with Nagios!\nA user guide to get started with Nagios core and some useful plugins to manage your infrastructure!\nThis repository contains a step by step guide to install Nagios core and Nagios plugins including the source files.\nThe *scripts* folder contains everything you need for the installation both for Ubuntu and CentOS.\nYou can find my presentation slides [here](http://www.slideshare.net/PanagiotisGarefalaki/storage-managment-using-nagios).\n\n\n##### Installation instructions (Tested on Ubuntu -- Copied from the instructions file)\n###-----------Nagios Core-------------\n###### A)Dependencies:\n  * sudo apt-get install build-essential\n  * sudo apt-get install apache2 php5-gd\n  * sudo apt-get install libgd2-xpm libgd2-xpm-dev libapache2-mod-php5\n\n###### B)Locate The Zipped files given:\n  * Nagios Plugins\n  * Nagios Core\n\n###### C)Extract:\n  * tar zxvf nagios-3.4.4.tar.gz\n  * tar zxvf nagios-plugins-1.4.16.tar.gz\n\n###### D)Nagios User and Group:\n  * useradd nagios\n  * groupadd nagcmd\n  * usermod -a -G nagcmd nagios\n\n###### E)Configure\n  * cd nagios\n  * ./configure --with-nagios-group=nagios --with-command-group=nagcmd \n  * ./configure --with-mail=/usr/bin/sendmail\n\n###### F)Install \n  * make all\n  * make install\n  * make install-init\n  * make install-config\n  * make install-commandmode\n  * make install-webconf\n\n###### Starting the service:\n  * cp -R contrib/eventhandlers/ /usr/local/nagios/libexec/\n  * chown -R nagios:nagios /usr/local/nagios/libexec/eventhandlers\n  * /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg\n\n  Now you can start up Nagios:\n  * /etc/init.d/nagios start\n\n  Change password:\n  * htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin\n  **OR\n  **Alternate instructions\n  * cd /usr/local/nagios/etc \n  * htpasswd -c htpasswd.users nagiosadmin\n\n###-----------Nagios Plugins-------------\n  * cd /tmp/nagios-plugins-1.4.16\n  * ./configure --with-nagios-user=nagios --with-nagios-group=nagios\n  * make\n  * make install\n\n  * ln -s /etc/init.d/nagios /etc/rcS.d/S99nagios\n\n**At this point you should be done and should be able to use your browser using [http://\u003cyour nagios ip\u003e/nagios ] and everything should be running well. **\nIf not try rebooting!\n\n**if you try these commands to check if Nagios is running you may get a positive on the first and a definite \"Config error\" on the service nagios start\n* ps aux | grep bin/nagios (to check if it's running)\n* service nagios start (will start nagios)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgaref%2Fnagios_demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpgaref%2Fnagios_demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgaref%2Fnagios_demo/lists"}