Re: Issue with SNMP interface graphs for Windows? (FAO: Ronny)
Jonathan Heard <[email protected]> Mon, 2 Jul 2018 16:35:32 +0100
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <[email protected]> |
Further to my previous email, I've noticed that in fact it's only the Node-Level and Storage collected data that is working for me too... The SNMP Interface Data graph reports "There is no data for this resource". Looking into the jrb files as mentioned (below) in my previous email I can see that both ifHCInOctets and ifHCOutOctets are recored as both being NaN for every sample. I've dug a bit further and it looks like the commit for "NMS-10139: Make 64bit interface counter default" breaks this (commit id: fbaeb28a5fd2c72a2fe2bda3af01416c1bf4aac3 - by Ronny T, cc'd) From using SNMP Walk on my Windows 2012R2 hosts it looks like they don't support the 64 bit counters (which doesn't surprise me because M$ has, quite incredibly 'deprecated' SNMP in Windows!!!) I've added the mib2-interfaces group back to "Enterprise" in mib2.xml and now my windows hosts are collecting SNMP Interface stats. Perhaps the correct fix is to include mib2-interfaces directly in microsoft.xml? So in short - if you desperately want windows Interface SNMP stats back, then try re-adding mib2-interfaces but IMO this should also be considered to be added back into the default config for Windows collections in the next OpenNMS release. HTH Jonathan On 02/07/18 15:02, Jonathan Heard wrote: > > Hi Joe, > > I don't know how much this really can help you, but I've just > recently enabled windows SNMP datacollection on 22.0 and it's working > fine for me. > > Did you do an in-place upgrade or have your done a fresh installation? > We always upgrade by installing fresh. I had to update my > datacollection-config.xml to use the defaults as my original > customised version didn't include Microsoft collection, and just > adding the 'microsoft.xml' then led to datacollection failures because > of dependencies on other MIBs.. It was easiest for me just to use the > stock config here. > > For what it's worth - You probably want to look at the > /var/log/opennms/output.log and /var/log/opennms/collectd.log files to > see if there are any stack traces of collection errors there. You can > easily collected debug logs from collectd by editing > /etc/opennms/log4j2.xml and changing the loglevel for collectd from > "WARN" to "DEBUG". > > It's probably also worth looking at the rrd files collected for each > node to see if they are actually increasing in size, and perhaps dump > their raw data to see if they're actually being populated by collectd > - e.g. > > echo -e dump http.jrb\\n . | java -jar > /usr/share/opennms/lib/jrobin-1.6.0.jar > > (Note: I'm on Ubuntu Linux which I think uses different file paths to > RHEL/CentOS) > > Hope you get this working. > > Regards > > Jonathan > > > > On 02/07/18 08:26, Madden, Joe wrote: >> >> Hi James, >> >> Unfortunately not, fairly sure it has been introduced with the latest >> version of OpenNMS therefore I’ll raise a bug on it and see if I get >> any help that way. >> >> Cheers >> >> Joe. >> >> *From:*James Zuelow [mailto:[email protected]] >> *Sent:* 29 June 2018 17:01 >> *To:* Madden, Joe <[email protected]> >> *Subject:* RE: Issue with SNMP interface graphs for Windows? >> >> Joe, >> >> Did you ever get a reply to this question – perhaps off list? >> >> James Zuelow >> >> Systems Operations Manager >> >> City and Borough of Juneau – MIS >> >> (907) 586-0236 >> >> *From:*Madden, Joe [mailto:] >> *Sent:* Tuesday, June 26, 2018 11:51 PM >> *To:* General OpenNMS Discussion >> *Subject:* [opennms-discuss] Issue with SNMP interface graphs for >> Windows? >> >> Morning All, >> >> Noticed that have my upgrade to 22.0.x from 21 the graphs on the >> windows systems no longer populate with data: >> >> imap://jonathan%2Eheard%40devinfotech%2Eco%[email protected]:993/fetch%3EUID%3E/INBOX%3E14625?header=quotebody&part=1.1.2&filename=image001.jpg >> >> The live graphs work, therefor it must be getting the data just not >> reporting it for the graphs? >> >> imap://jonathan%2Eheard%40devinfotech%2Eco%[email protected]:993/fetch%3EUID%3E/INBOX%3E14625?header=quotebody&part=1.1.3&filename=image002.jpg >> >> Interestingly the Node Performance data graphs work? This only seems >> to have affected the interfaces for some reason? >> >> Cheers >> >> Joe. >> >> >> >> ------------------------------------------------------------------------------ >> Check out the vibrant tech community on one of the world's most >> engaging tech sites, Slashdot.org!http://sdm.link/slashdot >> >> >> _______________________________________________ >> Please read the OpenNMS Mailing List FAQ: >> http://www.opennms.org/index.php/Mailing_List_FAQ >> >> opennms-discuss mailing list >> >> To *unsubscribe* or change your subscription options, see the bottom of this page: >> https://lists.sourceforge.net/lists/listinfo/opennms-discuss > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-discuss mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss