I’m having trouble building a “Custom Command Alert” that reads a file for a value. I want to do something like:
grep “some string” /path/somefile | wc –l
where the returned value would be “2” under normal circumstances, and “1” or “0” in the event of a failure of the monitored metric.
I have put the file in my home directory with 644 privileges, and alternatively in/data/app/instances/AppDynamics/MachineAgent/monitors/MySQLMonitor and owned by the linux “appdynamics” user, but no success in either case.
Any suggestions?
Hi Loren,
We see you have raised help ticket for the same , we would like to inform that support team already working internally to provide build that could help us provide more logging to debug further, we will keep you posted on help ticket raised.
Regards,
Arun