Nagios ERROR queue problem.

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

BigBirdy
Posts: 133
Joined: Sun Mar 13, 2005 2:10 pm
Location: Squamish, BC
Contact:

Nagios ERROR queue problem.

Postby BigBirdy » Tue Aug 09, 2005 11:31 am

I have setup most of the Nagios scripts and commands for checking the various Scalix services and queues. Things "appeared" to be working with regards to the queues as I knew I had one corrupted message in the ERROR queue and the Nagios command returned "Scalix message queue ERROR has 1 message(s)" . But I went into the SAC and deleted that currupted message and so the list of messages in all the queues is correctly showing "0" in the SAC, but the Nagios check command below still shows a message in the ERROR queue? Where is this info comming from if the SAC shows all 0's for messages in the queues?

#/usr/local/nagios/libexec/check_queues.py -c 5 -w 1 -q ERROR

WARNING - Scalix message queue ERROR has 1 message(s)

julio
Scalix
Scalix
Posts: 15
Joined: Fri Jun 24, 2005 6:51 pm
Location: San Mateo
Contact:

Re: Nagios ERROR queue problem.

Postby julio » Wed Aug 10, 2005 1:00 am

BigBirdy wrote:I have setup most of the Nagios scripts and commands for checking the various Scalix services and queues. Things "appeared" to be working with regards to the queues as I knew I had one corrupted message in the ERROR queue and the Nagios command returned "Scalix message queue ERROR has 1 message(s)" . But I went into the SAC and deleted that currupted message and so the list of messages in all the queues is correctly showing "0" in the SAC, but the Nagios check command below still shows a message in the ERROR queue? Where is this info comming from if the SAC shows all 0's for messages in the queues?

#/usr/local/nagios/libexec/check_queues.py -c 5 -w 1 -q ERROR

WARNING - Scalix message queue ERROR has 1 message(s)


The number of messages is coming from the output of omstat -q ERROR.
Do you observe this for ERROR queue or all the queues?
The Best Ideas are Simple

julio
Scalix
Scalix
Posts: 15
Joined: Fri Jun 24, 2005 6:51 pm
Location: San Mateo
Contact:

Re: Nagios ERROR queue problem.

Postby julio » Wed Aug 10, 2005 6:25 pm

Also, not that SAC does the check on demand, whereas Nagio does the check on scheduled polling inverval. It is very likely that the next check from nagios has not been scheduled or the htm page is not getting updated.
The Best Ideas are Simple

BigBirdy
Posts: 133
Joined: Sun Mar 13, 2005 2:10 pm
Location: Squamish, BC
Contact:

Still a Problem

Postby BigBirdy » Fri Aug 12, 2005 11:35 am

There is still an inconsistency between what omstat -q ERROR and the check_queue python script as seen below. Possibly the author of these python scripts could assist?


[root@pbco-server2 ~]# omstat -q ERROR
omstat : There are no messages on the queue

[root@pbco-server2 ~]# cd /usr/local/nagios/libexec/
[root@pbco-server2 libexec]# ./check_queues.py -c 5 -w 1 -q ERROR
WARNING - Scalix message queue ERROR has 1 message(s)


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 43 guests

cron