![]() |
![]() |
Subject: | Read and Use String From Command Data Point |
Author: | [Not Specified] |
Posted: | 2016-04-22 11:04 |
I have been looking around the internet and I can't seem to figure out if there is a way to do this. If I have a custom script that I have Zenoss call to ingest data that resembles the format:
!#/bin/sh
echo "Disk Information | dskSize=14565432 dskLocation=/var/opc/someDir "
Is there a way to grab the string that comes after dskLocation and is there a way to reference it using a TALES expression Or does the Zenoss database only allow ingestion of numeric values
Subject: | If you are using this script |
Author: | Jane Curry |
Posted: | 2016-04-25 02:27 |
If you are using this script in a performance template then the value has to be numeric. If you want string data then you need to write a modeler plugin to gather that information. Typically a modeler is run every 12 hours whereas a performance template is run more frequently - every 5 mins Every hour Depends on the template.
Cheers,
Jane
Email: jane.curry@skills-1st.co.uk Web: https://www.skills-1st.co.uk
< |
Previous ImportError: No module named importlib |
Next Zenoss 5.1.1 - Remote access for mariadb-events in Zenoss |
> |