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

Fail on sensors.c when compiling on linux 2.4.x kernel

    XMLWordPrintable

    Details

      Description

      Hello,

      Trying to compile on Suse 8.1 (kernel 2.4.19-64GB-SMP)
      I had to copy sensor.c from zabbix 2.0.4 (the version that was installed before than 2.4.7), and modify include/sysinfo.h like it is show in next quote:

      # diff zabbix-2.4.7/include/sysinfo.h zabbix-2.4.7-mod/include/sysinfo.h
      213c213,214
      < int	GET_SENSOR(AGENT_REQUEST *request, AGENT_RESULT *result);
      ---
      > int	GET_SENSOR(const char *cmd, const char *param, unsigned flags, AGENT_RESULT *result);
      > /*int	GET_SENSOR(AGENT_REQUEST *request, AGENT_RESULT *result);*/
      
      

      I have not the log , but it was telling about "locations" was not found , more or less

      Thank you

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            i5513 Javier Barroso
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: