SMS notifications for specific services only

Fiederling, Daniel daniel.fiederling at warema.de
Thu Aug 5 19:16:28 CEST 2004


Hi!

I'm working on sms notifications sent by nagios. I use the smstools
developed by Stefan Frings
(http://www.isis.de/~s.frings/smstools_index.html) with a Siemens TC35i GSM
modem. It's really nice, we use this solution for other purposes too.

I can define an email address and a pager number for each contact. If the
notification command for sending sms is specified the contact will receive
SMS for each service that fails. This works great. But: I don't want to
receive an SMS for each service, only for some specific ones. 
I thought about defining a macro like $USER5$ in these specific service
definitions (but I can't figure out how to :-) ) or putting a special string
in the service_description and passing that macro to the notification script
that decides if a sms is sent or not. I don't want to create 2 contact
entries for the same person that should receive sms, one with sms
notifcations, the other one without (my first idea). Maybe a special group
is the better way?!

I was asking myself if there is another (maybe straight through) way for
doing this with Nagios 1.2. Maybe I'm thinking much too complicated - do I?

Any suggestions?
Thanks!
Daniel




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
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