[rt-users] problem getting notificiations to execute

darren chamberlain darren at boston.com
Fri Jun 7 13:47:01 EDT 2002


* Douglas E. Warner <dwarner at ctinetworks.com> [2002-06-06 16:44]:
> I wrote this perl script that handles notifications for me and takes the 
> output and hostname and other things as variables; but for some reason the 
> strings are getting all broken up (ie, some thing like "OK - 
> Packet:loss:=:0%,:RTA:=:0.17:ms" is being broken up at every space).   I'll 
> paste below relevant parts of config.

It looks like something is eating the quotes in the command_line
section, otherwise -O:CRITICAL:-:Plugin:timed:out:after:10:seconds''
would be -O:'CRITICAL - Plugin timed out after 10 seconds'.  Since you
are joining @ARGV on ":", it looks like the shell (or whatever it is)
that is populating argv is Doing The Wrong Thing.

Forgive me if this is obvious to everyone but me, but what is the
command for which the "define command { }" config files are relevant,
and how is it being invoked?

(darren)

-- 
Doubt isn't the opposite of faith; it is an element of faith.
    -- Paul Tillich, German theologian.




More information about the rt-users mailing list