Discussion:
[Check_mk (english)] Writing SNMP Based Check for HP DOM
Robert Lewis
2018-11-20 20:06:09 UTC
Permalink
Good afternoon,

I am writing a snmp based check for our HP(Now Aruba) Procurve switches to collect the DOM information. I am following the guide https://mathias-kettner.com/checkmk_devel_snmpbased.html and have started to get the information to return how I would like but I am running into a stumbling block.

In order to update the diagnostic information I need to set an OID to a value of 1 before querying. This has to be done each time I query to have the updated information.

Does anyone know of an example snmp check in check_mk that has to set a value like this? I was thinking I could easily set the value using pysnmp but I am looking for a way that is more integrated without me coming up with a one off solution.

Thank you,

Rob




CONFIDENTIALITY NOTICE: This message may contain confidential information, including, but not limited to, student personally identifiable information. Such information is intended only for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, printing, distribution, or the taking of any action in reliance on the contents of the information contained herein is strictly prohibited. If you receive this e-mail message in error, please immediately notify me by telephone at (989) 386-3851 to arrange for the return of the original document to me. Please also delete the message from your computer. Thank you.
Andreas Döhler
2018-11-20 23:03:39 UTC
Permalink
Hi Robert,

there is no check inside check_mk that does something like this.
The only thing in this direction is the multi context queries for SNMP v3
devices. But also here there is no set of values only read. And also this
multiple read must be defined before.

Best regards
Andreas
Post by Robert Lewis
Good afternoon,
I am writing a snmp based check for our HP(Now Aruba) Procurve switches to
collect the DOM information. I am following the guide
https://mathias-kettner.com/checkmk_devel_snmpbased.html and have started
to get the information to return how I would like but I am running into a
stumbling block.
In order to update the diagnostic information I need to set an OID to a
value of 1 before querying. This has to be done each time I query to have
the updated information.
Does anyone know of an example snmp check in check_mk that has to set a
value like this? I was thinking I could easily set the value using pysnmp
but I am looking for a way that is more integrated without me coming up
with a one off solution.
Thank you,
Rob
*CONFIDENTIALITY NOTICE*: This message may contain confidential
information, including, but not limited to, student personally identifiable
information. Such information is intended only for the use of the
individual or entity named above. If you are not the intended recipient,
you are hereby notified that any disclosure, copying, printing,
distribution, or the taking of any action in reliance on the contents of
the information contained herein is strictly prohibited. If you receive
this e-mail message in error, please immediately notify me by telephone at
(989) 386-3851 to arrange for the return of the original document to me.
Please also delete the message from your computer. Thank you.
_______________________________________________
checkmk-en mailing list
Manage your subscription or unsubscribe
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Loading...