Page 1 of 1

Ommaint/omstat -q queue 'errors'

Posted: Wed Jan 04, 2006 6:20 am
by btisdall
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

Re: Ommaint/omstat -q queue 'errors'

Posted: Wed Jan 04, 2006 7:49 am
by ScalixSupport
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.

Posted: Wed Jan 04, 2006 8:43 am
by btisdall
Thanks!