Notification commands
Hari Sekhon
hpsekhon at googlemail.com
Tue Sep 5 15:09:43 CEST 2006
Christopher Odenbach wrote:
> Hi,
>
> we have two notification methods: by email and by SMS. I would like to
> specify different methods for different services, e.g. just send an
> email if service X is critical, but send an email and an SMS if service
> Y is critical.
>
> The problem is that the notification command has to be configured on a
> per user basis, not on services.
>
> Do I really have to configure each administrator twice, once for email
> and once for SMS, and then create two contact groups, one admin-email
> and one admin-sms to achieve my goal?
>
> Christopher
>
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.
hope that helps.
Hari Sekhon
-------------------------------------------------------------------------
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