Koozali.org formerly Contribs.org

Nagios on Fresh SME 7.51 Server

Offline Bud

  • *
  • 487
Nagios on Fresh SME 7.51 Server
« on: April 12, 2012, 11:58:31 AM »
Please guys i need your help

Followed the how to: http://wiki.contribs.org/Nagios#Installation
When i get to:

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

I get an ERROR: /bin/cp: cannot stat `/etc/nagios/nagios.cfg-smeserver': No such file or directory

That is because there is no such files(s) in the /etc/nagios folder.
Cannot get Nagios 3 to Install

Please help

Offline mmccarn

  • *
  • 2,469
Re: Nagios on Fresh SME 7.51 Server
« Reply #1 on: April 13, 2012, 12:59:52 PM »
/etc/nagios/nagios.cfg-smeserver is included in smeserver-nagios-2.0.0-1.el4.sme.noarch.rpm, which is in the smecontribs repo.

If you don't have that file, try running this command:
Code: [Select]
yum --enablerepo=smecontribs install smeserver-nagios

Here are the nagios-related rpms I see in smecontribs:
2010-12-06: smeserver-nagios-2.0.0-1.el4.sme
2010-12-06: smeserver-nagios-plugins-mysql-2.0.0-1.el4.sme
2010-12-06: smeserver-nagios-nsca-2.0.0-1.el4.sme
2010-12-06: smeserver-nagios-nrpe-2.0.0-1.el4.sme
2010-12-06: smeserver-nagios-backup-2.0.0-1.el4.sme