Ad Widget

Collapse

Items become 'not supported' after a while

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dsipe
    Senior Member
    • Oct 2006
    • 184

    #1

    Items become 'not supported' after a while

    Hello,

    I encountered a very strange behavior with zabbix: items which were working fine, now goes to 'not supported' status after a while.

    Some day before, i run out of disk space on the filesystem where the mysql database is located.

    I don't understand what happen!

    Even if a reactivate all the items inside the configuration page, some of them still go to the 'not supported' state.

    Any help will be very very appreciated!

    Below, the specific Userparameter i've added to the zabbix_agentd.conf file on all my AIX box :

    # Monitoring CPU
    UserParameter=cpu.user,vmstat 1 2|tail -1|awk '{print $14}'
    UserParameter=cpu.sys,vmstat 1 2|tail -1|awk '{print $15}'
    UserParameter=cpu.idle,vmstat 1 2|tail -1|awk '{print $16}'
    UserParameter=cpu.wio,vmstat 1 2|tail -1|awk '{print $17}'
    UserParameter=cpu.runq,uptime |cut -d, -f5
    UserParameter=cpu.blocq,vmstat 1 2|tail -1|awk '{print $2}'

    # Infos Systeme
    UserParameter=process.total,ps g|sed -n '/PID/!p'|sed -n '$='
    UserParameter=process.running,ps -eal|sed -e '/A/b' -e '/R/b' -e d|sed -n '$='
    UserParameter=sys.nbcpu,lsdev -Ccprocessor|wc -l
    UserParameter=sys.aixlevel,oslevel -r

    # Monitoring mémoire
    UserParameter=mem.total,/usr/local/bin/sudo svmon|grep memory|awk '{printf "%.0f\n", $2*4}'
    UserParameter=mem.used,/usr/local/bin/sudo svmon|grep memory|awk '{printf "%.0f\n", $3*4}'
    UserParameter=mem.free,/usr/local/bin/sudo svmon|grep memory|awk '{printf "%.0f\n", $4*4}'

    # Monitoring Paging Space
    UserParameter=paging.total,/usr/local/bin/sudo svmon|grep 'pg space'|awk '{printf "%.0f\n",$3*4}'
    UserParameter=paging.used,/usr/local/bin/sudo svmon|grep 'pg space'|awk '{printf "%.0f\n",$4*4}'
    UserParameter=paging.free,/usr/local/bin/sudo svmon|grep 'pg space'|awk '{printf "%.0f\n",($3 - $4)*4}'
    UserParameter=paging.pfree,/usr/local/bin/sudo svmon|grep 'pg space'|awk '{printf "%.0f\n",( (($3-$4)*100)/$3)}'

    #COnfig systeme
    UserParameter=sys.fsinfo,/usr/local/bin/sudo /exploit/batchs/ZBX/fsinfo.zbx
    UserParameter=sys.emcinfo,/usr/local/bin/sudo /exploit/batchs/ZBX/config_emc.zbx


    Pascal
  • dsipe
    Senior Member
    • Oct 2006
    • 184

    #2
    some screens of my conf

    Comment

    • dsipe
      Senior Member
      • Oct 2006
      • 184

      #3
      here are the screens...

      Comment

      • hooloovoo137
        Junior Member
        • Jan 2007
        • 1

        #4
        I had similar behaviour with a script I wrote which would return the ping time to a device on a network. If the ping command could not reach a specified ip address it would return -1. So while I was testing, Zabbix was happily displaying the ping time but from the moment I removed the device from the network, I was told that that the item is no longer supported.

        The reason, I assumed, is because I set the return type for the item as a float, and i guess Zabbix doesn't support negative floats.

        So maybe check if any of your shell commands that you are executing are not returning text or negative values where Zabbix is expecting positive integers or floats.

        Maybe you know this already, just thought I'd give my two cents

        Comment

        • bbrendon
          Senior Member
          • Sep 2005
          • 870

          #5
          I'll agree with hooloovoo137.

          If you EVERY get a funky value back from your custom script, the item will go unsupported. I had to write a few complex scripts to work around problems like this in the past.
          Unofficial Zabbix Expert
          Blog, Corporate Site

          Comment

          Working...