TECHZEN Zenoss User Community ARCHIVE  

One SSH command per object variable in a modeler?

Subject: One SSH command per object variable in a modeler?
Author: [Not Specified]
Posted: 2015-08-31 06:25

Hello,

I have an object with 3 attributes, each of them needs to be updated with 3 different SSH
scripts (e.g. one script / variable).

What is the best way to achieve that

a.) Create a customer collector
b.) Create 3 instances of a command collector (as I'm not aware of command collector being able to execute
3 different SSH commands)

Is there a working example somewhere for that
Thanks,



Subject: command a && echo '__SEP__' &
Author: Andrew Kirch
Posted: 2015-08-31 13:14

command a && echo '__SEP__' && command b then write a custom parser.

Andrew Kirch

akirch@gvit.com

Need Zenoss support, consulting or custom development Look no further. Email or PM me!

Ready for Distributed Topology (collectors) for Zenoss 5 Coming May 1st from GoVanguard



Subject: Oh f@ck how lame I am. Thanks
Author: [Not Specified]
Posted: 2015-08-31 23:08

Oh f@ck how lame I am. Thanks Trelane I should have thought about that.



< Previous
problem with viewing the graphs
  Next
Stability of version 5
>