Forum Discussion
How to modify AD attribute in variable assign expression?
Is it possible to modify an AD attribute (phone number) to a different format in an variable assign or does this require an iRule.
For example in AD the attribute "telephoneNumber" is set as "+12 34567890"
96171b94.session.ad.last.attr.telephoneNumber 13 +12 34567890
I want to remove the + and have the number in standard format, "001234567890" at the moment we can assume that all numbers will start with +12 and move on from there.
Does anyone know how to achieve this?
Cheers, AM
1 Reply
- MS_K
Nimbostratus
Dear Chase Abbott,
how to install admdb plugin ?
Could you please explain Steps 7 and 8 more clearly ?!
Thanks in advanced.
I got a couple people to look at this and the we came up with referencing some Grafana resources at this point.
https://grafana.com/docs/grafana/latest/plugins/installation/
In the .zip file attached to this page these locations are found in the Grafana_bados_dashboard directory:
- data/plugins/Grafana-admdb-datasource/
- public/dashboards/ (which contains 6 .json files)
- conf/defaults.ini
Not sure where to copy these to exactly, but the instructions for the grafana-piechart-panel (step 3) indicate the grafana default plugins directory is /var/lib/grafana/plugins. So maybe that will help with the ADMDB plugin you are looking for?
If this helps you get the answer or if it generates more clarifying questions - post back what you find out so we can help others who might have the same issues.
Cheers.