[ZBX-8866] logrt[] item becomes unsupported after log rotation until string is found Created: 2014 Oct 08 Updated: 2017 May 30 Resolved: 2014 Oct 13 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Incident report | Priority: | Major |
Reporter: | Vladimir Morozov | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Currently ZABBIX periodically tries to activate passive checks only. It should be extended to active checks as well. |
Comments |
Comment by Aleksandrs Saveljevs [ 2014 Oct 08 ] |
This is an exact clone of Could you please provide information of what is not working properly and in which versions? |
Comment by Vladimir Morozov [ 2014 Oct 08 ] |
Affected version: 2.2.2 Initially wrong configured log[] or logrt[] item never become supported. Only one way to fix it - recreate the item from the scratch. |
Comment by Aleksandrs Saveljevs [ 2014 Oct 08 ] |
What was the reason the items became unsupported? What is it a non-existing log file, wrong regular expression that did not compile, or something else? |
Comment by Vladimir Morozov [ 2014 Oct 08 ] |
The reason was in forgotten marcos for host. logrt["{$LOGPATH}","{$STRING}",,10,skip] And mentioned item didn't became supported after adding the marcos. |
Comment by Aleksandrs Saveljevs [ 2014 Oct 08 ] |
Could you please check whether your issue is the same as in Oleksiy's comment at https://support.zabbix.com/browse/ZBXNEXT-444?focusedCommentId=72496&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-72496 ? |
Comment by Vladimir Morozov [ 2014 Oct 08 ] |
I guess Oleksiy's issue is not my case because the item did not become supported after {$STRING} match. |
Comment by Aleksandrs Saveljevs [ 2014 Oct 08 ] |
You are running version 2.2.2. Is it the version of both the server and the agent? Are you using a proxy? |
Comment by Vladimir Morozov [ 2014 Oct 08 ] |
Zabbix server v2.2.2 (revision 42525) |
Comment by Aleksandrs Saveljevs [ 2014 Oct 08 ] |
I have tried reproducing the issue using the versions that you specified and by using the following scenario:
At this point I see in the frontend that the item is supported. Could you please provide the exact steps to reproduce the problem? |
Comment by Vladimir Morozov [ 2014 Oct 09 ] |
It seems that I've created two items who checks the same log file and one of them stay unsupported all the time. My fail. Thanks for clarification, I really appreciate your help. |