Hello,
Zabbix server 4.2.2, Ubuntu 14.04.5 LTS
I'm setting up the checks for the vailidity of some SSL certificates, and i keep receiving an error "echo: write error: Broken pipe <rights number of days> of type "string" is not suitable for value type "Numeric (float)" in the Zabbix log.
Done so far:
- Try 2 scripts (https://share.zabbix.com/cat-app/web...ificates-check and https://github.com/selivan/https-ssl-cert-check-zabbix).
> In both case, the script runs smoothly from the shell, but end up in error once once through Zabbix.
- Update the scripts to use "echo 100" and quit : still the same echo: write error: Broken pipe 100 of type "string" is not suitable for value type "Numeric (float)"
> no matter where the echo comes in the script, the broken pipe is triggered
- I do not get error if I replace the script by a dummyscript :
#!/bin/bash
echo 100
having the same error with 2 differents scripts is rather interesting and I'm mot sure anymore where to look.
Both scripts:
> works fine from the command-line (with or without variables)
> rely on openssl (openssl 1.0.1f)
> trigger the Broken Pipe error on an echo, while having done the calculation properly
Edit : despite the errors in the logs, the right values are reported back to the items. I'd like nonetheless to remove these errors
Any help will be welcome as I don't know anymore where to look.
Thanks
Chris
Zabbix server 4.2.2, Ubuntu 14.04.5 LTS
I'm setting up the checks for the vailidity of some SSL certificates, and i keep receiving an error "echo: write error: Broken pipe <rights number of days> of type "string" is not suitable for value type "Numeric (float)" in the Zabbix log.
Done so far:
- Try 2 scripts (https://share.zabbix.com/cat-app/web...ificates-check and https://github.com/selivan/https-ssl-cert-check-zabbix).
> In both case, the script runs smoothly from the shell, but end up in error once once through Zabbix.
- Update the scripts to use "echo 100" and quit : still the same echo: write error: Broken pipe 100 of type "string" is not suitable for value type "Numeric (float)"
> no matter where the echo comes in the script, the broken pipe is triggered
- I do not get error if I replace the script by a dummyscript :
#!/bin/bash
echo 100
having the same error with 2 differents scripts is rather interesting and I'm mot sure anymore where to look.
Both scripts:
> works fine from the command-line (with or without variables)
> rely on openssl (openssl 1.0.1f)
> trigger the Broken Pipe error on an echo, while having done the calculation properly
Edit : despite the errors in the logs, the right values are reported back to the items. I'd like nonetheless to remove these errors

Any help will be welcome as I don't know anymore where to look.
Thanks
Chris
Comment