Hi there,
I've created a bash script that prints out the total file handles for a process you specify on the command line. I've uploaded my script to the servers and I'm trying to have APM pass in the parameter (process name) but it's not working. The script is called fileHandles.sh and I've placed it /usr/local/bin. All I want to do is be able to specify the process on a per server basis and not have to include it inside the script.
I'm currently filling in the fields like this:
Command line: /usr/local/bin/fileHandles.sh TestProcess
Working directory: /usr/local/bin
Script: filler
I've tried moving the process name down to the script section and adding ${Script} to the command line but that doesn't work either.
Can someone please help point me in the right direction?
Thanks,
Brandon