Page 1 of 1

Send SMS for monitoring services

Posted: Wed Sep 08, 2021 4:34 am
by mejokj
Hi Team,

We need to send SMS for some critical services from Nagios.

We have an online SMS service. We are planning to integrate the Nagios with this online SMS service

The Online SMS service can be accessible with a Weburl from Nagios. Our aim is to send SMS with phone numbers and messages from Nagios to the online SMS service.

For Example, We need to send the disk usage for an AIX box (added as service) as SMS to a number from nagios in the everyday morning at 7 AM.

Kindly suggest how we can achieve this.

Thanks

Re: Send SMS for monitoring services

Posted: Thu Sep 09, 2021 9:18 am
by gsmith
Hi

You could write a script and then cron it to run every morning at 7 am.

The script could callout the command/plugin you are using for checking diskspace.
Then run a "curl" command to POST data to your SMS server.

Alteratively, you can send a text directly by using the various carriers SMS
emails like [email protected]

Please let me know if you more questions.

Thanks