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
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

Comment