Ad Widget

Collapse

sysinfo.c:process()

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Corwin
    Junior Member
    • Feb 2005
    • 2

    #1

    sysinfo.c:process()

    After upgrading to alpha6 all calls to get_value_simple() produce core dumps
    After looking throught code I've found very intresting place in sysinfo.c - all functions in this source are using a commands array, which is defined as NULL in the begining!
    COMMAND *commands=NULL;
    How can it work??
    And the agent_commands array is never used!
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    v1.1alpha6 is broken

    Confirmed! Indeed, simple checks do not work in ZABBIX v1.1alpha6 and lead to coredump of the server. To be fixed ASAP. I'm releasing 1.1alpha7 after the problem is fixed.

    Note that the problem is related to simple (remote) checks only. You're safe if simple checks are not used.

    Thanks for your report!
    Last edited by Alexei; 28-02-2005, 20:44.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • Corwin
      Junior Member
      • Feb 2005
      • 2

      #3
      Setting
      COMMAND *commands=agent_commands;
      after declaration of agent_commands array fixes the problem (maybe), but I'm not shure that is realy you want

      Comment

      • Alexei
        Founder, CEO
        Zabbix Certified Trainer
        Zabbix Certified SpecialistZabbix Certified Professional
        • Sep 2004
        • 5654

        #4
        Originally posted by Corwin
        Setting
        COMMAND *commands=agent_commands;
        after declaration of agent_commands array fixes the problem (maybe), but I'm not shure that is realy you want
        Yes, it fixes the problem but introduces new one. I think User Parameters will not work after the fix is applied.

        Please, wait for a proper fix. Sorry for the issue. Thanks!
        Alexei Vladishev
        Creator of Zabbix, Product manager
        New York | Tokyo | Riga
        My Twitter

        Comment

        Working...