If you know which computer you want to kick this off from, you can just
use something like:
/opt/zenoss/bin/winexe -U "${dev/zWinUser}%${dev/zWinPassword}"
//computer 'putty.exe -ssh ${device/manageIp}'
Though I'm not sure if you can get the ${device/manageIp} to evaluate
within the necessary ' ' for winexe to work... I haven't tried it.
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
Scott Miller wrote:
Well, there are several problems to overcome to be able to do something
like this:
The variables ${device/manageIp} is only resolvable by the zenoss system.
So the first problem to overcome is you have to get zenoss to tell you
what that variable resolves to.
Then, you'd have to get zenoss to kick off an application on your local
machine, with the resolved variable information.
With some javascripting or somesuch all this is possible, but from what
I know, that particular itch hasn't been scratched yet...
Any simple method like what you're trying to do, will attempt to kick
off the application from the zenoss server, not your local system.
-Scott
On Tue, Sep 2, 2008 at 7:29 PM, tlpitch <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
I've done a quick search for this but have not turned up anything so
here we go.
Is there a way to define a command that will launch an executable at
a location I specify such as my computer?
I would like the ability to locate a switch or router from within
Zenoss and then SSH directly to the box. I know I can create custom
commands that will execute on the monitoring host, but I'd like to
run an executable such as the following:
I:\putty.exe -ssh ${device/manageIp}
or something similar. Every time I enter the string above it errors
out. I'm sure I'm not the first person to come across this...
Thanks!
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=24557#24557
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected] <mailto:[email protected]>
http://lists.zenoss.org/mailman/listinfo/zenoss-users
------------------------------------------------------------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users