Robert Lewis
2018-11-20 20:06:09 UTC
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.
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.