AW: Notification Problem on Escalations with yaps- 0.96 (parallelizing)

Hagen Deike Hagen_Deike at icon-scm.com
Mon May 12 10:58:40 CEST 2003


> -----Ursprüngliche Nachricht-----
> Von: Michael Hüttig [mailto:Michael.Huettig at Medien-Systempartner.de]
> Gesendet: Freitag, 9. Mai 2003 13:36
> An: Hagen Deike; 'nagios-users at lists.sourceforge.net'
> Betreff: Re: AW: [Nagios-users] Notification Problem on 
> Escalations with yaps- 0.96 (parallelizing)
> 
> 
> Am Dienstag, 6. Mai 2003 14:31 schrieb Hagen Deike:
> Hi Hagen,
> thank you for the yaps-server, this was the right idea, but
> one more question: 
> Which command have you defined for notifiing via sms?
> Tell me, how comes the 
> notfication of nagios into the pipe?

-----<snip>-----
> > # echo "<your mobile phone number>" "\"<Your message goes
> here>\"" >
> > /var/spool/nagios/yaps.cmd
-----<snap>-----
My command look like this...
Define command{
	command_name	notify-by-sms
	comman_line	echo "$CONTACTPAGER$" "\"$NOTIFICATIONTYPE$
...<other macro stuff>...  \"" > /var/spool/nagios/yaps.cmd
}



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list