<div>I should have been more precise regarding the cluttering of the display - it was the hostgroup display I was referring to. :/</div>
<div> </div>
<div>Would it be an idea to as much as possible use this configuration method: hosts --- hostgroups --- services? To elaborate some: Hosts are always connected to host groups, and the same for services. This way one will avoid linking services to specific hosts, making the service definitions more clean. </div>
<div> </div>
<div>Also, I'm thinking about having a host group called for example "linux-servers", to which all linux servers are linked. A number of service checks common for all linux servers are also linked to this host group. When adding new linux boxes I simply link them to the "linux-servers" host group, and add extra services checks where needed. In a similar fashin I would create a host-group called for example "dell-servers" to which all Dell hosts and related service checks are linked. New Dell servers are then linked to this host group.</div>
<div> </div>
<div>I'm thinking this may be a good idea, but would like to hear how others have structured their configuration and if there may be some hidden pitfalls in my proposed configuration method. <br><br> </div>
<div> </div>
<div><span class="gmail_quote">On 9/16/08, <b class="gmail_sendername">dave stern - e-mail.pluribus.unum</b> <<a href="mailto:dit.dash@gmail.com">dit.dash@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Not quite sure what you're trying to do. If you monitor a service,<br>it's going to be on the nagios<br>
service details pagre regardless, That's the whole point. There are<br>some tricks to slim down<br>some other displays eg I define a whole bunch of services under a host<br>without defining the<br>hosts these services run on explicitly. I just feed the IP address as<br>
part of the check_command.<br>This reduced the hostgroup grid page. I don't think that will work for you.<br><br>If you're asking how to most efficiently code this in your configs,<br>the timesaving tips page<br>mentions ganging together services. ie you don't need a service stanza<br>
for each host you want<br>to run this on. Rather, use a wildcard or group.<br>define service{<br> use generic<br> host_name hosta, hostb<br> hostgroup special-ones,!webguy<br>
.....<br>}<br><br>Run the service on hosts hosta, hostb, all hosts in the hostgroup,<br>"special-ones" but not "webguy"<br><br>One other thing you should consider. Where will the plugins live? The<br>
easy answer is to put them<br>on an NFSmounted partition that all hosts can access and that you can<br>easily update. This is a<br>bad practise. What happens when NFS breaks? You should really copy the<br>plugins to each<br>
host st they run locally.<br><br>On Tue, Sep 16, 2008 at 8:05 AM, Kenneth Holter <<a href="mailto:kenneho.ndu@gmail.com">kenneho.ndu@gmail.com</a>> wrote:<br>><br>> Thanks for the reply. I'll read the documents you listed.<br>
><br>> Meanwhile, I have a design question: What's the best way to set up a service<br>> check to be executed on a selected few (or maybe all for that matter) nodes?<br>> Say I need to monitor a particular process (lets call this service A) on a<br>
> number of systems, how would I implement this? I guess one way would be to<br>> link service A to a hostgroup, say hostgroup A, and add the selected systems<br>> to that hostgroup. This, however, will somewhat clutter up the web display,<br>
> so I'm looking for alternative approaches.<br>><br>> Any suggestions?<br>><br>><br>><br>> On 9/15/08, dave stern - e-mail.pluribus.unum <<a href="mailto:dit.dash@gmail.com">dit.dash@gmail.com</a>> wrote:<br>
>><br>>> Assuming you're already familiar with nagios, I'd look at the nagios<br>>> documentation<br>>> in the following order:<br>>><br>>> Under "Configuring nagios", look at "Object definitions" and make sure<br>
>> you understand all parameters and what would make sense in your<br>>> environment<br>>> Under "Advanced Topics", look at "Timesaving tips for object definitions"<br>>> Under "Advanced Topics", look at "host and service dependancies"<br>
>><br>>> Under "Advanced Topics", look at both "Distributed Monitoring" and<br>>> "Redundant and<br>>> Failover Monitoring".<br>>> Finally, under Security and Performance Tuning, look at Large<br>
>> Installation Tweaks<br>>><br>>> On Mon, Sep 15, 2008 at 10:23 AM, Kenneth Holter <<a href="mailto:kenneho.ndu@gmail.com">kenneho.ndu@gmail.com</a>><br>>> wrote:<br>>> > Hello all,<br>
>> ><br>>> ><br>>> > I'm new to Nagios, and are planning on using Nagios for monitoring our<br>>> > network of Linux servers.<br>>> ><br>>> > Are there any best practice documents on how to manage the different<br>
>> > definitions such as hostgroups, services, servicegroups, and so forth in<br>>> > an<br>>> > enterprise environment?<br>>> ><br>>> ><br>>> > Regards,<br>>> > Kenneth Holter<br>
>> ><br>>> ><br>>> > -------------------------------------------------------------------------<br>>> > This SF.Net email is sponsored by the Moblin Your Move Developer's<br>>> > challenge<br>
>> > Build the coolest Linux based applications with Moblin SDK & win great<br>>> > prizes<br>>> > Grand prize is a trip for two to an Open Source event anywhere in the<br>>> > world<br>
>> > <a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>>> > _______________________________________________<br>
>> > Nagios-users mailing list<br>>> > <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>>> > <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
>> > ::: Please include Nagios version, plugin version (-v) and OS when<br>>> > reporting<br>>> > any issue.<br>>> > ::: Messages without supporting info will risk being sent to /dev/null<br>
>> ><br>><br>><br>> -------------------------------------------------------------------------<br>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>> Build the coolest Linux based applications with Moblin SDK & win great<br>
> prizes<br>> Grand prize is a trip for two to an Open Source event anywhere in the world<br>> <a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>
> _______________________________________________<br>> Nagios-users mailing list<br>> <a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>> <a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
> ::: Please include Nagios version, plugin version (-v) and OS when reporting<br>> any issue.<br>> ::: Messages without supporting info will risk being sent to /dev/null<br>><br></blockquote></div><br>