This isn't really a question about prometheus any more, it's a question about system administration in general. You've unfortunately overwritten one file (the snmp_exporter executable) with another file (a text YAML file).
There are snmp_exporter binaries for various architectures available from the project releases page: https://github.com/prometheus/snmp_exporter/releases If you need help you with the downloading, unpacking, moving files into the right place and so on, then you should probably talk to a local system administrator who can work with you directly on this. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/7a3aa629-db75-48d1-a6d1-eeaef2531a77n%40googlegroups.com.