[ZBXNEXT-816] Support of demand reload of a configuration cache data Created: 2011 Jun 15 Updated: 2011 Jul 12 Resolved: 2011 Jul 11 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Proxy (P), Server (S) |
Affects Version/s: | 1.8.6 |
Fix Version/s: | 1.8.6 |
Type: | New Feature Request | Priority: | Major |
Reporter: | Alexander Vladishev | Assignee: | Aleksandrs Saveljevs |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Description |
Support of forced reload of a configuration cache for Zabbix server and proxy will be introduced. |
Comments |
Comment by Aleksandrs Saveljevs [ 2011 Jun 15 ] |
Duplicates feature #2 of |
Comment by Alexander Vladishev [ 2011 Jun 20 ] |
Available in the development branch svn://svn.zabbix.com/branches/dev/ZBXNEXT-816 |
Comment by richlv [ 2011 Jun 22 ] |
<Rich> how will this be exposed to users ? what would be a one-sentence overview of how the runtime signal is passed ? <asaveljevs> When you do "zabbix_server --runtime-control config_cache_reload", this process parses zabbix_server PID file to find out the parent Zabbix process. Signal SIGUSR1 along with some information is sent to the parent process. Parent process analyses the information and determines to which child process the same signal should be sent. Then the parent process sends SIGUSR1 to the configuration syncer process. |
Comment by Aleksandrs Saveljevs [ 2011 Jul 07 ] |
Available in pre-1.8.6 in r20454. |
Comment by Aleksandrs Saveljevs [ 2011 Jul 07 ] |
Reopening: if configuration cache reload is requested for passive proxy, the signal will not be sent to configuration syncer process (because it is not started), but to datasender process. Nothing will actually happen, but a user will get a false message indicating success. |
Comment by Aleksandrs Saveljevs [ 2011 Jul 11 ] |
If a passive proxy receives a signal for reloading the configuration cache, it will now write a warning message into the log file. A user will still get the message "command sent successfully". |
Comment by Oleksii Zagorskyi [ 2011 Jul 12 ] |
It seems need to reopen.
|
Comment by Aleksandrs Saveljevs [ 2011 Jul 12 ] |
This is highly interesting. What are the contents of your PID file? |
Comment by Oleksii Zagorskyi [ 2011 Jul 12 ] |
because zabbix_server was restarted, i type again many of lines
|
Comment by Aleksandrs Saveljevs [ 2011 Jul 12 ] |
Thanks, Oleksiy! We had a problem with reading PIDs. Fixed in development branch in r20527. |
Comment by Alexander Vladishev [ 2011 Jul 12 ] |
Tested successfully. |
Comment by Oleksii Zagorskyi [ 2011 Jul 12 ] |
yes, r20527 helps for CentOS |
Comment by Aleksandrs Saveljevs [ 2011 Jul 12 ] |
Fixed in pre-1.8.6 in r20530. |