[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with Nagios + gnokii
From: |
Rituraj Buddhisagar |
Subject: |
Problem with Nagios + gnokii |
Date: |
Tue, 07 Mar 2006 00:14:33 +0530 |
User-agent: |
Debian Thunderbird 1.0.7 (X11/20051017) |
Hi,
I am able to send messages with gnokii but when i plugin the gnokii
command in Nagios; sms just does not come. How do I debug this?
Has anyone here worked on Nagios + Gnokii?
Please let me know any pointers.
I have followed this link.
http://www.nagios.org/faqs/viewfaq.php?faq_id=220&expand=false&showdesc=false
----------------------
send sms example script:
----------------------------------
#!/bin/sh
#
# Gnokii Plugin script
# (c) Horst venzke
# v 0.1 - 17.01.2004
mess=$2
number=$1
echo $mess | gnokii --sendsms $number
----------------------------
I am able to run the above shell script as nagios user(with sudo). So I
do not know why nagios is not sending sms when it calls this script :(
Anyone had same problem???
Thanks,
Rituraj
- Problem with Nagios + gnokii,
Rituraj Buddhisagar <=