Hello!
I want to create a custom SNMP Service which only displays “sysName” from the SNMP_INFO so I can display which HA on a cluster is active.
How can I do this the best way?
Hello!
I want to create a custom SNMP Service which only displays “sysName” from the SNMP_INFO so I can display which HA on a cluster is active.
How can I do this the best way?
have a look at the snmp_info
check, this already does what you are looking for.
Is it possible to only display that in a single service and not the other stuff?
for this you need to build your own plugin.
to get started with plugin development, see the documentation at Writing your own check plug-ins and maybe use the existing snmp_info Plugin as a basis for your code:
checkmk/snmp_info.py at master · tribe29/checkmk · GitHub
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.