Re: [Nagios-users] Host monitoring

2007-11-14 Thread Marc Powell
Because it sucks and is hard to follow conversations.

Why not?

Don't top-post please.

> -Original Message-
> From: Jerad Riggin [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 14, 2007 2:40 PM
> To: Marc Powell
> Cc: nagios-users@lists.sourceforge.net
> Subject: Re: [Nagios-users] Host monitoring
> 
> I understand this part, but for example right now the service
> description for each host is CheckString.  That way I can group all of
> them into a service group based on that description so we can pull
> availability reports for the host and the only service being

Ah, more details come to light.

> monitored.  If I wanted to do it your way, wouldn't I have to use the
> service description of each check in the servicegroups config file?

I don't use servicegroups but I expect that could easily be resolved by
logical naming of the services (CheckString-vhostname) and using
wildcards or regex in your servicegroup match (CheckString-*).

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Issues with Distributed Nagios

2007-11-14 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Jonah Horowitz
> Sent: Wednesday, November 14, 2007 2:45 PM
> To: Nagios Users Mailinglist
> Subject: [Nagios-users] Issues with Distributed Nagios
> 
> Hello all,
> 
> I'm running a distributed nagios installation with about 500 hosts and
> 4000 checks.  Almost all of my checks run at five minute intervals.

Pretty close to the same here...

Passive Service Checks:

Time Frame  Checks Completed
<= 1 minute:669 (17.7%)
<= 5 minutes:   3681 (97.3%)
<= 15 minutes:  3782 (99.9%)
<= 1 hour:  3782 (99.9%)
Since program start:3782 (99.9%)


> latency is less than 10 seconds on both of them, but the latency on
the
> central server is really high, 350-650 seconds.  I'm seeing freshness
> timeouts and errors.

How are you measuring the latency on the central server? Nagios doesn't
report it for passive checks AFAIK. Do you see the checks come in to
nsca? Do you see them in nagios.log? Are they timely in both places?
Nsca debug mode might be useful. You really need to determine where the
latency is appearing to give us a better idea of where to help.
 
> The checks are getting submitted, but there seems to be a horrible
> latency between the check result and when the central server gets it.

The OCSP -> send_nsca -> nsca -> nagios.cmd process should be nearly
instantaneous. Do you see nsca processes hanging around on your central
server (besides the daemon)? Do you have nagios reaping external
commands frequently enough? See the command_check_interval setting in
nagios.cfg.

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Issues with Distributed Nagios

2007-11-14 Thread Jonah Horowitz
Hello all,

I'm running a distributed nagios installation with about 500 hosts and
4000 checks.  Almost all of my checks run at five minute intervals.

I'm trying to move from a centralized to a distributed situation because
my latency has gotten to about 75 seconds average on the central server.

I've built a new central server and two distributed nodes.  My
distributed nodes are having no trouble keeping up with the checks. The
latency is less than 10 seconds on both of them, but the latency on the
central server is really high, 350-650 seconds.  I'm seeing freshness
timeouts and errors.

The checks are getting submitted, but there seems to be a horrible
latency between the check result and when the central server gets it.

Any help would be appreciated.

Thanks,

Jonah




submit_service_check is as follows:

$USER1$/eventhandlers/submit_service_check $HOSTNAME$ '$SERVICEDESC$'
$SERVICESTATEID$ '$SERVICEOUTPUT$'

#!/bin/bash
###
# Arguments:
#  $1 = host_name (Short name of host that the service is
#   associated with)
#  $2 = svc_description (Description of the service)
#  $3 = state_string (A string representing the status of
#   the given service - "OK", "WARNING", "CRITICAL"
#   or "UNKNOWN")
#  $4 = plugin_output (A text string that should be used
#   as the plugin output for the service checks)
#
###
PRINTF="/usr/bin/printf"
CMD="/usr/pkg/nsca/bin/send_nsca"
CFG="/usr/pkg/nsca/etc/send_nsca.cfg"

HOST=$1
SRV=$2
RESULT=$3
OUTPUT=$4

# pipe the service check info into the send_nsca program, which
# in turn transmits the data to the nsca daemon on the central
# monitoring server

# /bin/printf "%s:%s:%s:%s\n" "$1" "$2" "$RESULT" "$4" | $CMD -H plato
-c $CFG -d :
#$PRINTF "%b" "$HOST:$SRV:$RESULT:$OUTPUT" | $CMD -H plato -c $CFG -d :

echo "$HOST:$SRV:$RESULT:$OUTPUT -- FYI: this is a distributed passive
SERVICE alert fed from `hostname`" | /usr/pkg/nsca/bin/send_nsca -H
central -p 5667 -c /usr/pkg/nsca/etc/send_nsca.cfg -d :

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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 monitoring

2007-11-14 Thread Jerad Riggin
I understand this part, but for example right now the service
description for each host is CheckString.  That way I can group all of
them into a service group based on that description so we can pull
availability reports for the host and the only service being
monitored.  If I wanted to do it your way, wouldn't I have to use the
service description of each check in the servicegroups config file?

On Nov 12, 2007 5:13 PM, Marc Powell <[EMAIL PROTECTED]> wrote:
>
>
>
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:nagios-users-
> > [EMAIL PROTECTED] On Behalf Of Jerad Riggin
> > Sent: Monday, November 12, 2007 4:52 PM
> > To: nagios-users@lists.sourceforge.net
> > Subject: [Nagios-users] Host monitoring
> >
> > So what would be the best way to monitor in this situation?
> >
> > I have Host A, hosting two websites.
> >
> > Currently I have both websites configured as separate hosts, so in
> > nagios it shows up as ServerA - site.com, and another host ServerA -
> > siteb.com
> >
> > This doesn't seem efficient since I am pinging both sites, but it's
> > the same host.  Ideally I would want to just ping the host, and check
> > strings on each site under that host.  Any recommendations?
>
> Unless I'm missing something obvious, this seems pretty straightforward.
> host{} definition for the web server machine, service{} definitions for
> each vhost using check_http to check them. You can craft a command{}
> definition to pass the variable parameters like vhost name, uri and
> search string like so --
>
> define command {
>command_name   check_http_url
>command_line   $USER1$/check_http -I $HOSTADDRESS$
> -H $ARG1$ -u $ARG2$ -wt 20 -ct 30 -to 35 -s $ARG3$
>}
>
> To check to vhosts --
>
> define service {
>usegeneric-service
>host_name  my_webserver
>service_descriptionHTTP VHOST site1
>check_command
> check_http_url!www.site1.com!/mypage!/html
>}
>
> define service {
>usegeneric-service
>host_name  my_webserver
>service_descriptionHTTP VHOST site2
>check_command
> check_http_url!www.site2.com!/someotherpage!/html
>}
>
> --
> Marc
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> 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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Can Nagios implement with Expect to automate tasks when issues arise?

2007-11-14 Thread Patrick M.
Until we can move the scripts off that machine onto its new home, we 
have to reboot this system.  Sometimes it happens once, sometimes it 
happens multiple times a day. 

These aren't critical systems, so it wouldn't hurt anything if these 
were rebooted multiple times.

Thank you very much for the information, and the pointers.  And yes, I 
agree - we should take care of the cause rather than the symptom.

Thanks again.

Patrick

dave stern - e-mail.pluribus.unum wrote:
> Event handlers can take care of any common task but you need to
> be careful with them. Why is a task required to be done so frequently?
> Shouldn't we take care of the cause rather than the symptom?
>
> Also, scripts that "fix" known problems can be very dangerous if
> they inadvertantly run at times when a service/host looks critical
> but perhaps "critical" wasn't well enough defined, particularly if
> you're not using parent dependancies.  So if you do go this root
> (pun intended), add in a LOT of checks to the expect script.
>
> On Nov 14, 2007 11:27 AM, Patrick M. <[EMAIL PROTECTED]> wrote:
>   
>> Hi all,
>>
>> I just learned what Expect was and wrote a few scripts to automate
>> certain tasks around the office, and now I'm wondering if Expect can be
>> used in conjunction with Nagios.  Is this possible?
>>
>> Example: One of our servers go down at least twice a day, and we know
>> it's problematic.  We connect to the power strip and recycle the power
>> on the port that machine is plugged in.  I'd like to use Expect to
>> automate this when Nagios notices it is down.
>>
>> Has anyone else implemented something similar to what I'm describing?
>>
>> Thanks in advance.
>>
>>
>>
>> -
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> ___
>> 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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] LART, please (was: Re: Nagios-users Digest, Vol 18, Issue 20)

2007-11-14 Thread Andreas Ericsson
Mangesh Dhamale wrote:
> Hi All,
> I have configured nagios. Can any body file regarding nagios-plugin. 
> Actually i have configured windows system using nsclient++.  How to monitor 
> remote linux boxes like cpu load,disk...etc.
> 

Did you really have to include the *entire* digest just to ask that?

Read this: http://www.catb.org/~esr/faqs/smart-questions.html
It holds the solution to the most urgent of your many problems.

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Can Nagios implement with Expect to automate tasks when issues arise?

2007-11-14 Thread dave stern - e-mail.pluribus.unum
Event handlers can take care of any common task but you need to
be careful with them. Why is a task required to be done so frequently?
Shouldn't we take care of the cause rather than the symptom?

Also, scripts that "fix" known problems can be very dangerous if
they inadvertantly run at times when a service/host looks critical
but perhaps "critical" wasn't well enough defined, particularly if
you're not using parent dependancies.  So if you do go this root
(pun intended), add in a LOT of checks to the expect script.

On Nov 14, 2007 11:27 AM, Patrick M. <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I just learned what Expect was and wrote a few scripts to automate
> certain tasks around the office, and now I'm wondering if Expect can be
> used in conjunction with Nagios.  Is this possible?
>
> Example: One of our servers go down at least twice a day, and we know
> it's problematic.  We connect to the power strip and recycle the power
> on the port that machine is plugged in.  I'd like to use Expect to
> automate this when Nagios notices it is down.
>
> Has anyone else implemented something similar to what I'm describing?
>
> Thanks in advance.
>
>
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> 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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Authentication question

2007-11-14 Thread Palle L Jensen
Thanks Marc, Working fine now. The authorized_for_* settings was what I had
missed out on.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc Powell
Sent: Wednesday, November 14, 2007 9:59 AM
To: Nagios Users
Subject: Re: [Nagios-users] Authentication question



> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Palle L Jensen
> Sent: Wednesday, November 14, 2007 8:42 AM
> To: Nagios Users
> Subject: Re: [Nagios-users] Authentication question
> 
> Thanks Marc for your quick response,
> 
> I've tried a few variations and the result is
> I don't get the logon window (which Is good, we don't want the logon
> window), but I can still not execute the cgi commands.
> 
> I changed these sections in the cgi.cfg
> use_authentication=0 (tried both 0 and 1)

This should be 1.

> default_user_name=guest (enabled)

This is fine.

> authorized_for _system_command=* (tried both * and root,nagios,guest)

This only says that anyone can shutdown or restart nagios or change it
from active to standby. You want more than that. You'll want to look at
all the authorized_for_* settings in cgi.cfg, but specifically --

authorized_for_all_services
authorized_for_all_hosts
authorized_for_all_service_commands
authorized_for_all_host_commands

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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-users Digest, Vol 18, Issue 20

2007-11-14 Thread Mangesh Dhamale
Hi All,
I have configured nagios. Can any body file regarding nagios-plugin. 
Actually i have configured windows system using nsclient++.  How to monitor 
remote linux boxes like cpu load,disk...etc.

Regards,

Mangesh Dhamale
-
System Administrator
Suma Soft Pvt. Ltd.
Suma Center, IInd Floor, Opp. Himali Society,
Near Mangeshkar Hospital, Erandwane, Pune - 411004
Ph : +91-20-2542 5655 Extn : 327
Cell : +91-98508 87775
Email : [EMAIL PROTECTED]
www.sumasoft.com
--

- Original Message - 
From: <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, November 14, 2007 1:07 AM
Subject: Nagios-users Digest, Vol 18, Issue 20


> Send Nagios-users mailing list submissions to
> nagios-users@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
>
> You can reach the person managing the list at
> [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Nagios-users digest..."
>
>
> Today's Topics:
>
>   1. Nagios time format (Jerad Riggin)
>   2. Re: Nagios time format (Marc Powell)
>   3. Re: Two instances of ndo2db running... (GT4NE1)
>   4. Date/Time and Additional Info Shows as $ (Robert Gil)
>   5. Re: Date/Time and Additional Info Shows as $ (Haydn Solomon)
>   6. Status display colors (Israel Brewster)
>   7. Re: Status display colors (Marc Powell)
>   8. Host monitoring (Jerad Riggin)
>   9. Re: Host monitoring (Marc Powell)
>  10. Re: check_snmp_storage fails on 2003 box, works manually
>  (chris serafin)
>  11. Re: Plugin for monitoring FreeBSD for updates (like
>  check_apt)? (Matthias Kellermann)
>  12. Re: Status display colors (Giles Coochey)
>  13. RE :  Nagios CGI modification (Florent HOUBART)
>  14. Re: Plugin for monitoring FreeBSD for updates (like
>  check_apt)? (Michael W. Lucas)
>  15. Re: Plugin for monitoring FreeBSD for updates (like
>  check_apt)? (Brian A. Seklecki)
>  16. Re: Plugin for monitoring FreeBSD for updates (like
>  check_apt)? (Matthias Kellermann)
>  17. nagios.log format (Kuang-Chun Cheng)
>  18. Re: nagios.log format (Marc Powell)
>  19. Old state information randomly appearing (Shawn Kovalchick)
>  20. Re: Old state information randomly appearing (Shawn Kovalchick)
>  21. Re: no newlines in notification emails ? (SCHAER Frederic)
>  22. Re: Old state information randomly appearing (Marc Powell)
>  23. Re: Old state information randomly appearing (Shawn Kovalchick)
>  24. Monitoring a process (Jerad Riggin)
>  25. Were can I find the check_snmp plugin ([EMAIL PROTECTED])
>
>
> --
>
> Message: 1
> Date: Mon, 12 Nov 2007 15:15:40 -0600
> From: "Jerad Riggin" <[EMAIL PROTECTED]>
> Subject: [Nagios-users] Nagios time format
> To: nagios-users@lists.sourceforge.net
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Is there a way to change the time format that nagios uses?  CST would
> make the logs easier to read.
>
>
>
> --
>
> Message: 2
> Date: Mon, 12 Nov 2007 15:24:05 -0600
> From: "Marc Powell" <[EMAIL PROTECTED]>
> Subject: Re: [Nagios-users] Nagios time format
> To: 
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="US-ASCII"
>
>
>
>> -Original Message-
>> From: [EMAIL PROTECTED] [mailto:nagios-users-
>> [EMAIL PROTECTED] On Behalf Of Jerad Riggin
>> Sent: Monday, November 12, 2007 3:16 PM
>> To: nagios-users@lists.sourceforge.net
>> Subject: [Nagios-users] Nagios time format
>>
>> Is there a way to change the time format that nagios uses?  CST would
>> make the logs easier to read.
>
> Not within the logfiles themselves (and you don't want to change them)
> but this FAQ covers a couple of different ways to display them with
> localtime -- http://www.nagios.org/faqs/viewfaq.php?faq_id=70
>
> --
> Marc
>
>
>
>
> --
>
> Message: 3
> Date: Mon, 12 Nov 2007 13:24:53 -0800
> From: GT4NE1 <[EMAIL PROTECTED]>
> Subject: Re: [Nagios-users] Two instances of ndo2db running...
> To: "Valdinger, Stephen (DOV, MSX)" <[EMAIL PROTECTED]>
> Cc: Patrick Morris <[EMAIL PROTECTED]>,
> nagios-users@lists.sourceforge.net
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Okay, maybe you are right.
>
> I just rechecked my database and their are recent entries in there.
>
> Sorry and thanks.
>
> -GT
>
> On 11/12/07, Valdinger, Stephen (DOV, MSX) <[EMAIL PROTECTED]> wrote:
>> This is correct, I just verified to make sure that mine behaves the same
>> way, and alas, it does.
>>
>>
>>
>> -Original Message-
>> From: Patrick Morris [mailto:[EMAIL PROTECTED]
>> Sent: Monday, November 12, 2007 2:48 PM
>> T

Re: [Nagios-users] Can Nagios implement with Expect to automate taskswhen issues arise?

2007-11-14 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Patrick M.
> Sent: Wednesday, November 14, 2007 10:28 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Can Nagios implement with Expect to automate
> taskswhen issues arise?
> 
> Hi all,
> 
> I just learned what Expect was and wrote a few scripts to automate
> certain tasks around the office, and now I'm wondering if Expect can
be
> used in conjunction with Nagios.  Is this possible?
> 
> Example: One of our servers go down at least twice a day, and we know
> it's problematic.  We connect to the power strip and recycle the power
> on the port that machine is plugged in.  I'd like to use Expect to
> automate this when Nagios notices it is down.
> 
> Has anyone else implemented something similar to what I'm describing?

Yes, certainly doable. It's an Event Handler for nagios. It's a script
that can be run when a host/service changes state. That script can be
written in sh, bash, perl, expect, ruby, whatever... As long as you can
script an action to take and run that as the nagios user, nagios can
automatically run it when needed. Take a look at the Event Handler
documentation for examples.

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Can Nagios implement with Expect to automate tasks when issues arise?

2007-11-14 Thread Patrick M.
Hi all,

I just learned what Expect was and wrote a few scripts to automate 
certain tasks around the office, and now I'm wondering if Expect can be 
used in conjunction with Nagios.  Is this possible? 

Example: One of our servers go down at least twice a day, and we know 
it's problematic.  We connect to the power strip and recycle the power 
on the port that machine is plugged in.  I'd like to use Expect to 
automate this when Nagios notices it is down.

Has anyone else implemented something similar to what I'm describing?

Thanks in advance.



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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_http finding string

2007-11-14 Thread Hari Sekhon
add $ARG1$ to the end of the command_line $USER1$/.   line in 
command.cfg.

-h

Hari Sekhon



Leandro Silva wrote:
> Hi
>  
> IŽm using nagios version 2.10 and trying to determine de disponibility 
> of my website using check_http to find a string in a url.
> If i execute this command in the prompt:
>  //usr/local/nagios/libexec/check_http -H 
> //www.mywebsite.com.br/ / -u 
> /internet/principal.jsp -s "String to find"/
> i get:
> /HTTP OK HTTP/1.1 200 OK - 1.805 second response time 
> |time=1.804832s;;;0.00 size=20593B;;;0/
>  
> and if i change the string i get:
> /HTTP CRITICAL - string not found|time=1.835345s;;;0.00 
> size=20593B;;;0/
>  
>  
> So I put in the service.cfg:
>  
> /define service{/
> /use website-service/
> /host_name internet/
> /service_description HTTP/
> /check_command check_http!-u /internet/principal.jsp -s "String to 
> find"/
> /}/
>  
> and I have in the nagios page the service status, having the string in 
> the page or not:
>  
> /Status Information:HTTP OK HTTP/1.1 200 OK - 369 bytes in 0.005 
> seconds /
> /Performance Data:time=0.005401s;;;0.00 size=369B;;;0/
>  
> In the command.cfg I have:
> /define command{/
> /command_name check_http/
> /command_line $USER1$/check_http -H $HOSTADDRESS$/
> /}/
>  
> Someone can help me?
>  
> Leandro
> 
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> 
>
> ___
> 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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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_http finding string

2007-11-14 Thread Leandro Silva
Hi

I´m using nagios version 2.10 and trying to determine de disponibility of my 
website using check_http to find a string in a url.
If i execute this command in the prompt:
 /usr/local/nagios/libexec/check_http -H www.mywebsite.com.br -u 
/internet/principal.jsp -s "String to find"
i get:
HTTP OK HTTP/1.1 200 OK - 1.805 second response time 
|time=1.804832s;;;0.00 size=20593B;;;0

and if i change the string i get:
HTTP CRITICAL - string not found|time=1.835345s;;;0.00 
size=20593B;;;0


So I put in the service.cfg:

define service{
use website-service
host_name internet
service_description HTTP
check_command check_http!-u /internet/principal.jsp -s "String to find"
}

and I have in the nagios page the service status, having the string in the page 
or not:

Status Information:HTTP OK HTTP/1.1 200 OK - 369 bytes in 0.005 seconds 
Performance Data:time=0.005401s;;;0.00 size=369B;;;0

In the command.cfg I have:
define command{
command_name check_http
command_line $USER1$/check_http -H $HOSTADDRESS$
}

Someone can help me?

Leandro-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
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] submit_check_result always critical

2007-11-14 Thread Robert Gil
The setup is as follows:

1 nagios server in each datacenter would send passive check results to a
central server in the NOC. Right now I am testing on two servers
initially. Both servers are in the same datacenter. Both are running the
same versions of nagios and plugins. 

Nagios01: Central Monitoring Server. Mainly just catching passive
results, displaying the dashboard, and sending notifications.

Nagios02: Distributed nagios server

Configuration:

Nagios02 has the check command defined as follows.

define command{
command_namesubmit_check_result
command_line
/usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$
'$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$'
}

In nagios.cfg

obsess_over_services=1
ocsp_command=submit_check_result

In the submit_check_result script, the print line is as follows.

/usr/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" |
/usr/local/nagios/bin/send_nsca 10.0.254.248 -c
/usr/local/nagios/etc/send_nsca.cfg

In Nagios01 it is set up to accept passive checks. And they do come in,
but are always critical and with the previous error of "No Output!"




The checks from the distributed server (02) do work when they are run
from the command line.

Im not sure if im missing something or the implementation is being
confused in some way.

Thanks,

Rob

-Original Message-
From: Thomas Guyot-Sionnest [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 14, 2007 7:55 AM
To: Robert Gil
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] submit_check_result always critical

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13/11/07 10:26 PM, Robert Gil wrote:
> Getting a similar error. Still critical every time.
> 
> 
> Nov 13 22:16:53 SERVER nagios: EXTERNAL COMMAND:
> PROCESS_SERVICE_CHECK_RESULT;rem5;NTP;2;(No output!)
> Nov 13 22:17:02 SERVER nsca[10294]: Handling the connection...
> Nov 13 22:17:03 SERVER nsca[10294]: SERVICE CHECK -> Host Name:
'rem5',
> Service Description: 'Time', Return Code: '2', Output: '(No output!)'
> Nov 13 22:17:03 SERVER nsca[10294]: End of connection...
> Nov 13 22:17:03 SERVER nagios: EXTERNAL COMMAND:
> PROCESS_SERVICE_CHECK_RESULT;rem5;Time;2;(No output!)
> 
> 
> define command{
> command_namesubmit_check_result
> command_line
> /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$
> '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$'
> }

I'm not sure if you got it right. As I understand it your nagios sends
the current check result back to itself, so it's obvious the state never
change.

If you want to do active monitoring you should use an active check, and
if you want to do passive monitoring the command should run on the
remote host (ex. from crontab) and use send_nsca to report back to
nagios (in that case you should have active checks disabled on the
service, and eventually freshness checking)

If you're trying to do something else then please explain.

Thanks,

Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHOvAa6dZ+Kt5BchYRAtPwAJ4s7/758uxUjEiYkjsSnRhF0rMgJQCfUqob
38LblcL52iOPeqrJtRRbhoE=
=oCBq
-END PGP SIGNATURE-



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Authentication question

2007-11-14 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Palle L Jensen
> Sent: Wednesday, November 14, 2007 8:42 AM
> To: Nagios Users
> Subject: Re: [Nagios-users] Authentication question
> 
> Thanks Marc for your quick response,
> 
> I've tried a few variations and the result is
> I don't get the logon window (which Is good, we don't want the logon
> window), but I can still not execute the cgi commands.
> 
> I changed these sections in the cgi.cfg
> use_authentication=0 (tried both 0 and 1)

This should be 1.

> default_user_name=guest (enabled)

This is fine.

> authorized_for _system_command=* (tried both * and root,nagios,guest)

This only says that anyone can shutdown or restart nagios or change it
from active to standby. You want more than that. You'll want to look at
all the authorized_for_* settings in cgi.cfg, but specifically --

authorized_for_all_services
authorized_for_all_hosts
authorized_for_all_service_commands
authorized_for_all_host_commands

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] LONGDATETIME return $

2007-11-14 Thread Sylvain Viollat

Hi,

sorry for the delay in my answer. After checking (again and again) my settings,
it appear that the *notify_by* commands were define twice... After modifying my
settings, everything works just fine.

Thanks for your help.

Regards,
Sylvain.

On Fri, 9 Nov 2007 09:54:01 -0600, "Marc Powell" <[EMAIL PROTECTED]> wrote:
> Are you _sure_ this is the notification command being used? The reason I
> ask is that you appear to be using the macro correctly but this is an
> issue that has only ever been seen when the wrong macro is used (i.e.
> $DATETIME$ from nagios-1.x). For some reason I'm under the impression
> that the debian packages are shipped with incorrect macros used. Did you
> have to change them? Did you restart nagios after and verify that there
> is only one nagios daemon running?
>
> --
> Marc
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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_dns strange error

2007-11-14 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Sekhar
> Sent: Wednesday, November 14, 2007 5:24 AM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] check_dns strange error
> 
> Hi Guys,
> 
> I have nagios 1.3 server which doesn't have check_dns plugin so i have
> copied from the new plugins package when i try to test
> 
> ./check_dns -H www.google.com -S 66.249.91.103
> 
> i am getting the following error
> 
> DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with no
> address
> 
> my server nslookup is working and the permissions and owner of
check_dns

check_dns is specifically compiled to work with the nslookup output on
the machine it was compiled on. It appears that your nslookup output is
different than the nslookup output on the machine check_dns was compiled
on. I'd recommend compiling the plugins on the machine you intend to run
them on or compile/copy from an identical architecture/OS version.

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Authentication question

2007-11-14 Thread Palle L Jensen
Thanks Marc for your quick response,

I've tried a few variations and the result is
I don't get the logon window (which Is good, we don't want the logon
window), but I can still not execute the cgi commands.

I changed these sections in the cgi.cfg
use_authentication=0 (tried both 0 and 1)
default_user_name=guest (enabled)
authorized_for _system_command=* (tried both * and root,nagios,guest)


nagios.conf looks like this:

ScriptAlias /nagios/cgi-bin /usr/share/nagios/cgi 
   Options ExecCGI
   AllowOverride None
   Order allow,deny
   Allow from all


Alias /nagios /usr/share/nagios

   Options None
   AllowOverride None
   Order allow,deny
   Allow from all


This is what we are trying to achieve:
- No userlogon.
- Able to use all cgi commands in Nagios. (full admin rights, views, execute
commands)

Thanks,
Palle


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of Palle L Jensen
> Sent: Tuesday, November 13, 2007 3:11 PM
> To: Nagios Users
> Subject: [Nagios-users] Authentication question
> 
> Hi All,
> 
> 
> 
> We have it setup to use login name and password in order to see Nagios
Web
> interface, and I want to remove that and then still be able to execute
the
> cgi commands.
> 
> Is it possible to remove the authentication and still be able to use
the
> Cgi commands in Nagios?

See the default_user_name directive in cgi.cfg.

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] submit_check_result always critical

2007-11-14 Thread Marc Powell


> -Original Message-
> From: Robert Gil [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, November 13, 2007 9:27 PM
> To: Marc Powell; nagios-users@lists.sourceforge.net
> Subject: RE: [Nagios-users] submit_check_result always critical
> 
> Getting a similar error. Still critical every time.

That's what you're sending. You shouldn't expect something different
than what you send.
 
> Nov 13 22:16:53 SERVER nagios: EXTERNAL COMMAND:
> PROCESS_SERVICE_CHECK_RESULT;rem5;NTP;2;(No output!)
> Nov 13 22:17:02 SERVER nsca[10294]: Handling the connection...

You send --

> Nov 13 22:17:03 SERVER nsca[10294]: SERVICE CHECK -> Host Name:
'rem5',
> Service Description: 'Time', Return Code: '2', Output: '(No output!)'

Return Code: 2 == CRITICAL
Output from the plugin == '(No output!)'

In this case this means that the distributed nagios server didn't
receive any output from the plugin it ran. Looks to me like the plugin
being executed before it's results are sent via NSCA is failing.

--
Marc

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] unsubscribe

2007-11-14 Thread Bennie B. Hall
 

 

Bennie Hall

Technology Specialist

Melissa ISD

 

 

 

 

 

<>-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
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] Plugin for monitoring FreeBSD for updates (like check_apt)?

2007-11-14 Thread Matthias Kellermann
Hi list,

I've made some progress with a Nagios Plugin for the FreeBSD Ports.

It's called check_ports for now and the first version can be found here:
http://dl.adminlife.net/check_ports

Please don't blame me for my coding style - I'm not a shell hacker ;)

The plugin does the following:
If you start it without a parameter it will check the host system for
updates via pkg_version and security problems via portaudit (if it exists).
If you start it with the name of a jail as parameter it will check the
jail for updates and security problems. This is done via jexec so you
need sudo installed if you call the Nagios plugin with an unprivileged
user.

Some problems still exist:
- sometimes there is an plugin timeout in Nagios, because calling
pkg_version can be time consuming
- it is not the best idea to give an unprivileged superuser access to
jexec without password

The plugin works for me at the moment. Hope it will work for you, too. I
would be happy if you have any suggestions or improvements.

Matthias

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] submit_check_result always critical

2007-11-14 Thread Thomas Guyot-Sionnest
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 13/11/07 10:26 PM, Robert Gil wrote:
> Getting a similar error. Still critical every time.
> 
> 
> Nov 13 22:16:53 SERVER nagios: EXTERNAL COMMAND:
> PROCESS_SERVICE_CHECK_RESULT;rem5;NTP;2;(No output!)
> Nov 13 22:17:02 SERVER nsca[10294]: Handling the connection...
> Nov 13 22:17:03 SERVER nsca[10294]: SERVICE CHECK -> Host Name: 'rem5',
> Service Description: 'Time', Return Code: '2', Output: '(No output!)'
> Nov 13 22:17:03 SERVER nsca[10294]: End of connection...
> Nov 13 22:17:03 SERVER nagios: EXTERNAL COMMAND:
> PROCESS_SERVICE_CHECK_RESULT;rem5;Time;2;(No output!)
> 
> 
> define command{
> command_namesubmit_check_result
> command_line
> /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$
> '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$'
> }

I'm not sure if you got it right. As I understand it your nagios sends
the current check result back to itself, so it's obvious the state never
change.

If you want to do active monitoring you should use an active check, and
if you want to do passive monitoring the command should run on the
remote host (ex. from crontab) and use send_nsca to report back to
nagios (in that case you should have active checks disabled on the
service, and eventually freshness checking)

If you're trying to do something else then please explain.

Thanks,

Thomas
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHOvAa6dZ+Kt5BchYRAtPwAJ4s7/758uxUjEiYkjsSnRhF0rMgJQCfUqob
38LblcL52iOPeqrJtRRbhoE=
=oCBq
-END PGP SIGNATURE-

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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_dns strange error

2007-11-14 Thread Sekhar
Hi Guys,

I have nagios 1.3 server which doesn't have check_dns plugin so i have copied 
from the new plugins package when i try to test

./check_dns -H www.google.com -S 66.249.91.103

i am getting the following error

DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with no address

my server nslookup is working and the permissions and owner of check_dns plugin 
is fine and my resolve.conf file is having correct dns servers.
Could some one help me how to fix this error.Infact i am getting the same error 
for any host notly google

Thnaks for your time


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
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] Regarding check_oracle

2007-11-14 Thread Sunny Bhatheja
I did this , whn i do this echo $ORACLE_HOME thn it gives me correct 
output..



[EMAIL PROTECTED] wrote:
>
> When you run this command from the command line it is using the 
> environmental variables setup in your .profile or .login I am not 
> familiar with the check_oracle but you will need to set the 
> environmental variables for the ID running the query.
>
> Joe Petrucci
> Cell : 724-462-0443
>
>
>
> *Sunny Bhatheja <[EMAIL PROTECTED]>*
> Sent by: [EMAIL PROTECTED]
>
> 11/14/2007 04:41 AM
>
>   
> To
>   nagios-users@lists.sourceforge.net
> cc
>   
> Subject
>   [Nagios-users] Regarding check_oracle
>
>
>
>   
>
>
>
>
>
> Dear All,
>I m trying to monitor using check_oracle
> plugin.But whn i checked my oracle from Plugin like ./check_oracle --tns
> orcl and it gives me ok status but whn i used this by putting entry in
> hosts, services and chkcommands thn if gives like Oracle Home is not set
> for sid.
>
>
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> 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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Regarding check_oracle

2007-11-14 Thread joseph . petrucci
When you run this command from the command line it is using the 
environmental variables setup in your .profile or .login I am not familiar 
with the check_oracle but you will need to set the environmental variables 
for the ID running the query.

Joe Petrucci 
Cell : 724-462-0443




Sunny Bhatheja <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
11/14/2007 04:41 AM

To
nagios-users@lists.sourceforge.net
cc

Subject
[Nagios-users] Regarding check_oracle






Dear All,
I m trying to monitor using check_oracle 
plugin.But whn i checked my oracle from Plugin like ./check_oracle --tns 
orcl and it gives me ok status but whn i used this by putting entry in 
hosts, services and chkcommands thn if gives like Oracle Home is not set 
for sid.
 
 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/___
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] Regarding check_oracle

2007-11-14 Thread Sunny Bhatheja
I m able to get the Output from oracle_home whn it is running from 
oracle or root users but whn i  manually run the check_oracle plugin by 
nagios user it gives tht oracle_home is not set. i did this bcz nagios 
works with nagios user. I also set the  ORACLE_HOME for nagios users.

Hari Sekhon wrote:
> Yes this is common, make sure the Nagios user has $ORACLE_HOME set in 
> the environment to your locally installed oracle bits like sqlplus 
> which this depends on.
>
> A cheap cheat would just be to modify the script and hardcode it at 
> the top (but then beware when you upgrade the plugins that this will 
> revert to broken so if doing that you may want to copy the plugin out 
> and keep it separate).
>
> -h
>
> Hari Sekhon
>
>
>
> Sunny Bhatheja wrote:
>> Dear All,
>> I m trying to monitor using check_oracle 
>> plugin.But whn i checked my oracle from Plugin like ./check_oracle 
>> --tns orcl and it gives me ok status but whn i used this by putting 
>> entry in hosts, services and chkcommands thn if gives like Oracle 
>> Home is not set for sid.
>>   
>>
>> - 
>>
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> ___
>> 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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Can NAGIOS check HOST via PROXY ?

2007-11-14 Thread Hari Sekhon
I don't know about the proxying thing at this time, I suspect it will 
not work or not diversely enough to be really useful, but off the top of 
my head, you can do this the way that has been previously suggested 
which is to use check_nrpe and put the plugins on the remote host with 
an nrpe definition of something like

command[check_http_webserver1]=/path/to/check_http -H webserver1 
blah blah...
.."".._webserver2"".""..webserver2blah.

or

command[check_mysql_databaseserver1]=/path/to/check_mysql -H 
databaseserver1 blah blah...

and then from your nagios server do

check_nrpe -H proxy_host -c check_http_webserver

or

check_nrpe -H proxy_host -c check_mysql_databaseserver1

which should do exactly what you want, returns the condition of 
webserver1 or databaseserver1, the output and exit code as per standard 
Nagios remote checks.

-h

Hari Sekhon



PiCo wrote:
> Hi All
> Still I'm looking for a solution to my problem. :-(
>
> I have to reach some (most of all) host via a proxy.
>
>
> Concerning the connection at OS level.. I use FREECAP (on windows) and so  
> a SOCKS
> PROXY...
>
> Somobody knows if is possible to config nagios to run checks  
> "proxyfied"... maybe using proxychain  
> (http://packages.ubuntu.com/edgy/net/proxychains)
>
> Any suggestions ??
>
>
>   

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] ANNOUNCE check_hpasm-1.6.1

2007-11-14 Thread Robin Helgelin
On Nov 8, 2007 3:57 PM, Gerhard Lausser <[EMAIL PROTECTED]> wrote:
> Hi,
>
> for those of you monitoring HPC Proliant hardware with the check_hpasm
> plugin. I fixed a bug which could lead to overseen failed fans. Please find
> the new release under http://www.consol.de/opensource/nagios/check-hpasm/

You (or anybody else) don't happen to have nagiosgraph map entries for
the performance data?

-- 
regards,
Robin

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Can NAGIOS check HOST via PROXY ?

2007-11-14 Thread PiCo

Hi All
Still I'm looking for a solution to my problem. :-(

I have to reach some (most of all) host via a proxy.


Concerning the connection at OS level.. I use FREECAP (on windows) and so  
a SOCKS
PROXY...

Somobody knows if is possible to config nagios to run checks  
"proxyfied"... maybe using proxychain  
(http://packages.ubuntu.com/edgy/net/proxychains)

Any suggestions ??


-- 
,,,
  /'^'\
 ( o o )
oOOO--(_)--OOOo--
   Pierfrancesco Cocco
   EMail: [EMAIL PROTECTED]
   Web: www.cocco.biz
   ICQ#: 105570291
   SkypeID: cocco.biz
   Tel.: +39 335 1234 475
   Fax.: +39 06 233 2401 88   .oooO
  (   )   Oooo.
--\ ((   )---
\_)) /
  (_/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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.log format

2007-11-14 Thread Duncan Ferguson

On 13 Nov 2007, at 16:32, Kuang-Chun Cheng wrote:

> Hi,
>
> I want to do post-analysis of nagios.log and save the filtered  
> result to DB.
>
[snip]

> Could someone tell me what's the fields means ?
> What kind of message will be log into nagios.log.   Sometime I found
> "SERVICE ALERT" message ...
> any complete list existed for possible message ?  Thanks


You should be able to glean some information form the external  
commands reference, as well as the source code

http://www.nagios.org/developerinfo/externalcommands/commandlist.php

   Duncs


-- 
Duncan Ferguson

http://www.altinity.com
Tel: +44 (0)870 787 9243
Fax: +44 (0)845 280 1725
Skype: duncan_j_ferguson
MSN: [EMAIL PROTECTED]



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Regarding check_oracle

2007-11-14 Thread Giles Coochey
> Dear All,
> I m trying to monitor using check_oracle
> plugin.But whn i checked my oracle from Plugin like ./check_oracle
--tns
> orcl and it gives me ok status but whn i used this by putting entry in
> hosts, services and chkcommands thn if gives like Oracle Home is not
set
> for sid.
> 

Checkout
http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg05446.
html


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Regarding check_oracle

2007-11-14 Thread Hari Sekhon
Yes this is common, make sure the Nagios user has $ORACLE_HOME set in 
the environment to your locally installed oracle bits like sqlplus which 
this depends on.

A cheap cheat would just be to modify the script and hardcode it at the 
top (but then beware when you upgrade the plugins that this will revert 
to broken so if doing that you may want to copy the plugin out and keep 
it separate).

-h

Hari Sekhon



Sunny Bhatheja wrote:
> Dear All,
> I m trying to monitor using check_oracle 
> plugin.But whn i checked my oracle from Plugin like ./check_oracle --tns 
> orcl and it gives me ok status but whn i used this by putting entry in 
> hosts, services and chkcommands thn if gives like Oracle Home is not set 
> for sid.
>  
>  
>
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> ___
> 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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Regarding check_oracle

2007-11-14 Thread Sunny Bhatheja
Dear All,
I m trying to monitor using check_oracle 
plugin.But whn i checked my oracle from Plugin like ./check_oracle --tns 
orcl and it gives me ok status but whn i used this by putting entry in 
hosts, services and chkcommands thn if gives like Oracle Home is not set 
for sid.
 
 

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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 a process

2007-11-14 Thread Hari Sekhon
One thing I notice in your configurations, apart from the massive retry 
interval is that you are inheriting max check attempts of 15 from the 
leadlander template. This means you have to wait 60 minutes for 1st 
failure and then 14* 6 hours for the 15th failure on which it goes hard 
critical and alerts you.

Change your check intervals and/or max check attempts for this service 
in order to make it go into a hard state and then you will get your 
notification.

-h

Hari Sekhon



Jerad Riggin wrote:
> Just to clarify
>
> normal_check_interval   60
> retry_check_interval360
> notification_interval   360
>
> This means that it checks every hour.  After it fails the first time,
> it will wait 6 hours to retry, if it is still not OK after 6 hours, it
> notifies and begins to notify every 6 hours until it's ok.
>
> On Nov 13, 2007 3:00 PM, Rich Sasko <[EMAIL PROTECTED]> wrote:
>   
>> It only notifies after it enters a hard state which is usually after the
>> third try.
>>
>> Richard Sasko
>> Niagara Lasalle Corp
>> Phone: (219) 853-6272
>> Mobile: (219) 484-5617
>> E-mail: [EMAIL PROTECTED]
>>
>>
>>
>> -Original Message-
>> From: Jerad Riggin [mailto:[EMAIL PROTECTED]
>> Sent: Tuesday, November 13, 2007 2:54 PM
>> To: Rich Sasko
>> Subject: Re: [Nagios-users] Monitoring a process
>>
>> Thanks for the response.  This is what I did just a bit ago.  I have
>> it successfully monitoring outlook.exe, however no e-mails are being
>> sent when it's critical.
>>
>> Here is what I have as the service definition:
>>
>> define service{
>>use leadlander
>>host_name   leadlandervm
>>service_description Outlook Process
>>contact_groups  bo,mis
>>notification_optionsw,u,c,r
>>check_command   check_nt2!PROCSTATE!-d SHOWALL -l
>> outlook.exe
>>}
>>
>> Here is what I have for the leadlander template
>>
>> define service{
>>use generic-service
>>nameleadlander
>>is_volatile 0
>>check_period24x7
>>max_check_attempts  15
>>normal_check_interval   20
>>retry_check_interval20
>>notification_interval   20
>>notification_period 24x7
>>register0
>>}
>>
>> Does it only notify after the first retry failure, or should it notify
>> as soon as the service is critical?  Any ideas?
>>
>>
>> On Nov 13, 2007 2:39 PM, Rich Sasko <[EMAIL PROTECTED]> wrote:
>> 
>>> Jerad Riggin  gmail.com> writes:
>>>
>>>   
 Would it be possible using Nsclient++ to monitor for a process name?
 We need to make sure Outlook.exe is running on the server and if it
 isn't, send out notifications.

 Thanks,

 Jerad


 
>> 
>> -
>> 
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a
 
>> browser.
>> 
 Download your FREE copy of Splunk now >> http://get.splunk.com/
 ___
 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
>> 
 
>>> Jerad,
>>>
>>> We have the NSClient++ running on our Windows servers and the
>>>   
>> following
>> 
>>> service check is an example of how we are monitoring services from the
>>>   
>> nagios
>> 
>>> server:
>>>
>>> define service{
>>> use   generic-service
>>> host_name email server
>>> service_description   explorer
>>> check_command check_nt!PROCSTATE!-d SHOWALL -l
>>>   
>> explorer.exe
>> 
>>> }
>>>
>>> It is actually in one of the sample config files, you should just have
>>>   
>> to tell
>> 
>>> it what process you want to watch.
>>>
>>>
>>>
>>>   
>> 
>> -
>> 
>>> This SF.net email is sponsored by: Splunk Inc.
>>> Still grepping through log files to find problems?  Stop.
>>> Now Search log events and configuration files using AJAX and a
>>>   
>> browser.
>> 
>>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>>> ___
>>> Nagios-users mailing list
>>> Nagios-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/nag

Re: [Nagios-users] Where is Nagios Core Dump file ?

2007-11-14 Thread Andreas Ericsson
Yana Millis wrote:
> Hello,
> nagios crashes on me with an error:
> Starting nagios:/etc/init.d/nagios: line 121: 28073 Segmentation fault
>  $NagiosBin -d $NagiosCfgFile
> 
> when i try to run it with ndoUtils.
> Can somebody please tell me where exactly is the core dump file,



There is no coredump, otherwise it would have read
Segmentation fault (core dumped)

Make sure you have your system configured to allow core dumps. Usually
this is done by saying

ulimit -c unlimited

in your /etc/profile or other equivalent shell initializer. You can also
type it on the prompt before you run nagios' init-script.

> what is that file called,

Usually just 'core', although it could be 'core.' where  is the
process id of the process that caused the coredump.

> and how
> to open it in a humanly-readable format ?
> 

Use gdb.
$ gdb /path/to/nagios core
gdb> bt

Send the output of the "bt" command from gdb to
[EMAIL PROTECTED] along with nagios and ndoutils version
info and someone will look into it. You'll have to subscribe to nagis-devel
before you can post there. If you don't wish to do so, send your email here
and I'll make sure it reaches the right people.

-- 
Andreas Ericsson   [EMAIL PROTECTED]
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Were can I find the check_snmp plugin

2007-11-14 Thread Giles Coochey


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: 13 November 2007 22:14
> To: Hugo van der Kooij
> Cc: [EMAIL PROTECTED]; Nagios Users
Mailinglist
> Subject: Re: [Nagios-users] Were can I find the check_snmp plugin
> 
> Please do not apply windows procedures in a unix environment. Work the
> problem. Solve it step by step. Pay attention to the exact responses
and
> the exact commands.HOW AM CAN I TELL 

That's about as far as anyone will read your last post.

I am seriously beginning to wonder whether you are a troll.

You will need to go back to square one:
http://www.catb.org/~esr/faqs/smart-questions.html

Once you've read and properly absorbed then proceed to square two:
http://tldp.org

And finally, once you've spent a few years on that, with test
environments and the like, proceed to:
http://www.nagios.org/

If you can't be bothered with the above steps then you have two choices:

(a) Use another product.
(b) Get someone else to do it for you.

Please bear in mind that the advice you get here is purely voluntary and
most people here are simply here to gain information from discussion and
pass their experiences on to others. In the short time that you've
participated on this list, you've simply posted demands for information
repeatedly without ever properly communicating exactly what your problem
has been. I would imagine that many have already set up mail filters to
/dev/null your email address.

I am not personally attacking you here, but I feel that there is a
shared consensus.

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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] Where is Nagios Core Dump file ?

2007-11-14 Thread Yana Millis
Hello,
nagios crashes on me with an error:
Starting nagios:/etc/init.d/nagios: line 121: 28073 Segmentation fault
 $NagiosBin -d $NagiosCfgFile

when i try to run it with ndoUtils.
Can somebody please tell me where exactly is the core dump file,
what is that file called, and how
to open it in a humanly-readable format ?

thanks alot,

--yana

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
___
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