{"action":"created","issue":{"url":"https://api.github.com/repos/jankeirse/oesnmp/issues/6","repository_url":"https://api.github.com/repos/jankeirse/oesnmp","labels_url":"https://api.github.com/repos/jankeirse/oesnmp/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/jankeirse/oesnmp/issues/6/comments","events_url":"https://api.github.com/repos/jankeirse/oesnmp/issues/6/events","html_url":"https://github.com/jankeirse/oesnmp/issues/6","id":178551497,"number":6,"title":"Blocked sessions not monitored (was Discovery Rules for Zabbix 3.2)","user":{"login":"nickwe3","id":22365262,"avatar_url":"https://avatars.githubusercontent.com/u/22365262?v=3","gravatar_id":"","url":"https://api.github.com/users/nickwe3","html_url":"https://github.com/nickwe3","followers_url":"https://api.github.com/users/nickwe3/followers","following_url":"https://api.github.com/users/nickwe3/following{/other_user}","gists_url":"https://api.github.com/users/nickwe3/gists{/gist_id}","starred_url":"https://api.github.com/users/nickwe3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickwe3/subscriptions","organizations_url":"https://api.github.com/users/nickwe3/orgs","repos_url":"https://api.github.com/users/nickwe3/repos","events_url":"https://api.github.com/users/nickwe3/events{/privacy}","received_events_url":"https://api.github.com/users/nickwe3/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jankeirse/oesnmp/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-22T08:35:10Z","updated_at":"2016-09-22T09:30:00Z","closed_at":null,"body":"Hello Jan,\r\n\r\nThanks a a lot for your work! \r\n\r\nHere are my findings:\r\n\r\nI'm new to Zabbix and new to OE, but our DBA ask us to monitor their Progress DB, so I went with OESNMP and Zabbix.\r\n\r\nI don't know for the previous version of Zabbix, but on version 3.2, the discovery rules must have the following syntax:\r\n\r\n`discovery[{#MACRO1}, oid1, {#MACRO2}, oid2, …,]`\r\n\r\n[https://www.zabbix.com/documentation/3.2/manual/discovery/low_level_discovery#discovery_of_snmp_oids](https://www.zabbix.com/documentation/3.2/manual/discovery/low_level_discovery#discovery_of_snmp_oids)\r\n\r\nSo I had to put theses for the \"SNMP OID\" in the \"discovery rules\" of your templates:\r\n\r\nAppservers => discovery[{#SNMPVALUE},SNMPv2-SMI::enterprises.42674.0.2]\r\nOpenEdge Databases => discovery[{#SNMPVALUE},SNMPv2-SMI::enterprises.42674.2.3]\r\nOpenEdge Latches => discovery[{#SNMPVALUE},SNMPv2-SMI::enterprises.42674.3.2.2]\r\nOpenEdge Working Dirs => discovery[{#SNMPVALUE},SNMPv2-SMI::enterprises.42674.4.2.1]\r\n\r\nFor the \"OpenEdge Blocked Sessions\", it should then be\r\n\r\n`OpenEdge Blocked Sessions => discovery[{#SNMPVALUE},SNMPv2-SMI::enterprises.42674.3.3.1]`\r\n\r\nBut the OID .3.3.1 doesn't exist :-( .3.2 and .3.4 exist, but nothing for .3.3 :-(\r\n\r\nsnmpwalk -v 2c -c public db1.qadriver2 SNMPv2-SMI::enterprises.42674.3\r\n...\r\nSNMPv2-SMI::enterprises.42674.3.2.12.14.100.114.105.118.101.114.45.77.84.76.95.83.69.81 = INTEGER: 0\r\nSNMPv2-SMI::enterprises.42674.3.2.12.14.100.114.105.118.101.114.45.77.84.76.95.84.88.81 = INTEGER: 0\r\nSNMPv2-SMI::enterprises.42674.3.2.12.14.100.114.105.118.101.114.45.77.84.76.95.84.88.84 = INTEGER: 0\r\nSNMPv2-SMI::enterprises.42674.3.2.12.14.100.114.105.118.101.114.45.77.84.76.95.85.83.82 = INTEGER: 0\r\nSNMPv2-SMI::enterprises.42674.3.2.12.15.100.114.105.118.101.114.45.77.84.76.95.76.72.84.50 = INTEGER: 0\r\nSNMPv2-SMI::enterprises.42674.3.2.12.15.100.114.105.118.101.114.45.77.84.76.95.76.72.84.51 = INTEGER: 0\r\nSNMPv2-SMI::enterprises.42674.3.2.12.15.100.114.105.118.101.114.45.77.84.76.95.76.72.84.52 = INTEGER: 0\r\nSNMPv2-SMI::enterprises.42674.3.2.12.15.100.114.105.118.101.114.45.77.84.76.95.76.82.85.50 = INTEGER: 0\r\nSNMPv2-SMI::enterprises.42674.3.4.1.1 = STRING: \"driver-1\"\r\nSNMPv2-SMI::enterprises.42674.3.4.1.2 = STRING: \"driver-2\"\r\nSNMPv2-SMI::enterprises.42674.3.4.1.3 = STRING: \"driver-3\"\r\nSNMPv2-SMI::enterprises.42674.3.4.2.8.100.114.105.118.101.114.45.49 = Counter32: 106053192\r\nSNMPv2-SMI::enterprises.42674.3.4.2.8.100.114.105.118.101.114.45.50 = Counter32: 106053228\r\nSNMPv2-SMI::enterprises.42674.3.4.2.8.100.114.105.118.101.114.45.51 = Counter32: 0\r\nSNMPv2-SMI::enterprises.42674.3.4.3.8.100.114.105.118.101.114.45.49 = Counter32: 847543\r\nSNMPv2-SMI::enterprises.42674.3.4.3.8.100.114.105.118.101.114.45.50 = Counter32: 847543\r\nSNMPv2-SMI::enterprises.42674.3.4.3.8.100.114.105.118.101.114.45.51 = Counter32: 0\r\nSNMPv2-SMI::enterprises.42674.3.4.4.8.100.114.105.118.101.114.45.49 = Counter32: 23904\r\n...\r\n\r\nOn your documentation of the OID's, the 3.3 should be the waiting session and not the Blocking session as in your template:\r\n.1.3.6.1.4.1.42674.3.3 = Waiting sessions\r\n.1.3.6.1.4.1.42674.3.3.1 = “db name” + type of wait\r\n.1.3.6.1.4.1.42674.3.3.2 = number of sessions waiting for this type\r\n\r\nRegards,\r\n\r\nNicolas.\r\n"},"comment":{"url":"https://api.github.com/repos/jankeirse/oesnmp/issues/comments/248853611","html_url":"https://github.com/jankeirse/oesnmp/issues/6#issuecomment-248853611","issue_url":"https://api.github.com/repos/jankeirse/oesnmp/issues/6","id":248853611,"user":{"login":"jankeirse","id":11499882,"avatar_url":"https://avatars.githubusercontent.com/u/11499882?v=3","gravatar_id":"","url":"https://api.github.com/users/jankeirse","html_url":"https://github.com/jankeirse","followers_url":"https://api.github.com/users/jankeirse/followers","following_url":"https://api.github.com/users/jankeirse/following{/other_user}","gists_url":"https://api.github.com/users/jankeirse/gists{/gist_id}","starred_url":"https://api.github.com/users/jankeirse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jankeirse/subscriptions","organizations_url":"https://api.github.com/users/jankeirse/orgs","repos_url":"https://api.github.com/users/jankeirse/repos","events_url":"https://api.github.com/users/jankeirse/events{/privacy}","received_events_url":"https://api.github.com/users/jankeirse/received_events","type":"User","site_admin":false},"created_at":"2016-09-22T09:30:00Z","updated_at":"2016-09-22T09:30:00Z","body":"RD-773 internally"}}
{"actor":{"display_login":"jankeirse"}}