Service notifications and host groups

Dan Tulovsky dan.tulovsky at sbiandcompany.com
Sat Jun 28 22:06:03 CEST 2003


Larry,

You are absolutely correct.  But now lets step down and think of the
thousands upon thousands smaller companies that may have a number of
different offices, but in each office you have 1 or 2 people who manage all
the servers and everything that runs on them.  Now imagine you have a single
admin that is responsible for all the exchange servers in all the office,
then 1 or 2 firewalls admins who is responsible for all the firewalls in all
offices.  This is the situation I am up against.  I've divided Nagios up by
office with a notification group for each office.  But now I have a firewall
admin who would like to be notified not only when the firewall (host) goes
down, but when its disk space is running low, or when the ping latency is
too high.  I have one ping service per office that ping everything in that
office, including the firewall.  Since the firewall admin doesn't care if a
dev server in such and such office goes down, I now have to create a
separate service definition just for the firewall ping.  And then for the
firewall disk.  And then for the exchange server ping and disk.

Perhaps there should be an option in nagios to do it one way or the other.
For most smaller companies you will find that one person is responsible for
a machine and all the services on it.  Very few such companies will have a
32 cpu machine running 10 instances of Oracle.

Thank you.
Dan

----- Original Message ----- 
From: "Larry Bills" <larry.bills at mci.com>
To: "Dan Tulovsky" <dan.tulovsky at sbiandcompany.com>;
<nagios-users at lists.sourceforge.net>
Sent: Saturday, June 28, 2003 3:11 PM
Subject: Re: [Nagios-users] Service notifications and host groups


> Dan.... et.al
>
> This is not at all an practice in general in the industry for large
> corporations involved in the computer business. For some of our servers
have
> the operating system and hardware taken care of an outsourced company,
while
> the applications on the servers are taken care of by many different
parties,
> that may or may not be related. Servers running 32 cpu's and several
> terrabytes of memory and disk space, are not usually all one group of
users.
>
> Also some require customer notification for some items only, and many
> different support groups are involved within one server environment. What
> about 10 different Oracle databases for instance on one server, managed by
> 10 different groups for 10 different applications.
>
> We have over 5000 servers similar to this scenerio.
>
> Just my 2 cents
>
> Larry Bills
>
> ----- Original Message ----- 
> From: "Dan Tulovsky" <dan.tulovsky at sbiandcompany.com>
> To: <nagios-users at lists.sourceforge.net>
> Sent: Saturday, June 28, 2003 10:12 AM
> Subject: Re: [Nagios-users] Service notifications and host groups
>
>
> > Hello....
> >
> > I am curious to know what the logic behind breaking up the notifications
> > this way was?  In general people responsible for a host are also
> responsible
> > for the services running on that host so it would make sense to notify
the
> > host administrator when things go wrong.
> >
> > Is this something that will possible be changed in version 2.0?  The way
I
> > want to setup notifications, I will have to have an extremely large
number
> > of service definitions and it will become all but unmanageable.
> >
> > Thank you
> > Dan
> >
> >
> > ----- Original Message ----- 
> > From: "Dean Bishop" <dbishop at ehvert.com>
> > To: "'Dan Tulovsky'" <Dan.Tulovsky at sbiandcompany.com>;
> > <nagios-users at lists.sourceforge.net>
> > Sent: Friday, June 27, 2003 1:14 PM
> > Subject: RE: [Nagios-users] Service notifications and host groups
> >
> >
> > > Dan,
> > >
> > > Nope, you need to break your service definition into two service
> > > definitions, each with its own contact_group directive, to accomplish
> > this.
> > >
> > > Templating may help in easing your pain.
> > >
> > > define service{
> > >         use                             disk-unix-service
> > >   service_description           disk-unix-service_template
> > >   < lots of stuff deleted>
> > >   register     0
> > >         }
> > >
> > > define service{
> > >   use
> > > disk-unix-service_template
> > >         service_description     disk-unix-service-group1
> > >   host_name                       host1
> > >         contact_groups                  group1
> > >   }
> > >
> > > define service{
> > >   use
> > > disk-unix-service_template
> > >         service_description     disk-unix-service-group1
> > >         host_name                       host2
> > >         contact_groups                  group2
> > >   }
> > >
> > > Regards,
> > > dean
> > >
> > > -----Original Message-----
> > > From: Dan Tulovsky [mailto:Dan.Tulovsky at sbiandcompany.com]
> > > Sent: June 27, 2003 12:17 PM
> > > To: nagios-users at lists.sourceforge.net
> > > Subject: [Nagios-users] Service notifications and host groups
> > >
> > > Hello.
> > >
> > > I was wondering if someone could clarify notifications for me.
> > > According to the documentation, host notifications (when a server goes
> > > down or comes back up) are sent to contact_groups defined in the
> > > hostgroups file.
> > >
> > > # 'all' host group definition
> > > define hostgroup{
> > >        hostgroup_name  All
> > >        alias           All Systems
> > >        contact_groups  group1
> > >        members         *
> > >        }
> > >
> > > So according to this definition, when any server goes down, the group
> > > group1 gets notified.
> > >
> > > Now, when a service on any of these servers goes down, the
contact_group
> > > for the hostgroup is not used, rather the contact_group for the
service
> > > definition gets notified.
> > >
> > > Can I somehow set it up so that when a service on a host goes down,
the
> > > contact_group associated with that host gets notified?
> > >
> > > For instance, I have a service definition:
> > >
> > > define service{
> > >         use                             disk-unix-service
> > >         host_name                       host1, host2
> > >   < lots of stuff deleted>
> > >         }
> > >
> > > When the service on host1 goes down, I want the contact_group group1
to
> > > be notified.  I can do this by putting
> > >
> > >         contact_groups                  group1
> > >
> > > Into the service definition.  But, I when this service breaks on
host2,
> > > I don't want group1 to be notified.  I want group2 to be notified.  So
> > > really I just want the services on each server to be tied to the host
> > > notifications instead of the service notifications.
> > >
> > > Thank you much.
> > > Dan
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: INetU
> > > Attention Web Developers & Consultants: Become An INetU Hosting
Partner.
> > > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly
Commission!
> > > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> > > _______________________________________________
> > > Nagios-users mailing list
> > > Nagios-users at lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > > ::: Please include Nagios version, plugin version (-v) and OS when
> > reporting
> > > any issue.
> > > ::: Messages without supporting info will risk being sent to /dev/null
> > >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> > Data Reports, E-commerce, Portals, and Forums are available now.
> > Download today and enter to win an XBOX or Visual Studio .NET.
> > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> > ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> > ::: Messages without supporting info will risk being sent to /dev/null
> >
>
>
>



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list