Ommaint/omstat -q queue 'errors'

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

Ommaint/omstat -q queue 'errors'

Postby btisdall » Wed Jan 04, 2006 6:20 am

Hi,

I see from the following posting a while back:

http://tinyurl.com/czqya

That there's an issue that's giving the following error with omstat -q queue:

omstat : [OM.DMON 1011] A queue name specified does not exist.

This then causes the ommaint script to send spurious mail every time it's run.

Whilst I go off and brush up on my bash scripting, does anyone have a quick 'n dirty hack for ommaint to suppress this behaviour without disabling error queue checking altogether?

Thanks & regards,

Ben Tisdall

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Re: Ommaint/omstat -q queue 'errors'

Postby ScalixSupport » Wed Jan 04, 2006 7:49 am

btisdall wrote:Hi,

I see from the following posting a while back:

http://tinyurl.com/czqya

That there's an issue that's giving the following error with omstat -q queue:

omstat : [OM.DMON 1011] A queue name specified does not exist.

This then causes the ommaint script to send spurious mail every time it's run.

Whilst I go off and brush up on my bash scripting, does anyone have a quick 'n dirty hack for ommaint to suppress this behaviour without disabling error queue checking altogether?

Thanks & regards,

Ben Tisdall


Hi Ben,

in ommaint, line 122 remove SMERR.

It should read: for queue in ERROR

Note: This is for CE users ONLY!

Cheers,

Sascha.

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

Postby btisdall » Wed Jan 04, 2006 8:43 am

Thanks!


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 33 guests