<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV>
<DIV><FONT face=Verdana size=2><SPAN class=677084301-23082003>Hi
ALL!</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=677084301-23082003></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=677084301-23082003>I have running
sms_client on Debian GNU/Linux. It is working fine from the command
line</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN class=677084301-23082003>e.g:
</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=677084301-23082003></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=677084301-23082003>sms_client
eplus:number "foobar"</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=677084301-23082003></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=677084301-23082003>But I can not get
it running from the Nagios. I defined the same commands
under</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=677084301-23082003></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=677084301-23082003>/etc/nagios/misccommands.cfg</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=677084301-23082003></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=677084301-23082003></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=677084301-23082003> 48 # 'notify-by-sms' command
definition<BR> 49 define
command{<BR>
50
command_name notify-by-sms<BR>
51
command_line /usr/bin/sms_client
eplus:number "foobar"<BR>
52
}<BR> 53<BR> 54 #
'host-notify-by-sms' command definition<BR>
55<BR> 56 define command{<BR>
57
command_name host-notify-by-sms<BR>
58
command_line /usr/bin/sms_client eplus:number
"foobar"<BR>
59 }</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=677084301-23082003></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=677084301-23082003>/etc/nagios/contacts.cfg</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=677084301-23082003></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=677084301-23082003> 20 # 'nagios' contact
definition<BR> 21 define
contact{<BR>
22
contact_name
nagios<BR>
23
alias
Nagios Admin<BR>
24
service_notification_period
24x7<BR>
25
host_notification_period
24x7<BR>
26
service_notification_options
w,u,c,r<BR>
27
host_notification_options
d,u,r<BR>
28
service_notification_commands
notify-by-email,notify-by-sms<BR>
29
host_notification_commands
host-notify-by-email,host-notify-by-sms</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=677084301-23082003></SPAN></FONT> </DIV>
<DIV><SPAN class=677084301-23082003><FONT face=Verdana size=2>I added sms_client
to the <SPAN class=296513005-23082003>N</SPAN>agios ownership and group
</FONT>
<DIV><FONT face=Verdana size=2><SPAN class=677084301-23082003>but also no
change.</SPAN></FONT></DIV></SPAN></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=677084301-23082003></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=677084301-23082003>Nagios is
suggesting that it is doing this, but there is nothing - the modem stays
quite.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana><FONT size=2><SPAN class=677084301-23082003>Does anyone
have an idea what I'm missing here? </SPAN><SPAN class=677084301-23082003>Is
there a cfg entry else needed? </SPAN></FONT></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=677084301-23082003></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=677084301-23082003><SPAN
class=677084301-23082003>Any idea? </SPAN></SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=677084301-23082003></SPAN></FONT> </DIV>
<DIV><SPAN class=677084301-23082003><FONT face=Verdana size=2>Thanks,
Jan</FONT></DIV>
<DIV><FONT face=Verdana><BR><BR><FONT size=2></FONT></FONT></DIV>
<DIV><FONT face=Verdana><BR><FONT
size=2></FONT></FONT></DIV></SPAN></DIV></BODY></HTML>