![]() |
The following how-to guide, will walk you through how to make use of the Geneos rule engine as well as the toolkit sampler in order to display the data. |
![]() |
1 ? Create Simple Script to run on the Toolkit Plugin The following script can be used as an example: #!/bin/bash echo “license, expiry, days” echo “prod, 2018 -jun- 20 , ,” The column ?expiry? would need to be altered to suit the end date of your license, in order for this to work correctly on your system. The script is located under /home/hbatista/scripts/dayDiff.sh NOTE: Date format for expiry should be as follows: YYYY-Jan-DD The toolkit sampler should look like the following with the path of the dayDiff.sh included Going over to the dataview, it should look like the following: 2 ? Creating the Rule The below XML can be used as an example,
Note that the following changes would need to be amended on your machine in order to configure it correctly:
This path will be used in order to calculate and fill the toolkit with the number of days remaining, based on the date entered in ?expiry? as seen below: |
Comments
0 comments
Please sign in to leave a comment.