-
Change Request
-
Resolution: Unresolved
-
Trivial
-
None
-
None
-
operating system
init scrp of zabbix agent ackges do not show any error if misctakes are happened..
by exampl i enable script directory and no put any script .. o agen could start..
but if i launch init script that not show the error:
sysmonitor:~# /etc/init.d/zabbix-agent start
Starting Zabbix agent: zabbix_agentdsysmonitor:~#
note the no new line when try to start
i modify the "> /dev/null 2&1" part by removing and for see wht happened and got :
sysmonitor:~# /etc/init.d/zabbix-agent start
Starting Zabbix agent: zabbix_agentdzabbix_agentd [30232]: /etc/zabbix/zabbix_agentd.conf.d/: [2] No such file or directory
sysmonitor:~#
so then:
Theres any possibility to improve this script to show what happened if any mistake are happened?