Changes

Jump to navigation Jump to search
186 bytes removed ,  00:10, 26 January 2014
no edit summary
Line 58: Line 58:  
=== Installation ===
 
=== Installation ===
   −
{{Note box|If you have the Nagios 2 contrib installed, follow the update instructions below}}
+
{{Note box|The Current version of nagios is 3.2 in smecontribs, there is no plan yet to update this contrib. If you have the skill and the need you should work to update this work to the newer release.}}
    
==== Installation of a central Nagios server ====
 
==== Installation of a central Nagios server ====
Line 64: Line 64:     
  yum install --enablerepo=smecontribs smeserver-nagios nagios
 
  yum install --enablerepo=smecontribs smeserver-nagios nagios
 +
 +
then to configure :
 +
 +
/bin/cp -ba /etc/nagios/nagios.cfg-smeserver /etc/nagios/nagios.cfg
 +
/bin/cp -ba /etc/nagios/cgi.cfg-smeserver /etc/nagios/cgi.cfg
 +
 +
then (optional) :
 +
cd /tmp
 +
wget http://repo.openfusion.net/centos5-i386/nagios-of-plugins-0.13.8-1.of.el5.noarch.rpm
 +
yum localinstall nagios-of-plugins-0.13.8-1.of.el5.noarch.rpm
 +
 +
then:
 +
 
  signal-event post-upgrade; signal-event reboot
 
  signal-event post-upgrade; signal-event reboot
 +
 +
alternatively if necessary you can install [[Nagios_NRPE|NRPE]] or [[Nagios_NSCA|NSCA]] addons not yet in smecontribs see [[bugzilla:7644]] or [[bugzilla:7645]]
 +
yum install  --enablerepo=smecontribs smeserver-nagios-nrpe
 +
or
 +
yum install  --enablerepo=smecontribs smeserver-nagios-nsca
 +
then
 +
signal-event post-upgrade; signal-event reboot
 +
 +
==== Configure the dag repositoy ====
 +
 +
You need to activate the [[Dag]] reposity before installing this contrib.<br />
 +
 +
see [[dag|dag repository]] <br />
 +
    
===== Install the VMware ESXi Server CIM Hardware Monitoring (optional) =====
 
===== Install the VMware ESXi Server CIM Hardware Monitoring (optional) =====
Line 82: Line 109:  
To get some configuration hints run  
 
To get some configuration hints run  
 
  rpm -qi nagios-plugins-esx3i
 
  rpm -qi nagios-plugins-esx3i
  −
===== 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.
  −
cd /usr/share/nagios
  −
rm -rf config.js images index.html main.html side side.html stylesheets
  −
cd -
  −
tar --strip-path=1 -C /usr/share/nagios -xzf nagios-nuvola-*.tar.gz
  −
chmod a+r -R /usr/share/nagios
  −
Empty your browser cache and reload the Nagios page.
  −
  −
===== Integrate Ajaxterm in the Nuvola theme Home menu (optional) =====
  −
{{Needs review}}
  −
Install the [[Ajaxterm]] contrib and run
  −
patch -p0 /usr/share/nagios/side/dtree_data.js < dtree_data.js.patch
  −
Empty your browser cache and reload the Nagios page.
  −
  −
===== 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].
  −
  −
tar --strip-path 1 -C /usr/share/nagios/images/logos -xzf nagios-icons-nx-*.tar.gz
  −
chown nagios.root  /usr/share/nagios/images/logos/*
  −
chmod 644  /usr/share/nagios/images/logos/*
      
==== Hints ====
 
==== Hints ====
Line 192: Line 195:  
* PNP4Nagios: http://www.pnp4nagios.org/pnp/start
 
* PNP4Nagios: http://www.pnp4nagios.org/pnp/start
 
----
 
----
[[Category: Contrib]]
+
<nowiki>[[Category: Contrib]]
 
[[Category: Webapps]]
 
[[Category: Webapps]]
 
[[Category: Administration:Monitoring]]
 
[[Category: Administration:Monitoring]]
 +
</nowiki>

Navigation menu