Hey folks - given the following web page output:
I have the following item:
And get the following output from zabbix_agentd:
However the output isn't being returned to the item when monitored via the agent. Any thoughts on where I'm going wrong?
Code:
# HELP python_info Python platform information
# TYPE python_info gauge
python_info{implementation="CPython",major="2",minor="7",patchlevel="5",version="2.7.5"} 1.0
# HELP process_virtual_memory_bytes Virtual memory size in bytes.
# TYPE process_virtual_memory_bytes gauge
process_virtual_memory_bytes 2.673610752e+09
# HELP process_resident_memory_bytes Resident memory size in bytes.
# TYPE process_resident_memory_bytes gauge
process_resident_memory_bytes 2.756608e+07
# HELP process_start_time_seconds Start time of the process since unix epoch in seconds.
# TYPE process_start_time_seconds gauge
process_start_time_seconds 1.55481461468e+09
# HELP process_cpu_seconds_total Total user and system CPU time spent in seconds.
# TYPE process_cpu_seconds_total counter
process_cpu_seconds_total 73.61
# HELP process_open_fds Number of open file descriptors.
# TYPE process_open_fds gauge
process_open_fds 24.0
# HELP process_max_fds Maximum number of open file descriptors.
# TYPE process_max_fds gauge
process_max_fds 65536.0
# HELP archiving_state_info Current State of the Archiver
# TYPE archiving_state_info gauge
archiving_state_info{arch_state="waiting"} 1.0
# HELP number_of_files_not_found Number of failures due to files not being found
# TYPE number_of_files_not_found gauge
number_of_files_not_found 0.0
# HELP number_of_failures Number of failures during migration
# TYPE number_of_failures gauge
number_of_failures 0.0
# HELP files_migrated Number of files that have been migrated
# TYPE files_migrated gauge
files_migrated 0.0
# HELP fill_level Fill level of origin pool
# TYPE fill_level gauge
fill_level 0.0
# HELP migration_list_length Length of migration file list
# TYPE migration_list_length gauge
migration_list_length 0.0
# HELP archiver_threads Number of threads currently archiving
# TYPE archiver_threads gauge
archiver_threads 0.0
Code:
web.page.regexp[0.0.0.0,'metrics',8001,'^archiver_threads\s(.*)',10000,'\1']
Code:
[root@node1 ~]# zabbix_agentd -t web.page.regexp[0.0.0.0,'metrics',8001,'^archiver_threads\s(.*)',10000,'\1'] web.page.regexp[0.0.0.0,metrics,8001,^archiver_threads\s(.*),10000,\1] [s|0.0]
Comment