Difference between revisions of "Nagios monitoring"

From Ever changing code
Jump to navigation Jump to search
Line 9: Line 9:
= Post installation configuration =
= Post installation configuration =
Set up user name and password. A default username is '''nagiosadmin'''
Set up user name and password. A default username is '''nagiosadmin'''
  sudo htpasswd -c /usr/local/nagios/etc/passwd nagiosadmin ''nagiospassword''
  sudo htpasswd -c -b  /etc/nagios/passwd nagiosadmin ''nagiospassword''
 
=Adding host to monitor=
=Adding host to monitor=


= References =
= References =
*[http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html Fedora Quickstart] Rpm based quide and install from sources
*[http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html Fedora Quickstart] Rpm based quide and install from sources

Revision as of 14:28, 2 February 2014

Installation Nagios on EC2 Ami instance and monitor a generic host on Internet.

Installation

Install Nagios core package

sudo yum install nagios

Install plugins. Without the plugins you will not be able to monitor even localhost.

sudo yum install nagios nagios-plugins-all

Install SNMP

yum install net-snmp-utils net-snmp

Post installation configuration

Set up user name and password. A default username is nagiosadmin

sudo htpasswd -c -b  /etc/nagios/passwd nagiosadmin nagiospassword

Adding host to monitor

References