nagios plugin installation issue

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

Derek
Posts: 169
Joined: Fri Mar 24, 2006 4:53 pm
Contact:

nagios plugin installation issue

Postby Derek » Mon Jul 24, 2006 10:51 am

Rather minor, but this could save someone a bit of time...especially if you're new to nagios like myself.

As the plugin is now, if you try to install it and restart nagios it will fail if you are running a 2.x version. The "contact_groups" directive is no longer valid in the "hostgroups.cfg" file, it needs to go in the "hosts.cfg" file now.

Derek
Posts: 169
Joined: Fri Mar 24, 2006 4:53 pm
Contact:

Postby Derek » Mon Jul 24, 2006 11:26 am

I'm finding some other things as well, so I'll just keep updating this thread as I do.

I believe this is a Scalix 9 vs 10 issue:

In /etc/nagios/scalix/checkcommands.cfg remove the **...** text to make it work:

Code: Select all

# 'check_ubermanager' command definition
define command {
        command_name    check_ubermanager
        command_line    $USER1$/check_http -H $HOSTADDRESS$ -u /caa?query=monitor **-p 8080**
}

# 'check_res' command definition
define command {
        command_name    check_res
        command_line    $USER1$/check_http -H $HOSTADDRESS$ -u /res/RESDispatcher?query=monitor **-p 8080**
        }

# 'check_swa' command definition
define command {
        command_name    check_swa
        command_line    $USER1$/check_http -H $HOSTADDRESS$ -u /webmail/ **-p 8080**
        }

heupink
Posts: 146
Joined: Thu Jul 15, 2004 9:36 am
Location: netherlands
Contact:

Postby heupink » Thu Aug 10, 2006 2:22 pm

Also noticed that define hostgroupescalation (as used in escalations.cfg) no longer works in nagios 2.5, so that has to be changed as well.

I guess it's about time that this whole scalix-ready-nagios-whatever thingy get's updated...

regards!

heupink
Posts: 146
Joined: Thu Jul 15, 2004 9:36 am
Location: netherlands
Contact:

Postby heupink » Fri Aug 11, 2006 8:18 am

I finally have nagios / scalix up and running.

I'm not an expert on nagios at all, so it all took quite a bit of work. The documents are really outdated, and if anyone is interested, I could post the whole procedure. (compiled nagios from source on SLES9)

But again: I'm not an expert at all, so most of you will probably have less trouble getting nagios / scalix up and running...

Regards,
mj

nhudson
Posts: 13
Joined: Thu Aug 17, 2006 10:40 am

Postby nhudson » Fri Sep 01, 2006 2:48 pm

I would be interested in knowing how you got it to work with Scalix


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 2 guests