-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
storcli.py generate no metrics #77
Comments
You'll probably get more eyes on your problem by posting this to the prometheus-users mailing list / google group. Github issues are not really the best place for general tech support. Your storcli version number sounds extremely old, is it should be something like 7.x.x.x. The storcli.py collector requires a version of storcli that can support JSON output. |
@DavideM78 Do you use script with sudo user ? |
@DavideM78 Was trying script now, ill will recomend change pass on error in For me it printed only metric
the add_metric need to be inside of the if |
I also don't get metrics. No errors, only output is:
Trying to debug, |
Tried #94 without success. |
#95 helps |
Hi to everybody,
I was trying to generate metrics with the script, only they are not generated.
Trying to direct the output of the script to a normal text file makes it empty.
Other scripts I installed work perfectly.
Does anyone have any idea what it might be?
Using python3 and storecli 1.21.06
Thanks to anybody wo will take a look.
Davide
The text was updated successfully, but these errors were encountered: