Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:rhomann:nagiosQL-2
nagios
nagios.quick-start.txt
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nagios.quick-start.txt of Package nagios
The nagios default configuration will monitor 'localhost'. To activate nagios monitoring, run these two commands as root: insserv nagios rcnagios start nagios logs to /var/log/messages via syslogd, and it writes logfiles to /var/log/nagios/ Status mails will be sent to the user 'nagios@localhost'. The host status can also be viewer with a webinterface. If the webserver is not already running, start it with the following two commands: insserv apache2 rcapache2 start Per default, only connects from localhost are allowed. Adjust the configfile /etc/apache2/conf.d/nagios.conf for your needs. To actually view the status of the configured hosts, an apache user is required. Add these lines to the section '<Directory /usr/lib/nagios/cgi>' in /etc/apache2/conf.d/nagios.conf: AllowOverride None AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user Now create a password file for apache and add an apache user named 'nagiosadmin' (or any other username you like): touch /etc/nagios/htpasswd.users chown root:www /etc/nagios/htpasswd.users chmod 640 /etc/nagios/htpasswd.users htpasswd2 -s /etc/nagios/htpasswd.users nagiosadmin Tell nagios what users are allowed to execut cgi commands. Edit /etc/nagios/cgi.cfg and enable the following config options: authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_service_commands=nagiosadmin authorized_for_all_host_commands=nagiosadmin Reload the apache configuration with 'rcapache2 reload'. Connect with a webbrowser to http://localhost/nagios
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor