I have problems with external scripts, because there is the bug in documentation. Text of manual:
Bug on page 112 of 212 in the "Zabbix Manual 1.4 (Release 012)":
5.12.8. External checks
........
First command line parameter is host
name, other parameters are substituted by parameters.
........
Example 1 Execute script check_oracle.sh with parameters “-h 192.168.1.4”.
Host name ‘www1.company.com’.
check_oracle.sh[-h 192.168.1.4]
ZABBIX will execute:
check_oracle.sh www1.company.com -h 192.168.1.4.
Bug description:
First command line parameter is'nt host name,
but actually it is "DNS name" or "IP address" of host (depending on deciding property of the Host "Connect to" field).
Please, fix either manual or the external checks behaviour.
With thanks, zabbix user.
Bug on page 112 of 212 in the "Zabbix Manual 1.4 (Release 012)":
5.12.8. External checks
........
First command line parameter is host
name, other parameters are substituted by parameters.
........
Example 1 Execute script check_oracle.sh with parameters “-h 192.168.1.4”.
Host name ‘www1.company.com’.
check_oracle.sh[-h 192.168.1.4]
ZABBIX will execute:
check_oracle.sh www1.company.com -h 192.168.1.4.
Bug description:
First command line parameter is'nt host name,
but actually it is "DNS name" or "IP address" of host (depending on deciding property of the Host "Connect to" field).
Please, fix either manual or the external checks behaviour.
With thanks, zabbix user.
Comment