I'm afraid there is no way to customize the 'out-the-box' activity, although I can add it as a feature request if you'd like?
However if you are familiar with VB Scripting; you may be able to create your own custom activity to get the data you need.
See: http://www.kiwisyslog.com/help/cattools/act_creatingcustomactivity.htm for more information.
The Custom.Device.Template.txt.custom file in the Templates folder is actually based on a more simple Version report... so you should at least have a good starting point.
the template triggers "show version" on the device where "show diag" is needed (including Chassis Mac Address)
I did not get it work until now, you may add this as a feature request.
In the .custom file (which you use to extend your existing devices with your custom activities), you need to locate the lines:
' SEND COMMAND(S) TO DEVICE:
sCmd = "show version"
then change the sCmd value to "show diag" instead.
Hope this helps,
I already changed that and it ended up:
"Client script error: Wrong number of arguments or invalid property assignement: 'SendCommandSingle' on line: 6660"
(Even with show version it's the same error)
I need to issue both (show version and show diag) to get all the information I need.
The underlying issue is that some of the older device type scripts (Cisco.Router.General and Cisco.Switch.IOS for example) require a slightly different set of parameters for the SendCommandSingle call.
If any other users encounter this same issue in the future, please raise a ticket with CatTools tech support specifying which device type(s) your custom activity is failing for. We can then provide you with a list of the correct parameters for these older device scripts.