I use zabbix agent active checks for get disk space information (parsing 'df' output).
Problem is -- one volume periodicaly get "Unsupported" state.
zabbix_agentd.conf:
UserParameter=vfs.fs.free[*],df | sed -nE 's@^([^ ]+)([ ]+)([^ ]+)([ ]+)([^ ]+)([ ]+)([^ ]+)([ ]+)([^ ]+)([ ]+)$1$@\7@p'
zabbix_agent.log:
66479:20080206:091646 For key [vfs.fs.size[/data,free]] received value [295453184]
66479:20080206:091646 XML before sending [<req><host>aW5mcmEubWdtdC52ZWdhLnJ1</host><key>dmZzLmZzLnNpemVbL2RhdGEsZnJlZV0=</key><data>Mjk1NDUzMTg0</data></req>]
66479:20080206:091646 OK
66479:20080206:091646 In get_min_nextcheck()
66479:20080206:091646 Sleeping for 57 seconds
66479:20080206:091743 In refresh_metrics('10.25.0.254',10051)
66479:20080206:091743 get_active_checks('10.25.0.254',10051)
66479:20080206:091743 Sending [ZBX_GET_ACTIVE_CHECKS
infra.mgmt.vega.ru
]
66479:20080206:091743 Before read
zabbix_server.log:
73203:20080206:091653 Active parameter [vfs.fs.size[/data,free]] is not supported by agent on host [infra.mgmt.vega.ru]
73205:20080206:091653 Active parameter [vfs.fs.size[/data,used]] is not supported by agent on host [infra.mgmt.vega.ru]
Last value of "vfs.fs.size[/data,free]" on server (I use UTC timezone on servers and MSK on my workstation):
2008-02-06 12:16:46 1202289406 302544060416
I.e. -- zabbix_server get correct value from agent, add it to database and, after that, mark item as "unsupported".
My system:
infra# uname -rs; pkg_info -Ix zabbix; pkg_info -Ix postgres
FreeBSD 7.0-20071107-SNAP
zabbix-1.4.4,1 Application and network monitoring solution
zabbix-agent-1.4.4,1 Application and network monitoring solution
postgresql-client-8.2.5_1 PostgreSQL database (client)
postgresql-server-8.2.5_2 The most advanced open-source database available anywhere
I need zabbix and can give any extended information.
Problem is -- one volume periodicaly get "Unsupported" state.
zabbix_agentd.conf:
UserParameter=vfs.fs.free[*],df | sed -nE 's@^([^ ]+)([ ]+)([^ ]+)([ ]+)([^ ]+)([ ]+)([^ ]+)([ ]+)([^ ]+)([ ]+)$1$@\7@p'
zabbix_agent.log:
66479:20080206:091646 For key [vfs.fs.size[/data,free]] received value [295453184]
66479:20080206:091646 XML before sending [<req><host>aW5mcmEubWdtdC52ZWdhLnJ1</host><key>dmZzLmZzLnNpemVbL2RhdGEsZnJlZV0=</key><data>Mjk1NDUzMTg0</data></req>]
66479:20080206:091646 OK
66479:20080206:091646 In get_min_nextcheck()
66479:20080206:091646 Sleeping for 57 seconds
66479:20080206:091743 In refresh_metrics('10.25.0.254',10051)
66479:20080206:091743 get_active_checks('10.25.0.254',10051)
66479:20080206:091743 Sending [ZBX_GET_ACTIVE_CHECKS
infra.mgmt.vega.ru
]
66479:20080206:091743 Before read
zabbix_server.log:
73203:20080206:091653 Active parameter [vfs.fs.size[/data,free]] is not supported by agent on host [infra.mgmt.vega.ru]
73205:20080206:091653 Active parameter [vfs.fs.size[/data,used]] is not supported by agent on host [infra.mgmt.vega.ru]
Last value of "vfs.fs.size[/data,free]" on server (I use UTC timezone on servers and MSK on my workstation):
2008-02-06 12:16:46 1202289406 302544060416
I.e. -- zabbix_server get correct value from agent, add it to database and, after that, mark item as "unsupported".
My system:
infra# uname -rs; pkg_info -Ix zabbix; pkg_info -Ix postgres
FreeBSD 7.0-20071107-SNAP
zabbix-1.4.4,1 Application and network monitoring solution
zabbix-agent-1.4.4,1 Application and network monitoring solution
postgresql-client-8.2.5_1 PostgreSQL database (client)
postgresql-server-8.2.5_2 The most advanced open-source database available anywhere
I need zabbix and can give any extended information.
Comment