Re: [Nagios-users] Notification Interval problem

2008-10-20 Thread Gürkan Aslan
Hi Eric,

As you can see in the description, your service is configured to check
for every 1 minutes... You can try to change normal_check_interval to 10
and retry_check_interval to 1. Nagios will check the service in every 10
minutes and if something fails, it will retry to check in every 1
minute.

Best regards

Cts, 2008-10-18 tarihinde 21:13 -0600 saatinde, J. Eric Steidley yazdı: 

[...]
 define service {
  name  critical-service
  service_description   Service Checks every 1 minute
  is_volatile   1 ; True
  max_check_attempts3
  normal_check_interval 1
  retry_check_interval  1
  active_checks_enabled 1 ; True
  passive_checks_enabled1 ; True
  check_period  24x7
  parallelize_check 0 ; False
  obsess_over_service   0 ; False
  check_freshness   0 ; False
  freshness_threshold   361
  event_handler_enabled 1 ; True
  low_flap_threshold0
  high_flap_threshold   0
  flap_detection_enabled1 ; True
  process_perf_data 1 ; True
  retain_status_information 1 ; True
  retain_nonstatus_information  1 ; True
  notification_interval 10
  notification_period   24x7
  notification_options  c,r ; CRITICAL, Recovery
  notifications_enabled 1 ; True
  contact_groupscv-critical
  register  0 ; False
 }

-- 
Gürkan Aslan
Senior Developer
Komturk Iletisim Ltd. Sti
Phone: +90 212 275 88 99 ext 125


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Unmanaged switch

2008-10-20 Thread Mike
Folks,

What is the best way to include an unmanaged (read: IPless) switch in
Nagios?  Obviously I can't monitor it directly, but I'd like Nagios to
be aware of it in the network heirachy so that it is aware that it is a
possible poit of failure.  Can I just define it as a host with no IP
address and make it a parent/client of the devices that attach to it or
is there a better way to approach this?

Mike.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Unmanaged switch

2008-10-20 Thread Assaf Flatto
you'll need an ip to define it, since nagios require an address if you define 
it as host .
but you van give it a fictitious ip and assign the Check_dummy to it so it will 
have a service 
assigned to it.

then you can put it in the hierarchy .

Unfortunately , this will not give a good indication to the topology if it 
indeed fails since there 
will be no true indication if it is up or down.

 


On Monday 20 October 2008 09:48:29 Mike wrote:
 Folks,

 What is the best way to include an unmanaged (read: IPless) switch in
 Nagios?  Obviously I can't monitor it directly, but I'd like Nagios to
 be aware of it in the network heirachy so that it is aware that it is a
 possible poit of failure.  Can I just define it as a host with no IP
 address and make it a parent/client of the devices that attach to it or
 is there a better way to approach this?

 Mike.

 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge Build the coolest Linux based applications with Moblin SDK  win
 great prizes Grand prize is a trip for two to an Open Source event anywhere
 in the world http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 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



-- 

Assaf Flatto
SSP Ops Team
Linux System Administrator





IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK 
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, 
Brooklands, Weybridge. Surrey. KT13 0NY
 
 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Unmanaged switch

2008-10-20 Thread Christian Schneemann
On Monday October 20 2008 11:38:04 am Paul Weaver wrote:
 How about a new command called fakecheck, and apply to a dumbswitch
 host with a 127.0.0.1 address. It would take a list of machines, and
 check them all. If any of them are up, then the fakecheck would return
 OK, otherwise it would return an error state.
Just for understanding, you would check if the hosts which are connected to 
this dumbswitch are up?

But they are tested anyhow..


greetings,
Christian


 Something like
  #!/usr/bin/perl
  my $up = 0;
  my @hosts = qw/10.1.2.3 10.1.2.4 10.1.2.5 10.1.2.6/;
  foreach $addr (@hosts) {
   if (pingCheck($addr)) { $up++; }
  }
  if ($up  0) {
   print OK: Switch must be up\n;
   exit 0;
  } else {
   print CRITICAL: Switch may be down\n;
   exit 2;
  }

 (If you're good at programming you could probably get a list of children
 out of the config -- complex configs take a long time to read in using
 perl though)

 Another way of monitoring would be to have it powered off an SNMP
 enabled MDU which can tell the current being drawn. You could then
 measure that.

 --
 Paul Weaver
 Systems Development Engineer
 News Production Facilities, BBC News
 Work: 020 822 58109
 Room 1244  Television Centre,
 Wood Lane, London, W12 7RJ

  -Original Message-
  From: Mike [mailto:[EMAIL PROTECTED]
  Sent: 20 October 2008 09:48
  To: nagios-users@lists.sourceforge.net
  Subject: [Nagios-users] Unmanaged switch
 
 
  Folks,
 
  What is the best way to include an unmanaged (read: IPless)
  switch in Nagios?  Obviously I can't monitor it directly, but
  I'd like Nagios to be aware of it in the network heirachy so
  that it is aware that it is a possible poit of failure.  Can
  I just define it as a host with no IP address and make it a
  parent/client of the devices that attach to it or is there a
  better way to approach this?
 
  Mike.
 
  --
  ---
  This SF.Net email is sponsored by the Moblin Your Move
  Developer's challenge Build the coolest Linux based
  applications with Moblin SDK  win great prizes Grand prize
  is a trip for two to an Open Source event anywhere in the
  world http://moblin-contest.org/redirect.php?banner_id=100url=/
  ___
  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 the Moblin Your Move Developer's
 challenge Build the coolest Linux based applications with Moblin SDK  win
 great prizes Grand prize is a trip for two to an Open Source event anywhere
 in the world http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 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



-- 
Christian Schneemann

-
SUSE LINUX Products GmbH,
Maxfeldstr. 5, D - 90409 Nürnberg

Phone:  +49 (0)911 - 740 53 0
e-mail:[EMAIL PROTECTED]
-
SUSE LINUX Products GmbH, GF: Markus Rex
HRB 16746 (AG Nürnberg)

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Unmanaged switch

2008-10-20 Thread Paul Weaver
 On Monday October 20 2008 11:38:04 am Paul Weaver wrote:
  How about a new command called fakecheck, and apply to a 
  dumbswitch host with a 127.0.0.1 address. It would take a list of 
  machines, and check them all. If any of them are up, then the 
  fakecheck would return OK, otherwise it would return an error state.
 Just for understanding, you would check if the hosts which 
 are connected to 
 this dumbswitch are up?
 
 But they are tested anyhow..

If you have 10 devices on the unmanaged switch, and all 10 are off, it's
likely the switch is broken -- so set the switch to off, and the devices
to unreachable

If 9 are off, and one is on, the switch *can't* be broken

You could check the current state of each device (check_cluster), but
1) All devices go off, check_cluster goes bad
2) All devices then go unreachable
3) Check_cluster stays bad for ever (won't go good until a device goes
good, which won't happen if they are unreachable and aren't checked), or
it goes unreachable (inheriting the state of the devices), or goes good
(if it treats unreachable as OK). 

None of those is the correct action.

Pings are cheap. 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] mediawiki - include the nagios status report

2008-10-20 Thread Paul Weaver
Use an iframe to include 
http://nagios/cgi-bin/status.cgi?servicegroup-allstyle=summary -- you'd need a 
mediawiki plugin to allow the use of iframes

The use of actualize does ask questions..
--
Paul Weaver 
Systems Development Engineer
News Production Facilities, BBC News
Work:   020 822 58109
Room 1244  Television Centre,
Wood Lane, London, W12 7RJ



 -Original Message-
 From: Bianca [mailto:[EMAIL PROTECTED] 
 Sent: 20 October 2008 10:58
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] mediawiki - include the nagios status report
 
 
 hello all,
 i´m creating a webpage with mediawiki and i want to include 
 there the Status 
 Summary For All Service Groups. but i want this status report 
 to acutalize 
 itself. how can i manage this?
 
 
 --
 ---
 This SF.Net email is sponsored by the Moblin Your Move 
 Developer's challenge Build the coolest Linux based 
 applications with Moblin SDK  win great prizes Grand prize 
 is a trip for two to an Open Source event anywhere in the 
 world http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Monitor 2nd mail server behind natted router

2008-10-20 Thread Alex Dehaini
The issue is the mail router is natted to only one local IP.



On Mon, Oct 20, 2008 at 10:13 AM, Assaf Flatto [EMAIL PROTECTED]wrote:

 You should be able to do that .

 if you have access to the server , and the routing allows you to reach it ,
 ( and as you say you do
 not have an ip collision ) then you can monitor it just like any server on
 the network , but you
 may want to be more security aware on what you transmit on public IP .




 On Monday 20 October 2008 11:03:36 Alex Dehaini wrote:
  Nagios is on a public IP, the router is on a public IP and the two
 servers
  are on local IPs. Here is the connection
 
  *mail1*(localIP) 
- *MailRouter*(PublicIP) - Switch
  --- (*Nagios*)(PublicIP)
  *mail2* (localIP) 
 
  If the two servers have the same local IP, there will be IP conflict.
  NSClient basically sends info from the server to nagios. I can do that
 for
  one mail server, I wonder if I can do that for the sendcond one.
 
  Thanks,
  Lex
 
  On Mon, Oct 20, 2008 at 9:51 AM, Assaf Flatto [EMAIL PROTECTED]
 wrote:
   Unless you have two servers with the same local ip - you shouldn't have
   any problems.
  
   i assume that the routing rules you have between routers know which
 range
   is behind which router ,
   so all you need to do is monitor the second mail server as a regular
   server on the your network.
  
   Can you easily access or ping the server ?
  
   On Monday 20 October 2008 10:34:06 Alex Dehaini wrote:
Hi Guys,
   
Our email server is currently behind a cisco router. The server is
  
   running
  
a local IP and the router is on a public IP. I installed NSClient and
use the check_nt plugin to monitor the email server. Here is my host
file
   
define host{
use dns-servers
host_name   mailserver
alias   mailserver
address 41.211.31.43
}
   
I have a backup email server behind the same router running a local
 IP.
I was wondering how I can monitor it. Any ideas?
  
   --
  
   Assaf Flatto
   SSP Ops Team
   Linux System Administrator
  
  
  
  
  
   IMPORTANT . this email and the information in it may be confidential,
   legally
   privileged and/or protected by law. It is intended solely for the use
 of
   the
   person to whom it is addressed. If you are not the intended recipient,
   please
   notify the sender immediately and do not disclose the contents to any
   other person, use it for any purpose, or store or copy the information
 in
   any medium.
   Please also delete all copies of this email and any attachments from
 your
   system.
  
   We cannot guarantee the security or confidentiality of email
   communications. We
   do not accept any liability for losses or damages that you may suffer
 as
   a result of your receipt of this email including but not limited to
   computer service or system failure, access delays or interruption, data
   non-delivery or
   mis-delivery, computer viruses or other harmful components.
  
   Copyright in this email and any attachments belong to Select Service
   Partner UK
   Limited. Should you communicate with anyone at Select Service Partner
 UK
   Limited by
   email, you consent to us monitoring and reading any such
 correspondence.
  
   Nothing in this email shall be taken or read as suggesting, proposing
 or
   relating to any agreement concerted practice or other practice that
 could
   infringe UK or EC competition legislation.
  
   Select Service Partner UK Limited is a company registered in England
 and
   Wales
   (company number 05687183) whose registered office is at 1 The Heights,
   Brooklands, Weybridge. Surrey. KT13 0NY
  
  
  
  
 -
   This SF.Net email is sponsored by the Moblin Your Move Developer's
   challenge
   Build the coolest Linux based applications with Moblin SDK  win great
   prizes
   Grand prize is a trip for two to an Open Source event anywhere in the
   world http://moblin-contest.org/redirect.php?banner_id=100url=/
   ___
   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



 --

 Assaf Flatto
 SSP Ops Team
 Linux System Administrator





 IMPORTANT . this email and the information in it may be confidential,
 legally
 privileged and/or protected by law. It is intended solely for the use of
 the
 person to whom it is addressed. If you are not the intended recipient,
 please
 notify the sender immediately and do not disclose the contents to any other
 person, use it for any purpose, or store or copy the information in 

Re: [Nagios-users] check_dxml_drvstate report incorrectly remotely

2008-10-20 Thread trevor obba
The initial problem was due to the 
plug-in’s log file been own by root. Nagios could not write to the log hence 
the 
plug-in was not working when executed as nagios, deleting 
/tmp/check_dxml_drvstate.err and nagios automatically recreate the log file 
with 
permission to write to it fix the problem.


- Original Message 
From: trevor obba [EMAIL PROTECTED]
To: nagiosplug [EMAIL PROTECTED]; nagios-user 
nagios-users@lists.sourceforge.net
Sent: Tuesday, 14 October, 2008 13:21:52
Subject: [Nagios-users] check_dxml_drvstate report incorrectly remotely

I running check_dxml_drvstate version 1.6 on a Sles10 (x86_64)
check_dxml_drvstate has 755 permission 

When i execute check_dxml_drvstate plugin locally like 
./check_dxml_drvstate-u nagiosdriver.services.unl -p password -d 
mail.urs-drivers.services.unl 


I get these responses 
Driver mail.urs-drivers.services.unl is RUNNING. 


as expected.

However when i execute check_dxml_drvstate plugin through nagios nrpe.cfg using 
check_nrpe 


I get the following responses 

Driver idworks.urs-drivers.services.unl is STARTING.

Even when the driver has been stopped I still get the response
Driver idworks.urs-drivers.services.unl is STARTING.  this only report 
incorrectly
when I run remotely via nrpe.cfg using check_nrpe

I am running version 2.5.1 of check_nrpe.
How can i fix the problem? can you help? please



  

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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


Send instant messages to your online friends http://uk.messenger.yahoo.com 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Monitor 2nd mail server behind natted router

2008-10-20 Thread Alex Dehaini
Hi Guys,

Our email server is currently behind a cisco router. The server is running a
local IP and the router is on a public IP. I installed NSClient and use the
check_nt plugin to monitor the email server. Here is my host file

define host{
use dns-servers
host_name   mailserver
alias   mailserver
address 41.211.31.43
}

I have a backup email server behind the same router running a local IP. I
was wondering how I can monitor it. Any ideas?

-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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] Monitor 2nd mail server behind natted router

2008-10-20 Thread Assaf Flatto

Can you access that ip from the nagios server (ping it ?)

It seems to me the issue is with the routing , not with nagios.
you need to define in your routers the routing tables to the natted IP's  , and 
then define the host 
you wish to check .


On Monday 20 October 2008 12:21:41 Alex Dehaini wrote:
 The issue is the mail router is natted to only one local IP.

 On Mon, Oct 20, 2008 at 10:13 AM, Assaf Flatto [EMAIL PROTECTED]wrote:
  You should be able to do that .
 
  if you have access to the server , and the routing allows you to reach it
  , ( and as you say you do
  not have an ip collision ) then you can monitor it just like any server
  on the network , but you
  may want to be more security aware on what you transmit on public IP .
 
  On Monday 20 October 2008 11:03:36 Alex Dehaini wrote:
   Nagios is on a public IP, the router is on a public IP and the two
 
  servers
 
   are on local IPs. Here is the connection
  
   *mail1*(localIP) 
 - *MailRouter*(PublicIP) - Switch
   --- (*Nagios*)(PublicIP)
   *mail2* (localIP) 
  
   If the two servers have the same local IP, there will be IP conflict.
   NSClient basically sends info from the server to nagios. I can do that
 
  for
 
   one mail server, I wonder if I can do that for the sendcond one.
  
   Thanks,
   Lex
  
   On Mon, Oct 20, 2008 at 9:51 AM, Assaf Flatto [EMAIL PROTECTED]
  
  wrote:
Unless you have two servers with the same local ip - you shouldn't
have any problems.
   
i assume that the routing rules you have between routers know which
 
  range
 
is behind which router ,
so all you need to do is monitor the second mail server as a regular
server on the your network.
   
Can you easily access or ping the server ?
   
On Monday 20 October 2008 10:34:06 Alex Dehaini wrote:
 Hi Guys,

 Our email server is currently behind a cisco router. The server is
   
running
   
 a local IP and the router is on a public IP. I installed NSClient
 and use the check_nt plugin to monitor the email server. Here is my
 host file

 define host{
 use dns-servers
 host_name   mailserver
 alias   mailserver
 address 41.211.31.43
 }

 I have a backup email server behind the same router running a local
 
  IP.
 
 I was wondering how I can monitor it. Any ideas?
   
--
   
Assaf Flatto
SSP Ops Team
Linux System Administrator
   
   
   
   
   
IMPORTANT . this email and the information in it may be confidential,
legally
privileged and/or protected by law. It is intended solely for the use
 
  of
 
the
person to whom it is addressed. If you are not the intended
recipient, please
notify the sender immediately and do not disclose the contents to any
other person, use it for any purpose, or store or copy the
information
 
  in
 
any medium.
Please also delete all copies of this email and any attachments from
 
  your
 
system.
   
We cannot guarantee the security or confidentiality of email
communications. We
do not accept any liability for losses or damages that you may suffer
 
  as
 
a result of your receipt of this email including but not limited to
computer service or system failure, access delays or interruption,
data non-delivery or
mis-delivery, computer viruses or other harmful components.
   
Copyright in this email and any attachments belong to Select Service
Partner UK
Limited. Should you communicate with anyone at Select Service Partner
 
  UK
 
Limited by
email, you consent to us monitoring and reading any such
 
  correspondence.
 
Nothing in this email shall be taken or read as suggesting, proposing
 
  or
 
relating to any agreement concerted practice or other practice that
 
  could
 
infringe UK or EC competition legislation.
   
Select Service Partner UK Limited is a company registered in England
 
  and
 
Wales
(company number 05687183) whose registered office is at 1 The
Heights, Brooklands, Weybridge. Surrey. KT13 0NY
 
  -
 
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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 

Re: [Nagios-users] Unmanaged switch

2008-10-20 Thread Paul Weaver
How about a new command called fakecheck, and apply to a dumbswitch
host with a 127.0.0.1 address. It would take a list of machines, and
check them all. If any of them are up, then the fakecheck would return
OK, otherwise it would return an error state. 

Something like
 #!/usr/bin/perl
 my $up = 0;
 my @hosts = qw/10.1.2.3 10.1.2.4 10.1.2.5 10.1.2.6/;
 foreach $addr (@hosts) {
if (pingCheck($addr)) { $up++; }
 }
 if ($up  0) {
print OK: Switch must be up\n;
exit 0;
 } else {
print CRITICAL: Switch may be down\n;
exit 2;
 }

(If you're good at programming you could probably get a list of children
out of the config -- complex configs take a long time to read in using
perl though)

Another way of monitoring would be to have it powered off an SNMP
enabled MDU which can tell the current being drawn. You could then
measure that.

--
Paul Weaver 
Systems Development Engineer
News Production Facilities, BBC News
Work:   020 822 58109
Room 1244  Television Centre,
Wood Lane, London, W12 7RJ



 -Original Message-
 From: Mike [mailto:[EMAIL PROTECTED] 
 Sent: 20 October 2008 09:48
 To: nagios-users@lists.sourceforge.net
 Subject: [Nagios-users] Unmanaged switch
 
 
 Folks,
 
 What is the best way to include an unmanaged (read: IPless) 
 switch in Nagios?  Obviously I can't monitor it directly, but 
 I'd like Nagios to be aware of it in the network heirachy so 
 that it is aware that it is a possible poit of failure.  Can 
 I just define it as a host with no IP address and make it a 
 parent/client of the devices that attach to it or is there a 
 better way to approach this?
 
 Mike.
 
 --
 ---
 This SF.Net email is sponsored by the Moblin Your Move 
 Developer's challenge Build the coolest Linux based 
 applications with Moblin SDK  win great prizes Grand prize 
 is a trip for two to an Open Source event anywhere in the 
 world http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Monitor 2nd mail server behind natted router

2008-10-20 Thread Alex Dehaini
Can you route traffic to two local IPs behind the router?

On Mon, Oct 20, 2008 at 1:50 PM, Assaf Flatto [EMAIL PROTECTED]wrote:

 So it is like I thought , you need to define a routing rules on that router
 to direct the traffic to
 the device nat'ed behind .


 On Monday 20 October 2008 14:42:08 Alex Dehaini wrote:
  Nagios can only ping the router public interface
 
 


 --

 Assaf Flatto
 SSP Ops Team
 Linux System Administrator





 IMPORTANT . this email and the information in it may be confidential,
 legally
 privileged and/or protected by law. It is intended solely for the use of
 the
 person to whom it is addressed. If you are not the intended recipient,
 please
 notify the sender immediately and do not disclose the contents to any other
 person, use it for any purpose, or store or copy the information in any
 medium.
 Please also delete all copies of this email and any attachments from your
 system.

 We cannot guarantee the security or confidentiality of email
 communications. We
 do not accept any liability for losses or damages that you may suffer as a
 result of your receipt of this email including but not limited to computer
 service or system failure, access delays or interruption, data non-delivery
 or
 mis-delivery, computer viruses or other harmful components.

 Copyright in this email and any attachments belong to Select Service
 Partner UK
 Limited. Should you communicate with anyone at Select Service Partner UK
 Limited by
 email, you consent to us monitoring and reading any such correspondence.

 Nothing in this email shall be taken or read as suggesting, proposing or
 relating to any agreement concerted practice or other practice that could
 infringe UK or EC competition legislation.

 Select Service Partner UK Limited is a company registered in England and
 Wales
 (company number 05687183) whose registered office is at 1 The Heights,
 Brooklands, Weybridge. Surrey. KT13 0NY



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 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




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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] Monitor 2nd mail server behind natted router

2008-10-20 Thread Assaf Flatto
I can not tell you more about routing , since i am not a CISCO expert .
i suggest you ask the people that setup your network for those issue.




On Monday 20 October 2008 15:23:50 Alex Dehaini wrote:
 Can you route traffic to two local IPs behind the router?

 On Mon, Oct 20, 2008 at 1:50 PM, Assaf Flatto [EMAIL PROTECTED]wrote:
  So it is like I thought , you need to define a routing rules on that
  router to direct the traffic to
  the device nat'ed behind .
 
  On Monday 20 October 2008 14:42:08 Alex Dehaini wrote:
   Nagios can only ping the router public interface
 
  --
 
  Assaf Flatto
  SSP Ops Team
  Linux System Administrator
 
 
 
 
 
  IMPORTANT . this email and the information in it may be confidential,
  legally
  privileged and/or protected by law. It is intended solely for the use of
  the
  person to whom it is addressed. If you are not the intended recipient,
  please
  notify the sender immediately and do not disclose the contents to any
  other person, use it for any purpose, or store or copy the information in
  any medium.
  Please also delete all copies of this email and any attachments from your
  system.
 
  We cannot guarantee the security or confidentiality of email
  communications. We
  do not accept any liability for losses or damages that you may suffer as
  a result of your receipt of this email including but not limited to
  computer service or system failure, access delays or interruption, data
  non-delivery or
  mis-delivery, computer viruses or other harmful components.
 
  Copyright in this email and any attachments belong to Select Service
  Partner UK
  Limited. Should you communicate with anyone at Select Service Partner UK
  Limited by
  email, you consent to us monitoring and reading any such correspondence.
 
  Nothing in this email shall be taken or read as suggesting, proposing or
  relating to any agreement concerted practice or other practice that could
  infringe UK or EC competition legislation.
 
  Select Service Partner UK Limited is a company registered in England and
  Wales
  (company number 05687183) whose registered office is at 1 The Heights,
  Brooklands, Weybridge. Surrey. KT13 0NY
 
 
 
  -
  This SF.Net email is sponsored by the Moblin Your Move Developer's
  challenge
  Build the coolest Linux based applications with Moblin SDK  win great
  prizes
  Grand prize is a trip for two to an Open Source event anywhere in the
  world http://moblin-contest.org/redirect.php?banner_id=100url=/
  ___
  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



-- 

Assaf Flatto
SSP Ops Team
Linux System Administrator





IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK 
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, 
Brooklands, Weybridge. Surrey. KT13 0NY
 
 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios 

Re: [Nagios-users] Monitor 2nd mail server behind natted router

2008-10-20 Thread Alex Dehaini
Okay,

thanks

On Mon, Oct 20, 2008 at 2:28 PM, Assaf Flatto [EMAIL PROTECTED]wrote:

 I can not tell you more about routing , since i am not a CISCO expert .
 i suggest you ask the people that setup your network for those issue.




 On Monday 20 October 2008 15:23:50 Alex Dehaini wrote:
  Can you route traffic to two local IPs behind the router?
 
  On Mon, Oct 20, 2008 at 1:50 PM, Assaf Flatto [EMAIL PROTECTED]
 wrote:
   So it is like I thought , you need to define a routing rules on that
   router to direct the traffic to
   the device nat'ed behind .
  
   On Monday 20 October 2008 14:42:08 Alex Dehaini wrote:
Nagios can only ping the router public interface
  
   --
  
   Assaf Flatto
   SSP Ops Team
   Linux System Administrator
  
  
  
  
  
   IMPORTANT . this email and the information in it may be confidential,
   legally
   privileged and/or protected by law. It is intended solely for the use
 of
   the
   person to whom it is addressed. If you are not the intended recipient,
   please
   notify the sender immediately and do not disclose the contents to any
   other person, use it for any purpose, or store or copy the information
 in
   any medium.
   Please also delete all copies of this email and any attachments from
 your
   system.
  
   We cannot guarantee the security or confidentiality of email
   communications. We
   do not accept any liability for losses or damages that you may suffer
 as
   a result of your receipt of this email including but not limited to
   computer service or system failure, access delays or interruption, data
   non-delivery or
   mis-delivery, computer viruses or other harmful components.
  
   Copyright in this email and any attachments belong to Select Service
   Partner UK
   Limited. Should you communicate with anyone at Select Service Partner
 UK
   Limited by
   email, you consent to us monitoring and reading any such
 correspondence.
  
   Nothing in this email shall be taken or read as suggesting, proposing
 or
   relating to any agreement concerted practice or other practice that
 could
   infringe UK or EC competition legislation.
  
   Select Service Partner UK Limited is a company registered in England
 and
   Wales
   (company number 05687183) whose registered office is at 1 The Heights,
   Brooklands, Weybridge. Surrey. KT13 0NY
  
  
  
  
 -
   This SF.Net email is sponsored by the Moblin Your Move Developer's
   challenge
   Build the coolest Linux based applications with Moblin SDK  win great
   prizes
   Grand prize is a trip for two to an Open Source event anywhere in the
   world http://moblin-contest.org/redirect.php?banner_id=100url=/
   ___
   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



 --

 Assaf Flatto
 SSP Ops Team
 Linux System Administrator





 IMPORTANT . this email and the information in it may be confidential,
 legally
 privileged and/or protected by law. It is intended solely for the use of
 the
 person to whom it is addressed. If you are not the intended recipient,
 please
 notify the sender immediately and do not disclose the contents to any other
 person, use it for any purpose, or store or copy the information in any
 medium.
 Please also delete all copies of this email and any attachments from your
 system.

 We cannot guarantee the security or confidentiality of email
 communications. We
 do not accept any liability for losses or damages that you may suffer as a
 result of your receipt of this email including but not limited to computer
 service or system failure, access delays or interruption, data non-delivery
 or
 mis-delivery, computer viruses or other harmful components.

 Copyright in this email and any attachments belong to Select Service
 Partner UK
 Limited. Should you communicate with anyone at Select Service Partner UK
 Limited by
 email, you consent to us monitoring and reading any such correspondence.

 Nothing in this email shall be taken or read as suggesting, proposing or
 relating to any agreement concerted practice or other practice that could
 infringe UK or EC competition legislation.

 Select Service Partner UK Limited is a company registered in England and
 Wales
 (company number 05687183) whose registered office is at 1 The Heights,
 Brooklands, Weybridge. Surrey. KT13 0NY



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 

[Nagios-users] How do I check if a website is up?

2008-10-20 Thread Josh Wells
Do I have to define a remote host such as www.website.com in order to
apply the check_http service against that host?
 
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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] mediawiki - include the nagios status report

2008-10-20 Thread Bianca
hello all,
i´m creating a webpage with mediawiki and i want to include there the Status 
Summary For All Service Groups. but i want this status report to acutalize 
itself. how can i manage this?


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] How do I check if a website is up?

2008-10-20 Thread Assaf Flatto
Not nessaceily .

If you have that website in your network , you can just define the check_http 
check to that host.
also you can add in one of the parameters the specific URL you wish to query .

-u, --url=PATH
URL to GET or POST (default: /)


Or you can define a check on the nagios server it self to query the web site 
like this :

# 'check_website' command definition
define command{
command_namecheck_website
command_line$USER1$/check_http -H www.website.com 
}


If not , then you need to build a new host definition and service check for 
that host .


On Monday 20 October 2008 15:18:53 Josh Wells wrote:
 Do I have to define a remote host such as www.website.com in order to
 apply the check_http service against that host?



-- 

Assaf Flatto
SSP Ops Team
Linux System Administrator





IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK 
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, 
Brooklands, Weybridge. Surrey. KT13 0NY
 
 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] How do I check if a website is up?

2008-10-20 Thread Hendrik Bäcker
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Josh Wells schrieb:
 Do I have to define a remote host such as www.website.com
 http://www.website.com in order to apply the check_http service
 against that host?

Yes/No ;)
You can but you have not to... you can use check_http as a service for
an already existing host or you can define a new host for this... just
as you want.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
 
iD8DBQFI/Jm5lI0PwfxLQjkRAqf9AJ4/wYh2GF2OwD5BaWw/NqzwXr9CngCeNKuM
oQyXiuNxUn9/aJG91FDqc8g=
=c+FE
-END PGP SIGNATURE-


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] How do I check if a website is up?

2008-10-20 Thread James
On Mon, October 20, 2008 10:18 am, Josh Wells wrote:
 Do I have to define a remote host such as www.website.com in order to
 apply the check_http service against that host?

A service needs a host so I think so.
It doesn't need to be www though, as long as port 80 answers.

All it does it telnet to port 80 and do a 'GET /' to see if the main page
is up.
I modified my check_http to look somewhere else beside /.



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Monitor 2nd mail server behind natted router

2008-10-20 Thread Assaf Flatto

Unless you have two servers with the same local ip - you shouldn't have any 
problems.

i assume that the routing rules you have between routers know which range is 
behind which router , 
so all you need to do is monitor the second mail server as a regular server on 
the your network.

Can you easily access or ping the server ?


On Monday 20 October 2008 10:34:06 Alex Dehaini wrote:
 Hi Guys,

 Our email server is currently behind a cisco router. The server is running
 a local IP and the router is on a public IP. I installed NSClient and use
 the check_nt plugin to monitor the email server. Here is my host file

 define host{
 use dns-servers
 host_name   mailserver
 alias   mailserver
 address 41.211.31.43
 }

 I have a backup email server behind the same router running a local IP. I
 was wondering how I can monitor it. Any ideas?



-- 

Assaf Flatto
SSP Ops Team
Linux System Administrator





IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK 
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, 
Brooklands, Weybridge. Surrey. KT13 0NY
 
 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] mediawiki - include the nagios status report

2008-10-20 Thread Paul Weaver
 -Original Message-
 From: Heigl, Bianca [mailto:[EMAIL PROTECTED] 
 Sent: 20 October 2008 11:56
 To: Paul Weaver
 Subject: AW: [Nagios-users] mediawiki - include the nagios 
 status report
 
 
 Thanks a lot, i will try this. 
 Sorry, I didn´t mean actualize, I meant that it should update 
 itself every 90 minutes, also at the mediawiki page.

Using Actualise raises a warning flag that a manager has got involved :)

A snapshot every 90 minutes would be harder -- you'd need a cron job running to 
download the view -- wget should help.

Nagios can give different views depending on the user, if you wanted that you'd 
have to think again about your downloading.

As long as you don't mind the nagios authentication, an iframe would seem the 
best solution.

You'll need to install something like 
http://www.mediawiki.org/wiki/Extension:Website_in_iFrame onto your mediawiki 
server though.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] Monitor 2nd mail server behind natted router

2008-10-20 Thread Alex Dehaini
Nagios is on a public IP, the router is on a public IP and the two servers
are on local IPs. Here is the connection

*mail1*(localIP) 
  - *MailRouter*(PublicIP) - Switch
--- (*Nagios*)(PublicIP)
*mail2* (localIP) 

If the two servers have the same local IP, there will be IP conflict.
NSClient basically sends info from the server to nagios. I can do that for
one mail server, I wonder if I can do that for the sendcond one.

Thanks,
Lex



On Mon, Oct 20, 2008 at 9:51 AM, Assaf Flatto [EMAIL PROTECTED]wrote:


 Unless you have two servers with the same local ip - you shouldn't have any
 problems.

 i assume that the routing rules you have between routers know which range
 is behind which router ,
 so all you need to do is monitor the second mail server as a regular server
 on the your network.

 Can you easily access or ping the server ?


 On Monday 20 October 2008 10:34:06 Alex Dehaini wrote:
  Hi Guys,
 
  Our email server is currently behind a cisco router. The server is
 running
  a local IP and the router is on a public IP. I installed NSClient and use
  the check_nt plugin to monitor the email server. Here is my host file
 
  define host{
  use dns-servers
  host_name   mailserver
  alias   mailserver
  address 41.211.31.43
  }
 
  I have a backup email server behind the same router running a local IP. I
  was wondering how I can monitor it. Any ideas?



 --

 Assaf Flatto
 SSP Ops Team
 Linux System Administrator





 IMPORTANT . this email and the information in it may be confidential,
 legally
 privileged and/or protected by law. It is intended solely for the use of
 the
 person to whom it is addressed. If you are not the intended recipient,
 please
 notify the sender immediately and do not disclose the contents to any other
 person, use it for any purpose, or store or copy the information in any
 medium.
 Please also delete all copies of this email and any attachments from your
 system.

 We cannot guarantee the security or confidentiality of email
 communications. We
 do not accept any liability for losses or damages that you may suffer as a
 result of your receipt of this email including but not limited to computer
 service or system failure, access delays or interruption, data non-delivery
 or
 mis-delivery, computer viruses or other harmful components.

 Copyright in this email and any attachments belong to Select Service
 Partner UK
 Limited. Should you communicate with anyone at Select Service Partner UK
 Limited by
 email, you consent to us monitoring and reading any such correspondence.

 Nothing in this email shall be taken or read as suggesting, proposing or
 relating to any agreement concerted practice or other practice that could
 infringe UK or EC competition legislation.

 Select Service Partner UK Limited is a company registered in England and
 Wales
 (company number 05687183) whose registered office is at 1 The Heights,
 Brooklands, Weybridge. Surrey. KT13 0NY



 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 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




-- 
Alex Dehaini
Developer
Site - www.alexdehaini.com
Email - [EMAIL PROTECTED]
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/___
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] How do I check if a website is up?

2008-10-20 Thread Josh Wells
Ok so if the website is external to my network I need to create a host
definition? What would that look like for a URL? I've only made host
definitions for internal hosts using the IP address. Because the website
is a hosted solution I would rather define it by URL than IP address. Is
this possible?



-Original Message-
From: Assaf Flatto [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2008 10:46 AM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] How do I check if a website is up?

Not nessaceily .

If you have that website in your network , you can just define the
check_http check to that host.
also you can add in one of the parameters the specific URL you wish to
query .

-u, --url=PATH
URL to GET or POST (default: /)


Or you can define a check on the nagios server it self to query the web
site like this :

# 'check_website' command definition
define command{
command_namecheck_website
command_line$USER1$/check_http -H www.website.com 
}


If not , then you need to build a new host definition and service check
for that host .


On Monday 20 October 2008 15:18:53 Josh Wells wrote:
 Do I have to define a remote host such as www.website.com in order to 
 apply the check_http service against that host?



-- 

Assaf Flatto
SSP Ops Team
Linux System Administrator





IMPORTANT . this email and the information in it may be confidential,
legally privileged and/or protected by law. It is intended solely for
the use of the person to whom it is addressed. If you are not the
intended recipient, please notify the sender immediately and do not
disclose the contents to any other person, use it for any purpose, or
store or copy the information in any medium.
Please also delete all copies of this email and any attachments from
your system.

We cannot guarantee the security or confidentiality of email
communications. We do not accept any liability for losses or damages
that you may suffer as a result of your receipt of this email including
but not limited to computer service or system failure, access delays or
interruption, data non-delivery or mis-delivery, computer viruses or
other harmful components.

Copyright in this email and any attachments belong to Select Service
Partner UK Limited. Should you communicate with anyone at Select Service
Partner UK Limited by email, you consent to us monitoring and reading
any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that
could infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and
Wales (company number 05687183) whose registered office is at 1 The
Heights, Brooklands, Weybridge. Surrey. KT13 0NY
 
 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge Build the coolest Linux based applications with Moblin SDK 
win great prizes Grand prize is a trip for two to an Open Source event
anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] How do I check if a website is up?

2008-10-20 Thread Assaf Flatto
No , you don't have to define a host .

you define a service check with the fix parameters ( as i gave in the previous 
mail ) and assign 
this check to an existing host .

that host will execute the check and report the status returned from the 
command ( personally i'd 
run it from the nagios server itself) .


On Monday 20 October 2008 15:58:25 Josh Wells wrote:
 Ok so if the website is external to my network I need to create a host
 definition? What would that look like for a URL? I've only made host
 definitions for internal hosts using the IP address. Because the website
 is a hosted solution I would rather define it by URL than IP address. Is
 this possible?



 -Original Message-
 From: Assaf Flatto [mailto:[EMAIL PROTECTED]
 Sent: Monday, October 20, 2008 10:46 AM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] How do I check if a website is up?

 Not nessaceily .

 If you have that website in your network , you can just define the
 check_http check to that host.
 also you can add in one of the parameters the specific URL you wish to
 query .

 -u, --url=PATH
 URL to GET or POST (default: /)


 Or you can define a check on the nagios server it self to query the web
 site like this :

 # 'check_website' command definition
 define command{
 command_namecheck_website
 command_line$USER1$/check_http -H www.website.com
 }


 If not , then you need to build a new host definition and service check
 for that host .

 On Monday 20 October 2008 15:18:53 Josh Wells wrote:
  Do I have to define a remote host such as www.website.com in order to
  apply the check_http service against that host?



-- 

Assaf Flatto
SSP Ops Team
Linux System Administrator





IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK 
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, 
Brooklands, Weybridge. Surrey. KT13 0NY
 
 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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] How do I check if a website is up?

2008-10-20 Thread Paul Weaver
However if you use a squid proxy, running the service on the cache would
be a better choice. 

If not, running on your external gateway might be a good idea. After
all, if your internet connection goes down, it doesn't mean
www.google.com isn't available -- it means you can't see it.

--
Paul Weaver 
Systems Development Engineer
News Production Facilities, BBC News
Work:   020 822 58109
Room 1244  Television Centre,
Wood Lane, London, W12 7RJ



 -Original Message-
 From: Assaf Flatto [mailto:[EMAIL PROTECTED] 
 Sent: 20 October 2008 16:03
 To: Nagios User list
 Subject: Re: [Nagios-users] How do I check if a website is up?
 
 
 No , you don't have to define a host .
 
 you define a service check with the fix parameters ( as i 
 gave in the previous mail ) and assign 
 this check to an existing host .
 
 that host will execute the check and report the status 
 returned from the command ( personally i'd 
 run it from the nagios server itself) .
 
 
 On Monday 20 October 2008 15:58:25 Josh Wells wrote:
  Ok so if the website is external to my network I need to 
 create a host 
  definition? What would that look like for a URL? I've only 
 made host 
  definitions for internal hosts using the IP address. Because the 
  website is a hosted solution I would rather define it by 
 URL than IP 
  address. Is this possible?
 
 
 
  -Original Message-
  From: Assaf Flatto [mailto:[EMAIL PROTECTED]
  Sent: Monday, October 20, 2008 10:46 AM
  To: nagios-users@lists.sourceforge.net
  Subject: Re: [Nagios-users] How do I check if a website is up?
 
  Not nessaceily .
 
  If you have that website in your network , you can just define the 
  check_http check to that host. also you can add in one of the 
  parameters the specific URL you wish to query .
 
  -u, --url=PATH
  URL to GET or POST (default: /)
 
 
  Or you can define a check on the nagios server it self to query the 
  web site like this :
 
  # 'check_website' command definition
  define command{
  command_namecheck_website
  command_line$USER1$/check_http -H www.website.com
  }
 
 
  If not , then you need to build a new host definition and service 
  check for that host .
 
  On Monday 20 October 2008 15:18:53 Josh Wells wrote:
   Do I have to define a remote host such as www.website.com 
 in order 
   to apply the check_http service against that host?
 
 
 
 -- 
 
 Assaf Flatto
 SSP Ops Team
 Linux System Administrator
 
 
 
 
 
 IMPORTANT . this email and the information in it may be 
 confidential, legally privileged and/or protected by law. It 
 is intended solely for the use of the person to whom it is 
 addressed. If you are not the intended recipient, please 
 notify the sender immediately and do not disclose the 
 contents to any other person, use it for any purpose, or 
 store or copy the information in any medium. Please also 
 delete all copies of this email and any attachments from your system.
 
 We cannot guarantee the security or confidentiality of email 
 communications. We do not accept any liability for losses or 
 damages that you may suffer as a result of your receipt of 
 this email including but not limited to computer service or 
 system failure, access delays or interruption, data 
 non-delivery or mis-delivery, computer viruses or other 
 harmful components.
 
 Copyright in this email and any attachments belong to Select 
 Service Partner UK Limited. Should you communicate with 
 anyone at Select Service Partner UK Limited by email, you 
 consent to us monitoring and reading any such correspondence.
 
 Nothing in this email shall be taken or read as suggesting, 
 proposing or relating to any agreement concerted practice or 
 other practice that could infringe UK or EC competition legislation.
 
 Select Service Partner UK Limited is a company registered in 
 England and Wales (company number 05687183) whose registered 
 office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY
  
  
 
 --
 ---
 This SF.Net email is sponsored by the Moblin Your Move 
 Developer's challenge Build the coolest Linux based 
 applications with Moblin SDK  win great prizes Grand prize 
 is a trip for two to an Open Source event anywhere in the 
 world http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the 

Re: [Nagios-users] How do I check if a website is up?

2008-10-20 Thread Josh Wells
 
Ok I defined the command as you specified in my commands.cfg file. I
then added a service definition in my localhost.cfg file using that
command. It appears to be working. How do I configure an alert for this
type of check? I would like to be notified if the website is not
reachable for more than say 5 minutes. Also while this is functional I
don't really like that this website check is showing up under my nagios
server host. I would prefer that it have its own host definition or at
least appear separately from the other hosts. Is it possible to do this
using a URL?

Thanks for your help. I used the quickstart guide to get my server up
and running so still pretty green with nagios but I'm learning.

Josh


-Original Message-
From: Assaf Flatto [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 20, 2008 11:03 AM
To: Nagios User list
Subject: Re: [Nagios-users] How do I check if a website is up?

No , you don't have to define a host .

you define a service check with the fix parameters ( as i gave in the
previous mail ) and assign this check to an existing host .

that host will execute the check and report the status returned from the
command ( personally i'd run it from the nagios server itself) .


On Monday 20 October 2008 15:58:25 Josh Wells wrote:
 Ok so if the website is external to my network I need to create a host
 definition? What would that look like for a URL? I've only made host
 definitions for internal hosts using the IP address. Because the
website
 is a hosted solution I would rather define it by URL than IP address.
Is
 this possible?



 -Original Message-
 From: Assaf Flatto [mailto:[EMAIL PROTECTED]
 Sent: Monday, October 20, 2008 10:46 AM
 To: nagios-users@lists.sourceforge.net
 Subject: Re: [Nagios-users] How do I check if a website is up?

 Not nessaceily .

 If you have that website in your network , you can just define the
 check_http check to that host.
 also you can add in one of the parameters the specific URL you wish to
 query .

 -u, --url=PATH
 URL to GET or POST (default: /)


 Or you can define a check on the nagios server it self to query the
web
 site like this :

 # 'check_website' command definition
 define command{
 command_namecheck_website
 command_line$USER1$/check_http -H www.website.com
 }


 If not , then you need to build a new host definition and service
check
 for that host .

 On Monday 20 October 2008 15:18:53 Josh Wells wrote:
  Do I have to define a remote host such as www.website.com in order
to
  apply the check_http service against that host?



-- 

Assaf Flatto
SSP Ops Team
Linux System Administrator





IMPORTANT . this email and the information in it may be confidential,
legally
privileged and/or protected by law. It is intended solely for the use of
the
person to whom it is addressed. If you are not the intended recipient,
please
notify the sender immediately and do not disclose the contents to any
other
person, use it for any purpose, or store or copy the information in any
medium.
Please also delete all copies of this email and any attachments from
your
system.

We cannot guarantee the security or confidentiality of email
communications. We
do not accept any liability for losses or damages that you may suffer as
a
result of your receipt of this email including but not limited to
computer
service or system failure, access delays or interruption, data
non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service
Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that
could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and
Wales
(company number 05687183) whose registered office is at 1 The Heights,
Brooklands, Weybridge. Surrey. KT13 0NY
 
 


-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based 

Re: [Nagios-users] How do I check if a website is up?

2008-10-20 Thread Assaf Flatto
Josh 

All those questions you asked here , are explained in detail in the 
documantation .
http://www.nagios.org/docs/
I sugest you read that , and if you have any questions , we'll be happy to help.


On Monday 20 October 2008 17:17:03 Josh Wells wrote:
 Ok I defined the command as you specified in my commands.cfg file. I
 then added a service definition in my localhost.cfg file using that
 command. It appears to be working. How do I configure an alert for this
 type of check? I would like to be notified if the website is not
 reachable for more than say 5 minutes. Also while this is functional I
 don't really like that this website check is showing up under my nagios
 server host. I would prefer that it have its own host definition or at
 least appear separately from the other hosts. Is it possible to do this
 using a URL?

 Thanks for your help. I used the quickstart guide to get my server up
 and running so still pretty green with nagios but I'm learning.

 Josh


 -Original Message-
 From: Assaf Flatto [mailto:[EMAIL PROTECTED]
 Sent: Monday, October 20, 2008 11:03 AM
 To: Nagios User list
 Subject: Re: [Nagios-users] How do I check if a website is up?

 No , you don't have to define a host .

 you define a service check with the fix parameters ( as i gave in the
 previous mail ) and assign this check to an existing host .

 that host will execute the check and report the status returned from the
 command ( personally i'd run it from the nagios server itself) .

 On Monday 20 October 2008 15:58:25 Josh Wells wrote:
  Ok so if the website is external to my network I need to create a host
  definition? What would that look like for a URL? I've only made host
  definitions for internal hosts using the IP address. Because the

 website

  is a hosted solution I would rather define it by URL than IP address.

 Is

  this possible?
 
 
 
  -Original Message-
  From: Assaf Flatto [mailto:[EMAIL PROTECTED]
  Sent: Monday, October 20, 2008 10:46 AM
  To: nagios-users@lists.sourceforge.net
  Subject: Re: [Nagios-users] How do I check if a website is up?
 
  Not nessaceily .
 
  If you have that website in your network , you can just define the
  check_http check to that host.
  also you can add in one of the parameters the specific URL you wish to
  query .
 
  -u, --url=PATH
  URL to GET or POST (default: /)
 
 
  Or you can define a check on the nagios server it self to query the

 web

  site like this :
 
  # 'check_website' command definition
  define command{
  command_namecheck_website
  command_line$USER1$/check_http -H www.website.com
  }
 
 
  If not , then you need to build a new host definition and service

 check

  for that host .
 
  On Monday 20 October 2008 15:18:53 Josh Wells wrote:
   Do I have to define a remote host such as www.website.com in order

 to

   apply the check_http service against that host?



-- 

Assaf Flatto
SSP Ops Team
Linux System Administrator





IMPORTANT . this email and the information in it may be confidential, legally
privileged and/or protected by law. It is intended solely for the use of the
person to whom it is addressed. If you are not the intended recipient, please
notify the sender immediately and do not disclose the contents to any other
person, use it for any purpose, or store or copy the information in any medium.
Please also delete all copies of this email and any attachments from your
system.

We cannot guarantee the security or confidentiality of email communications. We
do not accept any liability for losses or damages that you may suffer as a
result of your receipt of this email including but not limited to computer
service or system failure, access delays or interruption, data non-delivery or
mis-delivery, computer viruses or other harmful components.

Copyright in this email and any attachments belong to Select Service Partner UK
Limited. Should you communicate with anyone at Select Service Partner UK 
Limited by
email, you consent to us monitoring and reading any such correspondence.

Nothing in this email shall be taken or read as suggesting, proposing or
relating to any agreement concerted practice or other practice that could
infringe UK or EC competition legislation.

Select Service Partner UK Limited is a company registered in England and Wales
(company number 05687183) whose registered office is at 1 The Heights, 
Brooklands, Weybridge. Surrey. KT13 0NY
 
 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include 

Re: [Nagios-users] How do I check if a website is up?

2008-10-20 Thread Ben O'Hara
What i have done in the past is,

a) create a host for www.example.com
b) ceate a host group - External
c) stick www.example.com in Eternal group
) add service check to host

Yu can then add numberous external checks into the group or check other
services on the host.

Seemed to make sense that way for me back then

Ben

On Mon, Oct 20, 2008 at 6:17 PM, Josh Wells [EMAIL PROTECTED] wrote:


 Ok I defined the command as you specified in my commands.cfg file. I
 then added a service definition in my localhost.cfg file using that
 command. It appears to be working. How do I configure an alert for this
 type of check? I would like to be notified if the website is not
 reachable for more than say 5 minutes. Also while this is functional I
 don't really like that this website check is showing up under my nagios
 server host. I would prefer that it have its own host definition or at
 least appear separately from the other hosts. Is it possible to do this
 using a URL?

 Thanks for your help. I used the quickstart guide to get my server up
 and running so still pretty green with nagios but I'm learning.

 Josh


 -Original Message-
 From: Assaf Flatto [mailto:[EMAIL PROTECTED]
 Sent: Monday, October 20, 2008 11:03 AM
 To: Nagios User list
 Subject: Re: [Nagios-users] How do I check if a website is up?

 No , you don't have to define a host .

 you define a service check with the fix parameters ( as i gave in the
 previous mail ) and assign this check to an existing host .

 that host will execute the check and report the status returned from the
 command ( personally i'd run it from the nagios server itself) .


 On Monday 20 October 2008 15:58:25 Josh Wells wrote:
  Ok so if the website is external to my network I need to create a host
  definition? What would that look like for a URL? I've only made host
  definitions for internal hosts using the IP address. Because the
 website
  is a hosted solution I would rather define it by URL than IP address.
 Is
  this possible?
 
 
 
  -Original Message-
  From: Assaf Flatto [mailto:[EMAIL PROTECTED]
  Sent: Monday, October 20, 2008 10:46 AM
  To: nagios-users@lists.sourceforge.net
  Subject: Re: [Nagios-users] How do I check if a website is up?
 
  Not nessaceily .
 
  If you have that website in your network , you can just define the
  check_http check to that host.
  also you can add in one of the parameters the specific URL you wish to
  query .
 
  -u, --url=PATH
  URL to GET or POST (default: /)
 
 
  Or you can define a check on the nagios server it self to query the
 web
  site like this :
 
  # 'check_website' command definition
  define command{
  command_namecheck_website
  command_line$USER1$/check_http -H www.website.com
  }
 
 
  If not , then you need to build a new host definition and service
 check
  for that host .
 
  On Monday 20 October 2008 15:18:53 Josh Wells wrote:
   Do I have to define a remote host such as www.website.com in order
 to
   apply the check_http service against that host?



 --

 Assaf Flatto
 SSP Ops Team
 Linux System Administrator





 IMPORTANT . this email and the information in it may be confidential,
 legally
 privileged and/or protected by law. It is intended solely for the use of
 the
 person to whom it is addressed. If you are not the intended recipient,
 please
 notify the sender immediately and do not disclose the contents to any
 other
 person, use it for any purpose, or store or copy the information in any
 medium.
 Please also delete all copies of this email and any attachments from
 your
 system.

 We cannot guarantee the security or confidentiality of email
 communications. We
 do not accept any liability for losses or damages that you may suffer as
 a
 result of your receipt of this email including but not limited to
 computer
 service or system failure, access delays or interruption, data
 non-delivery or
 mis-delivery, computer viruses or other harmful components.

 Copyright in this email and any attachments belong to Select Service
 Partner UK
 Limited. Should you communicate with anyone at Select Service Partner UK
 Limited by
 email, you consent to us monitoring and reading any such correspondence.

 Nothing in this email shall be taken or read as suggesting, proposing or
 relating to any agreement concerted practice or other practice that
 could
 infringe UK or EC competition legislation.

 Select Service Partner UK Limited is a company registered in England and
 Wales
 (company number 05687183) whose registered office is at 1 The Heights,
 Brooklands, Weybridge. Surrey. KT13 0NY



 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 

[Nagios-users] Nagios 2

2008-10-20 Thread mba


I have a question about Nagios version 2 that I use to oversee the entire
park.
I NRPE and orders.

on some queries on some LDAP servers AD (Active Directory), nagios sends me:

   SERVER SERVICE TIME OK%%% SIMPLE WARNING TIME TIME TIME UNKNOWN%
CRITICAL TIME INDETERMINATE%
   DC 1 LDAP query 0.000% (0.000%) 100.000% (100.000%) 0.000% (0.000%)
0.000%
(0.000%) 0.000%
   DC 2 LDAP query 0.000% (0.000%) 0.000% (0.000%) 0.000% (0.000%)
100,000%
(100,000%) 0.000%
   DC 3 LDAP query 0.000% (0.000%) 0.000% (0.000%) 0.000% (0.000%)
100,000%
(100,000%) 0.000%

ie that the% Time OK is zero, the% critical warning time is 100%, while the
opposite view that it should because the authentication works.
thank you for your help

Best regards

En Français:



j'ai une question concernant Nagios version 2  que j'utilise pour superviser
l'ensemble du parc informatique.
J’utilise NRPE et les commandes.

sur quelques requêtes LDAP concernant quelques serveurs AD (Active
directory), nagios m'envoie:

  SERVEUR SERVICE % TEMPS OK  %TEMPS ALERTE SIMPLE% TEMPS
INCONNU   % TEMPS
CRITIQUE% TEMPS INDETERMINE
  DC 1  Requete LDAP  0.000% (0.000%)   100.000% (100.000%)
0.000% (0.000%)  0.000%
(0.000%)0.000%
  DC 2  Requete LDAP  0.000% (0.000%)   0.000% (0.000%)   0.000%
(0.000%)   100.000%
(100.000%)  0.000%
  DC 3  Requete LDAP  0.000% (0.000%)   0.000% (0.000%)   0.000%
(0.000%)   100.000%
(100.000%)  0.000%

c'est-à-dire que  le % Temps OK est à zéro, le % temps alerte critique est
100% Alors que c'est le contraire qu'il devrait afficher puisque
l'authentification fonctionne.
merci de votre aide


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
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