Send SMS in Nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nguyenphan
Posts: 1
Joined: Mon May 04, 2020 10:16 pm

Send SMS in Nagios

Post by nguyenphan »

Hi, I have Nagios Core 4.4 installed already, and SAM Intercel GSM device for send SMS, please help me to send notification of host with the device. Thanks a lot
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Send SMS in Nagios

Post by cdienger »

I'm not aware of any scripts to integrate that device but if the device has an API that you can program for and execute on a Linux command line then it should be doable. All Core will do to send a message is call a script or program(this is what is defined with the host_notification_commands and service_notification_commands directive) and pass it the macros need to make the notification - phone number of contacts, host/service information, etc. Here are some useful docs on notifications:

https://assets.nagios.com/downloads/nag ... olist.html
https://assets.nagios.com/downloads/nag ... tions.html
https://assets.nagios.com/downloads/nag ... ml#command
https://assets.nagios.com/downloads/nag ... ml#contact
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked