[rt-devel] Feature request: Ignore Global Scrips

Bruce Campbell bruce_campbell at ripe.net
Tue Dec 3 09:53:08 EST 2002

On Tue, 3 Dec 2002, Stanislav Sinyagin wrote:

> It would be nice for some queues not to inherit the global scrips.

It depends on what you are doing in your global scrips as to whether this
is needed, but a method of doing so would be to:


	# Skip running the global scrips in the following queue.
	$SkipGlobalsinQueue = "netmon";


	sub Create {
	+	# See whether we skip this queue
	+	if( $TicketAsSystem->QueueObj->Name() ne $RT::SkipGlobslsinQueue ){
	+	}

> There are two possible workarounds: 1) remove some
> actions from Global Scrips and replicate them into
> the specific queues; 2) alias nagios at ourdomain to /dev/null

> Both these workarounds look ugly, and the RT option
> that disables global scrips for particular queue, would be
> very nice.

The above supplied hack is certainly not graceful (its not extendable to
multiple queues), and in this specific instance, sending nagios at yourdomain
would be far easier (assuming you're not providing input to nagios via


                             Bruce Campbell                            RIPE
                   Systems/Network Engineer                             NCC
                 www.ripe.net - PGP562C8B1B             Operations/Security

More information about the Rt-devel mailing list