-
Incident report
-
Resolution: Duplicate
-
Critical
-
1.8.2
-
None
-
last trunk
Sorry that it was sending in Russian, because if I translate it into English - I will go mad
??????? ? ???????????? ??????????? ??????????? ??? ?????? ??????????? ??????. ???? ???? ??????????????? ? ????????? ?????, ????????, ??????.
???????? ??? ?? ???????, ?????? ??? ???? ? ???????? ??? ?? ?????????? - ? ????? ? ???
??? ???????, ??? ??? ????????? ??????????? ??? ????????? ?????, ???????? ??????? ??? ?? ????? ??????? ??????? Zabbix. ? ???? ????? ??? ???? ??????????? ???????? ? ??? ??????? ??? ????????? ? ??? ?????? ?????????????.
???? ???????? ???????? ?? ??, ??? ?????? ? ?????? ??????? ??? ????, ???????, ????? ??????????? ?????????? ?? ?????? ???????????? ???????? ??????? ?????????? ???????? ??????.
??????? ????? ??? ?????? ??? ????????? ?? ????????, ????? ? ????? ????? ????????? ? ?????? ?????????????? ? ???????? ?? ?????? ??????? ?? ?????????? ???? ?? ??????? ??????? ?? ???? ??????? ??? ??????? ???????? ??????!!!
?????? ?? ?????? Zabbix ??? ????????? ?????????? ??????? ? ???? ??????? (??? ??????? ?????? ?????? ???? ? ???????? 1-4 ??????) ? ???? ???????????.
???????? ?????? - ????????? ??????? ??????? Windows.
??? ????????????:
Host: it2
Item Description: It_Test_log
Type: Zabbix agent (active)
Key: eventlog[Test]
Type of information: Log
Update interval (in sec): 30
Trigger Name: Tr_Test_error
Trigger Expression:
>1
Event generation: Normal+Multiple PROBLEM events
Severity: High
Action Default subject:
DEBUG
:
{STATUS}|
{ITEM.NAME}| EVENT.ID:
{EVENT.ID}| Server timestamp =
{DATE}{TIME}
| TRIGGER.NAME:
{TRIGGER.NAME}Action Default message:
***************************************************
ITEM.VALUE1:
ITEM.LASTVALUE1:
{ITEM.LASTVALUE1}ITEM.LOG.EVENTID1:
{ITEM.LOG.EVENTID1}***************************************************
??????? ?? ??????? ?? ?????? ??????? ?? ???????? 1.
??????? ?? ?????? ????????????? ? ????????? 2 ???????, ?? ????? ?????????? ?? ???? ????? ??????, ? ?????? ????? ?????????? ??????.
???? ???? ???????? ????? "Update interval" ? ???????? "BufferSend" ? ???????????? ?????? ????????? ?? 1 ???????, ??? ??? ????? ?? ?????? ???? ???????. ??????? ??????? ????.
??? ? ?????????? ???????????? ??????????? - ????? ? ???????? ??????? - ?? ???????? 2.
???????????? ? ???????? ????? ?????????? ???????? ??? ???????? ???????? ????????? ? ??? ??????? ????? ???????? (???????? ?????????) ????? ???? ??????.
???????? ? ??? ??? ? Function: process_event ???????? ?????????, ?????? !!! ????? ????? ??????????? ??????? ? ????????? ????????, ??????? ???????????? ??? ?????????? ???????? ? ????????????.
?? ???-??:
Query [txnlev:1] [insert into events (eventid,source,object,objectid,clock,value) values (302790,0,0,13613,1280163118,1)]
????? ??? ???????? ??????????? ?????? ???????? "clock" - ????? ????????? ? ???????? ??????? ??????? Zabbix.
? ????? ? ???? ????????? - ??? ?????? ? ??????, ?????????, ??????? ????? ?????? ????????????, ??? ??? ????? ????? ?????????? ????????? ?????? ?????? ??????? ?? ???? ??????? ? ??? ?? ????? ????????? ????????????.
? ?? ???? ??? ???? ????????????? ???????????? ??????? "source" ? "object" ? ??????? "events", ?? ??? ??????? ?? ????? ???? ?? ???????????? ??? ??????? ????????? ???? ????????. ???????? ???????? ? ??????? "source" ???????? "id" ?? ?????? "history_log" ? "history_text". ? ????????? ?????? ??????? "history_log" ?"history_text" ??? ????? ?????????? ???? "id", ?? ? ?????, ????? ??????????? ??????????????? ????????? ?????????? ???????? ??? ????? ?????????? "Log" ? "Text", ???? ???? ?? ???????? ?????????? ???????? ??? ???? ????? ??????????.
???? ???????????? ??????? "source" ?????? ?? ???????????? ?????? - ????? ????? ??????? ??????
?????? ?? ????????:
{ITEM.LASTVALUE<1-9>} ?????????? ??????? Function: DBget_item_lastvalue_by_triggerid??????? ??? ??? ??? ?? ??????????? ?? ????????, ????? ???? ?????? ?? ?????????????.
{ITEM.VALUE<1-9>} ?????????? ??????? Function: DBget_item_value_by_triggerid
??? ??????? ? SQL-??????? ????????????? ?????????? ???? "clock", ?? ??? ? ?????? ???? ??? ?? ??????? ?? ???????, ???? ??????? ??????? ???????????? ? ???????? ????? ???????!!!
??????????; ? ???????? ???? ???????? ??????? ???????? ?????? - "retrieve item lastvalue by triggerid"
????? ?? ???????? ???????????? http://www.zabbix.com/documentation/1.8/manual/config/macros ? ???????? ??????? {ITEM.VALUE<1-9>} ????? latest ???????? ??????. ?? ? ????? ????? ????????? ??? ???? ???????????? ?????? ???? ??????.
? ??? ??????? ??? ???????????? ?????? copy->paste ????????? ???.
????? ???? ??? ??? ??? ??????? ???????? ??? ??????? ????? ??? ???????? ????? ? ??????? ????? ?? "clock" ? ????? ???? "source" ??? ? ????????? ????? ?????? ???.
??????? {ITEM.LOG.XXXXXXXXXXXXX<1-9>} ?????????? Function: DBget_history_log_value_by_triggerid
??? ?? ???????? ?????????? ?????? ?? ?????? {ITEM.LASTVALUE<1-9>}
- ??????? ? ??? "????????" ???? ??? ?
{ITEM.VALUE<1-9>}, ?????? ??? ??? ???? ?????? SQL-?????? ?????? ?? "itemid" ? ???? ?? ?????????? "clock".? ?????????? ?????? !!! ????? ????????? ????? ??? ? ????????? ?????? {ITEM.VALUE<1-9>}
????? ???? ???????? ?? ??????????? ???????, ?
{ITEM.LOG.SOURCE<1-9>}?? ?????????? ??? ?????????? (? ???????? 1-4 ????), ?? ???? ??? ?? ??????????? ????????? "process_escalations" ? ?? ?????????????? ????????? (???????? ????????).
????? ???????? 1-4 ?????? ? ???? ????? ??????? ???????? ?? ???? ??????? ??????????? ? ?????? ?????????? ?????? Zabbix ???????? + ????????? ??????????"process_escalations" ??? 5+3=8 ??????, ? ? ??????? 4 ???????. ??? ????????? ????????? - ??? ???????. ? ????? ???????? ????? ????? ??? ???????????, ?? ??? ???????? ???????????? ?? ????.
?? ???? ???????????? ?????? ? ??? ?????? Zabbix ?????? ??? ??????? ? ????? ???????? ?? Windows ?????????? ????? ??????? ? ???????? ????????? ???????? ??????.
??????, ???????
{ITEM.LOG.XXXXXXXXXXXXX<1-9>}????? ???????? ????? ????? ??? ? ??????
{ITEM.VALUE<1-9>}? ????? ? ?????? ???? ?????????? ????????? ??? ???????????? ?????????? ???????????? ?? ?????? ????????? ???????? ??????? ???? ?? ???????? ?????????? ?? ????????? ?????. ???? ?? ???????? ??????? ??? ??? ? ?????? 2.0 ? ????? ??? ????? ??????? ??????? ?????? ????? ? ?????? ????????? ?????? 2.0. ???? ?? ??? ????????? ??? ????????? ??? ??????? ??????????? ? Windows ?????????, ????? ??? ????? ?????? ????????
?????? ??? ??????? ??? ??? ? ??????: "value mappings" ??? ???????
{ITEM.LASTVALUE<1-9>} ??????????????, ? ??? {ITEM.LASTVALUE<1-9>}?? ?????????????? - ??? ?? ?? ?????????????. ????? ????? ??????? ????????????? ? ??????????? ??????.
???.
- duplicates
-
ZBXNEXT-457 Support of nanoseconds for history tables
- Closed