![]() Parsing raw text output into structured data NTC Template which is a TextFSM template for.In this post we have the following components being used:Ĭommand output, and leverage the corresponding NTC Template Prometheus_client library check out their Github Wanted to keep the Python execution as simple as possible. Possible to remove the requirement for Telegraf and have Python create the Prometheus Metrics. This data will then get transformed by Telegraf into an output that is usable by Prometheus. $ python3 asa_anyconnect_to_telegraf.py -host 10.250.0.63Īsa connected_users =1i,anyconnect_licenses =2i If executing just the Python script without being executed by Telegraf, this is what you would see: In this you will see that you can get custom metrics into a monitoring solution without ![]() An SNMP query would be quicker than using SSH and getting data if you want basicĬounts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |