in this case, my goal is to retrieve the state of the raid cluster.
Indeed, the automatic discovery of the host in SNMP did not give much. For example, I have nothing on the RAID or on the state of the disks.
that’s why I’m looking to retrieve the information by directly querying the device OIDs.
I am surprised… checkmk does not detect raid status for QNAP NAS ?
i do it well for synology NAS…
but perhaps it is the same than for my raid status for my Lenovo IMM…
By the Way, thanks for reply.
I will try this today.
Thanks for the solution… but I play with bad luck (i don’t know if this expression exist in english)…
I did exactly what you told and… I have a warning…
The reason to use the checkAPI is, you have more options to extend your monitoring and you can do much more things with the data. You will also be able to set thresholds via WATO.
snmpwalk is an SNMP application that uses SNMP GETNEXT requests to query a network entity for a tree of information.
An object identifier (OID) may be given on the command line. This OID specifies which portion of the object identifier space will be searched using GETNEXT requests. All variables in the subtree below the given OID are queried and their values presented to the user.
So maybe your OID is not an endpoint, but a starting point where sub ids can be found.
Assuming that with that OID the response is an array instead of a string what is expected for check_snmp.
If so, find an end point OID of the information you look for.
The way I found mine: in the host view of the device, you can download the SNMP walk and open it in text editor to find the specific OID by value. Compared values with values from SNMP interface view of device self to be sure.
Hi,
Have you tried deleting first point in OID in the service parameters??
1.3.6.1.4.1.2.3.51.3.1.13.1.7.1.4 instead of .1.3.6.1.4.1.2.3.51.3.1.13.1.7.1.4
I don’t remember to be notified for your post… and since I was testing checkmk with some of my clients without informing my hierarchy, I didn’t come to the forum every day.
but now i’m out of the shadows and i’m being asked to test a lot more checkmk… so i should be less lengthy in my answers…
I am going to try a tell you what’s happen.