Hi Ruben,

Slightly late but, for what is worth, to agree with your latter ideas.
One thing i wanted to specify is the following:

>> * You can't specify arguments to the script, so you'd need uniquely
>> named scripts for each plugin. Even though the only difference would be
>> in which directory it should look for files.

True, no arguments but environment variables are set for you. For example
database name, table name, etc. are all available. This is documented in:
docs/TRIGGER_VARS in the standard pmacct distribution tarball (the doc is
in turn referenced by the sql_trigger_exec entry in CONFIG-KEYS).

Cheers,
Paolo


_______________________________________________
pmacct-discussion mailing list
http://www.pmacct.net/#mailinglists

Reply via email to