Extract data from DCI summary table results
-
Hello all,
I have an idea that will greatly help me in day to day activities, but i am not sure if it is possible to implement and how.
I am using DCI summary tables which are very very cool.
What i need is to somehow count the total entries in the DCI summary table, along with counting different matches and store them in a separate DCI so i can graph them.
For example i have now a perfectly working DCI summary table called Backup Status looking like this:
Node Backup Status
srv1 OK; blablalba details
srv2 FAILED; blablabla details
srv3 WARNING; blablabla details
srv4 OK; blablalba details
srv5 OK; blablabla details
srv6 OK; blablabla detailsIdeally i would like to configure 4 DCIs that execute the DCI summary table and store the counts of:
- count of total DCI summary table entries (6)
- count of DCI summary table entries matching BackupStatus like OK* (4)
- count of DCI summary table entries matching BackupStatus like WARNING* (1)
- count of DCI summary table entries matching BackupStatus like FAILED* (1)
That way i can have a nice history of the success rates of my backups over time.
So any ideas how to achieve that?
-
Hi,
currently the only way I can think of is to create nxshell script that will request summary table and push DCI value. Summary tables are not accessible from NXSL scripts so simple script DCI is not possible.
Best regards,
Victor
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login