Koozali.org: home of the SME Server

Anyone built Nagios nsca/send_nsca for &?

mej

Anyone built Nagios nsca/send_nsca for &?
« 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.

mej

OK so how to build a development box?
« Reply #1 on: September 27, 2006, 12:07:31 AM »
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

Offline andy_wismer

  • *
  • 107
  • +0/-0
    • ANWI-Net
Compiling
« Reply #2 on: November 16, 2006, 09:35:28 AM »
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

Offline william_syd

  • *****
  • 1,608
  • +0/-0
  • Nothing to see here.
    • http://www.magicwilly.info
Re: Anyone built Nagios nsca/send_nsca for &?
« Reply #3 on: November 16, 2006, 03:14:08 PM »
Quote from: "mej"
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
Regards,
William

IF I give advise.. It's only if it was me....

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Anyone built Nagios nsca/send_nsca for &?
« Reply #4 on: November 16, 2006, 03:28:24 PM »
Quote from: "mej"

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.

Offline mmccarn

  • *
  • 2,653
  • +10/-0
Anyone built Nagios nsca/send_nsca for &?
« Reply #5 on: November 17, 2006, 07:58:11 AM »
[edit] Oops - everyone on this post has already seen the other one...[/edit]

According to How to build a Development platform - pretty please help? you can download the pre-built nagios-ncsa package from Dag Wieers' Yum repository.