Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-10549

Incorrect exit status in Service status

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 2.0.15, 2.4.6, 3.0.0
    • Installation (I)
    • centos 6.3 x64,zabbix source 2.4.6

      The script which is misc/init.d/fedora/core/zabbix_agentd does not return the correct exit status,such as I closed zabbix_agentd by "service zabbix_agentd stop",then i run "service zabbix_agentd status" and "echo $?" it will return 0,cause the script always return 0 whatever the status of zabbix_agent.
      It will make some automate the management and configuration tools for example SaltStack get the wrong result with service.status.
      The same to misc/init.d/fedora/core/zabbix_server.

            Unassigned Unassigned
            yobo000 游洋
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: