Line 1: |
Line 1: |
| {{Languages}} | | {{Languages}} |
| {{Needs review}} | | {{Needs review}} |
− | | + | {{Note box|msg=Suggest looking at [[Zabbix]] which works for SME9.*}} |
− | {{Note box|This contrib was only applied and used on fresh SME (server only mode) install. Conflicts with other installed packages were not examined. The author strongly recommend to install this monitoring system on a dedicated server. It is entirely possible to run it on a virtualized system, which monitors the host itself. In this case you should set up a second Nagios server (acting as a watchdog) on an independent hardware (physically or virtualized) to monitor the main Nagios system}} | + | {{Note box|msg=This contrib was only applied and used on fresh SME (server only mode) install. Conflicts with other installed packages were not examined. The author strongly recommend to install this monitoring system on a dedicated server. It is entirely possible to run it on a virtualized system, which monitors the host itself. In this case you should set up a second Nagios server (acting as a watchdog) on an independent hardware (physically or virtualized) to monitor the main Nagios system}} |
− | | + | {{Note box|msg=This contrib does not work on SME8b6 as documented here, there are a few changes needed to the repository info and also the yum commands, also a change needs to be made to the location of the nagios.pid file in order for it run successfully after installation. There is an outstanding bug [[bugzilla:5539]] which contains the necessary information.}} |
− | | |
| === Maintainer === | | === Maintainer === |
| Michael Weinberger | | Michael Weinberger |
Line 15: |
Line 14: |
| This [[Nagios]] contrib installs Nagios Version 3 and was tested on fresh installed SME Server 7.3 | | This [[Nagios]] contrib installs Nagios Version 3 and was tested on fresh installed SME Server 7.3 |
| It provides all packages needed to setup a SME Server as a central Nagios monitoring server including the graphical performance data analyser [http://www.pnp4nagios.org/start PNP4Nagios]. | | It provides all packages needed to setup a SME Server as a central Nagios monitoring server including the graphical performance data analyser [http://www.pnp4nagios.org/start PNP4Nagios]. |
| + | (Applied this how-to on a fresh SME Server 7.4, works) |
| | | |
| {| cellpadding=10 | | {| cellpadding=10 |
Line 33: |
Line 33: |
| |- | | |- |
| | smeserver-nagios-nsca || 2.0.0-1 || 17 Nov 2008 || Integrates NSCA service into the SME Server (needed in a Distributed Installation) | | | smeserver-nagios-nsca || 2.0.0-1 || 17 Nov 2008 || Integrates NSCA service into the SME Server (needed in a Distributed Installation) |
| + | |- |
| + | | smeserver-nagios-plugins-mysql || 2.0.0-1 || 18 Nov 2008 || Plugin that checks the mysqld service on a SME Server |
| |- | | |- |
| | smeserver-nagios-backup || 2.0.0-1 || 17 Nov 2008 || Nagios backup integration. Includes Nagios configuration and status data into the SME standard backup | | | smeserver-nagios-backup || 2.0.0-1 || 17 Nov 2008 || Nagios backup integration. Includes Nagios configuration and status data into the SME standard backup |
Line 41: |
Line 43: |
| |- | | |- |
| | perl-Nagios-Plugin || 0.17-1 || 19 Oct 2007 || A family of perl modules to streamline writing Nagios plugins | | | perl-Nagios-Plugin || 0.17-1 || 19 Oct 2007 || A family of perl modules to streamline writing Nagios plugins |
− | |-
| |
− | | smeserver-nagios-plugins-mysql || 1.0.2 || 24 Nov 2007 || Plugin that checks the mysqld service on a SME Server
| |
| |- | | |- |
| | nagios-of-plugins || 0.9.4-1 || 08 Jul 2007 || Additional plugins written by [http://www.openfusion.com.au/labs/nagios/ Gavin Carr of Open Fusion] | | | nagios-of-plugins || 0.9.4-1 || 08 Jul 2007 || Additional plugins written by [http://www.openfusion.com.au/labs/nagios/ Gavin Carr of Open Fusion] |
Line 63: |
Line 63: |
| | | |
| ==== Configure the dag repositoy ==== | | ==== Configure the dag repositoy ==== |
− | {{Repository|dag}}
| + | You need to activate the [[Dag]] reposity before installing this contrib.<br /> |
| + | |
| + | see [[dag|dag repository]] <br /> |
| | | |
| ==== Installation of a central Nagios server ==== | | ==== Installation of a central Nagios server ==== |
Line 185: |
Line 187: |
| cd /etc/nagios | | cd /etc/nagios |
| rm -rf commands/default.cfg \ | | rm -rf commands/default.cfg \ |
− | objects | + | objects \ |
| contacts/contacts.cfg \ | | contacts/contacts.cfg \ |
| hostgroups/default.cfg \ | | hostgroups/default.cfg \ |
Line 223: |
Line 225: |
| | | |
| rpm -e \ | | rpm -e \ |
− | nagios \
| + | nagios-of-plugins \ |
− | nagios-of-plugins \
| + | nagios-plugins-esx3i \ |
− | nagios-plugins-generic \
| + | nagios-plugins-generic \ |
− | nagios-plugins-setuid \
| + | nagios-plugins-temptrax \ |
− | nagios-plugins-temptrax \
| + | perl-Nagios-Plugin \ |
− | perl-Nagios-Plugin \
| + | pnp \ |
− | smeserver-nagios-plugins-mysql
| + | smeserver-nagios \ |
| + | smeserver-nagios-backup \ |
| + | smeserver-nagios-nrpe \ |
| + | smeserver-nagios-nsca \ |
| + | smeserver-nagios-plugins-mysql \ |
| + | nagios-plugins-setuid \ |
| + | perl-Config-Tiny |
| | | |
| + | Remvove the dependencies if not needed by other contribs |
| + | rpm -e \ |
| + | fping \ |
| + | gd \ |
| + | libart_lgpl \ |
| + | libmcrypt \ |
| + | nagios \ |
| + | nagios-nrpe \ |
| + | nagios-nsca \ |
| + | nagios-nsca-client \ |
| + | nagios-plugins \ |
| + | nagios-plugins-nrpe \ |
| + | perl-Class-Accessor \ |
| + | perl-Crypt-DES \ |
| + | perl-Math-Calc-Units \ |
| + | perl-Net-SNMP \ |
| + | perl-Params-Validate \ |
| + | perl-rrdtool \ |
| + | rrdtool \ |
| + | xinetd |
| + | Ignore the warnings about non-existing user nagios and group nagios. |
| expand-template /etc/httpd/conf/httpd.conf | | expand-template /etc/httpd/conf/httpd.conf |
| service httpd-e-smith restart | | service httpd-e-smith restart |
Line 246: |
Line 275: |
| * PNP4Nagios: http://www.pnp4nagios.org/pnp/start | | * PNP4Nagios: http://www.pnp4nagios.org/pnp/start |
| ---- | | ---- |
− | [[Category: Contrib]] | + | [[Category: Deprecated_Contrib]] |
| + | [[Category: Nagios]] |
| [[Category: Webapps]] | | [[Category: Webapps]] |
− | [[Category: Administration]] | + | [[Category: Administration:Monitoring]] |