Ad Widget

Collapse

Zabbix Agent 1.1.2 for AIX 5.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vinz
    Junior Member
    • Sep 2006
    • 14

    #1

    Zabbix Agent 1.1.2 for AIX 5.2

    Hello,

    I've made a small package for AIX 5.2 for Zabbix Agent 1.1.2.
    Extract this archive : Zabbix Agent 1.1.2 AIX 5.2 and start "install.sh".

    Require : perl (tested with 5.8.0)

    Installation steps :
    - A zabbix user will be created.
    - All things are installed in /usr/local/zabbix (bin, etc, scripts...)
    - An init script in /etc/rc.d/init.d/zabbix_agentd (start/stop)
    - By default, the config file enable remote commands and configure automatically the hostname and servername entries (you must change the last one ;-) ).

    Ciao,
  • LEM
    Senior Member
    Zabbix Certified Specialist
    • Sep 2004
    • 112

    #2
    Additionnal info: this statically compiled agent has been compiled with XLC (you can grab an 30 days eval release of this IBM compiler on the IBM AIX website).

    Unfortunatly, few infos are supported by the ZABBIX agent on AIX 5.2, as you can see in this report (zabbix_agentd -p):
    Code:
    system.localtime                              [u|1160040322]
    vfs.file.exists[/etc/passwd]                  [u|1]
    vfs.file.time[/etc/passwd,modify]             [u|1159975250]
    vfs.file.size[/etc/passwd]                    [u|1077]
    vfs.file.regexp[/etc/passwd,root]             [s|root]
    vfs.file.regmatch[/etc/passwd,root]           [u|1]
    system.run[echo test]                         [t|test]
    web.page.get[www.zabbix.com,,80]              [t|EOF]
    web.page.perf[www.zabbix.com,,80]             [d|0.000000]
    web.page.regexp[www.zabbix.com,,80]           [m|ZBX_NOTSUPPORTED]
    cpu[idle1]                                    [m|ZBX_NOTSUPPORTED]
    io[disk_io]                                   [m|ZBX_NOTSUPPORTED]
    kern[maxfiles]                                [m|ZBX_NOTSUPPORTED]
    memory[buffers]                               [m|ZBX_NOTSUPPORTED]
    system[uname]                                 [t|AIX DaServerRealName 2 5 000DFDSDM01]
    sensor[temp1]                                 [m|ZBX_NOTSUPPORTED]
    swap[total]                                   [m|ZBX_NOTSUPPORTED]
    version[zabbix_agent]                         [s|1.1.2]
    agent.ping                                    [u|1]
    agent.version                                 [s|1.1.2]
    kernel.maxfiles                               [m|ZBX_NOTSUPPORTED]
    kernel.maxproc                                [m|ZBX_NOTSUPPORTED]
    vfs.file.cksum[/etc/services]                 [u|3331030419]
    vfs.file.md5sum[/etc/services]                [s|805112ea93985fe21f48a67deba71bdd]
    system.cpu.switches                           [m|ZBX_NOTSUPPORTED]
    system.cpu.intr                               [m|ZBX_NOTSUPPORTED]
    net.tcp.dns[127.0.0.1,localhost]              [u|0]
    net.tcp.listen[80]                            [m|ZBX_NOTSUPPORTED]
    net.tcp.port[,80]                             [u|0]
    net.tcp.service[ssh,127.0.0.1,22]             [u|1]
    net.tcp.service.perf[ssh,127.0.0.1,22]        [d|0.001610]
    net.if.in[lo,bytes]                           [m|ZBX_NOTSUPPORTED]
    net.if.out[lo,bytes]                          [m|ZBX_NOTSUPPORTED]
    net.if.total[lo,bytes]                        [m|ZBX_NOTSUPPORTED]
    net.if.collisions[lo]                         [m|ZBX_NOTSUPPORTED]
    vfs.fs.size[/,free]                           [u|220996]
    vfs.fs.inode[/,free]                          [u|128430]
    vfs.dev.read[hda,ops,avg1]                    [m|ZBX_NOTSUPPORTED]
    vfs.dev.write[hda,ops,avg1]                   [m|ZBX_NOTSUPPORTED]
    vm.memory.size[free]                          [m|ZBX_NOTSUPPORTED]
    proc.num[inetd,,]                             [u|1]
    proc.mem[inetd,,]                             [u|458752]
    system.cpu.util[all,user,avg1]                [m|ZBX_NOTSUPPORTED]
    system.cpu.load[all,avg1]                     [m|ZBX_NOTSUPPORTED]
    system.swap.size[all,free]                    [m|ZBX_NOTSUPPORTED]
    system.swap.in[all]                           [m|ZBX_NOTSUPPORTED]
    system.swap.out[all,count]                    [m|ZBX_NOTSUPPORTED]
    system.hostname                               [t|frhqruni0001]
    system.uname                                  [t|AIX DaServerRealName 2 5 00022L2B23M01]
    system.uptime                                 [m|ZBX_NOTSUPPORTED]
    system.users.num                              [d|2.000000]
    So, you're on your own to use some system.run/UserParameters and your custom scripts to grab more infos.

    Cheers,
    Last edited by LEM; 05-10-2006, 11:28. Reason: anonymize some infos
    --
    LEM

    Comment

    • vinz
      Junior Member
      • Sep 2006
      • 14

      #3
      Missing headers

      In config.log, there are some missing header files :

      Code:
      ac_cv_c_compiler_gnu=no
      ac_cv_func_asprintf=no
      ac_cv_func_getloadavg=no
      ac_cv_func_getopt_long=no
      ac_cv_func_vasprintf=no
      ac_cv_header_getopt_h=no
      ac_cv_header_knlist_h=no
      ac_cv_header_kstat_h=no
      ac_cv_header_kvm_h=no
      ac_cv_header_lber_h=no
      ac_cv_header_ldap_h=no
      ac_cv_header_linux_kernel_h=no
      ac_cv_header_mach_host_info_h=no
      ac_cv_header_mach_mach_host_h=no
      ac_cv_header_mtent_h=no
      ac_cv_header_sys_disk_h=no
      ac_cv_header_sys_dk_h=no
      ac_cv_header_sys_dkstat_h=no
      ac_cv_header_sys_loadavg_h=no
      ac_cv_header_sys_mount_h=no
      ac_cv_header_sys_pstat_h=no
      ac_cv_header_sys_swap_h=no
      ac_cv_header_sys_syscall_h=no
      ac_cv_header_sys_sysctl_h=no
      ac_cv_header_sys_vmmeter_h=no
      ac_cv_header_vm_vm_param_h=no
      ac_cv_lib_kstat_main=no
      ac_cv_lib_kvm_main=no
      ac_cv_lib_resolv_main=no
      ac_cv_lib_socket_main=no
      I think it's for that we don't have many things to monitor...
      I'll test to recompile it with all headers files.

      Ciao,

      Comment

      • endorphin
        Junior Member
        • Jun 2006
        • 6

        #4
        And for the server ?

        Hello,

        I'm desperate : I never managed to compile Zabbix server on
        my AIX 5.2 servers ? Did you succeed in ?

        Thank you

        Endorphin

        Comment

        • vinz
          Junior Member
          • Sep 2006
          • 14

          #5
          Originally posted by endorphin
          Hello,

          I'm desperate : I never managed to compile Zabbix server on
          my AIX 5.2 servers ? Did you succeed in ?

          Thank you

          Endorphin
          Maybe I can, it could be usefull ;-)
          I will try to recompile it with --enable-server.

          Comment

          • endorphin
            Junior Member
            • Jun 2006
            • 6

            #6
            If you compile it......you're a god !

            Comment

            Working...