Changes

From SME Server
Jump to navigationJump to search
1,017 bytes removed ,  20:53, 26 October 2013
Line 98: Line 98:     
==== Installation of a central Nagios server ====
 
==== Installation of a central Nagios server ====
Intstalling the packages
+
All needed packages are in smecontribs
/usr/bin/yum --enablerepo=dag install \
  −
  nagios-plugins-setuid \
  −
  perl-Config-Tiny
     −
  /usr/bin/yum --enablerepo=dag localinstall \
+
  yum install --enablerepo=smecontribs smeserver-nagios nagios
  smeserver-nagios-*.noarch.rpm \
+
  signal-event post-upgrade; signal-event reboot
  pnp-*.i386.rpm \
  −
  smeserver-nagios-backup-*.noarch.rpm \
  −
  perl-Nagios-Plugin-*.noarch.rpm \
  −
  smeserver-nagios-plugins-mysql-*.noarch.rpm \
  −
  nagios-plugins-generic-*.noarch.rpm \
  −
  nagios-of-plugins-*.noarch.rpm \
  −
  nagios-plugins-temptrax-*.el4.rf.i386.rpm \
  −
  nagios-plugins-esx3i-*.el4.noarch.rpm
  −
Use the configuration files from the smeserver-nagios package as a starting point. This provides a working configuration.
  −
  /bin/cp -ba /etc/nagios/nagios.cfg-smeserver /etc/nagios/nagios.cfg
  −
/bin/cp -ba /etc/nagios/cgi.cfg-smeserver /etc/nagios/cgi.cfg
  −
Configuring global access with password required
  −
config set nagios service Name Nagios PublicAccess global-pw
  −
expand-template /etc/httpd/conf/httpd.conf
  −
service httpd-e-smith restart
  −
service nagios restart
  −
Test the installation by pointing your browser to ''<nowiki>https://IPADDRESS/nagios/</nowiki>''
  −
 
  −
Browser login in as admin.
  −
After 10 minutes the performance data graphes are available. Click on on the 'star' icon next to the service name to view the graphes on a new page.
      
===== Install the VMware ESXi Server CIM Hardware Monitoring (optional) =====
 
===== Install the VMware ESXi Server CIM Hardware Monitoring (optional) =====
 +
{{Needs review}}
 
If you plan to monitor an ESx3i server with CIM compliant hardware, you can configure the ESXi plugin
 
If you plan to monitor an ESx3i server with CIM compliant hardware, you can configure the ESXi plugin
 
   /usr/bin/yum --enable=dag install openssl-devel perl-XML-SAX
 
   /usr/bin/yum --enable=dag install openssl-devel perl-XML-SAX
Line 143: Line 121:     
===== Install the Nuvola theme (optional) =====
 
===== Install the Nuvola theme (optional) =====
 +
{{Needs review}}
 
The Nuvola theme provides a nice and modern GUI. The screenshot above was made with the Nuvola theme installed.
 
The Nuvola theme provides a nice and modern GUI. The screenshot above was made with the Nuvola theme installed.
 
  cd /usr/share/nagios
 
  cd /usr/share/nagios
Line 152: Line 131:     
===== Integrate Ajaxterm in the Nuvola theme Home menu (optional) =====
 
===== Integrate Ajaxterm in the Nuvola theme Home menu (optional) =====
 +
{{Needs review}}
 
Install the [[Ajaxterm]] contrib and run
 
Install the [[Ajaxterm]] contrib and run
 
  patch -p0 /usr/share/nagios/side/dtree_data.js < dtree_data.js.patch
 
  patch -p0 /usr/share/nagios/side/dtree_data.js < dtree_data.js.patch
Line 157: Line 137:     
===== Install additional logo icons (optional) =====
 
===== Install additional logo icons (optional) =====
 +
{{Needs review}}
 
This installs a set of icons, including the SME server logo. The logos can be used in the ''hostextinfo{}'' sections. A preview of the logos can be found [http://wiki.contribs.org/images/d/d0/Nagios-logos.jpg here].
 
This installs a set of icons, including the SME server logo. The logos can be used in the ''hostextinfo{}'' sections. A preview of the logos can be found [http://wiki.contribs.org/images/d/d0/Nagios-logos.jpg here].
  

Navigation menu