under your /usr/local/nagios/etc directory, edit the misccommands.cfg and type the foloowing:
 
# 'host-notify-by-cell' command definition
define command{
        command_name    host-notify-by-cell        command_line    /usr/local/bin/<yourcommandtosendsms> $CONTACTPAGER$ "Service: $SERVICEDESC$ Host: $HOSTNAME$ Address: $HOSTADDRESS$ State: $SERVICESTATE$ Info: $OUTPUT$ Date: $DATETIME$"        }
 
 
and for your contacts.cfg, add a line for every contacts you want to send sms to the line:
 
host_notification_commands      host-notify-by-email,host-notify-by-cell
 
and tehn, restart your nagios and watch it fly...  :)
 
HTH,
 
 
-------Original Message-------
 
Date: Friday, August 29, 2003 17:41:27
Subject: [plug] nagios + gnokii
 
Hello all!

Anyone of you had already tried enabling nagios' notification via SMS? Mine is working with email notification but i can't get through with its SMS feature. I'm using gnokii to run its SMS but I can't get it to work with nagios.

Any help??!!!


--
______________________________________________
http://www.linuxmail.org/
Now with e-mail forwarding for only US$5.95/yr

Powered by Outblaze
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
..
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
..
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

.
____________________________________________________
  IncrediMail - Email has finally evolved - Click Here
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to