Archived community.zenoss.org | full text search
Skip navigation
64444 Views 7 Replies Latest reply: Jan 8, 2010 9:28 AM by mlist RSS
jcurry ZenossMaster 1,021 posts since
Apr 15, 2008
Currently Being Moderated

Dec 15, 2009 8:14 AM

Changes in interface performance data with 2.5

There appear to be some subtle changes between 2.4.1 and 2.5.1 with respect to the way performance data is collected for interfaces of devices.  I know that interface status display has changed from separate icons for Admin Status and Operational Status (in 2.4) to a single icon representing Status (in 2.5).

 

With 2.4.1, when a device is initially discovered the InterfaceMap collector gets all interfaces (of any status). It looks like zenmodeler sends an Async update to zenperfsnmp for every interface with an operational status of Up.  When zenperfsnmp next runs, it creates RRD files for those interfaces with an Up operational status and collects data.  If an interface subsequently changes from Down to Up, this is not detected until the device is remodeled.  At this time, an Async update is sent to zenperfsnmp and on the next perf cycle, a new RRD file is created for that extra Up interface and data is collected.  If on a modeler cycle, the interface oper status has changed from Up to Down then on the next perf cycle, data is ONLY collected from interfaces with operStatus = Up.

 

With 2.5.1, when a device is initially discovered the InterfaceMap collector gets all interfaces (of any status). It looks like zenmodeler sends an Async update to zenperfsnmp for every interface - regardless of ifOperStatus. When zenperfsnmp next runs, it creates RRD files for ALL interfaces and continues to monitor them all every zenperfsnmp cycle, regardless of ifOperStatus.  However, 2.5.1 does appear to detect a change in ifOperStatus on a performance cycle - no remodel is needed to detect the change - but it still collects data on all interfaces, regardless.

 

Where devices are switches, many of which have ports that have never been connected, this means that there are hugely more RRD files and that ALL interfaces are polled every snmp polling cycle, rather than just the ifOperStatus=Up interfaces. Typically the ifAdminStatus of all ports is Up.

 

I have had quite a good look around the code and cannot see where the test is done to decide whether to collect interface performance data - can anyone help???

 

A combination of the old and new code would be great if a perf cycle could detect changes in ifOperStatus (new in 2.5) but could also then use that status to determine what data to gather on this perf cycle.

 

Any other comments?

 

Cheers,

Jane

  • mlist Rank: White Belt 49 posts since
    Mar 27, 2009
    Currently Being Moderated
    1. Jan 7, 2010 8:55 AM (in response to jcurry)
    Re: Changes in interface performance data with 2.5

    Hi jane

     

    this post is very interesting also because thanks to it I have understood how zenoss thinks about rrd and devices's network interfaces.

    I hope that some zenoss guru will give a reply.

    In the meanwhile I have a questions for you and I hope that you kindly will reply to me:

     

    Question: How to get alerts when specific interfaces go down

    If I have correctly understood, when you add a device (for example a cisco switch), zenoss will monitor ALL interfaces but won't generate alerts whenever interface's status change from up to down. This is good because otherwise you could receive lot of alerts (I think to a 48 switch port on which are connected user's pc that often power off their computer) but, could be there situations in which is necessary to get alarms when a specific interfaces go down. How is possible to manage this kind of situations?

     

    I hope will give me some tips

    bye

    Marco

  • mlist Rank: White Belt 49 posts since
    Mar 27, 2009
    Currently Being Moderated
    2. Jan 7, 2010 9:09 AM (in response to mlist)
    Re: Changes in interface performance data with 2.5

    Update:

     

    Hi jane, I founded another post related to my question:

    message/41557#41557

     

    Please apologize for the disturb anyway, because you are a zenoss expert, a comment would be appreciated

     

    Regards

  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007
    Currently Being Moderated
    3. Jan 7, 2010 9:30 AM (in response to mlist)
    Re: Changes in interface performance data with 2.5

    I'm not Jane, but perhaps this comment will help. Zenoss doesn't track

    interface up/down by default during perf monitoring, though there are

    wiki entries and forum posts to help with that if you want to.

     

    Now, if you're monitoring a PC, it will of course fail a ping test if

    it's down, and generate an event (but not necessarily an e-mail alert).

    --

    James Pulver

    Information Technology Area Supervisor

    LEPP Computer Group

    Cornell University

     

     

     

    mlist wrote, On 1/7/2010 8:35 AM:

    Hi jane

     

    this post is very interesting also because thanks to it I have understood how zenoss thinks about rrd and devices's network interfaces.

    I hope that some zenoss guru will give a reply.

    In the meanwhile I have a question for you:

    Are events are generated (in the event console) whenever interfaces status changes from up to down?

    I mean:

    Supposing that today I add to zenoss a cisco switch with 48 ports and that at this time all ports are up because all pc are connected. During a day some pc go down (maybe users that powered off their computer). In this case will be generated events or not? If yes how is the best way to manage situation like this in which interfaces change often their status from up to down or vice versa? I'm afraid that lot of alerts could be generated and I don't know how to manage this kind of situations.

     

    I hope will give me some tips

    bye

    Marco

    >

  • Andrea Consadori ZenossMaster 863 posts since
    Feb 11, 2008
    Currently Being Moderated
    4. Jan 7, 2010 1:52 PM (in response to mlist)
    Re: Changes in interface performance data with 2.5

    Question: How to get alerts when specific interfaces go down

    enable snmp trap on switch an filter interesting interface with event rules and for interface polling read this docs/DOC-2494

  • mlist Rank: White Belt 49 posts since
    Mar 27, 2009

    Hi James thans for your kind reply, I saw that you replied in the post "Interface status in Zenoss Core 2.5" that I'm sure, has been very very useful.

     

    Andrea I was already aware about the "snmp trap" route but, before all, my primary purpose was to have a good understanding in how zenoss monitor network interfaces. Moreover I have more than 1000 network devices and the snmp trap route is not always the best choice. Usually I prefer the "active monitoring" but this is just a question of philosophy. Anyway Ryan explained very well the question and thanks to his suggestions now I have some idea on how to manage my network devices

  • mlist Rank: White Belt 49 posts since
    Mar 27, 2009
    Currently Being Moderated
    7. Jan 8, 2010 9:28 AM (in response to jcurry)
    Re: Changes in interface performance data with 2.5

    Just replied to your kind reply.

     

    Thanks again Jane your are GREAT

More Like This

  • Retrieving data ...

Legend

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