Archived community.zenoss.org | full text search
Skip navigation
3791 Views 9 Replies Latest reply: Sep 28, 2011 9:38 AM by Shane Scott RSS
spawn!!! Rank: White Belt 36 posts since
Jan 26, 2011
Currently Being Moderated

Sep 20, 2011 11:37 AM

Issue in creating RRD files and graphing.

Hi All,

 

I added a device in Zenoss 3.0.3. I have two main issues with this device.

 

1. I can see interface throughput graphing for only two interfaces. And when I model the device. I get ifindex error on two of the interfaces as it is missing the file in interface of device. I can see in the interface folder in the zenoss server and i can see the rrd files are created and have some values in it. I can't see any ip address on two working interfaces and no graphs on other three interfaces which throw ifindex error.

 

2. I have given OID value in as a datasource for the device in template. And mapped the same for graph definition. I have same issue like mentioned in the following thread.

thread/12288?decorator=print&displayFullThread=true

new performance graph, not creating rrd file/no graph dataBut, I tried .0 after OID and reindexing the file and rebooting zenoss service, but still no improvement. When I do snmpwalk without .0 in the end I get result from test or manually from the zenoss server. But, no rrd file is getting created and no graph is generated due to the same.

 

I have added couple of screenshots with this discussion. Kindly help me with the same. I am stuck with this for a while and breaking my head to figure out whats the problem.

 

Thanks in advance for your help.

snmpwalk result1.jpg

snmpwalk result without zero.jpgsnmpwalk result withoutzero1.jpg

  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007
    Currently Being Moderated
    1. Sep 20, 2011 12:17 PM (in response to spawn!!!)
    Re: Issue in creating RRD files and graphing.

    Test with snmpget. Make sure it can get your OID...

    --

    James Pulver

    Information Technology Area Supervisor

    LEPP Computer Group

    Cornell University

  • jcurry ZenossMaster 1,021 posts since
    Apr 15, 2008
    Currently Being Moderated
    4. Sep 21, 2011 4:03 AM (in response to spawn!!!)
    Re: Issue in creating RRD files and graphing.

    I can understand you "x" ing iut your device that you are testing but showing is the OID would be very helpful.  The trick with getting your OID correct, and whether you have a .0 on the end or not, is to do with the structure of SNMP data.

     

    Scalar data, like stuff from the system table of MIB-2, provides single values for each OID - like your sysUpTime example.  When you create templates to gather such variables, you must have the .0 on the end. 

     

    Some SNMP data, by its nature, provides a table of values.  Interfaces is an obvious example.  For EACH interface, you will get ifInOctets, ifOutOctets, .... etc . In this case, a Zenoss template should not supply a .0 at the end of the oid and the Zenoss SNMP collector will automatically supply the table index and the table of values for each interface.

     

    Not sure why you are maybe trying to setup an snmpwalk under $ZENHOME/libexec??  Just use the standard system snmpwalk.  If you are trying to use snmpwalk in a command template (which occasionally is useful but normally necessary) then use the full path to snmpwalk in your command path - otherwise the command path will default to $ZENHOME/libexec.

     

    Hope that hekps some.  If not, publish yout snmpwalk command with the OIDs you are using and we can have another look.

     

    Cheers,

    Jane

  • jcurry ZenossMaster 1,021 posts since
    Apr 15, 2008
    Currently Being Moderated
    6. Sep 26, 2011 12:23 PM (in response to spawn!!!)
    Re: Issue in creating RRD files and graphing.

    Why are you creating a command data source for this rather than using an SNMP data source??? An SNMP template will automatically handle all the different instances and will create you your datapoint automatically - one datapoint for each OID.  The only reason that I use snmpwalk in a command template, rather than using a native SNMP data source, is if I want a polling interval faster than 5 minutes - but your command polling interval is 300 = 5 mins.

     

    I would strongly suggest that you create a new Data SOURCE of type SNMP and use your OID, without the .0 if you are gathering a table of values.  This will automatically create a data point that you can add to your THresholds / Graphs.

     

    Cheers,

    Jane

  • Shane Scott ZenossMaster 1,373 posts since
    Jul 6, 2009
    Currently Being Moderated
    7. Sep 27, 2011 8:41 PM (in response to jcurry)
    Re: Issue in creating RRD files and graphing.

    Spawn:

     

    I second Janes suggestion.

     

    --Shane

  • Shane Scott ZenossMaster 1,373 posts since
    Jul 6, 2009
    Currently Being Moderated
    9. Sep 28, 2011 9:38 AM (in response to spawn!!!)
    Re: Issue in creating RRD files and graphing.

    spawn:

     

    What type of device are you polling? Can you supply a full OID so I can look in to it?

     

    Thanks!

     

    --Shane

More Like This

  • Retrieving data ...

Legend

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