Subscribe

SNMP and Snapshots

Hi guys,

Does anyone know if it is possible to use snmp (custom traps) to get the amount of snapshots per volume?

Greetings,

Hans Oele

Re: SNMP and Snapshots

You should be able to get this info using the following found in the traps.dat

slVNumber                                snmp.1.3.6.1.4.1.789.1.5.5.2.1.8.1

####explanation found in netapp.mib####


    slVNumber                       OBJECT-TYPE
    SYNTAX                          Integer32
        MAX-ACCESS                      read-only
        STATUS                          current
    DESCRIPTION
            "Number of snapshots for this volume / aggregate."

https://now.netapp.com/Knowledgebase/solutionarea.asp?id=3.0.2044720.2606171

Re: SNMP and Snapshots

Hi Allen,

Thanks for you're response.

I tried it and I know that I'm sort of a noob on the snmp part so excuse me for that.

When I execute the snmp get on our netapp I get the following

SNMP>
SNMP> o 1.3.6.1.4.1.789.1.5.8.1.2.10

SNMP> g 1.3.6.1.4.1.789.1.5.5.2.1.8.10
iso.org.dod.internet.private.enterprises.netapp.netapp1.filesys.snapshot.slVTable.slVEntry.slVNumber.1 = (null)
SNMP> g 1.3.6.1.4.1.789.1.5.5.2.1.8.10
iso.org.dod.internet.private.enterprises.netapp.netapp1.filesys.snapshot.slVTable.slVEntry.slVNumber.10 = (null)
SNMP>

Don't know if you can give me a hint or a link to some extra info maybe.

The reason I want this is to let the monitoring tools report an event as soon as there are 250 snapshots on a volume. So that in case of a failure to remove snapshots or any other reason the support team can take any actions to solve the issue. Now the only thing I have are event messages as soon as it is to late.

Kind regards,

Hans

P.s. the o 1.3.6.1.4.1.789.1.5.8.1.2.10 is a lun with snapshots on it.

Message was edited by: A-Team Amsterdam

Re: SNMP and Snapshots

Hi Hans,

Here is a kb from the NOW site that explains the setup of the snmp traps.

https://now.netapp.com/Knowledgebase/solutionarea.asp?id=kb22453