{"action":"created","issue":{"url":"https://api.github.com/repos/scline/CactiTemplate_JuniperNetworks/issues/1","labels_url":"https://api.github.com/repos/scline/CactiTemplate_JuniperNetworks/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/scline/CactiTemplate_JuniperNetworks/issues/1/comments","events_url":"https://api.github.com/repos/scline/CactiTemplate_JuniperNetworks/issues/1/events","html_url":"https://github.com/scline/CactiTemplate_JuniperNetworks/issues/1","id":57831088,"number":1,"title":" <oid_num_indexes> missing in XML file, Index Count: 0, No SNMP data returned","user":{"login":"natemccoy","id":1680422,"avatar_url":"https://avatars.githubusercontent.com/u/1680422?v=3","gravatar_id":"","url":"https://api.github.com/users/natemccoy","html_url":"https://github.com/natemccoy","followers_url":"https://api.github.com/users/natemccoy/followers","following_url":"https://api.github.com/users/natemccoy/following{/other_user}","gists_url":"https://api.github.com/users/natemccoy/gists{/gist_id}","starred_url":"https://api.github.com/users/natemccoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natemccoy/subscriptions","organizations_url":"https://api.github.com/users/natemccoy/orgs","repos_url":"https://api.github.com/users/natemccoy/repos","events_url":"https://api.github.com/users/natemccoy/events{/privacy}","received_events_url":"https://api.github.com/users/natemccoy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-16T17:26:12Z","updated_at":"2015-02-18T22:22:15Z","closed_at":null,"body":"It seems that the templates do not specify an index OID.\r\n\r\nI added your templates in Cacti and tested with a Juniper SRX 260 (supported?)\r\n\r\nIt did not seem to return results, and running a Verbose Query usually stated \"\\<oid_num_indexes\\> missing in XML file\"\r\n\r\nHere is an example Verbose Query in Cacti for \"Juniper SRX - Central Point Statistics\"\r\n\r\n\t\t+ Running data query [10].\r\n\t\t+ Found type = '3' [SNMP Query].\r\n\t\t+ Found data query XML file at '/var/www/cacti/resource/snmp_queries/juniper_srx_central_point.xml'\r\n\t\t+ XML file parsed ok.\r\n\t\t+ <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated by counting oid_index entries\r\n\t\t+ Executing SNMP walk for list of indexes @ '' Index Count: 0\r\n\t\t+ No SNMP data returned"},"comment":{"url":"https://api.github.com/repos/scline/CactiTemplate_JuniperNetworks/issues/comments/74961271","html_url":"https://github.com/scline/CactiTemplate_JuniperNetworks/issues/1#issuecomment-74961271","issue_url":"https://api.github.com/repos/scline/CactiTemplate_JuniperNetworks/issues/1","id":74961271,"user":{"login":"scline","id":4343127,"avatar_url":"https://avatars.githubusercontent.com/u/4343127?v=3","gravatar_id":"","url":"https://api.github.com/users/scline","html_url":"https://github.com/scline","followers_url":"https://api.github.com/users/scline/followers","following_url":"https://api.github.com/users/scline/following{/other_user}","gists_url":"https://api.github.com/users/scline/gists{/gist_id}","starred_url":"https://api.github.com/users/scline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scline/subscriptions","organizations_url":"https://api.github.com/users/scline/orgs","repos_url":"https://api.github.com/users/scline/repos","events_url":"https://api.github.com/users/scline/events{/privacy}","received_events_url":"https://api.github.com/users/scline/received_events","type":"User","site_admin":false},"created_at":"2015-02-18T22:22:15Z","updated_at":"2015-02-18T22:22:15Z","body":"Can you run the following commands on your SRX device via cli, will show me\nwhat values should be returning from the index listed in the xml file:\n\nshow snmp mib walk decimal 1.3.6.1.4.1.2636.3.39.1.12.1.4.1\nshow version\n\nOn my test device it looks like:\n*scline@sc-srx220h-fw1> show snmp mib walk decimal\n1.3.6.1.4.1.2636.3.39.1.12.1.4.1      *\n*jnxJsClusterMonitoringNodeIndex.0 = 0*\n*jnxJsClusterMonitoringNodeDescr.0 = single*\n*jnxJsNodeCurrentTotalSession.0 = 329*\n*jnxJsNodeMaxTotalSession.0 = 0*\n*jnxJsNodeSessionCreationPerSecond.0 = 9*\n*jnxJsNodeSessCreationPerSecIPv4.0 = 9*\n*jnxJsNodeSessCreationPerSecIPv6.0 = 0*\n*jnxJsNodeCurrentTotalSessIPv4.0 = 329*\n*jnxJsNodeCurrentTotalSessIPv6.0 = 0*\n\n*scline@sc-srx220h-fw1> show version                         *\n*Hostname: sc-srx220h-fw1*\n*Model: srx220h*\n*JUNOS Software Release [12.1X44-D40.2]*\n\nI just reimported the version online and cacti was able to pickup the\nindex. What version of cacti are you using?\n\nOn Wed, Feb 18, 2015 at 8:37 AM, natemccoy <notifications@github.com> wrote:\n\n> not sure, I will have to check. I will get back to you.\n>\n> On 18 February 2015 at 02:58, scline <notifications@github.com> wrote:\n>\n> > I'll take a look at this tomorrow, it should work on all SRX devices.\n> >\n> > What version of Junos are you running by chance?\n> >\n> > Sent from my iPhone\n> >\n> > > On Feb 16, 2015, at 9:26 AM, natemccoy <notifications@github.com>\n> wrote:\n> > >\n> > > It seems that the templates do not specify an index OID.\n> > >\n> > > I added your templates in Cacti and tested with a Juniper SRX 260\n> > (supported?)\n> > >\n> > > It did not seem to return results, and running a Verbose Query usually\n> > stated \"<oid_num_indexes> missing in XML file\"\n> > >\n> > > Here is an example Verbose Query in Cacti for \"Juniper SRX - Central\n> > Point Statistics\"\n> > >\n> > > + Running data query [10].\n> > > + Found type = '3' [SNMP Query].\n> > > + Found data query XML file at\n> > '/var/www/cacti/resource/snmp_queries/juniper_srx_central_point.xml'\n> > > + XML file parsed ok.\n> > > + <oid_num_indexes> missing in XML file, 'Index Count Changed' emulated\n> > by counting oid_index entries\n> > > + Executing SNMP walk for list of indexes @ '' Index Count: 0\n> > > + No SNMP data returned\n> > > —\n> > > Reply to this email directly or view it on GitHub.\n> > >\n> >\n> > —\n> > Reply to this email directly or view it on GitHub\n> > <\n> https://github.com/scline/CactiTemplate_JuniperNetworks/issues/1#issuecomment-74802704\n> >\n>\n> > .\n> >\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/scline/CactiTemplate_JuniperNetworks/issues/1#issuecomment-74896983>\n> .\n>\n"}}