Archived community.zenoss.org | full text search
Skip navigation
1 2 Previous Next 194830 Views 21 Replies Latest reply: Nov 23, 2009 4:30 PM by Matthew Kitchin (public) RSS
Matthew Kitchin (public) Rank: Green Belt 170 posts since
Nov 12, 2009
Currently Being Moderated

Nov 18, 2009 2:34 PM

Need some help with dependencies

The admin guide only has this word in it a couple of times, and it doesn't have much detail. I guess it is supposed to be automatic. For some reason, it isn't for me. My Zenoss server is on a class c at our office, and it is monitoring a router, serer, and at least 1 WAP at 110 remote locations. All remote connections are MPLS. When the router goes down, I get alerts for all the devices going down. Zenoss is definitely polling SNMP on the router and server (not the WAPs yet). It is polling the serial side of the router, but it sees the Ethernet interface as well in the OS tab. The Ethernet interface on the router is the default gateway on the servers and the WAPs. I think the email alerts I set up are pretty basic. It went with most of the defaults. I didn't see anything related to dependency in the alert setup. Am I missing something, or can someone point me in the right direction? Should Zenoss be ok with the fact that it monitors the serial interface but the devices are connected to the Ethernet interface. If it isn't ok with that, can I change a setting somewhere to set it manually?

**I just added a screenshot of the last 6 alerts I got. The IP for the router in the alert is the serial interface.

Thanks,

Matthew

Attachments:
  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007
    Currently Being Moderated
    Re: Need some help with dependencies

    You need to make sure the ping topology generated by ZenPing is correct.

    Also, check that Zenoss can get the relevant routing tables all the way

    between your Zenoss server and the devices.

    See the Admin guide:

    docs/DOC-3915

     

    The forums and wiki have more information on testing the ping topology tree.

    --

    James Pulver

    Information Technology Area Supervisor

    LEPP Computer Group

    Cornell University

     

     

     

    Matthew Kitchin (public) wrote, On 11/18/2009 2:29 PM:

    The admin guide only has this word in it a couple of times, and it doesn't have much detail. I guess it is supposed to be automatic. For some reason, it isn't for me. My Zenoss server is on a class c at our office, and it is monitoring a router, serer, and at least 1 WAP at 110 remote locations. All remote connections are MPLS. When the router goes down, I get alerts for all the devices going down. Zenoss is definitely polling SNMP on the router and server (not the WAPs yet). It is polling the serial side of the router, but it sees the Ethernet interface as well in the OS tab. The Ethernet interface on the router is the default gateway on the servers and the WAPs. I think the email alerts I set up are pretty basic. It went with most of the defaults. I didn't see anything related to dependency in the alert setup. Am I missing something, or can someone point me in the right direction?

    Thanks,

    Matthew

    >

  • mwoodling Rank: White Belt 46 posts since
    Aug 10, 2008
    Currently Being Moderated
    Re: Need some help with dependencies

    You have just run into a pretty serious shortcoming in Zenoss, though it seems to be a common shortcoming with most open-source monitoring solutions.  Zenoss can supress "downstream" events (for devices that are beyond the network failure point) only if Zenoss has already collected complete routing tables from all devices between Zenoss and the farthest devices.  You stated you have an MPLS network between your Zenoss server site and your remote sites.  I presume you can't get routing tables from the MPLS network because it is run by a provider and you don't administer it and thus can't get access to it.  Even if you did run the MPLS network, Zenoss will not pick up all the routing tables from the MPLS routers (assuming you have MPLS VPNs configured in the MPLS network).

     

    We routinely just deal with large numbers of "false" events when there is a network failure close to the Zenoss server.  There is at least one manual device dependency solution out there in the community, but it seems complex enough that I don't want to get into it.  So I hope for a robust solution from the Zenoss team.

     

    What Zenoss needs is Layer 2 topology knowledge and needs to suppress events based on layer 2 topology (this is a big deal in a large ethernet switch network).  If Zenoss had this capability, it would learn the Layer 2 connectivity in the network devices you manage and you could hopefully represent the provider's MPLS network as maybe a plain router and add false Layer 2 connections that connect to your remote sites.  Then, Zenoss could effectively suppress "downstream" events.

     

    Zenoss team?

  • mlist Rank: White Belt 49 posts since
    Mar 27, 2009
    Currently Being Moderated
    Re: Need some help with dependencies

    Why Zenoss doesnt copy from Nagios?

    I think that Nagios is this case is absolutely superior. You can manually configure your hiearchy (parent & child relationship) and, in this case, the problem is solved. Nothing of complicate, just the annoyance of manually configure dependencies.

    Moreover Nagios has anothe GREAT FUTURE: Service dependencies.

    Honestly I don't understand why Zenoss doesn't implement these futures. Yes..I know that there are lot of things to be created and that deployment requires time and money and that there are priorities but I think that without these future zenoss will not be a REAL enterprise solution.

    I like zenoss and I use it but strictly speaking about "real core futures", I think that these futures are absolutely compulsory.

  • chitambira Rank: Brown Belt 711 posts since
    Oct 15, 2008
    Currently Being Moderated
    5. Sep 14, 2010 5:17 AM (in response to mlist)
    Re: Need some help with dependencies

    You have said it well, "the annoyance of manually configuring dependencies in Nagios" If you can put up with that, then why not do the same thing as well in Zenoss? Nagios is a subset of Zenoss, whilist Zenoss implements auto discovered dependencies, it allows you to manually set abitrary dependencies, you just need a little little bit of python skill.

  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007
    Currently Being Moderated
    6. Nov 19, 2009 8:00 AM (in response to chitambira)
    Re: Need some help with dependencies

    Yes, if you look at the Community FAQ, and or the wiki, you can see the

    snippet of python code to use in event transforms to manually create

    device dependencies.

     

    I also strongly support layer 2 mapping and dependencies.

    --

    James Pulver

    Information Technology Area Supervisor

    LEPP Computer Group

    Cornell University

     

     

     

    chitambira wrote, On 11/19/2009 6:21 AM:

    You have said it well, "the annoyance of manually configuring dependencies in Nagios" If you can put up with that, then why not do the same thing as well in Zenoss? Nagios is a subset of Zenoss, whilist Zenoss implements auto discovered dependencies, it allows you to manually set you abitrary dependencies manually, you just need a little little little little bit of python skill.

     

  • mwoodling Rank: White Belt 46 posts since
    Aug 10, 2008
    Currently Being Moderated
    7. Nov 19, 2009 9:35 AM (in response to jmp242)
    Re: Need some help with dependencies

    I wanted to make it clear that I don't care about mapping, meaning I don't want or care if Zenoss can draw a network map.  The current mapping capability is a unusable (it's too slow and stuff moves around too much).  I just want Zenoss to learn topology dependencies so that it can suppress status events for devices that are on the far side of a network failure.

     

    I also re-read the original post in this thread and I think I misunderstood the original problem.  If Zenoss has grabbed routing tables for a router at site #3 and knows that servers are on subnets either attached to the router or on subnet routable by routers at the site, the current event suppression should work fine.

     

    Matt

  • mlist Rank: White Belt 49 posts since
    Mar 27, 2009
    Currently Being Moderated
    Re: Need some help with dependencies
    I don't want drive this discussion in a religion question like navios vs zenoss or something else.

    I think that Zenoss is an excellent product (maybe the best in the opensource panorama) with lot of nice and interesting features but I think also that objectively we must admit that every products have pros and cons. I think that Zenoss is, on the whole, better that Nagios but I think also that nagios has some features that Zenoss at the moment doesn't have or, at least, that them could be significantly improved.
    Because this discussion is related to "dependencies", I just mentioned 2 of them:
    -Service dependecies
    -Layer 2/3 dependencies
    Yes you say that Zenoss has Layer3 dependencies but we could discuss if is easier to write some python code (maybe for people that is not able to write code...) or using a gui (in Nagios I always used a gui, never the command line).
    Moreover if I have correctly understood, it use routing table and this mechanism isn't always so good.
    About service dependencies instead, in my zenoss knowlege, it isnt' able to manage.
    I simply suggested to improve these aspects just because in my opinion, in an Enterprise enviroment, are very very important (compulsory for me!).

    I just mention some other features in which Zenoss lacks:
    - service group (I have some problem now with zenoss because it is quite frustrating to work without this feature at least for me that I used them with Nagios
    - A missing inheritance with the template like the ability to inherit only some object (and there is already a discussion about this in the forum).
    - Flexbile maintenance windows
    - An easy way to understand all active thresholds on every device (without to look the template)
    But again, because this thread is related to "dependencies", I won't discuss about them.
  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007
    Currently Being Moderated
    Re: Need some help with dependencies

    Unfortunately, that's it for layer 2. (So if a switch goes down, you get

    alerts on everything behind it).

    --

    James Pulver

    Information Technology Area Supervisor

    LEPP Computer Group

    Cornell University

     

     

     

    Matthew Kitchin (public) wrote, On 11/19/2009 11:14 AM:

    I've searched looking for the mentioned methods of adding a manual dependency, but all I have found is this:

    docs/DOC-3231

    that isn't really practical to do for all my devices.

    My network isn't complicated or frequently changing. It sounds like Zenoss shouldn't have a problem with the automatic method for me. I would love some help in troubleshooting this. My network map is a blank page. I don;t know if that is indicative of a larger problem. I have looked through zenping.log, and all I see are the lines where it mentions devices being down. I haven't seen anything related to topology or any info that seems to indicate there is or isn't a problem with it obtianing routing information. Can someone tell me the best way to determine if it is or isn't getting the information it needs to try and handle dependencies properly?

     

    Thanks for all the help.

    -Matthew

    >

  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007
    Currently Being Moderated
    Re: Need some help with dependencies

    No, you need the entire topology between the Zenoss server and the

    endpoint for this to work right.

    --

    James Pulver

    Information Technology Area Supervisor

    LEPP Computer Group

    Cornell University

     

     

     

    Matthew Kitchin (public) wrote, On 11/19/2009 12:21 PM:

    Zenoss has indeed pulled the routes from the routers at our remote sites. All we want is to supress the alerts pertaining to LAN hosts that are directly connected to a router that is down. So you are saying this should work, even though we don't know all the routes between sites (due to MPLS)?

     

  • jmp242 ZenossMaster 4,060 posts since
    Mar 7, 2007
    Currently Being Moderated
    Re: Need some help with dependencies

    Let me follow up, I think you can manually create "fake" routes in

    Zenoss to work around this, there are some forum posts on that.

    --

    James Pulver

    Information Technology Area Supervisor

    LEPP Computer Group

    Cornell University

     

     

     

    Matthew Kitchin (public) wrote, On 11/19/2009 12:21 PM:

    Zenoss has indeed pulled the routes from the routers at our remote sites. All we want is to supress the alerts pertaining to LAN hosts that are directly connected to a router that is down. So you are saying this should work, even though we don't know all the routes between sites (due to MPLS)?

     

1 2 Previous Next

More Like This

  • Retrieving data ...

Legend

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