-
Notifications
You must be signed in to change notification settings - Fork 2
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
Hi! I'm trying to get history #3
Comments
Hey @SCH48, thanks your time! I will analyze this case soon. |
Problem in param "history" = "0" and Zabbix Printer Template collecting data into the database as a "numeric float". I change in Template "float" to "unsigned" Testing 2 printers with different templates but same OID "page count" ....
First, testing the correct "itemid=30461"
Default "history" is 3 - "numeric unsigned", All right. Now check the problem data - "itemid=30441"
Oh, great! But One record?
Nothing changed :-( Test Simple code:
Also one record. It's the record I translated in "numeric unsigned". But the rest of the entries remained in the "numeric float". Check
Yes they exist!!! I understand that I need to convert all the data to one format. And is it possible to convert data in the "Get-Zabbix History" command without use the "history" parameter? Ore least a number format lead one to another? Sorry for my English, I'm Russian. Regards, @SCH48 |
Hi @SCH48 , sorry the delay. I will review this soon. |
Thank you very much for your analysis efforts. Once again, apologies for the years-long delay. I will investigate what you have put together and see if it still makes sense for corrections |
Hi! I'm trying to get history
Auth-Zabbix -URL 'http://10.248.10.148/zabbix'
Get-ZabbixHistory -history 0 -Hosts $Printer -Items $Item -limit 100
= Empty output :-( But simple code work!
Originally posted by @SCH48 in #2 (comment)
The text was updated successfully, but these errors were encountered: