I'm trying to monitor certain server resources (disk space for example) on a host in my network. Running the snmpwalk command, I was able to generate the list of things that can be monitored with SNMP. I am trying to use a certain OID (22.214.171.124.4.1.2021.9.1.9.1, percentage of disk space used), on the host, but Icinga2 errors out with this message:
External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: iso.126.96.36.199.1.2021.9.1.9.1
I am assuming this is because the OID does not exist on the host itself, even though it does exists in the MIB directory on my Icinga2 server. I am using the check_snmp plugin included by default in the PluginDir. My command definition is syntactically correct, but can be posted if needed. The service definition looks like so:
Unsure as to how to go about this. I know that the OID is valid (I looked it up). I am thinking that, as said before, the OID does not exist in the MIB file on the host being monitored.
Thanks for any help/ideas!