SMS issue
Andreas Ericsson
ae at op5.se
Fri Feb 18 17:51:39 CET 2005
Fred Blaise wrote:
> the php script (sms_notify_2) is generating a http request to some
> outside company that does SMS business.
> Serial port? Sorry I don't understand this...
> No spooling of some sort I guess.. the php script takes about 3 seconds
> to return if run from command line.
>
> Hope this helps a bit.. didn't quite understand your response. Sorry :/
>
The serial port is where you connect the GSM-capable modem (any
cell-phone, practically) to send your sms's. It doesn't apply if you're
using a remote service to send your messages.
> Thanks
>
> ))fred
>
> On Fri, 2005-02-18 at 17:04 +0100, Andreas Ericsson wrote:
>
>>Fred Blaise wrote:
>>
>>>Already checked privileges. This is not it.
>>>Why would it work with only 1 SMS, and not several, if it was a
>>>privilege problem? ;)
>>>
>>
>>Do you have some sort of spooler mechanism or are you printing directly
>>to the serial port? If you do, the ones that get printed after the first
>>has been processed will most likely be deleted.
>>
>>
>>>On Fri, 2005-02-18 at 16:42 +0100, Leif Nixon wrote:
>>>
>>>
>>>>Fred Blaise <fred.blaise at excilan.com> writes:
>>>>
>>>>
>>>>
>>>>>The problem lies in the SMSes are actually not being sent, but only when
>>>>>they are sent by Nagios. They are not even leaving the server! I used
>>>>>tcpdump to monitor the nw traffic for those SMS... total silence.
>>>>>[...]
>>>>>The script (sms_notify_2) works fine if run manually.
>>>>
>>>>As which user? This sounds like a privilege problem.
>>>>
>>
--
Andreas Ericsson andreas.ericsson at op5.se
OP5 AB www.op5.se
Lead Developer
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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