Re: [Nagios-users] ICMP Blocked - Windows Host

2010-08-13 Thread Shane Killian
Awesome,

Thanks for the response.
I'm a total novice when it comes to Nagios so I'm going to be figuring this out 
for  a while :)


Kind Regards,

Shane Killian
Systems Administrator
Irishjobs.ie

-Original Message-
From: Jim Avery [mailto:j...@jimavery.me.uk]
Sent: 12 August 2010 22:38
To: Nagios Users List
Subject: Re: [Nagios-users] ICMP Blocked - Windows Host

On 12 August 2010 22:06, Shane Killian shane.kill...@irishjobs.ie wrote:
 Hi all,

 I am using NSClient++ to monitor several Windows boxes. It is not possible to 
 allow ICMP echo on these boxes.

 For this reason, I can monitor processes and services but the host itself 
 shows as up.

 Is there a way around this?
 Is it possible to do a check other than ping to show a host status of up?

Yes, the host check can be anything you like.  Something like check_nt -V 
client_version would do the trick (forgive me if my syntax isn't quite right - 
going from memory).

You could alternatively do an snmp query of the switch port the host is 
connected to, but that's a bit complicated I guess.

--
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev 
___
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


E-mail Disclaimer:

The information contained in this message is confidential and is intended for 
the addressee only. If you have received this message in error or there are any 
problems please notify the originator immediately. The unauthorized use, 
disclosure, copying or alteration of this message is strictly forbidden. This 
mail and any attachments have been scanned for viruses prior to leaving the 
network of saongroup.com

saongroup.com will not be liable for direct, special, indirect or consequential 
damages arising from alteration of the contents of this message by a third 
party or as a result of any virus being passed on. saongroup.com reserves the 
right to monitor and record e-mail messages sent to and from this address for 
the purposes of investigating or detecting any unauthorized use of its system 
and ensuring its effective operation.



--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
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_proc --metric=CPU - alternatives?

2010-08-13 Thread Sebastian Ries
Hi

 p.s. also take a look at:
 
 http://nagios.manubulon.com/snmp_process.html

Thanks this was nearly what I was looking for ;-)

It solves my calculation problem but it seams that it only counts the
whole CPU usage for all processes.

I have about 60 processes (with the same name) and need to get an alert
if ONE (or more) of them uses mor than 90% CPU.

Did I miss the right option?

Or ss there a similar script that covers my needs?

Regards
Sebastian Ries

-- 

DT Netsolution GmbH -  Talaeckerstr. 30 -  D-70437 Stuttgart
Tel: +49-711-849910-36   Fax: +49-711-849910-936
WEB: http://www.dtnet.de/ email: sebastian.r...@dtnet.de

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
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] ICMP Blocked - Windows Host

2010-08-13 Thread Jim Avery
On 13 August 2010 08:27, Shane Killian shane.kill...@irishjobs.ie wrote:
 Awesome,

 Thanks for the response.
 I'm a total novice when it comes to Nagios so I'm going to be figuring this 
 out for  a while :)


If you want a head start, I can heartily recommend the book 'Nagios'
by Wofgang Barth, published by No Starch Press.  It explains how
everything fits together in Nagios really well.  Obviously keep asking
here too.

Cheers,

Jim

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
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_proc --metric=CPU - alternatives?

2010-08-13 Thread Jim Avery
On 13 August 2010 08:27, Sebastian Ries sebastian.r...@dtnet.de wrote:
 Hi

 p.s. also take a look at:

 http://nagios.manubulon.com/snmp_process.html

 Thanks this was nearly what I was looking for ;-)

 It solves my calculation problem but it seams that it only counts the
 whole CPU usage for all processes.

 I have about 60 processes (with the same name) and need to get an alert
 if ONE (or more) of them uses mor than 90% CPU.

 Did I miss the right option?


According to the documentation, the -n option is used to give a regex
which selects which process(es) you are monitoring and the -u option
should work on the sum of the CPU for those selected processes only.

The example given is:

./check_snmp_process.pl -H 127.0.0.1 -C public -n http -w 3,8 -c 0,15
-m 9,25 -u 70,99

which should alert if the total cpu of all processes haveing 'http' in
the name is  70.

To get the plugin to do exactly what you describe, you will need to
edit the perl code a bit.  Bear in mind that you can never have more
than one process using 90% cpu in the same period!

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
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] What Switch Metric Are You Monitoring

2010-08-13 Thread Robert Jackson
I'm currently on Nagios Core 3.2.1 and I'm just starting to setup
monitoring of our network switches. Can someone share what switch
metrics they are recording (and find most useful). Just now, I'm only
registering PING and Uptime (through SMNP). Also how are you handling
parent/child relationships for the switches/ports etc? Basically if a
switch is down, then I would only want to receive and alert regarding
this and not anything else related to the port or device connected to
the port.


Regards,
Rab.
=
Robert Jackson  Phone: +44 (0) 141 332
7999
IT Manager   Fax: +44 (0) 141
331 2820
Walker Martyn Ltd
1 Park Circus PlaceEmail:
r...@walkermartyn.co.uk
Glasgow G3 6AH, Scotland   Web:
http://www.walkermartyn.co.uk
=





The information in this internet E-mail is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is unauthorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
Walker Martyn Ltd or any of its affiliates. If you are not the
intended recipient please contact  administra...@walkermartyn.co.uk

Walker Martyn Ltd, company number SC197533. Company is 
registered in Scotland and has its registered office at 1 Park
Circus Place, Glasgow G3 6AH, UK.




--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
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] What Switch Metric Are You Monitoring

2010-08-13 Thread Macleod, Chris
Hello Rab,

 

I monitor the following services on my Cisco Switches.

 

Ping

Uplink status + bandwidth utilisation

CPU (Avg 5 mins)

Environment (FAN, PSU) 



If my server was connected to the network as below:



Server1 = Switch1 = Switch2 = Localhost (Nagios)

 

I would configure the parent/child relationship this way.

 

Server1 Parent = Switch1
Switch1 Parent = Switch2

Switch2 Parent  = Localhost

If you do this you will end up with the Nagios network map looking like
your network documentation.  Also If switch2 does down Nagios will
assume Switch1 and Server1 are also unavailable and will suppress
notifications.

I have also setup service dependencies so that all my switch as follows


define servicedependency {

   dependent_host_name  HPK3044

   dependent_service_descriptionCPU 5 min
average,Environmental monitoring,Link to HPD-LRE Bandwidth,Link to
HPD-LRE Status,Link to HPKDC1 Bandwidth,Link to HPKDC1 Status,Vlan 1
Bandwidth,Vlan 1 Status

   host_nameHPK3044

   service_description  Ping

   inherits_parent  1

   execution_failure_criteria   w,u,c

   notification_failure_criteriaw,u,c

   dependency_period24x7  

This makes all the monitored services on the switch dependant on the
switch being pingable.  If the ping service is in the warning, critical
or unknown state all the other services will not produce notifications. 

 

 

Hope this helps

Chris Macleod








 

From: Robert Jackson [mailto:r...@walkermartyn.co.uk] 
Sent: 13 August 2010 10:20
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] What Switch Metric Are You Monitoring

 

I'm currently on Nagios Core 3.2.1 and I'm just starting to setup
monitoring of our network switches. Can someone share what switch
metrics they are recording (and find most useful). Just now, I'm only
registering PING and Uptime (through SMNP). Also how are you handling
parent/child relationships for the switches/ports etc? Basically if a
switch is down, then I would only want to receive and alert regarding
this and not anything else related to the port or device connected to
the port.

Regards,

Rab.

=

Robert Jackson  Phone: +44 (0) 141 332
7999

IT Manager   Fax: +44 (0) 141
331 2820

Walker Martyn Ltd

1 Park Circus PlaceEmail:
r...@walkermartyn.co.uk mailto:r...@walkermartyn.co.uk 

Glasgow G3 6AH, Scotland   Web:
http://www.walkermartyn.co.uk http://www.walkermartyn.co.uk 

=




The information in this internet E-mail is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is unauthorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
Walker Martyn Ltd or any of its affiliates. If you are not the intended
recipient please contact administra...@walkermartyn.co.uk.

Walker Martyn Ltd, company number SC197533. Company is registered in
Scotland and has its registered office at 1 Park Circus Place, Glasgow
G3 6AH, UK.

 



This e-mail has been scanned for all viruses by MessageLabs. TEG-IN



This e-mail has been scanned for all viruses by Message Labs.  
Please enjoy our brands responsibly. www.drinkaware.co.uk
The Edrington Group is a private limited company registered in Scotland 
(Registered Number SC 36374) with its Registered Office at 2500 Great Western 
Road, Glasgow, G15 6RW.
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
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_proc --metric=CPU - alternatives?

2010-08-13 Thread Sebastian Ries
Hi

 According to the documentation, the -n option is used to give a regex
 which selects which process(es) you are monitoring and the -u option
 should work on the sum of the CPU for those selected processes only.
 
 The example given is:
 
 ./check_snmp_process.pl -H 127.0.0.1 -C public -n http -w 3,8 -c 0,15
 -m 9,25 -u 70,99

This is what I tried but as I described all processes have the same
name :-(

 which should alert if the total cpu of all processes haveing 'http' in
 the name is  70.

And I want to get an alert if ANY of these processes uses more than the
given value.

 To get the plugin to do exactly what you describe, you will need to
 edit the perl code a bit.  Bear in mind that you can never have more
 than one process using 90% cpu in the same period!

Not really true ;-)
As this machine has 8 real CPU-Cores with HT enabled there can be up to
16 Processes with more than 90% CPU usage ;-)

I will have a look in the perl code. Maybe it is a only small
adaption...

Regards
Sebastian Ries

-- 

DT Netsolution GmbH -  Talaeckerstr. 30 -  D-70437 Stuttgart
Tel: +49-711-849910-36   Fax: +49-711-849910-936
WEB: http://www.dtnet.de/ email: sebastian.r...@dtnet.de

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
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_proc --metric=CPU - alternatives?

2010-08-13 Thread Sebastian Ries
Hi

 According to the documentation, the -n option is used to give a regex
 which selects which process(es) you are monitoring and the -u option
 should work on the sum of the CPU for those selected processes only.
 
 The example given is:
 
 ./check_snmp_process.pl -H 127.0.0.1 -C public -n http -w 3,8 -c 0,15
 -m 9,25 -u 70,99

This is what I tried but as I described all processes have the same
name :-(

 which should alert if the total cpu of all processes haveing 'http' in
 the name is  70.

And I want to get an alert if ANY of these processes uses more than the
given value.

 To get the plugin to do exactly what you describe, you will need to
 edit the perl code a bit.  Bear in mind that you can never have more
 than one process using 90% cpu in the same period!

Not really true ;-)
As this machine has 8 real CPU-Cores with HT enabled there can be up to
16 Processes with more than 90% CPU usage ;-)

I will have a look in the perl code. Maybe it is a only small
adaption...

Regards
Sebastian Ries

-- 

DT Netsolution GmbH -  Talaeckerstr. 30 -  D-70437 Stuttgart
Tel: +49-711-849910-36   Fax: +49-711-849910-936
WEB: http://www.dtnet.de/ email: sebastian.r...@dtnet.de

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
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_proc --metric=CPU - alternativ es?

2010-08-13 Thread Kyle O'Donnell
I wrote one.  I cant find it online anymore but here it is:

Tries to use top if in linux, in solaris and aix i have a new version of
top installed into my nagios tree, otherwise it falls back on prstat or ps

feel free to use, might be buggy though!


On Fri, 13 Aug 2010 12:11:37 +0200, Sebastian Ries
sebastian.r...@dtnet.de wrote:
 Hi
 
 According to the documentation, the -n option is used to give a regex
 which selects which process(es) you are monitoring and the -u option
 should work on the sum of the CPU for those selected processes only.
 
 The example given is:
 
 ./check_snmp_process.pl -H 127.0.0.1 -C public -n http -w 3,8 -c 0,15
 -m 9,25 -u 70,99
 
 This is what I tried but as I described all processes have the same
 name :-(
 
 which should alert if the total cpu of all processes haveing 'http' in
 the name is  70.
 
 And I want to get an alert if ANY of these processes uses more than the
 given value.
 
 To get the plugin to do exactly what you describe, you will need to
 edit the perl code a bit.  Bear in mind that you can never have more
 than one process using 90% cpu in the same period!
 
 Not really true ;-)
 As this machine has 8 real CPU-Cores with HT enabled there can be up to
 16 Processes with more than 90% CPU usage ;-)
 
 I will have a look in the perl code. Maybe it is a only small
 adaption...
 
 Regards
 Sebastian Ries#!/opt/nagios/bin/perl
#

use strict;
use Getopt::Long;
use POSIX uname;
use vars qw($PROGNAME);
use lib /opt/nagios/libexec;
use utils qw (%ERRORS print_revision support usage);

sub print_help ();
sub print_usage ();

# set variables
my ($opt_c, $opt_w, $opt_a, $opt_m, $opt_p, $opt_h, $opt_V, $PROGVER, $opt_t, 
$deftype);
my ($line, $pid, $user, $prior, $nice, $vsz, $rss, $shr, $state, $cpu, $mem, 
$time, $cmd, @args);
my ($chkcmd, $tty, $start, $tty, $date1, $date2, $date3, $startm, $startd);
my ($avg, $m, $sumavg, %add, $message, @arrcmd, $size, $pri, $lwp, $uid, $args, 
$wcpu);
my $loop = 0;
my $sum = 0;
my $pidcount = 0;
my $exitcode = 0;
my $opt_i = 2;
my $opt_d = 1;

$PROGNAME=check_procs_usage;
$PROGVER=1.0;

# set commands to gather data for each OS
my ($sysname, $nodename, $release, $version, $machine ) = uname;

Getopt::Long::Configure('bundling');
GetOptions(
V   = \$opt_V, version = \$opt_V,
h   = \$opt_h, help= \$opt_h,
m=s = \$opt_m, metric=s= \$opt_m,
w=f = \$opt_w, warn=f  = \$opt_w,
c=f = \$opt_c, crit=f  = \$opt_c,
p=s = \$opt_p, pidname=s   = \$opt_p,
a=s = \$opt_a, args=s  = \$opt_a,
d=f = \$opt_d, delay=f = \$opt_d,
t=s = \$opt_t, type=s  = \$opt_t,
i=f = \$opt_i, iter=f  = \$opt_i);

if ($sysname =~ /Linux/) {

$deftype = top;

if (($opt_t =~ /$deftype/) || ($opt_t eq )) {

$chkcmd = /usr/bin/top -b -c -n $opt_i -d $opt_d;
}
else {
print *** $sysname only supports $deftype ***\n
}
}
elsif ($sysname =~ /SunOS/) {

$deftype = top;

if (($opt_t =~ /$deftype/) || ($opt_t eq )) {
$chkcmd = /opt/nagios/bin/top -b -c -C -u -d $opt_i -s $opt_d 
all;
}
elsif ($opt_t =~ /prstat/) {
$chkcmd = /usr/bin/prstat -n 1 $opt_d $opt_i | 
/usr/bin/tee;
}
else {
printf *** $sysname doesn't support $opt_t ***\n;
}

}
elsif ($sysname =~ /AIX/) {

$deftype = ps;

if (($opt_t =~ /$deftype/) || ($opt_t eq )) {
$chkcmd = /usr/bin/ps auxww;
}
elsif ($opt_t =~ /top/) {
$chkcmd = /opt/nagios/bin/top -b -c -C -u -d $opt_i -s $opt_d 
all;
}
else {
print *** $sysname does not support $opt_t ***\n;
}   
}
else {
printf $sysname not supported;
}

if ($opt_V) {
print $PROGNAME $PROGVER\n;
exit $ERRORS{'UNKNOWN'};
}

if ($opt_h) {
print_help();
exit $ERRORS{'UNKNOWN'};
}

# if required options not set print usage and exit
if ((! $opt_w) || (! $opt_c) || (! $opt_m) || (! $opt_p)) {
print_usage();
exit $ERRORS{'UNKNOWN'};
}

# exit if any of the input does not match requirements
if (($opt_w !~ /[0-9]/) || ($opt_c !~ /[0-9]/) || ($opt_m !~ /(CPU|MEM)/) || 
($opt_i !~ /[0-9]/) || ($opt_d !~ /[0-9]/)) {

print_help;
print \n***unsupported options: warn($opt_w) crit($opt_c) 
metric($opt_m) delay($opt_d) iterations($opt_i) ***\n\n;
exit $ERRORS{UNKNOWN};
}

sub print_usage () {
print \nusage:\n;
print   $PROGNAME -w warn -c crit -m metric -p pidname [-a 
pidarg] [-d delay] [-i iterations] [-t type] \n;
print   $PROGNAME [-h | --help]\n;
print   $PROGNAME [-V | --version]\n\n;
}

sub print_help () {
print \n$PROGNAME $PROGVER\n\n;
print Kyle O'Donnell (03-05-2009)\n;
print_usage();
print \n;
print   warn\t\tpercent metric used 

Re: [Nagios-users] What Switch Metric Are You Monitoring

2010-08-13 Thread Jim Avery
On 13 August 2010 10:20, Robert Jackson r...@walkermartyn.co.uk wrote:
 I’m currently on Nagios Core 3.2.1 and I’m just starting to setup monitoring
 of our network switches. Can someone share what switch metrics they are
 recording (and find most useful). Just now, I’m only registering PING and
 Uptime (through SMNP). Also how are you handling parent/child relationships
 for the switches/ports etc? Basically if a switch is down, then I would only
 want to receive and alert regarding this and not anything else related to
 the port or device connected to the port.

I configure the switch to send traps to the Nagios server (received
using snmptrapd and processed using snmptt), and configure the switch
so that traps are sent if switch-switch links go up/down but not
ordinary switch ports with servers and PCs on.

Other than that, I monitor link bandwidth where it really interests
me, for example on the ports serving our most busy systems and one or
two which link main data centres together.

The usual rule with Nagios parent relationships is that the parent is
the device closer to the Nagios server than the child.  Don't forget
you can have more than one parent if that's how your network is.

hth,

Jim

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
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] OpService's DaVINCI

2010-08-13 Thread Dario B. Bestetti (OpServices)
For those of you that want to give it a try: 
http://www.opservices.com.br/opservices-davinci 

[]s 
Dario --
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
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] What Switch Metric Are You Monitoring

2010-08-13 Thread Claudio Kuenzler
The same checks as the others mentioned:
CPU utilization, environment (Power Supplies, FAN), child-parent
relationship and uptime.

Additionally to that, depending on the switch, I also check the Cisco Stack
status, the memory usage and either a single port or several port ranges for
their operational status.

On Fri, Aug 13, 2010 at 1:25 PM, Jim Avery j...@jimavery.me.uk wrote:

 On 13 August 2010 10:20, Robert Jackson r...@walkermartyn.co.uk wrote:
  I’m currently on Nagios Core 3.2.1 and I’m just starting to setup
 monitoring
  of our network switches. Can someone share what switch metrics they are
  recording (and find most useful). Just now, I’m only registering PING and
  Uptime (through SMNP). Also how are you handling parent/child
 relationships
  for the switches/ports etc? Basically if a switch is down, then I would
 only
  want to receive and alert regarding this and not anything else related to
  the port or device connected to the port.

 I configure the switch to send traps to the Nagios server (received
 using snmptrapd and processed using snmptt), and configure the switch
 so that traps are sent if switch-switch links go up/down but not
 ordinary switch ports with servers and PCs on.

 Other than that, I monitor link bandwidth where it really interests
 me, for example on the ports serving our most busy systems and one or
 two which link main data centres together.

 The usual rule with Nagios parent relationships is that the parent is
 the device closer to the Nagios server than the child.  Don't forget
 you can have more than one parent if that's how your network is.

 hth,

 Jim


 --
 This SF.net email is sponsored by

 Make an app they can't live without
 Enter the BlackBerry Developer Challenge
 http://p.sf.net/sfu/RIM-dev2dev
 ___
 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 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
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] Passive freshness checks - active checks

2010-08-13 Thread Charlie Reddington
Hey All,

 I'll check out the stats and turn on debugging next to see if there  
 is
 anything there. In the mean time, what version of nagios are you  
 running?

 Nagios Core 3.2.1

This seems to be the problem right here. I upgraded to nagios 3.2.1  
from 3.2.0 and nagios now honors my thresholds properly. I looked at  
the change log and didn't see this listed as a fix, but maybe I'm just  
blind.

Either way, this is the fix (upgrading) for those that follow in my  
foot steps.

Thanks,

Charlie

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
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] r...@walkermartyn.co.uk - Bayesian Filter detected spam - Re: What Switch Metric Are You Monitoring

2010-08-13 Thread Robert Jackson
I'm having problems sourcing a plug-in to monitor CPU and interface
bandwidth. I would also prefer plug-ins with output to allow graphing
trends by PNP4Nagios. Do you know of any?

 

From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] 
Sent: Friday 13 August 2010 15:33
To: Nagios Users List
Subject: r...@walkermartyn.co.uk - Bayesian Filter detected spam - Re:
[Nagios-users] What Switch Metric Are You Monitoring

 

The same checks as the others mentioned:
CPU utilization, environment (Power Supplies, FAN), child-parent
relationship and uptime.

Additionally to that, depending on the switch, I also check the Cisco
Stack status, the memory usage and either a single port or several port
ranges for their operational status. 

On Fri, Aug 13, 2010 at 1:25 PM, Jim Avery j...@jimavery.me.uk wrote:

On 13 August 2010 10:20, Robert Jackson r...@walkermartyn.co.uk wrote:
 I'm currently on Nagios Core 3.2.1 and I'm just starting to setup
monitoring
 of our network switches. Can someone share what switch metrics they
are
 recording (and find most useful). Just now, I'm only registering PING
and
 Uptime (through SMNP). Also how are you handling parent/child
relationships
 for the switches/ports etc? Basically if a switch is down, then I
would only
 want to receive and alert regarding this and not anything else related
to
 the port or device connected to the port.

I configure the switch to send traps to the Nagios server (received
using snmptrapd and processed using snmptt), and configure the switch
so that traps are sent if switch-switch links go up/down but not
ordinary switch ports with servers and PCs on.

Other than that, I monitor link bandwidth where it really interests
me, for example on the ports serving our most busy systems and one or
two which link main data centres together.

The usual rule with Nagios parent relationships is that the parent is
the device closer to the Nagios server than the child.  Don't forget
you can have more than one parent if that's how your network is.

hth,

Jim



--
This SF.net email is sponsored by

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
___
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

 




The information in this internet E-mail is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is unauthorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
Walker Martyn Ltd or any of its affiliates. If you are not the
intended recipient please contact  administra...@walkermartyn.co.uk

Walker Martyn Ltd, company number SC197533. Company is 
registered in Scotland and has its registered office at 1 Park
Circus Place, Glasgow G3 6AH, UK.




--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
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] Exclude host from status map

2010-08-13 Thread Terry Inzauro
List,

I would like to exclude a host from the status map. Is there a way to 
accomplish this?  Basically, I am trying to monitor
some IP aliases without cluttering up my map.


kind regards,


Terry

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
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] Exclude host from status map

2010-08-13 Thread Jim Avery
On 13 August 2010 19:56, Terry Inzauro tinza...@ha-solutions.net wrote:
 List,

 I would like to exclude a host from the status map. Is there a way to 
 accomplish this?  Basically, I am trying to monitor
 some IP aliases without cluttering up my map.

I don't think you can do that unless you use an alternative map addon
like NexSM for example.

You could maybe monitor the IP Aliases as services rather than hosts?

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
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] Email echo monitoring

2010-08-13 Thread Polifemo, Salvatore
Shane

I currently doing a similar thing to check for delivery delay and did
not find any existing plugins that do that.
I wrote a couple of scripts one to send email via gmail with the time
stamp in the subject field and a second script to check the Exchange
mailbox and calculate diffelrence between the received time stamp and
the sent time stamp in the subject field. 
I completed these scripts and need to finish the last script to
calculate the delay and pass the values it to Nagios.

The scripts are written in perl, if you are interested I will post them.

Sal

-Original Message-
From: Shane Killian [mailto:shane.kill...@irishjobs.ie] 
Sent: Thursday, August 12, 2010 5:12 PM
To: 'nagios-users@lists.sourceforge.net'
Subject: [Nagios-users] Email echo monitoring

Hi,

I would like to monitor email delivery.

I'm using microsoft exchange and I want to automate a message to
e...@esat.net - this is an autoresponding address with an ISP.


Does anyone have a method for this?


Shane

--
Sent using BlackBerry

E-mail Disclaimer:

The information contained in this message is confidential and is
intended for the addressee only. If you have received this message in
error or there are any problems please notify the originator
immediately. The unauthorized use, disclosure, copying or alteration of
this message is strictly forbidden. This mail and any attachments have
been scanned for viruses prior to leaving the network of saongroup.com

saongroup.com will not be liable for direct, special, indirect or
consequential damages arising from alteration of the contents of this
message by a third party or as a result of any virus being passed on.
saongroup.com reserves the right to monitor and record e-mail messages
sent to and from this address for the purposes of investigating or
detecting any unauthorized use of its system and ensuring its effective
operation.




--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
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 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
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