Originally posted by lukemacneil
View Post
Ad Widget
Collapse
Zabbix for large environment setups
Collapse
X
-
@heaje,
Thats what I also thought. If I'm right In an earlier post in this topic somebody altered the proxy init scripts. And used the api to add the proxies to the zabbix server.
As we use puppet to configure/manage our servers in our environment, I want to try to do this with puppet in combination with the zabbix api.
Comment
-
@Colttt
I mean, we have 8 x SSD for Zabbix DB server and thinking the best way to utilise these disks. For now we decided:
1) softraid
2) system on mirror + 2 spares
3) pg data on raid1+0 (16K chunks, as said by Intel and shows best perf. with pgbench)
4) pg xlog on raid1 + 2 spares
It seems okay?
Comment
-
Originally posted by justinc View PostI use a lot of external scripts that capture data so I utilize Zabbix sender.(if you can collect a number of values at once, Zabbix sender is very efficient at doing bulk updates)
I have modified the frontend to show more than the last 20 issues on the dashboard.
I have modified the frontend to reduced the time a trigger stays on the trigger status page when it has returned to an Okay state.
Which zabbix version do you have ?
Could you share how your changes for the above ?
Thanks a lot !
Comment
-
Originally posted by jix View PostWould you please share your backup solution and if you have any load balance in your database?
Comment
-
Originally posted by qix View Post@ lukemacneil : Thanks for the info! Sounds like a great way to do proxy management.
You mentioned something about the API creating the host if it doesn't exist yet.
I assume that is handled by the PHP script you've mentioned?
Here's the function I use to do that:
PHP Code:function AddHost($host,$ip,$env){
/*
This function will add a host to the zabbix database
based on hostname and IP address. It uses the default
group "Production Servers" and "Linux" as the template.
*/
try{
$api = new ZabbixApi('http://my_webserver/api_jsonrpc.php', 'myuser','mypass');
}catch(Exception $e){
echo $e->getMessage();
exit;
}//end try
$port='10050';
$useip='1';
if($env =='p'){
$groups=array(array("groupid"=>7));
}else{
$groups=array(array("groupid"=>6));
}
$templates=array(
"templateid"=>10021
);
$result=$api->hostCreate(
array(
"host"=>$host,
"interfaces"=>array(
'type'=>1,
'main'=>1,
'useip'=>1,
'ip'=>"$ip",
'dns'=>"$host",
'port'=>'10050'
),
"groups"=>$groups,
"templates"=>$templates
)
);
}//end function
Comment
-
Originally posted by emz View PostIs using Zabbix Proxy beneficial for the performance of the main Zabbix database?
Using proxies is about scaling up process of collecting monitoring data from monitored hosts.
Database queries speed/latency impacts process of processing those data on server (evaluating those data against trigger.definitions, processing alarms data, storing monitoring data in history tables, create trends data and few more which are done only on the zabbix server).
http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
https://kloczek.wordpress.com/
zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
My zabbix templates https://github.com/kloczek/zabbix-templates
Comment
-
Originally posted by kloczek View Post
No
Using proxies is about scaling up process of collecting monitoring data from monitored hosts.
Database queries speed/latency impacts process of processing those data on server (evaluating those data against trigger.definitions, processing alarms data, storing monitoring data in history tables, create trends data and few more which are done only on the zabbix server).
This allows for quick responses and offloads quite a lot of work to the proxies.
Comment
-
Originally posted by ik_zelf View PostWith current version (v5) it does help. Now you can do high frequency monitoring of items and -for example- filter values so only changes are passed to the server (optionally with a heartbeat)
This allows for quick responses and offloads quite a lot of work to the proxies.http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
https://kloczek.wordpress.com/
zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
My zabbix templates https://github.com/kloczek/zabbix-templates
Comment
Announcement
Collapse
No announcement yet.
Comment