RE: snmp disk checking not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jesse Keating wrote:
> So I'm trying to configure snmp to check disk usage.  I've installed
> the net-snmp package, and edited the default /etc/snmp/snmpd.conf
> file only to uncommend the line that says:
> 
> disk / 10000
> 
> However, when I run snmp-walk:
> 
> [root@xxxxx root]# snmpwalk -v 1 localhost -c public

The above is going to walk the entire mib... thats alot of data.

try: snmpwalk -v 1 localhost -c public .1.3.6.1.4.1.2021.9

...to get at the / disk portion of the mib that you uncommented above. Then
use snmpget to obtain the specific MIB/OID your trying to test (like with
MRTG).

> 
> I get a bunch of information up until it would be checking for the
> disk size.  Then it sits for a second or 10, and gives me:
> 
> Timeout: No Response from localhost

I've seen this on a few boxes. Try increasing the timeout (-t) on your
snmpwalk command line.

man 5 snmpcmd   -- is very helpful

Steve Cowles


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux