On Aug 11, 2006, at 1:16 PM, Eric Newton wrote:
Ok... I dug up the mechanism that Erik used to expand commands.
You can use
dev - the device object
devname - the name of the device
compname - the component name
zNagiosPath - the setting of Z-Property "zNagiosPath" as
inherited by this device
now: the current time as a DateTime object
The template is expanded using TALES, so you can do things like:
check_mailq $devname -w 10 -c 20
Or,
check_ping -H ${dev/manageIp} -w 1,1% -c 1,10%
-Eric
Schweetness. Nice detective work!
d
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users