Custom SMS notification

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Custom SMS notification

Post by mguthrie »

Glad that's working for you!
kautomation
Posts: 1
Joined: Wed Mar 09, 2011 9:28 am

Re: Custom SMS notification

Post by kautomation »

Hi,

is still have the same problem with sending SMS. Is it possible that you can send me a patched file, too?

The parameters should be:

function get_mobile_providers(){

$mobile_providers=array(
"alltel" => "Alltel",
"att" => "AT&T",
"cingular" => "Cingular",
"metropcs" => "Metro PCS",
"nextel" => "Nextel",
"powertel" => "Powertel",
"sprint" => "Sprint",
"suncom" => "SunCom",
"tmobile" => "T-Mobile",
"uscellular" => "US Cellular",
"verizon" => "Verizon",
"virginmobile" => "Virgin Mobile",
"kratzer" => "Kratzer Automation",);

return $mobile_providers;
}


case "verizon":
$email=$number."@vtext.com";
break;
case "virginmobile":
$email=$number."@vmobl.com";
break;
case "kratzer":
$email=$number."@kratzer.lan";
break;


Thank you very much,

Patrick
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Custom SMS notification

Post by mguthrie »

This is now a built in feature to the latest version of XI. It is accessible through the Admin->Manage Mobile Carriers page, and you can define custom sms carriers for your environment.
Locked