Monitor CPU, Memory and Disk usage via SNMP

Status
Not open for further replies.

gristle

Cadet
Joined
Feb 15, 2012
Messages
4
Hi Guys,

I upgraded to FreeNAS-8.0.4-RELEASE-p2-x64 (11367) hoping to get snmp reporting more information.

I've been trying to workout how to report cpu, memory and disk usage via SNMP.

From my research it seems I should load a few extra modules into /etc/snmpd.conf

begemotSnmpdModulePath."mibII" = "/usr/lib/snmp_mibII.so"
begemotSnmpdModulePath."ucd" = "/usr/local/lib/snmp_ucd.so"

both those file exist in that location, but I'm still not able to get the information I'm after.

Is there something else I need to do?
 

gristle

Cadet
Joined
Feb 15, 2012
Messages
4
If I remove both of these lines from /etc/snmpd.conf

begemotSnmpdModulePath."mibII" = "/usr/lib/snmp_mibII.so"
begemotSnmpdModulePath."ucd" = "/usr/local/lib/snmp_ucd.so"

then when I do a snmpwalk -c public -v 1 localhost


I get :

...snip...
SNMPv2-MIB::sysORDescr.1 = STRING: udp transport mapping
SNMPv2-MIB::sysORDescr.2 = STRING: lsock transport mapping
SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for SNMPv2 entities.
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for the Begemot SNMPd.
...snip...

When I add in
begemotSnmpdModulePath."ucd" = "/usr/local/lib/snmp_ucd.so"

I get :

...snip...
SNMPv2-MIB::sysORDescr.1 = STRING: udp transport mapping
SNMPv2-MIB::sysORDescr.2 = STRING: lsock transport mapping
SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for SNMPv2 entities.
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for the Begemot SNMPd.
SNMPv2-MIB::sysORDescr.5 = STRING: The MIB module for UCD-SNMP-MIB.
...snip...

So it appears to be loading the snmp_ucd module, however the rest of the output is unchanged.
 
Status
Not open for further replies.
Top