How to gather "show tech" info from Cisco switch based on threshold

_alHello All,

I'm trying to find a way to gather "show tech" info from a group of Cisco switches once they reach a certain cpu utilization threshold. I know I can set up an advanced alert in NPM, and select a Triggered Action-->External Program, but I'm not that handy with writing scripts. Is there a simpler way to do this with NPM and NCM?

We have Catalyst 4500 model switches that randomly have very high cpu conditions that only clear with a reboot, so we are trying to capture the state of the switch ("show tech" output) when the condition occurs. 

Thanks!

DW