Send SMS for monitoring services

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mejokj
Posts: 353
Joined: Mon Jul 22, 2013 10:31 pm

Send SMS for monitoring services

Post 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
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Send SMS for monitoring services

Post 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
Locked