Xymon Mailing List Archive search

SNMP monitoring on Windows 2012R2 and above

6 messages in this thread

list Colin Coe · Fri, 27 Apr 2018 09:01:18 +0800 ·
Hi all

We're using DEVMON with Xymon to monitor a bunch of hosts, mostly Linux
with some Windows.  Windows 2008R2 works fine but I've found that the
2012R2 (don't have any 2012) hosts don't work.

For example, for the RAID test I get:
Missing repeater data for primary OID logDrvIndex
Missing repeater data for primary OID phyDrvIndex

When running snmpwalk manually, I get
snmpwalk -v2c -c hpscada srv2012 1.3.6.1.4.1.232.3.2.3.1.1.2
CPQHOST-MIB::compaq.3.2.3.1.1.2 = No more variables left in this MIB View
(It is past the end of the MIB tree)

When doing the same on a 2008R2 server I get:
snmpwalk -v2c -c hpscada srv2008 1.3.6.1.4.1.232.3.2.3.1.1.2
CPQHOST-MIB::compaq.3.2.3.1.1.2.0.1 = INTEGER: 1

Any ideas on this?

Thanks

CC
list Bruce Ferrell · Thu, 26 Apr 2018 20:43:24 -0700 ·
quoted from Colin Coe

On 04/26/2018 06:01 PM, Colin Coe wrote:
Hi all

We're using DEVMON with Xymon to monitor a bunch of hosts, mostly Linux with some Windows.  Windows 2008R2 works fine but I've found that the 2012R2 (don't have any 2012) hosts 
don't work.

For example, for the RAID test I get:
Missing repeater data for primary OID logDrvIndex
Missing repeater data for primary OID phyDrvIndex

When running snmpwalk manually, I get
snmpwalk -v2c -c hpscada srv2012 1.3.6.1.4.1.232.3.2.3.1.1.2
CPQHOST-MIB::compaq.3.2.3.1.1.2 = No more variables left in this MIB View (It is past the end of the MIB tree)

When doing the same on a 2008R2 server I get:
snmpwalk -v2c -c hpscada srv2008 1.3.6.1.4.1.232.3.2.3.1.1.2
CPQHOST-MIB::compaq.3.2.3.1.1.2.0.1 = INTEGER: 1

Any ideas on this?

Thanks

CC

Colin,

just for giggles, I used your "walk" OIDs on my Win2008R2 VM, slowly reducing the OID until I got a return.

snmpwalk -v 2c -c <RO String> <IP address> 1.3.6.1.4.1

Is where I finally got a reading. Ending like this:

.1.3.6.1.4.1.9600.1.1.6.1.0 = No more variables left in this MIB View (It is past the end of the MIB tree)

Yours in getting into Compaq specific MIBs before it runs off the end of the MIB.

Try the walk this way and see if it goes further:

snmpwalk -v2c -c hpscada srv2008 1.3.6.1.4.1.232.3.2.3.1.1.2 -On

What it all means is walk is trying to increment the OID, guided by what it knows in the installed MIBs and stops getting returns. the addition tells 'walk to not translate the 
something approximating human language.

On my Dell systems, there is a sub-agent that has to be enabled to get readings from the RAID subsystem and MIBs for that have to be installed, unless I want to pol using raw OIDs

Regards,

Bruce
list Phil Crooker · Fri, 27 Apr 2018 14:28:17 +1000 ·
Compaq? From your hostname, it is an HP server? I haven't used DEVMON, I just write my own scripts as we only rarely use SNMP,  ...but... you probably need to substitute that OID for something more relevant. In my experience, just walking an SNMP tree doesn't go far w/o the 'proprietary' MIBs. See if you can find something relevant from the manufacturer and either install it on the DEVMON server (or read the thing) and work out using walks as to where the OIDs of interest are.


This is one reason why I don't use DEVMON... 😉


Hope that helps. Cheers, Phil
quoted from Colin Coe


From: Xymon <xymon-bounces at xymon.com> on behalf of Colin Coe <user-5b250cd7a540@xymon.invalid>
Sent: Friday, April 27, 2018 10:31:18 AM
To: xymon at xymon.com
Subject: [Xymon] SNMP monitoring on Windows 2012R2 and above

Hi all

We're using DEVMON with Xymon to monitor a bunch of hosts, mostly Linux with some Windows.  Windows 2008R2 works fine but I've found that the 2012R2 (don't have any 2012) hosts don't work.

For example, for the RAID test I get:
Missing repeater data for primary OID logDrvIndex
Missing repeater data for primary OID phyDrvIndex

When running snmpwalk manually, I get
snmpwalk -v2c -c hpscada srv2012 1.3.6.1.4.1.232.3.2.3.1.1.2
CPQHOST-MIB::compaq.3.2.3.1.1.2 = No more variables left in this MIB View (It is past the end of the MIB tree)

When doing the same on a 2008R2 server I get:
snmpwalk -v2c -c hpscada srv2008 1.3.6.1.4.1.232.3.2.3.1.1.2
CPQHOST-MIB::compaq.3.2.3.1.1.2.0.1 = INTEGER: 1

Any ideas on this?

Thanks

CC
list Jeremy Laidman · Fri, 27 Apr 2018 14:35:25 +1000 ·
As HP bought out Compaq, they inherited and recycled the Compaq OIDs. These
are the correct OIDs you're looking for.
quoted from Phil Crooker


On 27 April 2018 at 14:28, Phil Crooker <user-e8e31cd73303@xymon.invalid> wrote:
Compaq? From your hostname, it is an HP server? I haven't used DEVMON, I
just write my own scripts as we only rarely use SNMP,  ...but... you
probably need to substitute that OID for something more relevant. In my
experience, just walking an SNMP tree doesn't go far w/o the 'proprietary'
MIBs. See if you can find something relevant from the manufacturer and
either install it on the DEVMON server (or read the thing) and work out
using walks as to where the OIDs of interest are.


This is one reason why I don't use DEVMON... 😉


Hope that helps. Cheers, Phil

<user-8c58e1738592@xymon.invalid>
quoted from Phil Crooker
*From:* Xymon <xymon-bounces at xymon.com> on behalf of Colin Coe <
user-5b250cd7a540@xymon.invalid>
*Sent:* Friday, April 27, 2018 10:31:18 AM
*To:* xymon at xymon.com
*Subject:* [Xymon] SNMP monitoring on Windows 2012R2 and above

Hi all

We're using DEVMON with Xymon to monitor a bunch of hosts, mostly Linux
with some Windows.  Windows 2008R2 works fine but I've found that the
2012R2 (don't have any 2012) hosts don't work.

For example, for the RAID test I get:
Missing repeater data for primary OID logDrvIndex
Missing repeater data for primary OID phyDrvIndex

When running snmpwalk manually, I get
snmpwalk -v2c -c hpscada srv2012 1.3.6.1.4.1.232.3.2.3.1.1.2
CPQHOST-MIB::compaq.3.2.3.1.1.2 = No more variables left in this MIB View
(It is past the end of the MIB tree)

When doing the same on a 2008R2 server I get:
snmpwalk -v2c -c hpscada srv2008 1.3.6.1.4.1.232.3.2.3.1.1.2
CPQHOST-MIB::compaq.3.2.3.1.1.2.0.1 = INTEGER: 1

Any ideas on this?

Thanks

CC

list Phil Crooker · Fri, 27 Apr 2018 14:39:32 +1000 ·
Thanks, Jeremy, didn't realise they were still using it... You'd think they'd rename it or something after, what, 10-15 years?
quoted from Jeremy Laidman

From: Jeremy Laidman <user-0608abae5e7c@xymon.invalid>
Sent: Friday, April 27, 2018 2:05:25 PM
To: Phil Crooker
Cc: Colin Coe; xymon at xymon.com
Subject: Re: [Xymon] SNMP monitoring on Windows 2012R2 and above

As HP bought out Compaq, they inherited and recycled the Compaq OIDs. These are the correct OIDs you're looking for.


On 27 April 2018 at 14:28, Phil Crooker <user-e8e31cd73303@xymon.invalid<mailto:user-e8e31cd73303@xymon.invalid>> wrote:

Compaq? From your hostname, it is an HP server? I haven't used DEVMON, I just write my own scripts as we only rarely use SNMP,  ...but... you probably need to substitute that OID for something more relevant. In my experience, just walking an SNMP tree doesn't go far w/o the 'proprietary' MIBs. See if you can find something relevant from the manufacturer and either install it on the DEVMON server (or read the thing) and work out using walks as to where the OIDs of interest are.


This is one reason why I don't use DEVMON... 😉


Hope that helps. Cheers, Phil


From: Xymon <xymon-bounces at xymon.com<mailto:xymon-bounces at xymon.com>> on behalf of Colin Coe <user-5b250cd7a540@xymon.invalid<mailto:user-5b250cd7a540@xymon.invalid>>
Sent: Friday, April 27, 2018 10:31:18 AM
To: xymon at xymon.com<mailto:xymon at xymon.com>
Subject: [Xymon] SNMP monitoring on Windows 2012R2 and above

Hi all

We're using DEVMON with Xymon to monitor a bunch of hosts, mostly Linux with some Windows.  Windows 2008R2 works fine but I've found that the 2012R2 (don't have any 2012) hosts don't work.

For example, for the RAID test I get:
Missing repeater data for primary OID logDrvIndex
Missing repeater data for primary OID phyDrvIndex

When running snmpwalk manually, I get
snmpwalk -v2c -c hpscada srv2012 1.3.6.1.4.1.232.3.2.3.1.1.2
CPQHOST-MIB::compaq.3.2.3.1.1.2 = No more variables left in this MIB View (It is past the end of the MIB tree)

When doing the same on a 2008R2 server I get:
snmpwalk -v2c -c hpscada srv2008 1.3.6.1.4.1.232.3.2.3.1.1.2
CPQHOST-MIB::compaq.3.2.3.1.1.2.0.1 = INTEGER: 1

Any ideas on this?

Thanks

CC
list Colin Coe · Thu, 3 May 2018 07:58:49 +0800 ·
Many thanks all.

I'm embarrassed to admit that the HPE Insight Management Agents were not
actually installed.  These used to be installed automatically from the
Service Pack for Proliant however in recent versions, it became optional
and did not get automatically installed.

Thanks again

CC

On Fri, Apr 27, 2018 at 12:39 PM, Phil Crooker <user-e8e31cd73303@xymon.invalid>
quoted from Phil Crooker
wrote:
Thanks, Jeremy, didn't realise they were still using it... You'd think
they'd rename it or something after, what, 10-15 years?
*From:* Jeremy Laidman <user-0608abae5e7c@xymon.invalid>
*Sent:* Friday, April 27, 2018 2:05:25 PM
*To:* Phil Crooker
*Cc:* Colin Coe; xymon at xymon.com
*Subject:* Re: [Xymon] SNMP monitoring on Windows 2012R2 and above

As HP bought out Compaq, they inherited and recycled the Compaq OIDs.
These are the correct OIDs you're looking for.


On 27 April 2018 at 14:28, Phil Crooker <user-e8e31cd73303@xymon.invalid> wrote:

Compaq? From your hostname, it is an HP server? I haven't used DEVMON, I
just write my own scripts as we only rarely use SNMP,  ...but... you
probably need to substitute that OID for something more relevant. In my
experience, just walking an SNMP tree doesn't go far w/o the 'proprietary'
MIBs. See if you can find something relevant from the manufacturer and
either install it on the DEVMON server (or read the thing) and work out
using walks as to where the OIDs of interest are.


This is one reason why I don't use DEVMON... 😉


Hope that helps. Cheers, Phil

<user-8c58e1738592@xymon.invalid>
*From:* Xymon <xymon-bounces at xymon.com> on behalf of Colin Coe <
user-5b250cd7a540@xymon.invalid>
*Sent:* Friday, April 27, 2018 10:31:18 AM
*To:* xymon at xymon.com
*Subject:* [Xymon] SNMP monitoring on Windows 2012R2 and above

Hi all

We're using DEVMON with Xymon to monitor a bunch of hosts, mostly Linux
with some Windows.  Windows 2008R2 works fine but I've found that the
2012R2 (don't have any 2012) hosts don't work.

For example, for the RAID test I get:
Missing repeater data for primary OID logDrvIndex
Missing repeater data for primary OID phyDrvIndex

When running snmpwalk manually, I get
snmpwalk -v2c -c hpscada srv2012 1.3.6.1.4.1.232.3.2.3.1.1.2
CPQHOST-MIB::compaq.3.2.3.1.1.2 = No more variables left in this MIB View
(It is past the end of the MIB tree)

When doing the same on a 2008R2 server I get:
snmpwalk -v2c -c hpscada srv2008 1.3.6.1.4.1.232.3.2.3.1.1.2
CPQHOST-MIB::compaq.3.2.3.1.1.2.0.1 = INTEGER: 1

Any ideas on this?

Thanks

CC


Please consider the environment before printing this e-mail

This message from ORIX Australia may contain confidential and/or
privileged information. If you are not the intended recipient, any use,
disclosure or copying of this message (or of any attachments to it) is not
authorised. If you have received this message in error, please notify the
sender immediately and delete the message and any attachments from your
system. Please inform the sender if you do not wish to receive further
communications by email.

ORIX has a Privacy Policy which outlines what kinds of personal
information we collect and hold, how we may collect and handle it, and your
rights regarding personal information. Please let us know if you would like
a copy. The Privacy Policy and a Collection Statement are also available on
our website <http://www.orix.com.au>;.

We do not accept liability for any loss or damage caused by any computer
viruses or defects that may be transmitted with this message. We recommend
you carry out your own checks for viruses or defects.