Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
08-05-2018 09:18 PM
Hi,
I want to monitor backup of onpremise Github Enterprise using backup-util
https://github.com/github/backup-utils
I want to use AppD monitoring extension using scripts
https://docs.appdynamics.com/display/PRO44/Build+a+Monitoring+Extension+Using+Scripts
Can someone provide me sample script already created for monitoring extension using scripts.
Solved! Go to Solution.
08-06-2018 10:49 AM
Hi Vaibhav,
You can use the example listed here. The script here gets some values, and returns them following the requirements listed in the documentation so that they can be picked up by the Machine Agent and sent to the controller. You can modify this script to meet your requirements. The documentation has all the details that you would need to create/modify that script.
Please let us know if you have any other questions regarding this.
Thanks,
Bhuvnesh
08-08-2018 04:26 AM
Hi Bhuvnesh,
My check_backup.sh echo's below
echo "name=GHEBackup|backupStatus,value="$backupStatus echo "name=GHEBackup|backupDuration,value="$backupDuration
And my monitor.xml does a periodic run of the my script. After restarting agent, I see in monitor-agent.log that my script runs periodically. But in metric browser I dont see the custom metrics yet. Please point where if I am wrong.
08-08-2018 10:10 AM
Hi Vaibhav,
Please make sure that your metrics start with Custom Metrics in the beginning, and the values return a numerical value.
name="Custom Metrics|GHEBackup|backupStatus,value="$backupStatus name="Custom Metrics|GHEBackup|backupDuration,value="$backupDuration
Thanks,
Bhuvnesh
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 | |
1 |
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form