Archived community.zenoss.org | full text search
Skip navigation
1672 Views 4 Replies Latest reply: Dec 17, 2012 6:55 AM by SM REF RSS
SM REF Newbie 4 posts since
Dec 3, 2012
Currently Being Moderated

Dec 4, 2012 6:35 AM

zenoss 3.2.1: the function usedBytes return None

Hi,

 

   I'v trouble to monitor filesystem's. Indeed, I'm using zenoss 3.2.1, a have defined a usedBlocks datapoint on FileSystem datasource with the OID 1.3.6.1.2.1.25.2.3.1.6, but   the display of usedBytes and freeBytes is NA for filesystem's Components.

 

Sans titre.bmp

 

  • #snmpwalk -v1 -cpublic managedHost .1.3.6.1.2.1.25.2.3.1.6
    SNMPv2-SMI::enterprises.2.2.1.1.0 = INTEGER: 37566
  • The totaBytes is correct. The usedBytes and freeBytes are not correct. Is-this a bug on zenoss 3.2.1 or is a miss configuration.

 

 

Thank's for help

SM REF

 

 

          


  • kb8u Rank: White Belt 35 posts since
    Jun 17, 2008
    Currently Being Moderated
    1. Dec 4, 2012 5:24 PM (in response to SM REF)
    Re: zenoss 3.2.1: the function usedBytes return None

    Your example snmpwalk doesn't make any sense.  The return values would look something like:

     

    snmpwalk -v1 -cpublic managedHost 1.3.6.1.2.1.25.2.3.1.6

    HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 2593072

    HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 2593072

    HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 270784

    HOST-RESOURCES-MIB::hrStorageUsed.7 = INTEGER: 1975084

    HOST-RESOURCES-MIB::hrStorageUsed.10 = INTEGER: 0

    HOST-RESOURCES-MIB::hrStorageUsed.31 = INTEGER: 787586

    HOST-RESOURCES-MIB::hrStorageUsed.35 = INTEGER: 20087

     

    SNMPv2-SMI::enterprises.2.2.1.1 is in a completely different tree.

     

    If that is really what you got back, then managedHost is very, very confused.

  • kb8u Rank: White Belt 35 posts since
    Jun 17, 2008
    Currently Being Moderated
    3. Dec 6, 2012 2:50 PM (in response to SM REF)
    Re: zenoss 3.2.1: the function usedBytes return None

    AIX has there own SNMP implementation (not NET-SNMP), I'm not familiar with it but looking at some documentation I found on the web, the AIX snmp daemon does either SNMP version 1 or 3.  You are trying version 2c in the command lines (-v2c) on the zenoss host, try -v1 instead.  There is also a zenoss configuration for which version to use.  On the managedHost device in zenoss, click on 'configuration properties' and change zSnmpVer to 1.  Also, zSnmpCommunity should be set to public (or whatever you've configured it to on managedHost), zSnmpMonitorIgnore shoud be false and zSnmpPort should be 161.

     

    snmpd.conf on the zenoss host manages how the zenoss host responds to snmp queries so you do not need it unless you want zenoss to monitor it's own disks or etcetera.

     

    If you are still not getting any responses from the AIX Host from snmpwalk -v1 etc. on the zenoss host then you need to configure the snmp daemon on the AIX host to allow it (and possibly any firewalls on it and/or iptables on the zenoss host.)

     

    It is curious that you have the TotalBytes column, that indicates that zenoss did get an SNMP response from the AIX host (if it got this information from the zenoss.snmp.HRFileSystemMap modeler plugin and not some other plugin).  One possibility is that zenoss has been working all this time and you didn't refresh the page.  Navigate away from the File System page and then back to it; zenoss takes several poll cycles to populate the used bytes, etcetera columns (and to have the graphs draw the same information) so it is normal to not see anything for 10 to 15 minutes after modeling.

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points