Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-2586

zabbix Packages: agent init script do not show error if any mistake are taken

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • None
    • Installation (I)
    • 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?

            kodai Kodai Terashima
            mckaygerhard PICCORO Lenz McKAY
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: