Please don't let Andy answer this, I am already fearing a 'no' reply!
Is there any way I could pass a message and phone number into XI so it can use the Multitech SMS modem I have? On a new XI server I just installed, we are handling on-call rotation completely different then I do on the other server. There is a contact "primary-sys" and it doesn't use XI alert handler. Instead, its a custom one, that connects to a mysql database, finds the current primary-sys person, grabs their information and emails the [email protected]. Instead, I'd like to change the script to send to the SMS modem and bypass email system.
Multitech SMS Alerting
Multitech SMS Alerting
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Multitech SMS Alerting
There must be a way to accomplish this, as this seems to be a scriptable solution. Would you still be connecting to the database for contact information?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Multitech SMS Alerting
HAHAHA, I was so nervous when I saw who replied!abrist wrote:There must be a way to accomplish this, as this seems to be a scriptable solution. Would you still be connecting to the database for contact information?
Umm, yes, will be calling the same script they currently use just was hoping to change the output to script it out to the SMS instead of email.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Multitech SMS Alerting
You would rather use your sms modem than emailing an sms gateway for your mobile carriers? How would you go about sending a text from the cli to the modem currently?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Multitech SMS Alerting
Right now, on my Corporate XI install, I use the Multitech component and the XI alert handlers, everything is great.abrist wrote:You would rather use your sms modem than emailing an sms gateway for your mobile carriers? How would you go about sending a text from the cli to the modem currently?
On the ecommerce Nagios Core server they have custom alert handlers.
Here is a contact:
Code: Select all
define contact{
contact_name primary_sys_admins
alias System Admins On-Call
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,u,r
service_notification_commands notify-by-email,notify-by-epager-group
host_notification_commands host-notify-by-email,host-notify-by-epager,notify-by-epager-group
email primary_sys_admins
pager primary_sys_admins
}Code: Select all
# 'host-notify-by-epager' command definition
define command{
command_name host-notify-by-epager
command_line /usr/local/nagios3/bin/hostpageall '$CONTACTNAME$' '$HOSTALIAS$' '$HOSTSTATE$' '$HOSTOUTPUT$' '$DATETIME$' '$NOTIFICATIONTYPE$' '$HOSTNAME$' '$HOSTSTATE$'
}OMG, I just confused myself typing all that...do you understand?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Multitech SMS Alerting
using the API is actually quite easy.
Information can be found here for anyone else that ever needs to do something similar:
http://www.multitech.net/developer/prod ... -send-api/
close this up
Information can be found here for anyone else that ever needs to do something similar:
http://www.multitech.net/developer/prod ... -send-api/
close this up
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Multitech SMS Alerting
Didn't even give us a chance to help much... ! Closing for now, let us know if you want to re-open it.