Can I configure the mail command for notifications?

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
sjordi
Posts: 10
Joined: Tue Jun 29, 2010 7:22 am
Location: Prangins, Switzerland
Contact:

Can I configure the mail command for notifications?

Post by sjordi »

Hi,
I have checked the configuration files and saw two ways that Nagios sends emails for notification.

Is there a way to add a 3rd method I can fully customize?
If yes, how, where? Where do I define it and in which format?
That email command should be used to send SMS notifications via an SMS gateway.
We are limited to send the content of the message in the Subject field, not the body.
That's why I want to be able to add a 3rd way to send notifications.

In the commands.cfg, you already get the notifiy-host-by-email command.
I'd like to use a notify-host-by-sms command. But then how do I trigger it?

Thanks for any hint, help, guideline...
Steve JORDI
Prangins, Switzerland
Locked