Page 1 of 1

Integration of Kannel with NagiosXI to send sms

Posted: Tue Aug 14, 2018 5:23 am
by akwangari
Hello All,
Any one wo has successfully integrated kannel with Nagiosxi
Kannel is all setup stuck at configuring Nagiosxi to send sms alert through kannel

Re: Integration of Kannel with NagiosXI to send sms

Posted: Tue Aug 14, 2018 3:07 pm
by cdienger
Do you have a script already to send the sms messages that you're now trying to integrate with XI or are you looking for one? I'm not aware of any that exist and not finding one on the exchange(exchange.nagios.org) - in which case one would need to be written.

Re: Integration of Kannel with NagiosXI to send sms

Posted: Wed Sep 19, 2018 4:15 am
by akwangari
Hello,
Finally i got kannel working with a bash script being run everytime there is a state change.
My current issue is sending this notification s only to specific host groups.

Re: Integration of Kannel with NagiosXI to send sms

Posted: Wed Sep 19, 2018 2:03 pm
by scottwilkerson
akwangari wrote:Hello,
Finally i got kannel working with a bash script being run everytime there is a state change.
My current issue is sending this notification s only to specific host groups.
You would want to add this command as a notification handler for the hosts in that hostgroup, OR, you could pass the $HOSTGROUPNAMES$ macro to your script and then see if the comma separated list of names contain your specific hostgroups before sending.

https://assets.nagios.com/downloads/nag ... groupnames