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
[EMAIL PROTECTED]
Tel.: +49 5251 60 5315
======================================================
pgp4XvhF6gK4T.pgp
Description: PGP signature
------------------------------------------------------------------------- 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 [email protected] 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
