DX NetOps

 View Only
Expand all | Collapse all

spectrum polling mechanism

  • 1.  spectrum polling mechanism

    Posted May 03, 2013 05:34 AM
    Dear Experts,

    please let me know if a device goes down and we have set the interval to 5 min then will spectrum try to poll "down device" in every 5 min or is there a different mechanism of polling?


    Thanks in Advance!!

    Regards,
    Irshad Khan


  • 2.  RE: spectrum polling mechanism

    Posted May 03, 2013 07:51 AM
    Hello Irshad,

    Yes. Spectrum will still poll the device for every 5 minutes to check the status.

    kalyan


  • 3.  RE: spectrum polling mechanism

    Posted May 04, 2013 04:21 PM
    Thanks kalyan for confirmiing the same.

    but as per my network team they are not getting snmp or icmp packet on firewall on every 5 min for polled devices.

    is there any way to find out that the device is polled out at 5 min by spectrum ??

    Regards,
    Irshad Khan


  • 4.  RE: spectrum polling mechanism

    Posted May 05, 2013 02:28 AM
    Hello Irshad,

    You might observe slight delay depending on the number of polled models in Oneclick.I suggest to use wireshark and capture the packets betwen Spectrum and the firewall to check the polling interval.

    kalyan


  • 5.  RE: spectrum polling mechanism

    Posted May 06, 2013 01:22 AM
    Hi Kalyan,

    Please find the below entry from Firewall where spectrum has polled the device in every 5 min.
    but for marked entry the polling interval is below 5. and this thing i have observed for many devices.
    "2340857" "6May2013" "6:35:51" "Exp1-1.16" "Log" "Accept" "161" "5.5.5.2" "5.5.5.5" "udp" "Security Gateway/Management"
    "2628277" "6May2013" "6:40:52" "Exp1-1.16" "Log" "Accept" "161" "5.5.5.2" "5.5.5.5" "udp" "Security Gateway/Management"
    "2913856" "6May2013" "6:45:53" "Exp1-1.16" "Log" "Accept" "161" "5.5.5.2" "5.5.5.5" "udp" "Security Gateway/Management"
    "3203449" "6May2013" "6:50:53" "Exp1-1.16" "Log" "Accept" "161" "5.5.5.2" "5.5.5.5" "udp" "Security Gateway/Management"
    "3498375" "6May2013" "6:55:53" "Exp1-1.16" "Log" "Accept" "161" "5.5.5.2" "5.5.5.5" "udp" "Security Gateway/Management"
    "3790119" "6May2013" "7:00:53" "Exp1-1.16" "Log" "Accept" "161" "5.5.5.2" "5.5.5.5" "udp" "Security Gateway/Management"
    "4079696" "6May2013" "7:05:53" "Exp1-1.16" "Log" "Accept" "161" "5.5.5.2" "5.5.5.5" "udp" "Security Gateway/Management"
    "4659616" "6May2013" "7:15:53" "Exp1-1.16" "Log" "Accept" "161" "5.5.5.2" "5.5.5.5" "udp" "Security Gateway/Management"
    [color=#ea3e7d]"4946119" "6May2013" "7:20:53" "Exp1-1.16" "Log" "Accept" "161" "5.5.5.2" "5.5.5.5" "udp" "Security Gateway/Management"
    "5034564" "6May2013" "7:22:26" "Exp1-1.16" "Log" "Accept" "161" "5.5.5.2" "5.5.5.5" "udp" "Security Gateway/Management"
    "5229159" "6May2013" "7:25:53" "Exp1-1.16" "Log" "Accept" "161" "5.5.5.2" "5.5.5.5" "udp" "Security Gateway/Management"[color]
    "5518320" "6May2013" "7:30:53" "Exp1-1.16" "Log" "Accept" "161" "5.5.5.2" "5.5.5.5" "udp" "Security Gateway/Management"
    "5807230" "6May2013" "7:35:54" "Exp1-1.16" "Log" "Accept" "161" "5.5.5.2" "5.5.5.5" "udp" "Security Gateway/Management"
    "6098845" "6May2013" "7:40:54" "Exp1-1.16" "Log" "Accept" "161" "5.5.5.2" "5.5.5.5" "udp" "Security Gateway/Management"

    Please suggest.

    Regards,
    Irshad Khan


  • 6.  RE: spectrum polling mechanism

    Posted May 07, 2013 04:50 AM
    Hi Irshad,

    What you are seeing might be traffic initiated by someone looking at a device in OneClick. Not everything you see in OneClick is pulled from the Spectrum database/memory, a lot of information is only polled when someone looks at it. So in addition to the regular poll cycle you can also have additional SNMP traffic triggered by user activities.

    Michiel


  • 7.  RE: spectrum polling mechanism

    Posted May 07, 2013 05:04 AM
    Hi Michiel,

    Is there any way to find out whether this polling is initiated by Spectrum or from a user??

    Regards,
    Irshad


  • 8.  RE: spectrum polling mechanism

    Posted May 07, 2013 05:11 AM
    Not that I know of. I don't think there is any logging where you can see this.


  • 9.  RE: spectrum polling mechanism

    Posted May 07, 2013 05:18 AM
    Thanks Michiel for confirming. :happy


  • 10.  RE: spectrum polling mechanism

    Posted May 09, 2013 12:59 PM
    Hello Irshad,

    May be you can make the log_user_events=true in .vnmrc and recycle processd after stopping Spectrum to see if this event gets logged for the user in OC.

    kalyan


  • 11.  RE: spectrum polling mechanism

    Posted May 14, 2013 08:15 AM
    Joe Ackley with CA had posted a while back on how spectrum actually does polling/fault isolation:

    Besides the "normal" polling that is done during the polling interval (5 minutes by default for most model), Spectrum is polling the models for other reasons as well. For example:

    1. Thresholds. If you have enabled the polling for thresholds at the device level for cpu and memory, Spectrum is polling the device for that information. In addition, if you have enabled the thresholding of the associated interface models, Spectrum is polling for that information as well.

    2. SpectroWatches. For out fo the box or custom SpectroWatches, Spectrum will poll for that information both at the device level and interface level.

    3. On demand polls. As users are clicking on the different tabs and folders within the tabs, these are on demand polls where the data is polled at the time the tab and folder is selected.

    4. Fault isolation. When Spectrum loses contact with a model, it does not automatically assert a lost contact condition. Fault isolation checks the models neighbor models to determine if it can communicate with those devices. A neighbor model is a model connected to another model. If it can't communicate with those neighbers, it checks the neighbors neighbors. If it can't communicate with the neighbors neighbors, etc, etc, etc.

    Basically, how fault isolation works is as follows:

    You have device A connected to device B connected to device C connected to device D modeled in the database:

    A <--->B<--->C<--->D

    For network traffic purposes, when Spectrum communicates with device D, the network path is A to B to C to D.

    For this scenario, lets assume that device B goes down which will prevent Spectrum from communicating with device C and D.

    Spectrum tries to communicate with device D. This could be for any reason as noted above. The communication is going to fail because device B is down. Spectrum does not know that yet. It only knows that device D did not respond.

    Spectrum checks the neighbors for device D. According to the modeling in the database, the only neighbor for device D is device C.

    Spectrum tries to communicate with device C. The communication is going to fail because device B is down. Spectrum does not know that yet. It only knows that device C did not respond.

    Since Spectrum cannot communicate with all of the neighbors for device D, logically, device D could be up and running so Spectrum turns device D grey lost contact unknown.

    Spectrum will check the neighbors for device C. According to the modeling in the database, device B and device D are the neighbors. Communication to both of these neighbors is going to fail because device B is down. Spectrum does not know that yet. It only knows that device B and D did not respond.

    Since Spectrum could not communicate with all of the neighbors for device C, logically, device C could be up and running so Spectrum turns device C grey lost contact unknown.

    Spectrum will check the neighbors for device B. The communication with C will fail but the communication with A will be successful. In this case, Spectrum will logically conclude that since it can communicate with device A but cannot communicate with device C, according to the modeling in the database, device B is the root cause for the loss of communication and turn device B to red device lost contact.

    It is important to note here that for fault isolation to determine the root cause for the loss of contact, there has to be at least one contactable neighbor.

    All of the communication that FI does with the neighbors is in real time. It does not wait for poll intervals.

    After FI determines where the fault lies and changes the conditions of the models involved, Spectrum is still attempting communication with these models for the various reasons noted above. One thing to remember about the "normal" polling interval ( 5 minutes by default for most models), is Spectrum does not poll every model at the same 5 minute interval. For example, in the four devices used in our example, the normal 5 minute poll is not done at the same time for all four devices. Spectrum spaces the normal polling.

    Using our FI scenario above, after FI determines where the fault lies and changes the condition of the models involved, let's say that 30 seconds later, device B comes back online. Spectrum does not know that yet. Spectrum polls device D 10 seconds after that. Again, the poll could be for any reason noted above. This time, the poll to device D was successful because
    device B is back up. Since the poll was successful this time, it turn device D green normal. Same for device C and B.

    In the above scenario, although the "normal" poll interval was 5 minutes, Spectrum only showed these deivces as unavailable for about a minute.

    Chapter 7 "Fault Management" of the Spectrum 9.2.2 "Modeling and Managing Your IT Infrastructure Administrator Guide" contains more details on how Spectrum Fault Management/Isolation works.

    =========

    The way I think of it is like this: the poll interval is the longest period of time that Spectrum will go without otherwise talking to a device for reasons outlined above. Of far more importance is the retry and timeout values.

    --Richard


  • 12.  RE: spectrum polling mechanism

    Posted May 16, 2013 12:58 AM
    Hi Richard,

    Thanks!! it is very much helpful.

    Regards,
    Irshad Khan


  • 13.  Re: RE: spectrum polling mechanism

    Posted Jan 06, 2015 04:20 AM

    Also remember that when in a distributed environment, you need to look for the IP address of the Landscape that the device is modelled from when troubleshooting ICMP or SNMP connectivity. OneClick is not the source of the pings/polls!