[ZBX-11922] A nodata trigger with bad credentials snmpv3 : always OK state Created: 2017 Mar 15 Updated: 2017 May 30 Resolved: 2017 Apr 06 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Incident report | Priority: | Critical |
Reporter: | Maxime Nev | Assignee: | Unassigned |
Resolution: | Duplicate | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() ![]() ![]() ![]() |
||||||||
Issue Links: |
|
Description |
I have configured this trigger : {MySnmpHost:cpu.idle.percent.nodata(900)}=1 My cpu.idle.percent item is a SNMPv3 authPriv one (polling : 300 seconds). I expect that my trigger change to PROBLEM state (because there is no data) but it never happens. |
Comments |
Comment by richlv [ 2017 Mar 15 ] |
nodata() on unsupported items is not supported in zabbix 3.0 (as can be seen in one of your screenshots), that arrived in 3.2 |
Comment by Maxime Nev [ 2017 Mar 15 ] |
Thanks for your reply @richlv. I agree with you, It is an important feature : Zabbix must be capable to warn when an item is not reachable/supported.
So with Zabbix 3.0.7, a bypassing is possible but not really compliant, I can add a : zabbix[host,,items_unsupported] and create two triggers :
Thanks, |
Comment by Maxime Nev [ 2017 Mar 17 ] |
Hello, richlv ? Thanks, |
Comment by Dmitry Verkhoturov [ 2017 Mar 17 ] |
You could write a check yourself. Here is SQL for all enabled hosts and triggers:
SELECT
h.host,
t.description,
t.error
FROM
triggers as t
join
functions as f
on f.triggerid = t.triggerid
join
items as i
on f.itemid = i.itemid
join
hosts as h
on i.hostid = h.hostid
WHERE
t.error <> ''
and h.status = 0
and h.proxy_hostid is null
and t.status = 0;
And here is an example for unsupported items:
SELECT hosts.host, items.key_, items.error
FROM items
left join hosts on items.hostid = hosts.hostid
WHERE items.error <> ''
and hosts.status = 0
and hosts.proxy_hostid is null
and items.type not in (5, 15)
and items.status = 0;
I myself gather this data and send it to separate item on each host with appropriately configured trigger. |
Comment by richlv [ 2017 Mar 17 ] |
this issue tracker is for bugreports - please see http://zabbix.org/wiki/Getting_help for support options |
Comment by Maxime Nev [ 2017 Mar 17 ] |
Thanks Paskal for your support and this bypassing. Maxime |
Comment by Glebs Ivanovskis (Inactive) [ 2017 Apr 06 ] |
Closing as Duplicate of |