[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
howtos:software:install_nagios_on_slackware [2013/06/03 12:22 (UTC)] – lexus45 | howtos:software:install_nagios_on_slackware [2019/02/21 11:40 (UTC)] (current) – removed markand | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Install Nagios On Slackware ====== | ||
- | (Slackware 13.37) \\ | ||
- | |||
- | - Create the nagios group and user: < | ||
- | # groupadd -g 213 nagios | ||
- | # useradd -u 213 -d /dev/null -s /bin/false -g nagios nagios | ||
- | </ | ||
- | - Add the ' | ||
- | # usermod -aG nagios apache | ||
- | </ | ||
- | - Install the Nagios:: | ||
- | cpan -i Nagios:: | ||
- | </ | ||
- | - Use [[http:// | ||
- | * RRDTool | ||
- | * nagios (currently, the package which can be built using a [[http:// | ||
- | * nagios-plugin package | ||
- | * nagios-graphing | ||
- | - Edit ''/ | ||
- | CHANGE: | ||
- | | ||
- | TO: | ||
- | | ||
- | CHANGE: | ||
- | | ||
- | TO: | ||
- | | ||
- | </ | ||
- | - Edit ''/ | ||
- | CHANGE: | ||
- | | ||
- | TO: | ||
- | | ||
- | </ | ||
- | - Edit ''/ | ||
- | CHANGE: | ||
- | < | ||
- | | ||
- | </ | ||
- | TO: | ||
- | < | ||
- | | ||
- | </ | ||
- | CHANGE: | ||
- | # Uncomment the following line to enable PHP: | ||
- | # | ||
- | # Include / | ||
- | TO: | ||
- | # Uncomment the following line to enable PHP: | ||
- | # | ||
- | | ||
- | ADD: | ||
- | | ||
- | </ | ||
- | - Make sure apache starts at boot and start/ | ||
- | # chmod 755 / | ||
- | # / | ||
- | </ | ||
- | - Set the password for // | ||
- | # htpasswd -c / | ||
- | </ | ||
- | - (Not sure if this is necessary but, leaving it in until I can test) \\ Make sure nagios starts at boot and start/ | ||
- | - Edit ''/ | ||
- | # Start nagios: | ||
- | if [ -x / | ||
- | echo " | ||
- | / | ||
- | fi | ||
- | </ | ||
- | - Edit ''/ | ||
- | # Stop nagios: | ||
- | if [ -x / | ||
- | echo " | ||
- | / | ||
- | fi | ||
- | </ | ||
- | - Make rc.nagios executable: < | ||
- | # chmod 755 / | ||
- | </ | ||
- | - Start nagios: < | ||
- | # / | ||
- | </ | ||
- | |||
- | ====== Check That Nagios Is Running ====== | ||
- | |||
- | Goto **http:// | ||
- | |||
- | ====== Add Users ====== | ||
- | |||
- | - Run the '' | ||
- | # htpasswd -c / | ||
- | # htpasswd -c / | ||
- | </ | ||
- | - Edit ''/ | ||
- | authorized_for_all_services=nagiosadmin, | ||
- | authorized_for_all_hosts=nagiosadmin, | ||
- | </ | ||
- | |||
- | |||
- | ====== Sources ====== | ||
- | |||
- | <!-- If you are copying information from another source, then specify that source --> | ||
- | <!-- * Original source: [[http:// | ||
- | <!-- Authors are allowed to give credit to themselves! --> | ||
- | * Originally written by [[wiki: | ||
- | <!-- * Contributions by [[wiki: | ||
- | |||
- | <!-- Please do not modify anything below, except adding new tags.--> | ||
- | <!-- You must remove the tag-word " | ||
- | {{tag> |