Your best bet is to just write a shell script that does the desired function 
and simply put the full path to that in your command area.

Make your script accept command line arguments for the info it needs from 
Zenoss....

Such as this.... (note I use my own scripts folder inside /opt/zenoss. you need 
to make this folder) You could potentially store the passwords in your script 
and set permissions on it so no one else can read it. Putting your password in 
Zenoss might require a special Zproperty or just use something you know it 
doesnt use like zLinks   Just understand others can view that from Zenoss. 
Another thought is to use zTelnetPasswordRegex as long as zTelnetEnable is 
false. Just be careful 

Sample user command contents

/opt/zenoss/scripts/ShowAssoc.sh ${device/manageIp} 
${device/zTelnetPasswordRegex}




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=16181#16181

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to