[Nagios-users] Scripted downtime question

2008-01-17 Thread Ian Collier
Hi,

We've been happily using nagios for a year and a half or so to monitor a
number of high performance linux clusters (total 200 nodes or so), plus
infrastructure hosts. All works nicely and it is highlighting issues well
before they become critical.

One thing I have not found good solutions for is down time for cluster
nodes.

Sometimes they are down briefly for maintenance, os reinstalls etc, and
turning off checks in the GUI sort of works, most of the time. But we also
turn machines off automatically, from other management software when they
are not needed for a while.

Does anyone have a way to script turning off checks and notifications for
individual hosts or hostgroups? The only way I have identified is the GUI.
If it is there built in I have failed to identify it in the docs.

Thanks,

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

Re: [Nagios-users] Scripted downtime question

2008-01-17 Thread Hari Sekhon
Ian Collier wrote:
 Hi,

 We've been happily using nagios for a year and a half or so to monitor 
 a number of high performance linux clusters (total 200 nodes or so), 
 plus infrastructure hosts. All works nicely and it is highlighting 
 issues well before they become critical.

 One thing I have not found good solutions for is down time for cluster 
 nodes.

 Sometimes they are down briefly for maintenance, os reinstalls etc, 
 and turning off checks in the GUI sort of works, most of the time. But 
 we also turn machines off automatically, from other management 
 software when they are not needed for a while.

 Does anyone have a way to script turning off checks and notifications 
 for individual hosts or hostgroups? The only way I have identified is 
 the GUI. If it is there built in I have failed to identify it in the 
 docs.
This comes up quite a lot on this mailing list. I think so far the best 
solutions are:

1.use timeperiods to repeatedly exclude the maintenance window on those 
service or host checks

or

2. send a passive external command to the command pipe of nagios (the 
thing NSCA and the gui use to send those instructions to Nagios - see 
External Commands in the nagios docs and you will need 
check_external_commands=1 in your nagios.cfg). This option gives more 
flexibility in fact that the timeperiods can even allow for if your 
scheduling is more irregular and not for example the same time every day 
or every week.

If you search the mailing lists you should find whole discussions on 
this too.

-h

-- 
Hari Sekhon


-
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


Re: [Nagios-users] Host dependency error

2008-01-17 Thread Andrei-Florian Staicu
Christoph Stoettner wrote:
 HI,

 Have a look on this page:
 http://nagios.sourceforge.net/docs/3_0/dependencies.html

 You have to make a define hostdependency section for each
 dependent_host_name like on the bottom of the link above!

 Please look at the FAQ too, because of differences in parent/child and
 dependency setups.
 http://www.nagios.org/faqs/viewfaq.php?faq_id=145expand=falseshowdesc=false

 Greets Christoph

 On Jan 16, 2008 10:50 PM, Andrei-Florian Staicu [EMAIL PROTECTED] wrote:
   
 Hello and excuse for being a bit thicker.

 Could you tell me why the following dependency:
 define hostdependency {
 dependent_host_name
 GWMogo,GW2Mai,GWBane,GWAuBM,GWPlSH,GWPlSV
 host_name   quagga
 notification_failure_criteria   d,u
 execution_failure_criteria  d,u,p
 }
 yelds:
 Checking for circular host and service dependencies...
 Error: A circular execution dependency (which could result in a
 deadlock) exists for host 'quagga'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for host 'quagga'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for host 'quagga'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for host 'quagga'!
 Error: A circular execution dependency (which could result in a
 deadlock) exists for host 'quagga'!
 ?

 It is the only dependency in my files.
 Isn't this the correct way to telling Nagios that all those GW's depend
 on quagga shouldn't be checked or notified until quagga is up?

 Thanks
 
I tried splitting that into six different dependencies (one for each host).
With only two hosts, config check says ok. If I add another host (for a 
total of 3 hostst) I get 2 circular dependency errors.
Also, with 3 hosts, it reports checking for 6 dependencies.
If I leave it in the original form and I comment 
execution_failure_criteria, the config check yields no error, but this 
means the dependecies work only for notifications. I would like to stop 
executions based on dependecies and it seems that this is the problem. 
Could you help me with this?

Forgot to specify: Nagios 3.0b7

Thanks


-
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


Re: [Nagios-users] Scripted downtime question

2008-01-17 Thread Joerg Linge
Am Donnerstag, 17. Januar 2008 09:52 schrieb Ian Collier:
 Hi,
 
 We've been happily using nagios for a year and a half or so to monitor a
 number of high performance linux clusters (total 200 nodes or so), plus
 infrastructure hosts. All works nicely and it is highlighting issues well
 before they become critical.
 
 One thing I have not found good solutions for is down time for cluster
 nodes.
 
 Sometimes they are down briefly for maintenance, os reinstalls etc, and
 turning off checks in the GUI sort of works, most of the time. But we also
 turn machines off automatically, from other management software when they
 are not needed for a while.
 
 Does anyone have a way to script turning off checks and notifications for
 individual hosts or hostgroups? The only way I have identified is the GUI.
 If it is there built in I have failed to identify it in the docs.

Lars Michelsen has written an downtime Script in perl.
http://www.vertical-visions.de/2007/04/16/linux-downtime-script-03-perl/

HTH
Jörg

-
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


[Nagios-users] bulk downtime or bulk acknowledge

2008-01-17 Thread jamie baddeley
Hi,

We're running a Nagios2 system that's monitoring ~300 hosts and ~700
services. We're finding it tedious to schedule downtime in the network
when the affected host count is high, or alternatively acknowledge that
many when something happens we didn't plan. We've optimised host groups
as much as we can, the problem we've struck however is dealing with
exceptions when you try to do a hostgroup level command.

Before we run off and start writing code to scratch our particular itch,
has anyone else come across a web based interface that makes bulk
downtime scheduling or bulk acknowledging less clicksome?

We really want it in a web interface, so the cli based alternatives
don't really meet our needs (though granted those cli based systems
might help in the backend).

cheers

Jamie


-
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


Re: [Nagios-users] nagios-process with 100% CPU after update to Nagios-2.10

2008-01-17 Thread Bernd Kuhlen
Hi Bernd

oops, I sort of forgot the main thing. The actual problem:

Whenever this process occurs it's like a denial of service-attack. No checks 
are performed whatsoever. The only workaround (that I know) is to have a 
cronjob running once per minute finding and killing these jobs to make Nagios 
running properly again.


- Bernd Kuhlen (bkuhlen)

---
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1[showUid]=8408


-
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


[Nagios-users] nagios-process with 100% CPU after update to Nagios-2.10

2008-01-17 Thread Bernd Kuhlen
Hi list

Since I've updated my system to Nagios-2.10 I'm experiencing a strange problem. 
Wenn I start the daemon, everything looks fine:

  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
 3187 nagios  4  200 11728K  7104K kserel 0   6:30  0.00% nagios
  743 nagios  1  960  4936K  1324K select 0   0:03  0.00% nsca
  758 nagios  1  960  3652K  1032K select 0   0:02  0.00% nrpe2


but at random time suddenly a new nagios process occurs consuming 100% CPU. The 
Process state of this malfunctioning process ist RUN oder CPU1. 

I've started changing defaults of max_concurrent_checks or 
service_repeater_frequency (former value was the default of 0/10 meaning that 
Nagios can fork as many proccesses as needed.) 

I've already figured out, that it's not a special service-check that causes the 
problem. The problem happens with random checks.

I'm running Nagios on FreeBSD6.3 amd64, which I've upgraded also. So maybe 
there's a problem with the OS rather than Nagios itself? Unfortunately I 
haven't found any hint in any syslog-files so far.

Any ideas?

best regards,
Bernd 

- Bernd Kuhlen (bkuhlen)

---
The mailing list archive is found here:
http://www.nagiosexchange.org/nagios-users.34.0.html


-
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


[Nagios-users] nagios-process with 100% CPU after update to Nagios-2.10

2008-01-17 Thread Bernd Kuhlen
Hi list

Since I've updated my system to Nagios-2.10 I'm experiencing a strange problem. 
Wenn I start the daemon, everything looks fine:

  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU COMMAND
 3187 nagios  4  200 11728K  7104K kserel 0   6:30  0.00% nagios
  743 nagios  1  960  4936K  1324K select 0   0:03  0.00% nsca
  758 nagios  1  960  3652K  1032K select 0   0:02  0.00% nrpe2


but at random time suddenly a new nagios process occurs consuming 100% CPU. The 
Process state of this malfunctioning process ist RUN oder CPU1. 

I've started changing defaults of max_concurrent_checks or 
service_repeater_frequency (former value was the default of 0/10 meaning that 
Nagios can fork as many proccesses as needed.) 

I've already figured out, that it's not a special service-check that causes the 
problem. The problem happens with random checks.

I'm running Nagios on FreeBSD6.3 amd64, which I've upgraded also. So maybe 
there's a problem with the OS rather than Nagios itself? Unfortunately I 
haven't found any hint in any syslog-files so far.

Any ideas?

best regards,
Bernd 

- Bernd Kuhlen (bkuhlen)

---
The mailing list archive is found here:
http://www.nagiosexchange.org/nagios-users.34.0.html


-
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


[Nagios-users] Creating different notification periods for warning/unknown vs critical.

2008-01-17 Thread Jim . Melin

define service{
nameclam-AV-service
use generic-service
check_period24x7
max_check_attempts  3
normal_check_interval   90
retry_check_interval90
contact_groups  Clam_AV, operators
notification_optionsw,u,c,r
notification_interval   90
notification_period 24x7
register0
}

I have the above service template. Sometimes the AV scans take longer than 4.5 
hours to run and nagios sends an e-mail when one of the services is in
an unknown status (this is coming from a custom check script I wrote, that 
interfaces with the output of a clam-AV front end I also wrote).

We really only care to notify about warning and unknown status from the service 
checks that use this template between the hours of 6 am and 6, but we
care about critical alerts (it found a virus or scan hasn't run in x datys or 
freshclam has not run in y days) 24x7.

Is there a way to do mixed notifications so that warnings/unknown use time 
period 'workhours' and criticals/recovery use '24x7' in the same service
template?

Otherwise my choices are increase the check attempts or not notify between 6pm 
and 6am for everything.

Any input greatly welcome.

-J


-
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


Re: [Nagios-users] nagios-process with 100% CPU after update to Nagios-2.10

2008-01-17 Thread Marc Powell

On Jan 17, 2008, at 6:29 AM, Bernd Kuhlen wrote:

 Hi list

 Since I've updated my system to Nagios-2.10 I'm experiencing a  
 strange problem. Wenn I start the daemon, everything looks fine:

  PID USERNAME  THR PRI NICE   SIZERES STATE  C   TIME   WCPU  
 COMMAND
 3187 nagios  4  200 11728K  7104K kserel 0   6:30  0.00%  
 nagios
  743 nagios  1  960  4936K  1324K select 0   0:03  0.00% nsca
  758 nagios  1  960  3652K  1032K select 0   0:02  0.00% nrpe2


 but at random time suddenly a new nagios process occurs consuming  
 100% CPU. The Process state of this malfunctioning process ist RUN  
 oder CPU1.

This thread and Andreas' response seem relevant --

http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1%5Bmode%5D=1tx_maillisttofaq_pi1%5BshowUid%5D=7100

otherwise you should use lsof and s/ktrace on the process to see what  
it's going. Then you can figure out what needs to change.

--
Marc

-
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


Re: [Nagios-users] nagios-process with 100% CPU after update toNagios-2.10

2008-01-17 Thread Jonathan Call
Sounds like the fork/vfork issue with FreeBSD's libpthread and Nagios.

The only solution I know of is to add the following to /etc/libmap.conf
and then do a stop/start of Nagios:

[nagios]
libpthread.so.2 libthr.so.2
libpthread.so   libthr.so

This forces Nagios to use an alternative POSIX threads library instead
of FreeBSD's default thread library.

Jonathan

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Bernd Kuhlen
 Sent: Thursday, January 17, 2008 5:34 AM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] nagios-process with 100% CPU after update
 toNagios-2.10
 
 Hi Bernd
 
 oops, I sort of forgot the main thing. The actual problem:
 
 Whenever this process occurs it's like a denial of service-attack. No
 checks are performed whatsoever. The only workaround (that I know) is
to
 have a cronjob running once per minute finding and killing these jobs
to
 make Nagios running properly again.
 
 
 - Bernd Kuhlen (bkuhlen)
 
 ---
 This thread is located in the archive at this URL:
 http://www.nagiosexchange.org/nagios-
 users.34.0.html?tx_maillisttofaq_pi1[showUid]=8408
 
 


-
 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


This email message is intended for the use of the person to whom it has been 
sent, and may contain information that is confidential or legally protected. If 
you are not the intended recipient or have received this message in error, you 
are not authorized to copy, distribute, or otherwise use this message or its 
attachments. Please notify the sender immediately by return e-mail and 
permanently delete this message and any attachments. Verio, Inc. makes no 
warranty that this email is error or virus free.  Thank you.

-
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


Re: [Nagios-users] Scripted downtime question

2008-01-17 Thread Aaron M. Segura
On Thu, 2008-01-17 at 08:52 +, Ian Collier wrote:
 Hi,
[...clip...]
 Does anyone have a way to script turning off checks and notifications
 for individual hosts or hostgroups? The only way I have identified is
 the GUI. If it is there built in I have failed to identify it in the
 docs. 
 
 Thanks,
 
 --Ian

I have written a couple of scripts which can be used for those purposes.
One of them schedules downtime.  The other turns on/off notifications at
a global, host or service level.

http://www.nagiosexchange.org/Utilities.16.0.html?tx_netnagext_pi1[p_view]=770
http://www.nagiosexchange.org/Downtimes.38.0.html?tx_netnagext_pi1[p_view]=628

Enjoy.

-
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


Re: [Nagios-users] new plugin

2008-01-17 Thread Tom Throckmorton
On 01/14/2008 11:22 AM, [EMAIL PROTECTED] wrote:
 I've just written a script that checks to see if the ndo2db daemon is
 running and if it is not, deletes the sock file and restarts it. This is
 how it runs in our current setup. It's just a simple shell script, but
 it gets the job done.

Thanks for sharing and posting your script.

You might also consider using check_procs + an eventhandler, which would 
give you the advantage of having some additional flexibility around how 
and when the process is restarted.

Out of curiosity, are you actually seeing ndo2db _die_, or just stop 
working?

-tt

-- 
Tom Throckmorton
OIT - CSI
Duke University

-
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


Re: [Nagios-users] NDOUtils

2008-01-17 Thread Tom Throckmorton
On 01/17/2008 12:12 PM, Matthias Kloth wrote:
 Tom Throckmorton schrieb:
 | On Jan 11 08:51, [EMAIL PROTECTED] wrote:
 | Has anyone got a plugin or script they use to check the status of the
 | ndo2db daemon? I've been looking on nagiosexchange and through google
 | and am yet to find one. I'm not much of a programmer, so I really can't
 | right one up myself or I would. Any help on this issue would be
 wonderful.
 |
 | I'm using check_mysql_query to check that db updates aren't stale:
 |
 |   check_mysql_query -H naghost -d nagios_db -u readonlyuser -p
 somepass \
 |   -q SELECT NOW() - status_update_time FROM nagios_programstatus -w
 120 -c 300
 |
 | If ndo2db is dead/failed to start, or there are other issues (corrupt
 tables),
 | I believe this will catch it.  You could also do something like watch
 the nagios.log
 | for the dreaded unable to connect to data sink message, or check
 that the
 | ndo2db process is running, though I'm finding that checking the db for
 | freshness is a good indicator.
 |
 | -tt
 |
 |
 There is a plugin that checks for the ndo2db daemon called . You can
 find it on
 http://www.nagiosexchange.org/Check_Plugins.21.0.html?tx_netnagext_pi1[p_view]=1203.

Thanks, Matthias.  I saw svalding's later post with the shell script.

-tt

-- 
Tom Throckmorton
OIT - CSI
Duke University

-
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


[Nagios-users] Defining a contact_group for a hostgroup

2008-01-17 Thread Tim Wilson
Hey everyone,

I was looking for a way to define a contact group that would get notifications 
for all hosts in a particular hostgroup. I see that I can define a 
contact_group for a single host, but it doesn't appear to work at the hostgroup 
level. Am I missing something, or is there a better way than setting each 
host's contact_group individually?

-Tim



-- 
Tim Wilson, Director of Technology
Buffalo-Hanover-Montrose Schools
214 1st Ave NE   Buffalo, MN  55313
ph: 763.682.8740  fax: 763.682.8743  http://www.buffalo.k12.mn.us






-
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


Re: [Nagios-users] status map config

2008-01-17 Thread Brian Loe
On Jan 17, 2008 6:08 AM, Valdinger, Stephen (DOV, MSX)
[EMAIL PROTECTED] wrote:
 How about just pulling it from the last full backup that I know you have
 of the Nagios box... :)

 Stephen Valdinger

That'd be cool...if only. :)

No, its not a production box yet, so there aren't any backups. And it
was a STUPID user (me) error that destroyed it.

-
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


Re: [Nagios-users] nagios-process with 100% CPU after update toNagios-2.10

2008-01-17 Thread Bernd Kuhlen
Hi Jonathan 

I fixed it by rolling back to FreeBSD6.2, now Nagios is stable again.

HELLO OUT THERE, PLEASE DO NOT TRY TO UPGRADE TO FREEBSD6.3 IF YOU'RE RUNNING 
NAGIOS! AT LEAST NOT AT THE MOMENT. 

Seems to be a serious bug. 


- Bernd Kuhlen (bkuhlen)

---
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1[showUid]=8415


-
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


Re: [Nagios-users] nagios-process with 100% CPU after update toNagios-2.10

2008-01-17 Thread Michael W. Lucas
On Thu, Jan 17, 2008 at 10:52:19PM +0100, Bernd Kuhlen wrote:
 Hi Jonathan   
 
 I fixed it by rolling back to FreeBSD6.2, now Nagios is stable again.
 
 HELLO OUT THERE, PLEASE DO NOT TRY TO UPGRADE TO FREEBSD6.3 IF YOU'RE RUNNING 
 NAGIOS! AT LEAST NOT AT THE MOMENT. 
 
 Seems to be a serious bug. 

I'd definitely bring this up on the freebsd-stable mailing list, then.

I'm running 2.10 on 6-stable and 8-current, no troubles.

==ml

-- 
Michael W. Lucas[EMAIL PROTECTED], [EMAIL PROTECTED]
http://www.BlackHelicopters.org/~mwlucas/
  Now Shipping: Absolute FreeBSD -- http://www.AbsoluteFreeBSD.com
On 5/4/2007, the TSA kept 3 pairs of my soiled undies for security reasons.

-
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


Re: [Nagios-users] nagios-process with 100% CPU after update toNagios-2.10

2008-01-17 Thread Bernd Kuhlen
Hi Michael  

I've filled out the web form on freebsd.org
I'm sure there'll be a bugfix any time soon.


- Bernd Kuhlen (bkuhlen)

---
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1[showUid]=8427


-
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


[Nagios-users] compile nagios-plugins-1.4.11

2008-01-17 Thread bjlockie
I got an error compiling the nagios-plugins-1.4.11:

gcc -DLOCALEDIR=\/home/nagios/share/locale\ -DHAVE_CONFIG_H -I. -I. -I..
-I.. -I../lib -I../gl -I../intl   -I/usr/local/ssl/include  -D_REENTRANT
-I/usr/local/ssl/include  -g -O2 -c check_procs.c
check_procs.c: In function `main':
check_procs.c:185: parse error before `%'
make[2]: *** [check_procs.o] Error 1

My configure was:
./configure --prefix=/home/nagios --exec-prefix=/home/nagios
--with-nagios-user=nagios --with-nagios-group=nobody --enable-perl-modules
--with-ps-command=/usr/bin/ps --with-ps-format=pid,pcpu,vsz,etime
--with-ps-cols=4 --with-ps-varlist='%d %d.%d %d %d:%d'
--with-ping-command='-n -U -c 5'
--with-nslookup-command=/usr/sbin/nslookup
--with-uptime-command=/usr/bin/uptime
--with-rpcinfo-command=/usr/bin/rpcinfo
--with-snmpget-command=/usr/local/bin/snmpget
--with-snmpgetnext-command=/usr/local/bin/snmpgetnext
--with-ssh-command=/usr/local/bin/ssh --with-mailq-command=/usr/bin/mailq
--with-dig-command=/usr/local/bin/dig



-
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


Re: [Nagios-users] nagios-process with 100% CPU after update toNagios-2.10

2008-01-17 Thread Bernd Kuhlen
Hi Michael  

I've filled out the web form on freebsd.org
I'm sure there'll be a bugfix any time soon.


- Bernd Kuhlen (bkuhlen)

---
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1[showUid]=8427


-
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


Re: [Nagios-users] Monitoring OSX 10.4 Server

2008-01-17 Thread Tim Palmer
Lucas Fritz wrote:

 Nagios-Users,

 Are there any definitive guides for monitoring a remote OSX 10.4 Server?

 Ideally I’d like to do a minimum of configuration on the remote server 
 and looking at the guide located here:

 http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

 I’m not convinced this will work for installation on OSX.

 Has anyone done this before? Are there any caveats or alterations to 
 these instructions necessary for this to work on OSX?

 Thank you very much for any help you can provide,

 Lucas

 

 -
 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
Depending on what you want to monitor, snmp is likely your best bet. 
AFAIK, there's no gui for snmp on OSX, so you'll need to dive in to get 
it setup and running, but much is exposed, and there are various snmp 
based plugins available for Nagios.

tim

-
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


[Nagios-users] check_smtp issues

2008-01-17 Thread Julie S. Lin
Hi

I just added a new mail server and am having trouble getting check_smtp 
to check it properly.  This mail server is on a different network than 
my nagios server
HOWEVER, I can telnet to the standard ports ( 25 and 993 just fine)

check_smtp to another mail server on yet another network works.

J

-
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


Re: [Nagios-users] Monitoring OSX 10.4 Server

2008-01-17 Thread Lucas Fritz
Thanks Andy!

 

I am assuming I will also need to 'port install nagios-plugins'. Once I
get those both installed, I should be able to follow the NRPE.pdf file
instructions as if I were installing on a linux server?

 

Thanks again!

 

Lucas

 



From: Andy Moran [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 17, 2008 4:31 PM
To: Lucas Fritz
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitoring OSX 10.4 Server

 

 

The easiest way is to install macports from http://www.macports.org/

 

and simply run port install nrpe

 

--Andy

 

 

 

On Jan 17, 2008, at 4:03 PM, Lucas Fritz wrote:





Nagios-Users,

 

Are there any definitive guides for monitoring a remote OSX 10.4 Server?

 

Ideally I'd like to do a minimum of configuration on the remote server
and looking at the guide located here:

 

http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

 

I'm not convinced this will work for installation on OSX.

 

Has anyone done this before? Are there any caveats or alterations to
these instructions necessary for this to work on OSX?

 

Thank you very much for any help you can provide,

 

Lucas


-
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

 

-
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

Re: [Nagios-users] Monitoring OSX 10.4 Server

2008-01-17 Thread Andy Moran


Yep.. Exactly.

macports installs into /opt/local instead of /usr/local, so you'll  
have to just change the paths around.



The installer should also place a link to the launchd plist to have  
launchd start it on bootup, but the plist is disabled by default, so  
if you want to enable starting on bootup, edit: /Library/LaunchDaemons/ 
org.macports.nrpe.plist  and remove:

keyDisabled/keytrue/


Cheers!

--Andy



On Jan 17, 2008, at 4:41 PM, Lucas Fritz wrote:


Thanks Andy!

I am assuming I will also need to ‘port install nagios-plugins’.  
Once I get those both installed, I should be able to follow the  
NRPE.pdf file instructions as if I were installing on a linux server?


Thanks again!

Lucas

From: Andy Moran [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 17, 2008 4:31 PM
To: Lucas Fritz
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitoring OSX 10.4 Server


The easiest way is to install macports from http://www.macports.org/

and simply run port install nrpe

--Andy



On Jan 17, 2008, at 4:03 PM, Lucas Fritz wrote:


Nagios-Users,

Are there any definitive guides for monitoring a remote OSX 10.4  
Server?


Ideally I’d like to do a minimum of configuration on the remote  
server and looking at the guide located here:


http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

I’m not convinced this will work for installation on OSX.

Has anyone done this before? Are there any caveats or alterations to  
these instructions necessary for this to work on OSX?


Thank you very much for any help you can provide,

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



-
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

Re: [Nagios-users] Monitoring OSX 10.4 Server

2008-01-17 Thread Lucas Fritz
Thanks Andy! I'll give it a shot!

 



From: Andy Moran [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 17, 2008 4:53 PM
To: Lucas Fritz
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitoring OSX 10.4 Server

 

 

Yep.. Exactly.

 

macports installs into /opt/local instead of /usr/local, so you'll have
to just change the paths around.

 

 

The installer should also place a link to the launchd plist to have
launchd start it on bootup, but the plist is disabled by default, so if
you want to enable starting on bootup, edit:
/Library/LaunchDaemons/org.macports.nrpe.plist  and remove:

keyDisabled/keytrue/

 

 

Cheers!

 

--Andy

 

 

 

On Jan 17, 2008, at 4:41 PM, Lucas Fritz wrote:





Thanks Andy!

 

I am assuming I will also need to 'port install nagios-plugins'. Once I
get those both installed, I should be able to follow the NRPE.pdf file
instructions as if I were installing on a linux server?

 

Thanks again!

 

Lucas

 



From: Andy Moran [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 17, 2008 4:31 PM
To: Lucas Fritz
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Monitoring OSX 10.4 Server

 

 

The easiest way is to install macports from http://www.macports.org/

 

and simply run port install nrpe

 

--Andy

 

 

 

On Jan 17, 2008, at 4:03 PM, Lucas Fritz wrote:






Nagios-Users,

 

Are there any definitive guides for monitoring a remote OSX 10.4 Server?

 

Ideally I'd like to do a minimum of configuration on the remote server
and looking at the guide located here:

 

http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf

 

I'm not convinced this will work for installation on OSX.

 

Has anyone done this before? Are there any caveats or alterations to
these instructions necessary for this to work on OSX?

 

Thank you very much for any help you can provide,

 

Lucas


-
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

 

 

-
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

Re: [Nagios-users] Nagios Looking Glass

2008-01-17 Thread Andy Shellam
Hi Mariusz,

I think you sent me an e-mail through my website a couple of weeks ago.

If you can get PHP 5.2 running on Apache 1.3 - that's the main requirement.
I have heard of stability issues with PHP 5 on Apache 1.3 (that and coupled
with the fact the Apache Group don't recommend using Apache 1.3 unless you
have a module that doesn't work with 2.0/2.2) so I'd highly recommend
upgrading your existing 1.3 installation.

As Mark said, you could always run Apache 2 on a different IP/port, but it'd
be much easier just to upgrade Apache ;)

Andy

On 1/15/08, Petersen, Mark [EMAIL PROTECTED] wrote:

  You could run nagios or nagios looking glass on different ports with
 different versions of apache.  If you want both services on port 80 I
 believe you would have to setup nagios to work with apache2.



 mark


   --

 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *Mariusz
 Stakowski
 *Sent:* Tuesday, January 15, 2008 3:34 AM
 *To:* nagios-users@lists.sourceforge.net
 *Subject:* [Nagios-users] Nagios Looking Glass




 Hello list,

 I have instaled Nagios 2.9 on my Slackware machine with
 Apache 1.3. I would like to install Nagios Lookin Glass too. But it
 requires Apache 2. Am I forced to  install Apache 2 and reconfigure Nagios
 to be able to use Nagios Looking Glass ?

 Thank you for a help.

 Best regards

 Mariusz


 -
 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

-
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

[Nagios-users] Service checks stop when using epn

2008-01-17 Thread Yost, Karl
My current nagios installation has outgrown it's current server, so I
built a new server from scratch and due to the number of perl plugins I
am using thought it would be in my best interested to embed perl when I
compiled my binary. The compile and install went fine, I fired nagios up
and it was running fine for a few minutes (5-15) then the service checks
stopped happening, and there isn't any additional information in the
log. 

 

I compiled a new binary this time with no perl and started things back
up and it ran perfectly and did so for some time, however at a much
higher cpu load. So I built a new binary this time I didn't add the perl
cache option, replaced the binary and it seemed to work, but then the
checks stopped a few minutes later.

 

I have reverted back to my basic nagios binary with out perl now and
things are working again, it would appear I am missing something to get
the epn to work but I can't seem to find. I thought I had seen something
in the mailing list before about this but can't seem to put my finger on
it.

 

Any advice is greatly appreciated.

 

Thanks,

Karl Yost

IQOR

[EMAIL PROTECTED]

 

-
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

Re: [Nagios-users] check_smtp issues

2008-01-17 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Julie S. Lin
 Sent: Thursday, January 17, 2008 6:36 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] check_smtp issues
 
 Hi
 
 I just added a new mail server and am having trouble getting
check_smtp
 to check it properly.  This mail server is on a different network than
 my nagios server
 HOWEVER, I can telnet to the standard ports ( 25 and 993 just fine)
 
 check_smtp to another mail server on yet another network works.


You should tell us what the problem is. Be very specific. We can't help
if we don't know and we aren't going to guess.

--
Marc


-
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


Re: [Nagios-users] Service checks stop when using epn

2008-01-17 Thread Marc Powell


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Yost, Karl
 Sent: Thursday, January 17, 2008 8:29 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Service checks stop when using epn
 
 My current nagios installation has outgrown it's current server, so I
 built a new server from scratch and due to the number of perl plugins
I am
 using thought it would be in my best interested to embed perl when I
 compiled my binary. The compile and install went fine, I fired nagios
up
 and it was running fine for a few minutes (5-15) then the service
checks
 stopped happening, and there isn't any additional information in the
log.
 

I don't recall seeing these symptoms before but generally speaking, not
all perl plugins are compatible with ePN. You might try testing them
with the mini-ePN distributed with Nagios (contrib dir) as well as
running nagios in debug mode to see what it's doing when it hangs.

--
Marc



-
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


Re: [Nagios-users] check_smtp issues

2008-01-17 Thread Julie S. Lin
Hi All

Sorry for the incomplete info, I do know better, really.  Pls forgive.

Anyways, below is the result I get when I manually run check_smtp
from my plugins directory.  This is on a redhat es4 machine running 1.2
nagios
(yes, very outdated I know).

[EMAIL PROTECTED] plugins]# ./check_smtp mail.xxx.com
Socket timeout after 10 seconds
[EMAIL PROTECTED] plugins]# ./check_smtp mail.yyy.com
SMTP OK - 0 second response time

* so check_smtp fails on one mail server but not the other
mail.xxx.com is behind the same firewall as the nagios server
but on a different network
mail.yyy.com is on another network outside of the firewall
is there anything I should know about having nagios check_smtp server within
a firewall??

And of course, mail is working just fine.
 mail -v [EMAIL PROTECTED]
Subject: foo
.
EOT
Null message body; hope that's ok
[EMAIL PROTECTED] Connecting to mail.xxx.com. via esmtp...
220 xxx.com ESMTP
 EHLO anywhere.com
250-xxx.com Ok.
250-AUTH PLAIN LOGIN CRAM-MD5
250-AUTH=PLAIN LOGIN CRAM-MD5 X-NETSCAPE-HAS-BUGS
250-STARTTLS
250-XVERP=Courier
250-XEXDATA
250-XSECURITY=NONE,STARTTLS
250-PIPELINING
250-8BITMIME
250-SIZE
250 DSN
 STARTTLS
220 Ok
 EHLO anywhere.com
250-xxx.com Ok.
250-AUTH PLAIN LOGIN CRAM-MD5
250-AUTH=PLAIN LOGIN CRAM-MD5 X-NETSCAPE-HAS-BUGS
250-XVERP=Courier
250-XEXDATA
250-XSECURITY=NONE,STARTTLS
250-PIPELINING
250-8BITMIME
250-SIZE
250 DSN
 MAIL From:[EMAIL PROTECTED] SIZE=48
250 Ok.
 RCPT To:[EMAIL PROTECTED]
250 Ok.
 DATA
354 Ok.
 .
250 Ok. 47903A17.3806
[EMAIL PROTECTED] Sent (Ok. 47903A17.3806)
Closing connection to mail.xxx.com.
 QUIT
221 Bye.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell
Sent: Thursday, January 17, 2008 7:33 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] check_smtp issues



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:nagios-users-
 [EMAIL PROTECTED] On Behalf Of Julie S. Lin
 Sent: Thursday, January 17, 2008 6:36 PM
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] check_smtp issues
 
 Hi
 
 I just added a new mail server and am having trouble getting
check_smtp
 to check it properly.  This mail server is on a different network than
 my nagios server
 HOWEVER, I can telnet to the standard ports ( 25 and 993 just fine)
 
 check_smtp to another mail server on yet another network works.


You should tell us what the problem is. Be very specific. We can't help
if we don't know and we aren't going to guess.

--
Marc


-
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


-
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


Re: [Nagios-users] Monitoring OSX 10.4 Server

2008-01-17 Thread Tim Wilson
 On Thu, Jan 17, 2008 at  6:03 PM, in message
[EMAIL PROTECTED], Lucas Fritz
[EMAIL PROTECTED] wrote: 

 Are there any definitive guides for monitoring a remote OSX 10.4 Server?

Hey Lucas,

The macports install of NRPE is straightforward on OS X Server. Unfortunately, 
there aren't a lot of things exposed via SNMP with OS X. I created a couple 
check scripts that you might find useful.

1. check_xserve uses Marcel Bresink's Hardware Monitor tool to monitor the 
on-board hardware sensors:

http://www.nagiosexchange.org/Hardware.56.0.html?tx_netnagext_pi1[p_view]=1193

2. check_osx_services interfaces with the serveradmin command to check the 
status of the various built-in OS X services. I haven't added any 
Leopard-specific checks yet, but it will check a lot of stuff on Tiger. I need 
to add the performance data to the script output, but everything else works 
well at this point.

http://www.nagiosexchange.org/Operating_Systems.157.0.html?tx_netnagext_pi1[p_view]=1206

Please let me know if you try these and find problems. I don't have a lot of 
Xserves to test with.

-Tim


-- 
Tim Wilson, Director of Technology
Buffalo-Hanover-Montrose Schools
214 1st Ave NE   Buffalo, MN  55313
ph: 763.682.8740  fax: 763.682.8743  http://www.buffalo.k12.mn.us






-
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