Ad Widget

Collapse

zabbix_get not working on hpux and aix

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hpcre
    Junior Member
    • Oct 2011
    • 4

    #1

    zabbix_get not working on hpux and aix

    I tried to run a zabbix_get test for proc.num[] but nothing gets returned, and thats on both hpux and aix clients:
    zabbix version 1.8.8, agentd version 1.8.7

    Code:
    dbppr02:/tmp>ps -ef|grep ora_
      oracle  233654       1   0   Oct 03      -  9:25 ora_ckpt_crmdb
      oracle  315504       1   0   Oct 03      - 10:29 ora_mmon_crmdb
      oracle 1413282       1   0   Oct 03      - 39:51 ora_dbw0_crmdb
      oracle 1802334       1   0   Oct 03      -  2:05 ora_pmon_crmdb
      oracle 2527394       1   0   Oct 03      -  1:01 ora_cjq0_crmdb
      oracle 2600960       1   0   Oct 03      -  0:00 ora_reco_crmdb
      oracle 3215408       1   0   Oct 03      -  0:32 ora_smon_crmdb
      oracle 3272744       1   0   Oct 03      -  2:22 ora_arc0_crmdb
      oracle 3285086       1   0   Oct 03      -  0:00 ora_s007_crmdb
      oracle 3338386       1   0   Oct 03      -  0:00 ora_s006_crmdb
      oracle 3448862       1   0   Oct 03      -  0:00 ora_q000_crmdb
      oracle 3453144       1   0   Oct 03      -  0:19 ora_qmnc_crmdb
      oracle 3469324       1   0   Oct 03      -  0:00 ora_s005_crmdb
      oracle 3526812       1   0   Oct 03      -  0:00 ora_s004_crmdb
        root 3674218 1785858   0 14:26:29  pts/0  0:00 grep ora_
      oracle 3743764       1   0   Oct 03      -  0:00 ora_s003_crmdb
      oracle 3752040       1   0   Oct 03      -  0:00 ora_s002_crmdb
      oracle 3801108       1   0   Oct 03      -  2:25 ora_arc1_crmdb
      oracle 3805250       1   0   Oct 03      -  0:00 ora_s001_crmdb
      oracle 3821812       1   0 14:19:49      -  0:00 ora_j000_crmdb
      oracle 3854344       1   0   Oct 03      -  0:08 ora_q001_crmdb
      oracle 3866724       1   0   Oct 03      -  0:00 ora_s000_crmdb
      oracle 3878962       1   0   Oct 03      -  2:05 ora_lgwr_crmdb
      oracle 3887270       1   0   Oct 03      -  0:00 ora_d000_crmdb
      oracle 3956766       1   0   Oct 03      -  0:00 ora_s008_crmdb
      oracle 4006038       1   0   Oct 03      -  0:07 ora_psp0_crmdb
      oracle 4100320       1   0   Oct 03      -  0:07 ora_mman_crmdb
      oracle 4157490       1   0   Oct 03      - 37:21 ora_mmnl_crmdb
    dbppr02:/tmp>/opt/zabbix/bin/zabbix_get -s dbppr02 -k "proc.num[,,,ora_]"
    
    dbppr02:/tmp>
    what could be wrong ?

    Also, after repetitive failures to compile from source on hpux and aix (iconv.h not found error), i downloaded older zabbix agents from the zabbix download page and got IPC errors in the zabbix_agentd log file:

    Code:
    zabbix_agentd [3334342]: ERROR: Can't recreate Zabbix semaphores for IPC key 0x7a00d07d Semaphore ID -1. Invalid argument.
    In the end , i somehow got 1.8.7 to compile the agent (on aix only), hpux agents dl from zabbix site worked.
Working...