Re: [Nagios-users] SMS notifications

2008-06-17 Thread Yaniv
For free sms you can use icq sms (if available for your country) 


I have connected a cell phone (nokia) to a windows xp box... 
Installed nokia pc suit
Installed Microsoft sms sender
Enabled telnet on the windows box
Created a BAT file with the sms sender syntax
Used BAT2EXE to convert the file to exe
Created a expect script on the linux BOX to telnet to the windows and
execute the sms script.


My opinion is that using a cell phone is better than some external SMS
gateway...
Because if your internet fails.. how will you reach the external SMS
gateway?





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Shipway
Sent: Tuesday, June 17, 2008 09:31
To: 'Nagios Users Mailinglist'
Subject: Re: [Nagios-users] SMS notifications

  On Jun 16, 2008, at 11:06 AM, Luc MAIGNAN wrote:
 
  Isn't there a free way to send SMS via Nagios ?
 
  Most cell phone companies have an e-mail - sms gateway service.
 

Count yourselves lucky, here in New Zealand they charge you to use it in
either direction.  You need to pay to allow people to email your phone,
and/or you need to pay to allow yourself to email to SMS.

New Zealand mobile operators really screw the customer.  Prices are
astronomical compared to Europe or the USA.

The cheapest way for us was to get a phone and connect it to a linux box
making our own email to SMS gateway.  Of course, you mustn't tell the phone
company you're doing this or else they want to charge you on a different
(much higher) billing plan...

Steve

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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
No virus found in this incoming message.
Checked by AVG. 
Version: 8.0.100 / Virus Database: 270.3.0/1505 - Release Date: 16/06/2008
07:20


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] event handler question (if event handler is what I need?)

2008-06-11 Thread Yaniv
Marc

Thank you... the documentation is very good and it answered all my questions
about event handler...

And it works now... thanks again

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell
Sent: Tuesday, June 10, 2008 15:03
Cc: Nagios Users Mailinglist
Subject: Re: [Nagios-users] event handler question (if event handler is what
I need?)


On Jun 10, 2008, at 4:09 AM, Yaniv wrote:

 Hello Nagios users

Hello! Please send to this list using text/plain e-mail. Sending HTML  
does not-so-wonderful things for the archives and for users who  
receive the list via digest.

 I am new to nagios and have a question about event handlers. (if  
 event handler is what I need?)

Yes, that sounds like just what you need.


 I would like a script that I have located at /root/scripts/test.sh  
 to be executed if the hard drive get's to the warning state and  
 critical state.

Perfect, even down to running a script on the nagios box. Very  
straigtforward.

 How would I do that?

http://nagios.sourceforge.net/docs/3_0/eventhandlers.html

--
Marc


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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
No virus found in this incoming message.
Checked by AVG. 
Version: 8.0.100 / Virus Database: 270.2.0/1493 - Release Date: 09/06/2008
17:25


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
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] event handler question (if event handler is what I need?)

2008-06-10 Thread Yaniv
Hello Nagios users

 

 

 

 

I am new to nagios and have a question about event handlers. (if event
handler is what I need?)

 

 

I am monitoring a windows client with NSClient++ 0.3.1.12 2008-03-11 

 

 

 

 

Now I have this at my windows.cfg file (on the nagios server)

 

define service{

use generic-service

host_name   ghost-server

service_description E:\ Ghost-images Drive Space

check_command   check_nt!USEDDISKSPACE!-l e -w 80 -c 90

}

 

 

 

I would like a script that I have located at /root/scripts/test.sh to be
executed if the hard drive get's to the warning state and critical state.

 

 

How would I do that?

 

 

Thanks for any help.  

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
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] newbie sms question

2008-06-04 Thread Yaniv
Hello Nagios users

 

 

I started monitoring my network with nagios and its amazing J

 

Now I would like to configure SMS notifications.

 

I would like to connect a cell phone to a windows desktop or linux via USB
cable

 

What software is recommended?

 

Does someone has any experience with it?

 

 

Thank you.

 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
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] nagios monitors localhost and i get http warnings/error/forbidden on the service

2008-06-03 Thread Yaniv
-bin/extinfo.cgi?type=2host=localhostserv
ice=HTTP Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14

192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] GET
/nagios/images/enabled.gif HTTP/1.1 304 -
http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2host=localhostserv
ice=HTTP Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14

192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] GET
/nagios/images/noack.gif HTTP/1.1 304 -
http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2host=localhostserv
ice=HTTP Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14

192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] GET
/nagios/images/notify.gif HTTP/1.1 304 -
http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2host=localhostserv
ice=HTTP Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14

192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] GET
/nagios/images/downtime.gif HTTP/1.1 304 -
http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2host=localhostserv
ice=HTTP Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14

192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] GET
/nagios/images/comment.gif HTTP/1.1 304 -
http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2host=localhostserv
ice=HTTP Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14

192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] GET
/nagios/images/delete.gif HTTP/1.1 304 -
http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2host=localhostserv
ice=HTTP Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14

192.168.11.200 - nagiosadmin [02/Jun/2008:18:39:13 +0300] GET
/nagios/images/delay.gif HTTP/1.1 304 -
http://192.168.11.163/nagios/cgi-bin/extinfo.cgi?type=2host=localhostserv
ice=HTTP Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14)
Gecko/20080404 Firefox/2.0.0.14

 

 

 

 

Thank you for any help 

 

Yaniv

 

 

 

image001.gifimage002.gif-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
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