Hi Neal,

On Thu, Sep 23, 2010 at 04:17:22PM -0700, Neal Tucker wrote:
> Is there a way I can define two <Exec> sections without having one
> clobber the other?  Is there another way to solve this problem?

yes, all you have to do it repeat the '<Plugin "exec">' block. For
example:

-- 8< --
# File "group-0/task-a"
<Plugin "exec">
  Exec "task-a-user" "/usr/local/lib/collectd/task-a"
</Plugin>
-- >8 --

-- 8< --
# File "group-1/task-b"
<Plugin "exec">
  Exec "task-b-user" "/usr/lib/collectd/task-b" "arg0"
</Plugin>
-- >8 --

HTH. Regards,
—octo
-- 
Florian octo Forster
Hacker in training
GnuPG: 0x0C705A15
http://octo.it/

Attachment: signature.asc
Description: Digital signature

_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to