Nagios Configuration

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

Moderator: ScalixSupport

cedross
Posts: 21
Joined: Fri Mar 23, 2007 8:00 pm
Location: Brampton,Ontario,Canada
Contact:

Nagios Configuration

Postby cedross » Wed Jan 14, 2009 6:18 pm

Hi there,

I am running Scalix 11.3 and I have installed Nagios 3 on a separate server. I have set it up but I am getting errors on a lot of the checks. For most of them the status says:

CHECK_NRPE:Socket timeout after 10 seconds.

Can anyone give me an idea how to fix this? Thanks in advance.

Chirvan

stephan.klein
Posts: 68
Joined: Thu Feb 22, 2007 1:10 pm
Location: Germany

Postby stephan.klein » Fri Jan 16, 2009 7:18 am

Hi,

there seems to be a problem, when nagios executes the check-command. Try to execute he command on the command line and check the output. Maybe, there is just a 'sudo' missing.

Here is a working example copied out of my nrpe.cfg

Code: Select all

command[check_scalix_d]=sudo /usr/lib/nagios/plugins/check_daemons.py -d
command[check_scalix_s]=sudo /usr/lib/nagios/plugins/check_daemons.py -s
command[check_clamd]=sudo /usr/lib/nagios/plugins/check_clamd -H /var/run/clamav/clamd.ctl -w 2 -c 5
command[check_mailq]=/usr/lib/nagios/plugins/check_postfix -w 25 -c 80
command[check_spamc]=/usr/lib/nagios/plugins/check_spamc
command[check_scalix_queues]=sudo /usr/lib/nagios/plugins/check_queues.py -c $ARG1$ -w $ARG2$ -q $ARG3$


Regards
Stephan

cedross
Posts: 21
Joined: Fri Mar 23, 2007 8:00 pm
Location: Brampton,Ontario,Canada
Contact:

Command Line Output

Postby cedross » Mon Jan 19, 2009 1:37 pm

I am tried using it on the command line and get :

OK - Scalix daemons running.

OK - Scalix services running.

cedross

cedross
Posts: 21
Joined: Fri Mar 23, 2007 8:00 pm
Location: Brampton,Ontario,Canada
Contact:

Command Line Output

Postby cedross » Mon Jan 19, 2009 2:54 pm

I am using NRPE and I have run the commands in my nrpe.cfg file from the command line and they all seem to work.


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 2 guests