Sending notifications via SMS+mobile phone
Paul Weaver
paul.weaver at bbc.co.uk
Fri Apr 25 18:26:38 CEST 2008
> > Hi again.
> > Just now I've tried to change my command definition:
> >
> > define command{
> > command_name notify-by-sms
> > command_line touch /home/rage/it_is_working
> > }
>
>
> > What I am doing wrong?
>
> Are permissions on /home/rage sufficient that nagios can
> enter the directory and create the file? If you created that
> user with standard tools and done nothing else beyond that,
> most linux distributions won't permit that.
Perhaps you could try "touch /tmp/it_is_working" instead? Make sure the
file doesn't exist before running nagios.
http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
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