mibs/oids for Linux resources
Andreas Ericsson
ae at op5.se
Sun Apr 25 14:19:36 CEST 2004
Dan Newcombe wrote:
> On Sat, 24 Apr 2004, Cory Dinh wrote:
>
>>I'm trying to set up Nagios to monitor Linux resources like cpu, load,
>>memory, swap, and disk but I'm having a hard time figuring out which
>>mibs/oids I should be using. I'm running Redhat 7.3 to 9 with net-snmp
>
> Try doing an snmpwalk of .1.3.6.1.4.1.2021, which is the UCD MIB. On my
> system it's located in UCD-SNMP-MIB.txt located in /usr/share/snmp/mibs or
> something like that. However it is Debian not Redhat.
>
Or rather, try walking .1.3.6.1.2.1, as it is RFC ruled to be the 'sys'
area.
'snmpwalk -On' will give you OID's rather than outputs in mibnames.
'snmpwalk -Ovq' will give you values only, for easy parsing.
--
Mvh
Andreas Ericsson
OP5 AB
+46 (0)733 709032
andreas.ericsson at op5.se
-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list