Re: No hrSWRunPath in HOST-RESOURCES-MIB
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2009/3/27 Kamil Kisiel <[email protected]>: > snmpgetnext ... HrSWRunPath.4048 > return > HOST-RESOURCES-MIB::hrSWRunPath.4049 = STRING: "/usr/sbin/cron" > as expected. That's what I thought you would see. > snmpgetnext ... HrSWRunPath.1 returns > HOST-RESOURCES-MIB::hrSWRunParameters.1 = "" > which is clearly not correct. No. > The pattern I've found is that this wrong behavior occurs with processes > that are kernel processes, those listed as "[process]" in ps output. What I believe is happening is that the agent gets slightly confused when it sees one of these processes. Returning "noSuchInstance" for a GET request is arguably OK (though an empty string might be more sensible). But at the very least it should skip over such an entry for a GETNEXT request, and return the next available value. Though of course, returning an empty string regardless would fix this problem anyway. Dave ------------------------------------------------------------------------------ _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users