[Nagiosplug-help] SNMP checks for Compaq mibs

Olaf Hoyer ohoyer at ohoyer.de
Sat Jun 26 11:40:04 CEST 2004


On Fri, 25 Jun 2004, Mike Feetham wrote:

> I am trying to monitor disk space on some Compaq/HP servers, running various
> Windows platforms.  Since they already have the Compaq Insight SNMP services
> running on them, our corporate policy forbids us from installing any other
> SNMP agents, or MIB updates (like snmp4tpc).
>
> I have created commands using the check_snmp plugin, aiming them at the OIDs
> from the Compaq mibs.
>
> >From what I can find, the Compaq mibs will only show total drive size and
> space used.  What we really need is space free, not space used.  Other than
> writing a script to subtract used space from total space, does anyone have a
> cleaner solution for getting what we want?
>
> Is there an OID I'm missing in the Compaq mibs that has this info?

No.

I have some Proliant with iLO boards here, and they are working quite
nicely.

I use place used up for my calculation, so that 20% free space is 80%
used space, so I write:

define service{
        use                             frontends
        host_name                       foo
        service_description             Disk L:
        check_command
check_snmp!.iso.org.dod.internet.private.enterprises.compaq.cpqHo
stOs.cpqHoComponent.cpqHoFileSys.cpqHoFileSysTable.cpqHoFileSysEntry.cpqHoFileSysPercentSpaceUsed.2!public
!90!95
}

well, you get the idea... warning, when 20% free, critical, when 5%
free...

>
> I know there are dozens of different ways to get the same results, but what
> would other Nagios users suggest is the most efficient and secure way of
> getting this SNMP info?

Use the iLO-boards, when available, and put them in a separate VLAN,
which is dedicated only for management and monitoring purposes.
I am using SNMPv2 without fear, because the iLO-boards and the nagios
station are in a VLAN with private IP, which is not accessible from
anywhere.
(You also should spend a thought of configuring a firewall whether on
the machine, or elsewhere, that is blocking Port 161 on all interfaces
which are not used. Second best way is a dedicated management Ethernet
interface in that box..

HTH
Olaf

-- 
Olaf Hoyer        ohoyer at gaff.hhhr.ision.net
Fuerchterliche Erlebniss geben zu raten,
ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist.
(Nietzsche, Jenseits von Gut und Boese)




More information about the Help mailing list