Notification commands
Hari Sekhon
hpsekhon at googlemail.com
Tue Sep 12 19:04:20 CEST 2006
Ironically, I now also want to do the same and find my way of doing it
somewhat lacking. I will go ahead and create two contact groups with 2
contact definitions but I am interested if anybody has a better way of
doing this.
I am a bit resistant to trying Arno Lehmann's idea because it seems
like too much work and I don't have a thorough enough understanding of
how to do that, (AD has hidden ldap from me, damn it).
If anybody has a nice way of doing this, then now is the time! I can't
believe that we are the first few people to want to do this, it's
actually quite an obvious thing to want to do...
-h
On 05/09/06, Christopher Odenbach <odenbach at uni-paderborn.de> wrote:
>
> Hi,
>
> > certainly not.
> >
> > just put both in the same contact definition, see
> > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#contact and
> > see the Directive Description for host-notification-commands which
> > says "...Multiple notification commands should be separated by
> > commas...". Just make sure you have both notification commands
> > defined in misccommand.cfg since this uses the short command names
> > which should be defined there.
>
> But in exact this paragraph it says: Multiple notification commands
> should be separated by commas. All notification commands are executed
> when the contact needs to be notified.
>
> So when I put this contact into a service, always both commands will be
> executed. But I want some services only to send email and not SMS.
>
> Got my idea?
>
> Christopher
>
> --
> ======================================================
> Dipl.-Ing. Christopher Odenbach
> Zentrum fuer Informations- und Medientechnologien
> Universitaet Paderborn
> Raum N5.110
> odenbach at uni-paderborn.de
> Tel.: +49 5251 60 5315
> ======================================================
>
>
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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