Re: [Nagios-users] SMS notification commands

2007-11-29 Thread Peter Hallam
On Fri, 30 Nov, 15:24 +1000 Nick Pratley wrote: > Thanks for the reply Peter, however that isn't what the problem is in my > case. The /var/spool/sms/outgoing directory on that server is in fact > world-writable. And as I said I can run it from the command line > successfully while logged in as the

Re: [Nagios-users] SMS notification commands

2007-11-29 Thread Nick Pratley
Thanks for the reply Peter, however that isn't what the problem is in my case. The /var/spool/sms/outgoing directory on that server is in fact world-writable. And as I said I can run it from the command line successfully while logged in as the nagios user, which I wouldn't be able to do if the perm

Re: [Nagios-users] SMS notification commands

2007-11-29 Thread Peter Hallam
On Fri, 30 Nov, 13:20 +1000 Nick Pratley wrote: > Hi, I need to be able to send notifications via SMS in the event that the > email servers are unavailable, or the internet connection is down. There is > a server on the same network as the Nagios host that has a modem installed > and uses SMS Tools

[Nagios-users] SMS notification commands

2007-11-29 Thread Nick Pratley
Hi, I need to be able to send notifications via SMS in the event that the email servers are unavailable, or the internet connection is down. There is a server on the same network as the Nagios host that has a modem installed and uses SMS Tools 3 to send messages. To send a message all I need to do

Re: [Nagios-users] String errors

2007-11-29 Thread Aidan Anderson
Jerad Riggin wrote: > Ok, so I'm monitoring about 100 websites with string checks via > check_http. We are mirroring what our datacenter actually checks, so > we have notifications turned off so when a site goes down we aren't > being spammed by the datacenter and our nagios installation. > > T

[Nagios-users] String errors

2007-11-29 Thread Jerad Riggin
Ok, so I'm monitoring about 100 websites with string checks via check_http. We are mirroring what our datacenter actually checks, so we have notifications turned off so when a site goes down we aren't being spammed by the datacenter and our nagios installation. The issue is that every once in awhi

Re: [Nagios-users] Check_SMTP plugin Problem

2007-11-29 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 stava wrote: > On Thu, 29 Nov 2007 16:42:20 -0500, "Kaplan, Andrew H." <[EMAIL PROTECTED]> > wrote: >> Hi there -- >> >> I tried the command syntax you suggested, and the output was the >> following: >> >> Invalid SMTP response received from host on p

Re: [Nagios-users] Check_SMTP plugin Problem

2007-11-29 Thread stava
On Thu, 29 Nov 2007 16:42:20 -0500, "Kaplan, Andrew H." <[EMAIL PROTECTED]> wrote: > Hi there -- > > I tried the command syntax you suggested, and the output was the > following: > > Invalid SMTP response received from host on port 5666 And what do you suppose that could mean? I wild guess: th

[Nagios-users] NRPE_NT Error: NRPE_NT failed to create process, exiting...

2007-11-29 Thread Stover, Beth
Hi there, I'm trying to use NRPE to monitor remote Windows XP machines for the first time. Nagios version 2.8. I have installed check_nrpe on the Nagios server. Windows XP SP2 is the remote host. I installed NRPE_NT Version: 0.7f/2.0 on the XP machine. I edited the nrpe.cfg with the basic in

Re: [Nagios-users] Check_SMTP plugin Problem

2007-11-29 Thread Kaplan, Andrew H.
Hi there -- I tried the command syntax you suggested, and the output was the following: Invalid SMTP response received from host on port 5666 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Max Hetrick Sent: Thursday, November 29, 2007 4:38 PM To: nagios

Re: [Nagios-users] Check_SMTP plugin Problem

2007-11-29 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kaplan, Andrew H. wrote: > > The server is outside the company’s firewall, but it is able to be > monitored via port 5666. What steps can I take to enable the use of this > plugin? The Nagios Read the help on the plugin. ./check_smtp --help ./chec

[Nagios-users] Check_SMTP plugin Problem

2007-11-29 Thread Kaplan, Andrew H.
Hi there - I want to monitor the status of our Sendmail server, and I plan on using the check_smtp plugin. When I manually run the plugin using the following syntax: ./check_smtp -H The output I get is the following: Connection refused SMTP CRITICAL - 0.000 sec. response time|time

[Nagios-users] Need help using check_by_ssh with check_disk

2007-11-29 Thread Dave
Oops, sent from wrong return address. -- Forwarded message -- From: Dave Burns <[EMAIL PROTECTED]> Date: Nov 29, 2007 11:12 AM Subject: Re: [Nagios-users] Need help using check_by_ssh with check_disk To: nagios-users@lists.sourceforge.net On Nov 29, 2007 6:09 AM, Sean Bowers <[EM

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread chris serafin
So SNMP won't work with Windows? Damn, clients hate extra software. :( Would you be willing to post your commands/services configs? I bet if I see your configs I may be able to replicate it to SNMP/windows. Thanks [EMAIL PROTECTED] On Nov 29, 2007 2:57 PM, Steve Shipway <[EMAIL PROTECTED]> wrot

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread Steve Shipway
Here, we do this by checking the uptime of the host/device.For switches etc, this is in the SNMP counter. For windows hosts, it is via check_nt and the UPTIME object. For unix, you just create an appropriate script to run via nrpe. We then do a critical if uptime < 10min. Since hosts are ch

[Nagios-users] check_rbl.c in contrib

2007-11-29 Thread slamp slamp
anyone using this? please share how you compiled it and how you are using it. what rbl's is it checking against? - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the da

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread chris serafin
Thanks for all the replies, these would be Windows servers, Cisco/Juniper devices and Checkpoint boxes running mainly on SPLAT (linux) I prefer to do this with SNMP, as that's how I have done it on Solarwinds. I will be trying the SNMP_uptime command and report my results. [EMAIL PROTECTED] O

[Nagios-users] Help with failover

2007-11-29 Thread Michael T
I have 2 master servers that attach to a shared NAS which holds the nagios configs and status data basically /etc and /var. When the primary goes down there's an event handler that mounts the NAS on the backup and starts nagios. When I implemented this setup I thought it would be beneficial in the

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Donnell Lewis wrote: > You could also (if it's linux) just put a simple mail command with > message in /etc/rc.local which executes after system boot and init. > Duh! That's so simple I wasn't even thinking about it. I was thinking of how to have it

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread Yost, Josh
if you're trying to check windows boxes, I wouldn't use this snmp value because I don't think it's set reliably. I've been using "check_nt -v UPTIME" for those (but i still think it resets correctly at reboot). Also, it may not say "0 days" (so you could look to see if "days" doesn't show up)

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread Donnell Lewis
You could also (if it's linux) just put a simple mail command with message in /etc/rc.local which executes after system boot and init. -Don On Thu, 2007-11-29 at 11:59 -0600, chris serafin wrote: > I have a bunch of devices which alert me fine up/down, but I'm looking > to find how to get message

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread Yost, Josh
hi, One simple idea is to use the Uptime number from SNMP ("hrSystemUptime.0"), and if that ever says "0 days" then you get an alert. I have a script that does a little more than this, but that's the basic idea. you should be able to do this with check_snmp (or a quick perl script that uses

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread Kevin Scott Sumner
We have our site-specific init script do this on Linux and Solaris. We also dump the users from last into the mail just in case a user rebooted a lab machine. The general algorithm is: -build the input to /usr/lib/sendmail in some file -mail it with `cat $file | /usr/lib/sendmail -oi $emailAddr

Re: [Nagios-users] How to get reboot messages

2007-11-29 Thread Max Hetrick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 chris serafin wrote: > I have a bunch of devices which alert me fine up/down, but I'm looking > to find how to get messages when they reboot. Solarwinds does this for > me now, but I'm trying to move off this solution, but my boss want > reboot message

[Nagios-users] How to get reboot messages

2007-11-29 Thread chris serafin
I have a bunch of devices which alert me fine up/down, but I'm looking to find how to get messages when they reboot. Solarwinds does this for me now, but I'm trying to move off this solution, but my boss want reboot messages as well as up/downs for the devices... Any ideas? Chris Serafin [EMAIL P

Re: [Nagios-users] hard_check_interval revisited

2007-11-29 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Jeremy C. Reed > Sent: Thursday, November 29, 2007 11:06 AM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] hard_check_interval revisited > > I want my final failed se

Re: [Nagios-users] Nagios-users Digest, Vol 18, Issue 48

2007-11-29 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of NTOUGHE GUY-SERGE > Sent: Thursday, November 29, 2007 10:49 AM > To: nagios-users@lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios-users Digest, Vol 18, Issue 48 > We'll start

[Nagios-users] hard_check_interval revisited

2007-11-29 Thread Jeremy C. Reed
I want my final failed services to be rechecked faster that my normal checks. I want this so I will be notified quicker when the service is successful again. (I already use retry_check_interval with max_check_attempts, but I want an interval when the service is in HARD state.) So I googled "ha

Re: [Nagios-users] Monitoring Nagios

2007-11-29 Thread Israel Brewster
On Nov 28, 2007, at 4:52 AM, Mohr James wrote: > Hi All! > > We had a problem the other day where the nagios process died and no > one > noticed it for over 30 minutes. Therefore, I was thinking about ways > to > monitor Nagios itself. One simply way would be a cronjob that checks > if > t

[Nagios-users] Announce: Check Dhcpd Leases - Shows leases / Alerts on unauthorized machines

2007-11-29 Thread Hari Sekhon
Hi, I've just released another plugin on www.NagiosExchange.org to display the leases that have been handed out by an ISC Dhcpd server. It can also be used to alert you if any unauthorized machine is detected as having a dhcp lease by going Critical. This works by giving the plugin any combi

[Nagios-users] Need help using check_by_ssh with check_disk

2007-11-29 Thread Sean Bowers
I'm running Nagios 2.10 with plugins 1.4.10 running on: Linux nagioshost 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:56:28 EST 2006 x86_64 x86_64 x86_64 GNU/Linux System information on the two remote hosts is: Linux remotehost1 2.6.9-11.ELsmp #1 SMP Fri May 20 18:26:27 EDT 2005 i686 i686 i386 GNU/Linux L

Re: [Nagios-users] Dealing with nightly high load

2007-11-29 Thread mark . potter
Cell: 281-734-6965 [EMAIL PROTECTED] wrote on 11/29/2007 02:30:20 AM: > All, > > I'm trying to deal with a bunch of servers that generate some high load > during the night. That is, between 00:00 and 06:00 a series of job is > run that will generate load from 10 to 15. Outside this windows, lo

[Nagios-users] obsessing and event handlers

2007-11-29 Thread mark redding
Hi all, Can anyone here tell me where I'm going wrong in my attempts to correctly setup a slave nagios server. What I have is as follows :- 1 master nagios host (running FreeBSD 6.2). This host executes active checks some of which trigger event handlers (ie. to restart web servers, etc... the us

[Nagios-users] RES: SMS gateway

2007-11-29 Thread Dario B. Bestetti
We use Smstools (http://smstools.meinemullemaus.de/) which works very smoothly, but hardware is always a problems because of cable and cel devices compatibility. Lately we´ve found a little device from Huawei, the E220 model which connects trhough USB and works fine. I think the best hw solution

Re: [Nagios-users] SMS gateway

2007-11-29 Thread Phil Costelloe
I use Gnokii with a Nokia phone and it works really well but it relies on a wired or wireless connection (serial, usb, infrared or Bluetooth according to the website) between the server and the phone. I use some simple shell scripts to interface between Nagios and Gnokii. It could be part of what t

[Nagios-users] test

2007-11-29 Thread Carsten Philipp
only a testmail -- Mit freundlichen Grüßen Max-Planck-Institut fuer Kognitions- und Neurowissenschaften Carsten Philipp Web: http://www.cbs.mpg.de Stephanstr. 1a Mail: [EMAIL PROTECTED] 04103 Leipzig Phone: +49 341 9940-169

Re: [Nagios-users] SMS gateway

2007-11-29 Thread R.Oxley
I use a Nokia 6210e with a data cable connected to the serial port, running gnokii to handle sending the SMSs. Cheap and functional, regards Rafe Marcel Hecko wrote: > Hi, does anybody know of any HARDWARE solution into which I would just > stick GSM SIM card and send SMS messages from Nagios? >

Re: [Nagios-users] snmptraphandling.py

2007-11-29 Thread Giles Coochey
> On 29 Nov 2007, at 08:53, Giles Coochey wrote: > > > Is anyone using Francois Meehan's snmptraphandling.py script? > > > > There's a part of the script where it opens the Nagios.cmd file. > > I'm not > > a python coder, but it appears to me that it writes to the file > > with 'w' > > which would

Re: [Nagios-users] snmptraphandling.py

2007-11-29 Thread Duncan Ferguson
On 29 Nov 2007, at 08:53, Giles Coochey wrote: > Is anyone using Francois Meehan's snmptraphandling.py script? > > There's a part of the script where it opens the Nagios.cmd file. > I'm not > a python coder, but it appears to me that it writes to the file > with 'w' > which would overwrite an

Re: [Nagios-users] Dealing with nightly high load

2007-11-29 Thread Duncan Ferguson
On 29 Nov 2007, at 08:30, Jasper Filon wrote: > All, > > I'm trying to deal with a bunch of servers that generate some high > load > during the night. That is, between 00:00 and 06:00 a series of job is > run that will generate load from 10 to 15. Outside this windows, load > should be no more

[Nagios-users] snmptraphandling.py

2007-11-29 Thread Giles Coochey
Is anyone using Francois Meehan's snmptraphandling.py script? There's a part of the script where it opens the Nagios.cmd file. I'm not a python coder, but it appears to me that it writes to the file with 'w' which would overwrite any pending commands that Nagios has not yet processed: #pr

[Nagios-users] Dealing with nightly high load

2007-11-29 Thread Jasper Filon
All, I'm trying to deal with a bunch of servers that generate some high load during the night. That is, between 00:00 and 06:00 a series of job is run that will generate load from 10 to 15. Outside this windows, load should be no more than 3. I have read all the documentation, but I cant find a w

Re: [Nagios-users] SMS gateway

2007-11-29 Thread nagios
Hi Marcel have a lock at http://www.kannel.org/ and http://www.kannel.org/download/1.4.1/userguide-1.4.1/userguide.html#AEN4201 Regards Florian Marcel Hecko schrieb: > Hi, does anybody know of any HARDWARE solution into which I would just > stick GSM SIM card and send SMS messages from Nagios? > S