Re: [Nagios-users] Nagios full copied reserve server

2008-01-29 Thread Peter Hallam
On Tue, 29 Jan, 11:25 -0500 Scott Sanders wrote:
> I was able to create a true failover (hot-spare) setup using Linux-HA and
> DRBD. The two machines use a primary/secondary DRBD drive setup for
> /usr/local/nagios, /var/spool/mqueue, and /var/spool/clientmqueue. Linux-HA
> manages the virtual IP for nagios as well as bringing nagios and sendmail
> services up and down during a failover. This works very well, and because
> the mail spools are sync'ed not even unsent notifications are lost.
> 
> I believe there are some previous threads about this setup, but if not I'd
> be happy to write up a HOW-TO.

I'd be interested in seeing how you set that up, please go ahead and write up a 
HOWTO.  Does the hot-spare alert if the master goes down?

Regards,
Peter

-
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] 2 similar services for different contact groups?

2008-01-29 Thread Max
On Jan 29, 2008 4:21 PM, seb <[EMAIL PROTECTED]> wrote:
> > Do I need 2 similar service entries in order to have different contact
> > groups  for warning and critical?
>
> i'd rather play with host_notification_options and
> service_notification_options : make one contact
> receive only warnings and the other critical alerts, and
> but both of them in the same contact group

That is a nice solution, with Nagios 3 you could also make one contact
group receive warnings via the service definition (or a service
escalation) and then use a serviceescalation for the contact [group]
that is to receive critical notifications.

- Max

-
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_nt: Could not parse arguments

2008-01-29 Thread Anthony Montibello
Hi,

To help clarify, -s is for the password while $ARG1$ was missing from the
orriginal command causing the missing ARGUMENT error
THe Hostname is needed since the plugin does not know what host it is
without that.
the port in this case is needed since check_nt.c compiles with the default
port of 1248
the -l is not needed since it is in the check command

define command{
command_namecheck_nt_cpu
$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s $USER7$  $ARG1$
}

define service{
   use  generic-service
   host_namehost001
   service_description  CPU load
   servicegroupsload
   check_commandcheck_nt_cpu!CPULOAD!-l 5,80,90
   }

Tony (Author of NC_NEt)


On Jan 29, 2008 2:51 PM, <[EMAIL PROTECTED]> wrote:

>
> Should your command be
>
> $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v CPULOAD -l $ARG1$
>
> check_nt -H $HOSTADDRESS$ -p 12489 -s $USER7$
>
>  --
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Palle L Jensen
> *Sent:* Tuesday, January 29, 2008 10:32 PM
> *To:* Nagios Users
> *Subject:* [Nagios-users] check_nt: Could not parse arguments
>
>
>
> Morning all,
>
>
>
> I am having an issue with adding cpuload monitoring on windows machines.
>
> I know there are no issues on the windows side since I have other services
> being monitored with no problems.
>
> Also the error message tells me the arguments that are specified are not
> correct.
>
> I have google'd, and checked the Nagios documentation and tried different
> ways, but non works.
>
> And this is were I am at now. Could anyone look this over and tell me what
> is wrong?
>
> - Error: check_nt: Could not parse arguments
>
>
>
> - Check command definition:
>
>
>
> define command{
>
> command_namecheck_nt_cpu
>
> command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s
> $USER7$
>
>
>
>
>
> - Service definition:
>
>
>
> define service{
>
>use  generic-service
>
>host_namehost001
>
>service_description  CPU load
>
>servicegroupsload
>
>check_commandcheck_nt_cpu!CPULOAD! -l 5,80,90
>
>}
>
>
> Thanks,
>
> Palle
>
>
>
>
>
> -
> 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] Error: Could not read object configuration data!

2008-01-29 Thread Marc Powell


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of doug fink
> Sent: Tuesday, January 29, 2008 5:08 PM
> To: nagios-users@lists.sourceforge.net
> Subject: [Nagios-users] Error: Could not read object configuration
data!
> 
> 
> FAQ ID F0332 describes the problem I am having, but I do not
understand
> the meaning or how to check/verify the third item (3.)
> Specifically I do not understand  (default text file or template-based
> file)  Are these separate configure options?

It's a holdover from the Netsaint/Nagios-1 days. You're using
template-based.
 
> I am running Red Hat Enterprise Linux ES release 32.4.21-9.EL,
Nagios
> 2.10, Pluggins  1.4.11, and gd 2.0.36.

Is SELinux enabled? That could be a problem if you haven't given proper
access to the nagios files from httpd.


> 1. nagios -v looks good. ( Total Warnings: 0 Total Errors:   0 )
> 2. log file shows   ( no errors )
> [1201628088] Nagios 2.10 starting... (PID=2331)
> [1201628088] LOG VERSION: 2.0
> [1201628088] Finished daemonizing... (New PID=2332)
> 
> ( daemon is running.)
> nagios2332 1  0 11:34 ?00:00:00
> /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
> 
> 3.   ?

PROFIT?!
 
> Everything seemed to install properly. The
directories/files/permissions
> all look good. I can successfully run the check_ping and check_http.
I

What are the permissions on /usr/local/nagios/var/objects.cache,
status.dat and directories above. They should be such that your web
server can read them. Typically the files are 644 and 664 nagios:nagios
respectively, directories 755. Again, SELinux could be getting you here
if you have the normal file permissions set correctly. Also, does
objects.cache have content fairly closely matching your config (all
templates expanded)?

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


[Nagios-users] Error: Could not read object configuration data!

2008-01-29 Thread doug fink
FAQ ID F0332 describes the problem I am having, but I do not understand the
meaning or how to check/verify the third item (3.)
Specifically I do not understand  (default text file or template-based
file)  Are these separate configure options?

I can start over and re-configure everything, but wanted to understand if I
am missing something before doing so.
I am running Red Hat Enterprise Linux ES release 32.4.21-9.EL, Nagios
2.10, Pluggins  1.4.11, and gd 2.0.36.
--
FAQ ID F0332
Title:Error: Could not read object configuration data!

Description:When clicking on any of the links on the left hand side you get:
Error: Could not read object configuration data! Here are some things you
should check in order to resolve this error:
1. Verify configuration options using the -v command-line option to check
for errors.
2. Check the Nagios log file for messages relating to startup or status data
errors.
3. Make sure you've compiled the main program and the CGIs to use the same
object data storage options (i.e. default text file or template-based file).

--

1. nagios -v looks good. ( Total Warnings: 0 Total Errors:   0 )
2. log file shows   ( no errors )
[1201628088] Nagios 2.10 starting... (PID=2331)
[1201628088] LOG VERSION: 2.0
[1201628088] Finished daemonizing... (New PID=2332)

( daemon is running.)
nagios2332 1  0 11:34 ?00:00:00 /usr/local/nagios/bin/nagios
-d /usr/local/nagios/etc/nagios.cfg

3.   ?

Everything seemed to install properly. The directories/files/permissions all
look good. I can successfully run the check_ping and check_http. I do
recall seeing a warning in regards to gd.  I believe I read that it could be
ignored somewhere. I hope that is the case. /usr/local/lib  and
/usr/local/include exist,  and have files in them.

(gd)
./configure

(nagios)
 ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin
--with-htmurl=/nagios/ --with-nagios
-user=nagios --with-nagios-group=nagios --with-command-group=nagcmd
--with-gd-lib=/usr/local/lib --with-gd-inc=/
usr/local/include

(pluggins)
./configure --enable-redhat-pthread-workaround --prefix=/usr/local/nagios
--with-cgiurl=/nagios/cgi-bin

doug
-
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] Sun Monitoring

2008-01-29 Thread Petersen, Mark
While Sun might have a way to monitor server health, I use
check_logfiles
(http://www.nagiosexchange.org/Misc.54.0.html?&tx_netnagext_pi1%5Bp_view
%5D=538) to monitor the logs for errors more than anything.  I have
checks for power supplies, fans, SAN mounts, memory, cpu and SCSI
errors, etc. setup to monitor the server health.  I also use
check_disksuite (software RAID for Solaris,) and Check Veritas Volume
Manager for Veritas volumes.  

I use active server checks to monitor the services provided as well of
course, almost exclusively with check_by_ssh or check_http.

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Tuesday, January 29, 2008 4:09 PM
> To: 'nagios Users Mailinglist'
> Subject: Re: [Nagios-users] Sun Monitoring
> 
> Hugo van der Kooij wrote:
> > Lars Stavholm wrote:
> >> Edwin Zoeller wrote:
> >>> We are monitoring ~75 Sun Servers via Nagios. What information
> >>> would you like to know.
> >>
> >> Top down...
> >> 1. method used (nsca, nrpe, snmp) and why?
> >> 2. what specific checks are you using?
> >
> > Servers in themselves are useless pieces of junk. What you care
about
> > are the services they provide. So that is what you need to monitor.
If
> > you think about it that way you can choose whatever method allows
you
> > to monitor these services reliably.
> 
> I'd suggest that you do also need to monitor the servers themselves.
> While
> they may just be useless pieces of junk on their own, you do still
need
> them
> to run your services.  Strictly monitoring the services they provide
will
> give you a good up/down view of things but you probably want to know
when
> things are starting to go sideways so you can take corrective action
> before
> you actually reach a down state.  I don't work with Sun hardware, but
I'm
> sure Sun provides some kind of framework for monitoring some of the
> physical
> components of the system, and I'd bet dollars to doughnuts there are
> Nagios
> plugins that can take advantage of that framework  Temperature, fans,
> HD/RAID status, power supply status, etc. etc. are a very good thing
to
> keep
> an eye on if you intend to catch problems early enough to resolve
before
> actually causing downtime.
> 
> Andrew
> 
> 
>

-
> 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] notify-host-by-email - Variable problem

2008-01-29 Thread Patrick Kremer
I am running 3.0rc2. I am trying to get the variable $HOSTNOTES$ to appear in 
notify-host-by-email

This is the notify-host-by-email command definition that I changed. I added 
"Notes: $HOSTNOTES$\n\n" in the spot shown below:

# 'notify-host-by-email' command definition
define command{
command_namenotify-host-by-email
command_line/usr/bin/printf "%b" "* Nagios 
*\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: 
$HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nNotes: 
$HOSTNOTES$\n\nDate/Time: $LONGDATETIME$" | /usr/bin/mailx -s "** 
$NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$
}
The host I'm testing with contains only the word: TEST in its notes field.

define host{
use generic-router-intrust  ; Inherit default 
values from a template
host_name   intrust-bob-ds1  ; The name we're giving to 
this switch
alias   Intrust BOB T1  ; A longer name associated with the 
switch
address 66.243.142.155
notes   TEST  
icon_image  switch.gif
statusmap_image switch.gd2
hostgroups  intrust-office; Host groups this switch is 
associated with
}   

This is the debug log output:

[1201644173.199143] [032.2] [pid=30977] Raw Command: /usr/bin/printf "%b" 
"* Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: 
$HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: 
$HOSTOUTPUT$\n\nNotes: $HOSTNOTES$\n\nDate/Time: $LONGDATETIME$" | 
/usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ 
**" $CONTACTEMAIL$
[1201644173.199170] [032.2] [pid=30977] Processed Command: /usr/bin/printf "%b" 
"* Nagios *\n\nNotification Type: PROBLEM\nHost: 
intrust-bob-ds1\nState: DOWN\nAddress: 66.243.142.155\nInfo: (Host Check Timed 
Out)\n\nNotes: TEST

The problem is that the processed command gets truncated and a notification 
never gets sent. If I change the notify-host-by-email definition and replace 
$HOSTNOTES$ with another variable, $HOSTOUTPUT$ for instance, the debug log 
shows this:

[1201644289.198269] [032.2] [pid=30977] Raw Command: /usr/bin/printf "%b" 
"* Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: 
$HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: 
$HOSTOUTPUT$\n\nNotes: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$" | 
/usr/bin/mailx -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ 
**" $CONTACTEMAIL$
[1201644289.198292] [032.2] [pid=30977] Processed Command: /usr/bin/printf "%b" 
"* Nagios *\n\nNotification Type: PROBLEM\nHost: 
intrust-bob-ds1\nState: DOWN\nAddress: 66.243.142.155\nInfo: (Host Check Timed 
Out)\n\nNotes: (Host Check Timed Out)\n\nDate/Time: Tue Jan 29 16:04:49 CST 
2008" | /usr/bin/mailx -s "** PROBLEM Host Alert: intrust-bob-ds1 is DOWN **" 
[EMAIL PROTECTED]

The notification gets sent successfully.

I know I have the syntax correct because I have it working with other variables 
- it just wont work when I plug in the variable that I want: $HOSTNOTES$

I feel like I've found a bug but I really don't want to bother the developers 
if I've missed something obvious.

Has anyone else encountered this?
-
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] Sun Monitoring

2008-01-29 Thread andrew2
Hugo van der Kooij wrote:
> Lars Stavholm wrote:
>> Edwin Zoeller wrote:
>>> We are monitoring ~75 Sun Servers via Nagios. What information
>>> would you like to know.
>> 
>> Top down...
>> 1. method used (nsca, nrpe, snmp) and why?
>> 2. what specific checks are you using?
> 
> Servers in themselves are useless pieces of junk. What you care about
> are the services they provide. So that is what you need to monitor. If
> you think about it that way you can choose whatever method allows you
> to monitor these services reliably.

I'd suggest that you do also need to monitor the servers themselves.  While
they may just be useless pieces of junk on their own, you do still need them
to run your services.  Strictly monitoring the services they provide will
give you a good up/down view of things but you probably want to know when
things are starting to go sideways so you can take corrective action before
you actually reach a down state.  I don't work with Sun hardware, but I'm
sure Sun provides some kind of framework for monitoring some of the physical
components of the system, and I'd bet dollars to doughnuts there are Nagios
plugins that can take advantage of that framework  Temperature, fans,
HD/RAID status, power supply status, etc. etc. are a very good thing to keep
an eye on if you intend to catch problems early enough to resolve before
actually causing downtime.

Andrew


-
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] Sun Monitoring

2008-01-29 Thread Hugo van der Kooij
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Lars Stavholm wrote:
| Edwin Zoeller wrote:
|> We are monitoring ~75 Sun Servers via Nagios. What information would you
|> like to know.
|
| Top down...
| 1. method used (nsca, nrpe, snmp) and why?
| 2. what specific checks are you using?

Servers in themselves are useless pieces of junk. What you care about
are the services they provide. So that is what you need to monitor. If
you think about it that way you can choose whatever method allows you to
monitor these services reliably.

Hugo.

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

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

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

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

iD8DBQFHn58IBvzDRVjxmYERAvBkAJ0UQyI00d6LfYUD7zd36Tvp5vFG/ACeNokX
CiWC3sTDZf7FtJ19RaXTjgU=
=Gm3v
-END PGP SIGNATURE-

-
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] Checking for a stale NFS connection

2008-01-29 Thread Jim . Melin

Anyone have an idea on how to have nagios check for a stale NFS network 
connection?


-
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] 2 similar services for different contact groups?

2008-01-29 Thread seb
> Do I need 2 similar service entries in order to have different contact
> groups  for warning and critical?

i'd rather play with host_notification_options and
service_notification_options : make one contact
receive only warnings and the other critical alerts, and
but both of them in the same contact group


-- 
seb

-
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-3.0rc2 application/wav

2008-01-29 Thread Lars Stavholm
Hi All,

downloaded nagios-3.0rc2, installed and seems to work nicely.
However, in my Firefox browser, when looking at the nagios
web interface, I get a message saying that I should install
missing plugin for application/wav (both on Linux - Firefox
2.0.0.10 - and Windows XP - Firefox 2.0.0.11).

Where can I find such a plugin (and what's the story)?

R
/Lars


-
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] Sun Monitoring

2008-01-29 Thread Lars Stavholm
Edwin Zoeller wrote:
> We are monitoring ~75 Sun Servers via Nagios. What information would you
> like to know. 

Top down...
1. method used (nsca, nrpe, snmp) and why?
2. what specific checks are you using?

That's about it, I think

R
/L

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Lars
> Stavholm
> Sent: Tuesday, January 29, 2008 2:13 PM
> To: Brian Loe
> Cc: Nagios Users
> Subject: Re: [Nagios-users] Sun Monitoring
> 
> Brian Loe wrote:
>> Can someone monitoring Sun servers, and Sun clusters, contact me 
>> off-list for pointers and other assorted stuff... :) Thanks!
> 
> Or on-list, I'm interested too, as I'm sure others are as well.
> That's kinda' why they invented mail lists in the first place.
> /L
> 
>> Perhaps nagiosexchange should have add onto their wiki howto section 
>> by host type or something - that would be handy. Sample configs and 
>> all that.
>>
>> --
>> --- 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
> 



-
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_nt: Could not parse arguments

2008-01-29 Thread Palle L Jensen
If I am not mistaken you should not have to add the host address and port#
both in the command & service definition.

 

But thanks anyways :-)

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, January 29, 2008 2:51 PM
To: [EMAIL PROTECTED]; nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] check_nt: Could not parse arguments

 

 

Should your command be

 

$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v CPULOAD -l $ARG1$

 

check_nt -H $HOSTADDRESS$ -p 12489 -s $USER7$

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Palle L
Jensen
Sent: Tuesday, January 29, 2008 10:32 PM
To: Nagios Users
Subject: [Nagios-users] check_nt: Could not parse arguments

 

Morning all,

 

I am having an issue with adding cpuload monitoring on windows machines.

I know there are no issues on the windows side since I have other services
being monitored with no problems.

Also the error message tells me the arguments that are specified are not
correct.

I have google'd, and checked the Nagios documentation and tried different
ways, but non works.

And this is were I am at now. Could anyone look this over and tell me what
is wrong?

- Error: check_nt: Could not parse arguments

 

- Check command definition:

 

define command{

command_namecheck_nt_cpu

command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s
$USER7$

 

 

- Service definition:

 

define service{

   use  generic-service

   host_namehost001

   service_description  CPU load

   servicegroupsload

   check_commandcheck_nt_cpu!CPULOAD! -l 5,80,90

   }


Thanks,

Palle

 

 

-
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] Sun Monitoring

2008-01-29 Thread Brian Loe
On Jan 29, 2008 2:13 PM, Lars Stavholm <[EMAIL PROTECTED]> wrote:
> Brian Loe wrote:
> > Can someone monitoring Sun servers, and Sun clusters, contact me
> > off-list for pointers and other assorted stuff... :) Thanks!
>
> Or on-list, I'm interested too, as I'm sure others are as well.
> That's kinda' why they invented mail lists in the first place.
> /L


No lie, but I didn't want to deluge the list with petty, OS specific
things that might have already been covered and a Sun noob like me
might ask about in-depth. And if I found the right resource for info,
implemented it myself, then I could volunteer for the writing of that
HowTo...maybe, as time allows. :)

-
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] Sun Monitoring

2008-01-29 Thread Lars Stavholm
Brian Loe wrote:
> Can someone monitoring Sun servers, and Sun clusters, contact me
> off-list for pointers and other assorted stuff... :) Thanks!

Or on-list, I'm interested too, as I'm sure others are as well.
That's kinda' why they invented mail lists in the first place.
/L

> Perhaps nagiosexchange should have add onto their wiki howto section
> by host type or something - that would be handy. Sample configs and
> all that.
> 
> -
> 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] Does alert re-escalate when text of alertchanges?

2008-01-29 Thread Aaron M. Segura
No problem.  Happens to me all the time.  Sometimes I think I should
start writing e-mails to the list whenever I have even the smallest
problem, since, by way of including all relevant information, it
inevitably forces me into finding the solution before ever clicking
'send'. :)

On Tue, 2008-01-29 at 14:12 -0500, Jonathan Kamens wrote:
> Thank you very much for responding.  I was composing a reply with the
> configuration information you requested, and while doing so found the
> root cause of the problem -- our escalation config generation script had
> a bug in it.  So I apologize for wasting the list's time with a question
> that was actually my fault, and I thank you for demanding to see the
> configs because that forced me to go look and discover that they were
> wrong :-/.
> 
>   jik
> 
> -
> 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] check_nt: Could not parse arguments

2008-01-29 Thread narendran.neelamegam
 
Should your command be
 
$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -v CPULOAD -l $ARG1$

 
check_nt -H $HOSTADDRESS$ -p 12489 -s $USER7$
 


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Palle L
Jensen
Sent: Tuesday, January 29, 2008 10:32 PM
To: Nagios Users
Subject: [Nagios-users] check_nt: Could not parse arguments



 

Morning all,

 

I am having an issue with adding cpuload monitoring on windows machines.

I know there are no issues on the windows side since I have other
services being monitored with no problems.

Also the error message tells me the arguments that are specified are not
correct.

I have google'd, and checked the Nagios documentation and tried
different ways, but non works.

And this is were I am at now. Could anyone look this over and tell me
what is wrong?

- Error: check_nt: Could not parse arguments

 

- Check command definition:

 

define command{

command_namecheck_nt_cpu

command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s
$USER7$

 

 

- Service definition:

 

define service{

   use  generic-service

   host_namehost001

   service_description  CPU load

   servicegroupsload

   check_commandcheck_nt_cpu!CPULOAD! -l 5,80,90

   }


Thanks,

Palle

 

 

-
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] Problems with two plugins timing out

2008-01-29 Thread narendran.neelamegam
Does the system in ? have multiple NIC? Are you sure SSH and SMTP are
listening on the IP address which you have specified in your command.
Can you do a telnet test on these ports?
Can you disable iptables and test
telnet  25
telnet  22
 


From: Kaplan, Andrew H. [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 30, 2008 12:29 AM
To: Narendran Neelamegam (WT01 - TECHNOLOGY INFRASTRUCTURE SERVICES
(GS))
Cc: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] Problems with two plugins timing out
 u  


> Since the command is failing locally on the client in question, this
may not be iptable issue.

 

> Do you have these plugins in the correct location?

 

The location of the plugins is the same as the others:
/usr/local/npre/libexec

 

> Do they have required nagios user ownership.

 

The ownership of the plugins, along with the others is as follows:

-rwxr-xr-x 1 nagios nagios  62638 2007-11-28 11:40 check_ssh

-rwxr-xr-x 1 nagios nagios 334907 2007-11-28 11:40 check_http

 

> Have you enabled debugging options in nrpe to check?

 

I did have debugging turned on via the nrpe.cfg file on the client.
However, even after I tried

manually running the plugins in question, there was no record of the
plugins recorded in

the /var/log/messages file on the client, or in a similar file on the
server. 

 

> Please post the command which you are running locally and from Nagios
server?

The commands that I tried are listed below: 

 

-bash-3.2$ ./check_ssh -H 

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_ssh -H 

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_ssh -H  -p 22

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_ssh -H  -p 22

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_smtp -H 

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_smtp -H 

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_smtp -H  -p 25

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_smtp -H  -p 25

CRITICAL - Socket timeout after 10 seconds

 

 

The information transmitted in this electronic communication is intended
only
for the person or entity to whom it is addressed and may contain
confidential
and/or privileged material. Any review, retransmission, dissemination or
other
use of or taking of any action in reliance upon this information by
persons or
entities other than the intended recipient is prohibited. If you
received this
information in error, please contact the Compliance HelpLine at
800-856-1983 and
properly dispose of this information.


-
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] Does alert re-escalate when text of alertchanges?

2008-01-29 Thread Jonathan Kamens
Thank you very much for responding.  I was composing a reply with the
configuration information you requested, and while doing so found the
root cause of the problem -- our escalation config generation script had
a bug in it.  So I apologize for wasting the list's time with a question
that was actually my fault, and I thank you for demanding to see the
configs because that forced me to go look and discover that they were
wrong :-/.

  jik

-
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] Problems with two plugins timing out

2008-01-29 Thread Kaplan, Andrew H.
> Since the command is failing locally on the client in question, this may not
be iptable issue.

 

> Do you have these plugins in the correct location?

 

The location of the plugins is the same as the others: /usr/local/npre/libexec

 

> Do they have required nagios user ownership.

 

The ownership of the plugins, along with the others is as follows:

-rwxr-xr-x 1 nagios nagios  62638 2007-11-28 11:40 check_ssh

-rwxr-xr-x 1 nagios nagios 334907 2007-11-28 11:40 check_http

 

> Have you enabled debugging options in nrpe to check?

 

I did have debugging turned on via the nrpe.cfg file on the client. However,
even after I tried

manually running the plugins in question, there was no record of the plugins
recorded in

the /var/log/messages file on the client, or in a similar file on the server. 

 

> Please post the command which you are running locally and from Nagios server?

The commands that I tried are listed below: 

 

-bash-3.2$ ./check_ssh -H 

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_ssh -H 

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_ssh -H  -p 22

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_ssh -H  -p 22

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_smtp -H 

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_smtp -H 

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_smtp -H  -p 25

CRITICAL - Socket timeout after 10 seconds

-bash-3.2$ ./check_smtp -H  -p 25

CRITICAL - Socket timeout after 10 seconds

 

 


The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.


-
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] Sun Monitoring

2008-01-29 Thread Brian Loe
Can someone monitoring Sun servers, and Sun clusters, contact me
off-list for pointers and other assorted stuff... :) Thanks!

Perhaps nagiosexchange should have add onto their wiki howto section
by host type or something - that would be handy. Sample configs and
all that.

-
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] 2 similar services for different contact groups?

2008-01-29 Thread bjlockie
Do I need 2 similar service entries in order to have different contact
groups  for warning and critical?



-
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] Does alert re-escalate when text of alert changes?

2008-01-29 Thread Aaron M. Segura
I believe the answer to your first question is "no" and the answer to
the second one is "yes", but nobody will be able to root out your
problem without at least seeing some configs.

On Tue, 2008-01-29 at 11:27 -0500, Jonathan Kamens wrote:
> I don't think anyone responded to the message below.  I'm hoping that
> somebody can shed some light on this so I don't have to go read the
> source code to find a definitive answer.  If anybody can help, it would
> be much appreciated.
> 
> Thanks,
> 
>   Jonathan Kamens
> 
> -Original Message-
> From: Jonathan Kamens 
> Sent: Tuesday, January 15, 2008 6:00 AM
> To: nagios-users@lists.sourceforge.net
> Subject: Does alert re-escalate when text of alert changes?
> 
> Greetings,
> 
> We manage a bunch of servers using passive NSCA alerts, many of which
> are custom alerts we wrote ourselves, that spool to a central Nagios
> server.
> 
> One of these alerts concerns the status of the RAID array on the
> servers.  When something disrupts the array and it needs to rebuild, the
> alert goes into WARNING state, and the text that follows the WARNING
> shows (among other things) the percentage done that the rebuild is.
> 
> It seems that every time that percentage increases and our passive alert
> script spools a message with the new percentage in it (but the same
> status, WARNING, as the old message), the central Nagios server treats
> this as a new alert and follows the configured escalation path over
> again.
> 
> I'm wondering (a) am I interpreting this correctly, i.e., am I correct
> that this is why this alert keeps getting escalated over and over, and
> (b) is there any way, short of removing the percentage from the alert
> text so that the message is static, of preventing the repeated
> escalation?
> 
> Thanks,
> 
>   Jonathan Kamens
> 
> 
> 
> 
> -
> 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] FreeBSD 6.3 and Nagios

2008-01-29 Thread Chris Haulmark


Hello:
> 
> I can't find it right now but someone sent out an email saying they
> could not get Nagios 2.10 to run under FreeBSD 6.3. I've upgraded two
> systems to FreeBSD 6.3, both are running Nagios 2.10 without any
> problems. I didn't even have to recompile the port. I do have the
> /etc/libmap.conf entries for libthr though.

I am the person who mailed to the mailing lists about the hung
process on FreeBSD systems in which the libmap.conf workaround
solved.

I was using Nagios 3.x series.  Other users have reported the same
hung up problems with 2.x too.

Were you asking a question?

Chris

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

-
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] Does alert re-escalate when text of alert changes?

2008-01-29 Thread Jonathan Kamens
I don't think anyone responded to the message below.  I'm hoping that
somebody can shed some light on this so I don't have to go read the
source code to find a definitive answer.  If anybody can help, it would
be much appreciated.

Thanks,

  Jonathan Kamens

-Original Message-
From: Jonathan Kamens 
Sent: Tuesday, January 15, 2008 6:00 AM
To: nagios-users@lists.sourceforge.net
Subject: Does alert re-escalate when text of alert changes?

Greetings,

We manage a bunch of servers using passive NSCA alerts, many of which
are custom alerts we wrote ourselves, that spool to a central Nagios
server.

One of these alerts concerns the status of the RAID array on the
servers.  When something disrupts the array and it needs to rebuild, the
alert goes into WARNING state, and the text that follows the WARNING
shows (among other things) the percentage done that the rebuild is.

It seems that every time that percentage increases and our passive alert
script spools a message with the new percentage in it (but the same
status, WARNING, as the old message), the central Nagios server treats
this as a new alert and follows the configured escalation path over
again.

I'm wondering (a) am I interpreting this correctly, i.e., am I correct
that this is why this alert keeps getting escalated over and over, and
(b) is there any way, short of removing the percentage from the alert
text so that the message is static, of preventing the repeated
escalation?

Thanks,

  Jonathan Kamens




-
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] Problems with two plugins timing out

2008-01-29 Thread Kaplan, Andrew H.
Hi there -

 

I am monitoring a system that functions as a mail and ssh server. Along with the
check_ssh and check_smtp plugins, I am also monitoring the mailq, check_mailq,

the diskspace, check_disk, and also the processes, check_procs. The latter three
plugins are working fine, but the first two, check_ssh and check_smtp, are
getting

socket timeout errors. The Nagios server and NRPE client are running the 2.6
version. 

 

I ran the two plugins from the command line on both the Nagios server, via
check_nrpe, and on the client in question, using just the plugins. I included
the -p option 

to specify the port. Both instances resulted in timeouts occurring. The client
system is running iptables, and I had configured it to allow what I thought was
the appropriate

traffic to go and come from the system. Listed below is an excerpt that deals
with this issue:

 

### Accept connections from  # Make sure to include these entries in
the OUTPUT chain.

$IPTABLES -A INPUT -p icmp -s  -j ACCEPT

$IPTABLES -A INPUT -p tcp --dport 5666 -s  -j ACCEPT

$IPTABLES -A INPUT -p udp --dport 5666 -s  -j ACCEPT

$IPTABLES -A INPUT -p tcp --dport 22 -s  -j ACCEPT

$IPTABLES -A INPUT -p udp --dport 22 -s  -j ACCEPT

$IPTABLES -A INPUT -p tcp --dport 25 -s  -j ACCEPT

$IPTABLES -A INPUT -p udp --dport 25 -s  -j ACCEPT

 

...

 

$IPTABLES -A OUTPUT -p icmp -d  -j ACCEPT

$IPTABLES -A OUTPUT -p tcp --dport 5666 -d  -j ACCEPT

$IPTABLES -A OUTPUT -p udp --dport 5666 -d  -j ACCEPT

$IPTABLES -A OUTPUT -p tcp --dport 22 -d  -j ACCEPT

$IPTABLES -A OUTPUT -p udp --dport 22 -d  -j ACCEPT

$IPTABLES -A OUTPUT -p tcp --dport 25 -d  -j ACCEPT

$IPTABLES -A OUTPUT -p udp --dport 25 -d  -j ACCEPT

 

Are there any additional ports that I need to provide exceptions for in order to
get the two plugins to work? Thanks. 

 

 


The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.


-
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_nt: Could not parse arguments

2008-01-29 Thread Palle L Jensen
 

Morning all,

 

I am having an issue with adding cpuload monitoring on windows machines.

I know there are no issues on the windows side since I have other services
being monitored with no problems.

Also the error message tells me the arguments that are specified are not
correct.

I have google'd, and checked the Nagios documentation and tried different
ways, but non works.

And this is were I am at now. Could anyone look this over and tell me what
is wrong?

- Error: check_nt: Could not parse arguments

 

- Check command definition:

 

define command{

command_namecheck_nt_cpu

command_line$USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s
$USER7$

 

 

- Service definition:

 

define service{

   use  generic-service

   host_namehost001

   service_description  CPU load

   servicegroupsload

   check_commandcheck_nt_cpu!CPULOAD! -l 5,80,90

   }


Thanks,

Palle

 

 

-
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 full copied reserve server

2008-01-29 Thread Brian Loe
On Jan 29, 2008 10:25 AM, Scott Sanders <[EMAIL PROTECTED]> wrote:
> I was able to create a true failover (hot-spare) setup using Linux-HA and
> DRBD. The two machines use a primary/secondary DRBD drive setup for
> /usr/local/nagios, /var/spool/mqueue, and /var/spool/clientmqueue. Linux-HA
> manages the virtual IP for nagios as well as bringing nagios and sendmail
> services up and down during a failover. This works very well, and because
> the mail spools are sync'ed not even unsent notifications are lost.
>
> I believe there are some previous threads about this setup, but if not I'd
> be happy to write up a HOW-TO.
>
> -Scott

Please do anyway!

-
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 full copied reserve server

2008-01-29 Thread Scott Sanders
I was able to create a true failover (hot-spare) setup using Linux-HA and
DRBD. The two machines use a primary/secondary DRBD drive setup for
/usr/local/nagios, /var/spool/mqueue, and /var/spool/clientmqueue. Linux-HA
manages the virtual IP for nagios as well as bringing nagios and sendmail
services up and down during a failover. This works very well, and because
the mail spools are sync'ed not even unsent notifications are lost.

I believe there are some previous threads about this setup, but if not I'd
be happy to write up a HOW-TO.

-Scott

On 1/29/08, magic_rooter <[EMAIL PROTECTED]> wrote:
>
> Hello everybody. I need to have nagios reserve server which will
> replace the main server when it dies. I installed nagios on another
> machine, copied all directory /usr/local/nagios and start reserve
> service Nagios.
> I have thound that statistics differs very much! Of course, nagios was
> installed in different time on each server. But when I copy status.dat
> file from the main server, availibility statistics on the reserve
> server became the same! But AFTER RESTART it returnes to  its previos
> state:(.
>
> So, I can't solve this problem, because I can't understand what files
> I need to copy in order to make  the full copy:(.
>
> I must mention that reserve server must not work all time. It has  to
> be turn on ONLY when main server dies. So, what about availibility
> statistics?
> How to make statistics on reserve server STRONGLY the same as on the
> main server?
>
> With the great respect to everybody, Kristine
> Linux System Administrator
>
> -
> 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] logging active checks

2008-01-29 Thread Maxwell,Brady
Thank you the reason we want to do so is we have a performance and
historical trending application that was written in house and we want to
be able to import the nagios perf data into the existing system. The guy
that designed the system has been pulling the data from the logs and
this works great cause most of what we track are checks that are
submitted through nsca however some of the checks were not getting
enough data to make a meaningful graph.

Thanks again for the suggestion.



> ___
> 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
I think what you want is called Stalking, it logs every check result 
whether or not it changed.

http://nagios.sourceforge.net/docs/2_0/stalking.html

It's not usually necessary to do this though unless you have a specific 
reason to...

-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] logging active checks

2008-01-29 Thread Hari Sekhon
Maxwell,Brady wrote:
>
> Hopefully this is a simple question. I looked through the doco for a 
> setting that I might be missing in my nagios.cfg. basically my issue 
> is that the system logs all passive checks and this setting is clear 
> in the nagios.cfg, however I only see the state changes logged for 
> active checks. I want all checks to be logged passive and active to 
> the same file. Is there a way to make this happen in the config file?
>
> Thanks
>
> Brady
>
> 
>
> -
> 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
I think what you want is called Stalking, it logs every check result 
whether or not it changed.

http://nagios.sourceforge.net/docs/2_0/stalking.html

It's not usually necessary to do this though unless you have a specific 
reason to...

-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] logging active checks

2008-01-29 Thread Sean McAvoy
I believe enabling the stalking option for the service will record  
all results to the nagios.log file.

On 29-Jan-08, at 10:46 AM, Maxwell,Brady wrote:

> Hopefully this is a simple question. I looked through the doco for  
> a setting that I might be missing in my nagios.cfg. basically my  
> issue is that the system logs all passive checks and this setting  
> is clear in the nagios.cfg, however I only see the state changes  
> logged for active checks. I want all checks to be logged passive  
> and active to the same file. Is there a way to make this happen in  
> the config file?
>
>
> Thanks
>
> Brady
>
> -- 
> ---
> 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

Sean McAvoy
NOC Team Lead
Afilias Canada

P. 416.673.4194





-
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] logging active checks

2008-01-29 Thread Maxwell,Brady
Hopefully this is a simple question. I looked through the doco for a
setting that I might be missing in my nagios.cfg. basically my issue is
that the system logs all passive checks and this setting is clear in the
nagios.cfg, however I only see the state changes logged for active
checks. I want all checks to be logged passive and active to the same
file. Is there a way to make this happen in the config file?

Thanks
Brady
-
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] FreeBSD 6.3 and Nagios

2008-01-29 Thread Jonathan Call
I can't find it right now but someone sent out an email saying they
could not get Nagios 2.10 to run under FreeBSD 6.3. I've upgraded two
systems to FreeBSD 6.3, both are running Nagios 2.10 without any
problems. I didn't even have to recompile the port. I do have the
/etc/libmap.conf entries for libthr though. 

Jonathan



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] Nagios full copied reserve server

2008-01-29 Thread Chris Haulmark

Hello:
> Hello everybody. I need to have nagios reserve server which will
> replace the main server when it dies. I installed nagios on another
> machine, copied all directory /usr/local/nagios and start reserve
> service Nagios.
> I have thound that statistics differs very much! Of course, nagios was
> installed in different time on each server. But when I copy status.dat
> file from the main server, availibility statistics on the reserve
> server became the same! But AFTER RESTART it returnes to  its previos
> state:(.
> 
> So, I can't solve this problem, because I can't understand what files
> I need to copy in order to make  the full copy:(.
> 
> I must mention that reserve server must not work all time. It has  to
> be turn on ONLY when main server dies. So, what about availibility
> statistics?
> How to make statistics on reserve server STRONGLY the same as on the
> main server?

Sounds like you are wanting a failover system for your two Nagios
servers.

You can start reading here:

http://nagios.sourceforge.net/docs/2_0/redundancy.html

Chris
> 
> With the great respect to everybody, Kristine
> Linux System Administrator
> 
>
---
> --
> 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] New Checks Do not get scheduled

2008-01-29 Thread Maxwell,Brady
So I have this weird circumstance where when I add new service checks
and reload nagios the system does not start running these checks. We are
using 2.9. The checks are setup as active checks. Checks that existed
before the restart seem to take up to an hour to start updating even
though all checks are set to 5 minutes and the initial service check
spread is set to 30. 

On the service detail screen the next service check time will be in the
past if we let the system alone it will start running the checks after
about an hour.

We have 6500 service checks running and the system is not loaded. 

Any Ideas?


Thanks
Brady
-
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 full copied reserve server

2008-01-29 Thread magic_rooter
Hello everybody. I need to have nagios reserve server which will
replace the main server when it dies. I installed nagios on another
machine, copied all directory /usr/local/nagios and start reserve
service Nagios.
I have thound that statistics differs very much! Of course, nagios was
installed in different time on each server. But when I copy status.dat
file from the main server, availibility statistics on the reserve
server became the same! But AFTER RESTART it returnes to  its previos
state:(.

So, I can't solve this problem, because I can't understand what files
I need to copy in order to make  the full copy:(.

I must mention that reserve server must not work all time. It has  to
be turn on ONLY when main server dies. So, what about availibility
statistics?
How to make statistics on reserve server STRONGLY the same as on the
main server?

With the great respect to everybody, Kristine
Linux System Administrator

-
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] no email notification

2008-01-29 Thread Mohr James
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im 
> Auftrag von [EMAIL PROTECTED]
> Gesendet: Dienstag, 29. Januar 2008 10:49
> An: nagios-users@lists.sourceforge.net
> Betreff: [Nagios-users] no email notification
> 
> I don't receive email notifications on problems. Emailing as 
> user nagios from the command line works (postfix). Email 
> address in contacts.cfg is correct and I have the necessary 
> lines in the service description to (I
> think):
> 
> define service{
> host_name   localhost
> service_description test_notification
> check_command   test_notification
> max_check_attempts  4
> normal_check_interval   2
> retry_check_interval1
> check_period24x7
> notification_interval   15
> notification_period 24x7
> notification_optionsw,c,r
> contact_groups  beick
> }
> 
> Any idea what I have missed?


Maybe I am missing it, but I don't see that notifications_enabled being set for 
this service.

-
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] no email notification

2008-01-29 Thread beick
I don't receive email notifications on problems. Emailing as user nagios
from the command line works (postfix). Email address in contacts.cfg is
correct and I have the necessary lines in the service description to (I
think):

define service{
host_name   localhost
service_description test_notification
check_command   test_notification
max_check_attempts  4
normal_check_interval   2
retry_check_interval1
check_period24x7
notification_interval   15
notification_period 24x7
notification_optionsw,c,r
contact_groups  beick
}

Any idea what I have missed?

-
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