Page 1 of 1

[Nagios-devel] How to send sms (and mail) from nagios

Posted: Tue Apr 18, 2006 10:46 pm
by Guest
This is a multi-part message in MIME format.

------_=_NextPart_001_01C6637C.F49F5ABE
Content-Type: multipart/alternative;
boundary="----_=_NextPart_002_01C6637C.F49F5ABE"


------_=_NextPart_002_01C6637C.F49F5ABE
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

=20

Hi -

=20

In nagios v1.x we have directives like this:

define service {

...

contact_groupssdlSa

notification_options w,u,c,r

...

}

=20

This is ok, but I would like a directive to be able to easily =
differentiate between mail and sms

=20

f.x.

If there is a critical condition or a recovery from a critical condition =
i want to send mail AND sms, but

If there is issued a warning or recovery from warning i only want to =
send mail

=20

This may be done (and i do it today) by triggering a script from nagios =
which do some sort analyzing and then sends or don't send sms/mail -=20

but

this should be a part of nagios.

=20

It would be nice if nagios had f.x. these directives:

=20

define service {

...

mail_contact_groups xxx,yyy

mail_notification_options w,u,c,r

sms_contact_groups zzz,ppp

sms_notification_options c,r

...

}

=20

Regards

=D8ystein Carlson Bleie

Systemadministrator Unix/Linux

[email protected]

908 63 637 / 2286 3765

2226 8109

=20

Aftenposten,ITI=20

Biskop Gunnerus' gt 14a,=20

0185 Oslo

=20

=20


------_=_NextPart_002_01C6637C.F49F5ABE
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable









st1\:*{behavior:url(#default#ieooui) }







p.MsoNormal
{margin-left:33.95pt;}














Hi =
-

=A0

<font size=3D2 =


...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]