Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: mej on September 25, 2006, 09:22:39 PM
-
Hi all:
we are monitoring several smes using Nagios. I'm about to upgrade them all to 7 from 6. The Nagios box runs Debian (cough :oops:).
I need a 7 version of the Nagios 1.3/1.41 send_nsca executable (it's written in C, about 22k) and the plugins.
Has anyone got a built set I could have? Please?
:)
If not, how do I go about building an SME7 for compilation?
I gather the idea now is to build a CentOS box with the developer packages rather than add development packages to an sme-server? Or am I wrong?
Any help appreciated. TIA.
MeJ
NB :idea: I found the Nagios 2.3 rpm built by Dag Wieers but 2.3 is not current in the 2 series, the nsca is not included (AFAICS) and I am running 1.4 anyway.
-
I see no replies here, so on to the second question:
how best to build a devleopment box to compile the few bits needed?
Any FAQs?
MeJ
-
Hi
To set up a "compiler" box on SME you'd need GCC at least, so start with something like this:
# yum --enablerepo=base install postgresql postgresql-contrib postgresql-devel postgresql-docs postgresql-jdbc postgresql-libs postgresql-pl postgresql-python postgresql-test tetex-latex gcc
# signal-event post-upgrade
# signal-event reboot
(The # indicates your prompt...)
That will give you a basic compiler with gcc, cpp, postgresql and a few other stuff.
You might want to update Perl too:
(this is where gcc is needed.)
perl -MCPAN -eshell
**(Lots of things happen here - just accept the defaults unless you know differntly!!)
cpan> install Bundle::CPAN
cpan> reload cpan
cpan> install MD5
cpan> install Storable
cpan> install DBI
**(Lots of things happen - check right at the end to see that the operation completed OK)
cpan> install DBD::Pg
**(Lots of things happen - check right at the end to see that the operation completed OK)
cpan> exit
You might want other stuff, just use the same "yum" formular as shown...
Your mileage may vary...
Regards
Andy
-
Hi all:
we are monitoring several smes using Nagios. I'm about to upgrade them all to 7 from 6. The Nagios box runs Debian (cough :oops:).
I need a 7 version of the Nagios 1.3/1.41 send_nsca executable (it's written in C, about 22k) and the plugins.
Has anyone got a built set I could have? Please?
:)
If not, how do I go about building an SME7 for compilation?
I gather the idea now is to build a CentOS box with the developer packages rather than add development packages to an sme-server? Or am I wrong?
Any help appreciated. TIA.
MeJ
NB :idea: I found the Nagios 2.3 rpm built by Dag Wieers but 2.3 is not current in the 2 series, the nsca is not included (AFAICS) and I am running 1.4 anyway.
Will this page help?
http://linuxsoft.cern.ch/repository/NByName.html
-
I gather the idea now is to build a CentOS box with the developer packages rather than add development packages to an sme-server? Or am I wrong?
You are correct.
-
[edit] Oops - everyone on this post has already seen the other one...[/edit]
According to How to build a Development platform - pretty please help? (http://forums.contribs.org/index.php?topic=33961.0) you can download the pre-built nagios-ncsa package from Dag Wieers' Yum repository.