Well, I do the same thing and I get the error. Perhaps it is something
to do with using the shipped VMware bundled server? I don't know. Are
you trying the command against a Windows box vs a Linux box? I'm going
to try and upgrade to the just announced 1.1.1 version and see if that
helps.
Robert
Eric Newton wrote:
I did it inside the GUI. I navigated to Device -> Manage, I added a
command.
Robert Dick wrote:
Eric:
Thanks for the info but I'm still a bit in the dark. Did you run
your commands form inside Zenoss GUI or at command line level on the
server?
Robert
Eric Newton wrote:
Hi Robert,
I just created a command at the /Device organizer:
echo ${dev/zWinUser}
And ran it, and it produced a list of all the user names. I also
did this:
ping -c 5 ${dev/getManageIp}
And it pinged every machine I have loaded.
-Eric
Robert Dick wrote:
I am playing around with Zenoss 1.1.0 (the downloadable VM). I
have a WIndows 2003 server (SBS) setup for monitoring and I am
capturing data and alerts without a problem. I am trying to get
remote commands to work against the device entry for the W2K3 box.
As a test I have created a command that should restart the DHCP
server on the W2K3 box, command is as follows:
{{{ /usr/bin/winexe -U "${device/zWinUser}%${device/zWinPassword}"
//${device/manageIp} "net start DHCPSERVER" }}}
When I execute the command I get the following error:
==== DHCPServer ====
exception while performing command for DHCPServer
type: exceptions.KeyError value: 'device'
I have modified the script and substituted "dev" for "device" but I
get the same error. Can anyone enlighten me as to what's wrong?
The docs are very thin on the synatx for remote commands using TAL.
Thanks!
Robert
_______________________________________________
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