How to define a Threshold to run a custom script on the managed resource.
NoelLewis 060001F069 Comment (1) Visits (5817)
Let's say you want to use a custom script /tmp
Login to your APM Console, open the Threshold Manager from the left navigation bar, and go to System Configuration > Threshold Manager. In here, you will select a Data Source Type, for example Linux OS. The predefined thresholds for the Linux OS agent are displayed in the table. So let's say you want to add a new Threshold to call your external script, /tmp
KLZ_Disk.Disk_name is passed into the command script as $1.
You can pass in one or more parameters from the attribute group, like $1, $2 and so on to your clean_logs.sh script. So, now when your Threshold is triggered, the /tmp
ITCAM / APM / ICAM L2 Support team
Subscribe and follow us for all the latest information directly on your social feeds: