Skip to content

Fixed preprocessing error in zabbix 7.0 #15

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vgdh
Copy link

@vgdh vgdh commented Oct 29, 2024

Fixed post processing error.
Preprocessing failed for: Failure to process hwmon1: [Errno 5] Input/output error.Failure to process hwmon2: [Errno 5] Inpu... Errors from python script (when cant open some hwmon1) caused an error at post processing step in zabbix. Because error messages appeared at the start of the value variable.

Fixed post processing error.
Preprocessing failed for: Failure to process hwmon1: [Errno 5] Input/output error.Failure to process hwmon2: [Errno 5] Inpu...
Errors from python script (when cant open some hwmon1) caused an error at post processing step in zabbix. Because error messages appeared at the start of the value variable.
@vgdh vgdh changed the title Fixed post processing error in zabbix 7.0 Fixed preprocessing error in zabbix 7.0 Oct 29, 2024
@blind-oracle
Copy link
Owner

Hi. Maybe it is better to fix the script so that if the file cannot be opened then we skip this sensor at all?

@vgdh
Copy link
Author

vgdh commented Oct 29, 2024

it also works if i comment out sys.stderr.write(f"Failure to process {hwm}: {e}\n") line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants