[Nagios-users] SMS issue Nagios 3.0

2008-04-21 Thread Henrik Schou
Hi

 

I have installed Nagios 3.0 and I have some issues with Nagios sending
sms-messages. I have installed smstools, and sendsms works fine from the
command line. But when I want Nagios to send a notification, it fails.
Could this be because of wrong user rights? I have changed the owner of
sendsms to Nagios, but that didn't help.

 

Entry in my command.cfg:

 

# 'notify-by-sms' command definition

define command{

command_namenotify-by-sms

command_line   /usr/local/bin/sendsms $PAGER$ Nagios:
Service $SERVICEDESC$ on $HOSTALIAS$ is in state: $SERVICESTATE$

}

 

# 'host-notify-by-sms' command definition

define command{

command_namehost-notify-by-sms

command_line   /usr/local/bin/sendsms $PAGER$ Nagios: Host
$HOSTNAME$ ($HOSTADDRESS$) is in state: $HOSTSTATE$

}

 

Entry in my contacts.cfg:

 

define contact{

contact_nameschou-sms

alias  Henrik Schou

service_notification_period smshours

host_notification_periodsmshours

service_notification_optionsc,r

host_notification_options   d,r

service_notification_commands   notify-by-sms

host_notification_commands  host-notify-by-sms

pagerxx

 can_submit_commands 1

}

 

Any ideas?

 

/Henrik



**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**

-
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@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

Re: [Nagios-users] SMS issue Nagios 3.0

2008-04-21 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Henrik Schou wrote:

| I have installed Nagios 3.0 and I have some issues with Nagios sending
| sms-messages. I have installed smstools, and sendsms works fine from the
| command line. But when I want Nagios to send a notification, it fails.
| Could this be because of wrong user rights? I have changed the owner of
| sendsms to Nagios, but that didn’t help.

Have you tested it by becoming the nagios user and using the exact
commandline from your definition?

Tests run as root or another user are not relevant. You need to know
what happens as the nagios user.

So `su - nagios` and test again.

Hugo.

- --
[EMAIL PROTECTED]   http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc

A: Yes.
Q: Are you sure?
A: Because it reverses the logical flow of conversation.
Q: Why is top posting frowned upon?

Bored? Click on http://spamornot.org/ and rate those images.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFIDXvxBvzDRVjxmYERAjaAAJ0VS8NTQB74nA7sKYHBsA2tTfiB+gCeO3Rv
EhPAE/Zkfkri6hVuRnni4xg=
=2hqm
-END PGP SIGNATURE-

-
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@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

[Nagios-users] sms througth nagios

2008-04-15 Thread Pili Muñoz Gargallo
Hi all,
i am planning to improve my nagios intallation by adding a sms-notification.
I have found several pluggins but there is something i don't understand...
All of them talk about, sername and password associated with SMS2Email
account, Mollie account
Is this service managed by a private enterprise or i could buy a GSM modem
with a pre-paid target?
Where i could get an account?
I am very lost in this topic so any information would be very grateful.

Best wishes,

Pili
-
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@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

Re: [Nagios-users] sms througth nagios

2008-04-15 Thread Jim Perrin
On Tue, Apr 15, 2008 at 8:39 AM, Pili Muñoz Gargallo
[EMAIL PROTECTED] wrote:
 Hi all,
 i am planning to improve my nagios intallation by adding a sms-notification.
 I have found several pluggins but there is something i don't understand...
 All of them talk about, sername and password associated with SMS2Email
 account, Mollie account
  Is this service managed by a private enterprise or i could buy a GSM modem
 with a pre-paid target?
 Where i could get an account?
 I am very lost in this topic so any information would be very grateful.

 Best wishes,


A read-thru of this might help you out -
http://en.wikipedia.org/wiki/SMS_gateways


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

-
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@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


Re: [Nagios-users] sms througth nagios

2008-04-15 Thread Philipp Geschke
Hello,

Pili Muñoz Gargallo schrieb:
 Hi all,
 i am planning to improve my nagios intallation by adding a 
 sms-notification. I have found several pluggins but there is something i 
 don't understand... All of them talk about, sername and password 
 associated with SMS2Email account, Mollie account
 Is this service managed by a private enterprise or i could buy a GSM 
 modem with a pre-paid target?
 Where i could get an account?
 I am very lost in this topic so any information would be very grateful.

As Nagios is only run by Plugins, even with notifications, you can do 
almost anything that transports your informations to a SMS Provider.

Pretty cheap is, for example, what I am doing.

I have regular old Nokia 6210 cell phone hooked to the Nagios box.
Then I use gammu (http://www.gammu.org/wiki/index.php?title=Main_Page) 
to Pipe notifications to that cell phone.

My notification command looks like this:

define command{
 command_namenotify-by-sms
 command_line/usr/bin/printf %b Nagios\n\nType: 
$NOTIFICATIONTYPE$\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: 
$HOSTADDRESS$\nState: $SERVICESTATE$\nTime: 
$SHORTDATETIME$\nInfo:$SERVICEOUTPUT$ | gammu --sendsms TEXT 
$CONTACTEMAIL$ | tee -a /var/nagios/nagios-sms.log
 }

As you can see, I use the usual $CONTACTEMAIL$ to store the cell phone 
number I want to send the sms to.

Or, as a more general answer to your question:
You can use anything with nagios, that you are able to configure, nagios 
only limiting you to have a command on your system that'll pipe the info 
to the device.


--Philipp

-
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@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


[Nagios-users] sms from Nagios

2008-01-10 Thread Jacques FAN
Hi All,

I need some answer from you about sms from nagios. I install nagios 2.8 and
mail notification is working well, for sms notification I used lynx but
with lynx I'm not abble to dispatch sms alerts, I mean the sms alert can
be sent, but no way to manage it to specification persons. So I want to know
if sms alert can be done directly by nagios?



Thx
-- 
JFK
In God we trust, the rest we monitore
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
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

Re: [Nagios-users] sms from Nagios

2008-01-10 Thread Jacques FAN
I need some answer from you about sms from nagios. I install nagios 2.8 and
mail notification is working well, for sms notification I used lynx but
with lynx I'm not abble to dispatch sms alerts, I mean the sms alert can
be sent, but no way to manage it to specification persons. So I want to know
if sms alert can be done directly by nagios?

note: I use a direct access to my smsc plate form for sending sms alert


2008/1/11, Jacques FAN [EMAIL PROTECTED]:

 Hi All,

 I need some answer from you about sms from nagios. I install nagios 2.8and 
 mail notification is working well, for sms notification I used lynx
 but with lynx I'm not abble to dispatch sms alerts, I mean the sms alert
 can be sent, but no way to manage it to specification persons. So I want to
 know if sms alert can be done directly by nagios?



 Thx
 --
 JFK
 In God we trust, the rest we monitore




-- 
JFK
In God we trust, the rest we monitore
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
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

Re: [Nagios-users] SMS and Nagios.

2007-06-20 Thread James Davis
ffwqe efwa wrote:
 It may be cheating, but I've always just used e-mail.  Nearly every cell
 provider has a e-mailTXT bridge.  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED], etc.

It's usable but not not very useful if what you want to report on is
something that e-mail access depends on :-)

James

-- 
http://www.freecharity.org.uk/ - Free IT services for charities
http://www.freecharity.org.uk/wiki/ - The VCSWiki

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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


[Nagios-users] SMS and Nagios.

2007-06-19 Thread Lacayo, Luis F
Anyone using yap for SMS with in Nagios who is willing to share their
yap configuration file? Or can you recommend a different product to do
SMS? 

 

Thanks, 

 

Luis

 

Luis F. Lacayo

Chicago Public Schools

OTS / UNIX Administration

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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

Re: [Nagios-users] SMS and Nagios.

2007-06-19 Thread ffwqe efwa

It may be cheating, but I've always just used e-mail.  Nearly every cell
provider has a e-mailTXT bridge.  [EMAIL PROTECTED]
[EMAIL PROTECTED], etc.

On 6/19/07, Lacayo, Luis F [EMAIL PROTECTED] wrote:


 Anyone using yap for SMS with in Nagios who is willing to share their yap
configuration file? Or can you recommend a different product to do SMS?



Thanks,



Luis



*Luis F. Lacayo*

*Chicago Public Schools***

OTS / UNIX Administration

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
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

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
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