You need to test as the 'nagios' user because the program itself runs in the
context of the nagios user.

Step in its shoes if you want to troubleshoot from its perspective.

"su - nagios" from your root prompt

or 

login to the console/ssh as nagios


-----Original Message-----
From: Mehmet Fatih AKBULUT [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 21, 2005 12:18 PM
To: Ludo Bosmans
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] sms & pager problem ?


hi Ludo,
i've been doing everything as root privileges for now :)
so,
as root :
#/usr/local/bin/gsmsendsms -d /dev/ttyd0 -b 19200 05322623103 "hello" 
the line above works fine .
but for the user 'nagios', i haven't tried anything yet. because all other
services work fine under root. [except send-sms.] 
do i need to test it as nagios ? [why just for this service ?]
whats special with the user 'nagios' when dealing with sms problem ?
confused ?


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users@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

Reply via email to