Ad Widget

Collapse

zabbix does not check returncode of media scripts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rrr
    Senior Member
    • Sep 2007
    • 100

    #1

    zabbix does not check returncode of media scripts

    I have several media scripts which are giving return codes on success or unsuccessful operation. But zabbix does not check the return code of those media scripts. If a media script is executed it will always be marked with "ok" in gui. Is there any possibility that zabbix will check the return code?
  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    is that with the latest zabbix version ? at least missing scripts should be shown as failures since 2.0.1 (https://support.zabbix.com/browse/ZBXNEXT-1259)
    Zabbix 3.0 Network Monitoring book

    Comment

    • rrr
      Senior Member
      • Sep 2007
      • 100

      #3
      Yes, its with the lastest zabbix version. But the script is not missing - zabbix is just ignoring the returncode which the script is sending.

      Comment

      • richlv
        Senior Member
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Oct 2005
        • 3112

        #4
        that might be a feature request then, although i believe zabbix just runs the command and lets it run, it does not even wait for the execution to complete...
        Zabbix 3.0 Network Monitoring book

        Comment

        • rrr
          Senior Member
          • Sep 2007
          • 100

          #5
          Ok, I've created a feature request: ZBXNEXT-1380

          Comment

          Working...