[Nagios-users] R: R: R: service acknowledges disappears

2009-10-26 Thread Marco Borsani
Many thanks!
Where I can find the complete list of non-status informations events?

If I understand correctly, I will need to set retain_nonstatus_information
1 when I use external commands. Isn't it ?

-Messaggio originale-
Da: Marc Powell [mailto:m...@ena.com] 
Inviato: venerdì 23 ottobre 2009 17.16
A: Nagios-users@lists.sourceforge.net Mailinglist
Oggetto: Re: [Nagios-users] R: R: service acknowledges disappears


On Oct 23, 2009, at 10:10 AM, Marco Borsani wrote:

 Ok, but (after read the docs), I still don't understand what does it  
 does
 ;-)

acknowledgement state is considered non-status information, along with  
notifications enabled, active/passive checks enabled, event handlers  
enabled, check command, check_period and others...

--
Marc



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios disfunctional , perhaps due to time change ?

2009-10-26 Thread Mark Elsen
 - Nagios 3.2.0
---

 - This morning, I find nagios stopped death in it's tracks. Single
daemon running,
servcie and host checks are no longer executed.

Stopping and restarting NAGIOS does not help. How can I remedy this ?
We left DST in Europe. Can this be due to a time change ?

 All hints welcomed !

 Marc.

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios is freezing a lot of time

2009-10-26 Thread Adrian Chapela
Hello,

I have been using Nagios from a long time ago (6 years...). From 2 weeks 
ago I am experiencing some problems with nagios, it is stopping getting 
information and checking services and hosts. Also the graphs are 
stopping. It was version 3.0.6 and I am getting this messages:

Oct 18 09:03:54 correo1 nagios: Warning: A system time change of 1d 7h 
49m 0s (forwards in time) has been detected.  Compensating...
Oct 18 09:07:56 correo1 nagios: Auto-save of retention data completed 
successfully.
Oct 18 09:12:56 correo1 nagios: Auto-save of retention data completed 
successfully.
Oct 18 09:15:23 correo1 nagios: Warning: The check of host 'APN' looks 
like it was orphaned (results never came back).  I'm scheduling an 
immediate check of the host...

Now I have installed Nagios 3.2.0 to try to avoid this problem but it 
has appear again but without any message in log:
Oct 26 06:43:35 correo1 nagios: Auto-save of retention data completed 
successfully.
Oct 26 06:48:35 correo1 nagios: Auto-save of retention data completed 
successfully.
Oct 26 06:53:35 correo1 nagios: Auto-save of retention data completed 
successfully.
Oct 26 06:58:35 correo1 nagios: Auto-save of retention data completed 
successfully.

nagios only write the above messages  in log. But I have lost the graphs 
and  6 hours later all of checks. Why could be the reason ?

Thank you!



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios disfunctional , perhaps due to time change ?

2009-10-26 Thread Martin Melin
Hi,

This happened to us as well. All services had been scheduled to execute at
11 PM today.

The quick fix we used was to stop Nagios, move the objects.cache and
retention.dat files and then start it back up again. All acknowledgements
etc. were lost but we needed to get back up again soon.

Note that this only happened on our 3.2.0 install, another 3.0.6 was fine.

I'm still investigating what happened, but the above should let you get it
back up again.

Regards
Martin Melin

On Mon, Oct 26, 2009 at 9:05 AM, Mark Elsen mark.el...@gmail.com wrote:

  - Nagios 3.2.0
 ---

  - This morning, I find nagios stopped death in it's tracks. Single
 daemon running,
 servcie and host checks are no longer executed.

 Stopping and restarting NAGIOS does not help. How can I remedy this ?
 We left DST in Europe. Can this be due to a time change ?

  All hints welcomed !

  Marc.


 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 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

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios disfunctional , perhaps due to time change ?

2009-10-26 Thread Marcus Rejås
Same here!

I spent some time last night figuring out what happended. I ended up
downgrading to 3.0.6. I also had to remove the retention.dat. The queue
looked really strange. All hosts at top and then services, all at times on
the hour (like 23:00:00 today).

Reschedule them did not help.

I'll stay on 3.0.6 till someone finds an explanation ... :-)

Regards,

  /Marcus

On 10/26 09:21, Martin Melin wrote:
 Hi,
 
 This happened to us as well. All services had been scheduled to execute at
 11 PM today.
 
 The quick fix we used was to stop Nagios, move the objects.cache and
 retention.dat files and then start it back up again. All acknowledgements
 etc. were lost but we needed to get back up again soon.
 
 Note that this only happened on our 3.2.0 install, another 3.0.6 was fine.
 
 I'm still investigating what happened, but the above should let you get it
 back up again.
 
 Regards
 Martin Melin
 
 On Mon, Oct 26, 2009 at 9:05 AM, Mark Elsen mark.el...@gmail.com wrote:
 
   - Nagios 3.2.0
  ---
 
   - This morning, I find nagios stopped death in it's tracks. Single
  daemon running,
  servcie and host checks are no longer executed.
 
  Stopping and restarting NAGIOS does not help. How can I remedy this ?
  We left DST in Europe. Can this be due to a time change ?
 
   All hints welcomed !
 
   Marc.
 
 
  --
  Come build with us! The BlackBerry(R) Developer Conference in SF, CA
  is the only developer event you need to attend this year. Jumpstart your
  developing skills, take BlackBerry mobile applications to market and stay
  ahead of the curve. Join us from November 9 - 12, 2009. Register now!
  http://p.sf.net/sfu/devconference
  ___
  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
 

 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 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

-- 
Marcus Rejåsjabber:   mar...@jabber.rejas.se  ,= ,-_-. =. 
Rejås Datakonsult ABe-mail:   mar...@rejas.se((_/)o o(\_))
Vårgatan 2  web:  http://www.rejas.se `-'(. .)`-' 
s-761 50 Norrtälje  gpg-key:  http://gpg.rejas.se \_/ 

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios disfunctional , perhaps due to time change ?

2009-10-26 Thread Mattias Ryrlén
This can be solved with issue the following error.

service nagios stop; now=$(date +%s); sed -i
s/^next_check=.*/next_check=$now/ /usr/local/nagios/var/status.sav;
service nagios start

this will only work if:
1. you can issue command 'service' :)
2. you have it installed to /usr/local/nagios


On Mon, Oct 26, 2009 at 10:09 AM, Marcus Rejås mar...@rejas.se wrote:

 Same here!

 I spent some time last night figuring out what happended. I ended up
 downgrading to 3.0.6. I also had to remove the retention.dat. The queue
 looked really strange. All hosts at top and then services, all at times on
 the hour (like 23:00:00 today).

 Reschedule them did not help.

 I'll stay on 3.0.6 till someone finds an explanation ... :-)

 Regards,

  /Marcus

 On 10/26 09:21, Martin Melin wrote:
  Hi,
 
  This happened to us as well. All services had been scheduled to execute
 at
  11 PM today.
 
  The quick fix we used was to stop Nagios, move the objects.cache and
  retention.dat files and then start it back up again. All acknowledgements
  etc. were lost but we needed to get back up again soon.
 
  Note that this only happened on our 3.2.0 install, another 3.0.6 was
 fine.
 
  I'm still investigating what happened, but the above should let you get
 it
  back up again.
 
  Regards
  Martin Melin
 
  On Mon, Oct 26, 2009 at 9:05 AM, Mark Elsen mark.el...@gmail.com
 wrote:
 
- Nagios 3.2.0
   ---
  
- This morning, I find nagios stopped death in it's tracks. Single
   daemon running,
   servcie and host checks are no longer executed.
  
   Stopping and restarting NAGIOS does not help. How can I remedy this ?
   We left DST in Europe. Can this be due to a time change ?
  
All hints welcomed !
  
Marc.
  
  
  
 --
   Come build with us! The BlackBerry(R) Developer Conference in SF, CA
   is the only developer event you need to attend this year. Jumpstart
 your
   developing skills, take BlackBerry mobile applications to market and
 stay
   ahead of the curve. Join us from November 9 - 12, 2009. Register now!
   http://p.sf.net/sfu/devconference
   ___
   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
  

 
 --
  Come build with us! The BlackBerry(R) Developer Conference in SF, CA
  is the only developer event you need to attend this year. Jumpstart your
  developing skills, take BlackBerry mobile applications to market and stay
  ahead of the curve. Join us from November 9 - 12, 2009. Register now!
  http://p.sf.net/sfu/devconference
  ___
  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

 --
 Marcus Rejåsjabber:   mar...@jabber.rejas.se  ,= ,-_-. =.
 Rejås Datakonsult ABe-mail:   mar...@rejas.se((_/)o o(\_))
 Vårgatan 2  web:  http://www.rejas.se `-'(. .)`-'
 s-761 50 Norrtälje  gpg-key:  http://gpg.rejas.se \_/


 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 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




-- 
Vänliga hälsningar / Best Regards
Mattias Ryrlén

__
op5 AB
Första Långgatan 19
SE-413 27 Göteborg
Mobil: +46 735-17 70 99
Support: +46 31-774 09 24
www.op5.com
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
Nagios-users mailing list

Re: [Nagios-users] Nagios disfunctional , perhaps due to time change ?

2009-10-26 Thread Mark Elsen
Ref : service nagios stop; now=$(date +%s); sed -i
s/^next_check=.*/next_check=$now/ /usr/local/nagios/var/status.sav;
service nagios start

-

 The purpose is that due to daylight saving, the schedule queue is broken.
 (will probably catchup at 23:00:00 tonight)
 what you do is stop nagios
 update the timestamp for next_check in status.sav to $now (instead of
 23:00:00 tonight) on all your services.
 then start up nagios again and service-checks will start checking again.


As I would like , NAGIOS to keep working, during DST related changes,
can this be considered as a bug ?

M.

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios disfunctional , perhaps due t o time change ?

2009-10-26 Thread Alexander Teslya
Hi
Nagios 3.2.0

After this weekend i have a problem with Web interface(issue with freeze has 
been solved). I see in nagios.log that services is checks, but Web interface 
doesn't work. Before weekend all worked OK.

All solution welcome!





--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios disfunctional , perhaps due to time change ?

2009-10-26 Thread Ton Voon

Hi!

On 26 Oct 2009, at 10:18, Mattias Ryrlén wrote:


This can be solved with issue the following error.

service nagios stop; now=$(date +%s); sed -i s/^next_check=.*/ 
next_check=$now/ /usr/local/nagios/var/status.sav; service nagios  
start


this will only work if:
1. you can issue command 'service' :)
2. you have it installed to /usr/local/nagios


We've also seen this bug.

We've provided another way of fixing this. You can find more details  
here: http://opsview-blog.opsera.com/dotorg/2009/10/nagios-scheduling-bug.html


Ton

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios disfunctional , perhaps due to time change ?

2009-10-26 Thread Matthias Flacke


Ton Voon wrote:
 Hi!
 
 On 26 Oct 2009, at 10:18, Mattias Ryrlén wrote:
 
 This can be solved with issue the following error.

 service nagios stop; now=$(date +%s); sed -i
 s/^next_check=.*/next_check=$now/ /usr/local/nagios/var/status.sav;
 service nagios start

 this will only work if:
 1. you can issue command 'service' :)
 2. you have it installed to /usr/local/nagios
 
 We've also seen this bug.
 
 We've provided another way of fixing this. You can find more details
 here: http://opsview-blog.opsera.com/dotorg/2009/10/nagios-scheduling-bug.html

Hi,

this change is causing the wrong reschedule:
http://nagios.cvs.sourceforge.net/viewvc/nagios/nagios/base/utils.c?r1=1.236r2=1.237view=patch

It has been applied on 15th of January 2009 and introduced some
statements

t-tm_isdst=-1;

into base/utils.c.

Affected are all Nagios versions = 3.1.0.

I could reproduce it here: if the patch above is backed out, the
scheduling behaves correctly.

-Matthias

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios disfunctional , perhaps due to time change ?

2009-10-26 Thread Adrian Chapela
Ton Voon escribió:
 Hi!

 On 26 Oct 2009, at 10:18, Mattias Ryrlén wrote:

 This can be solved with issue the following error.

 service nagios stop; now=$(date +%s); sed -i 
 s/^next_check=.*/next_check=$now/ /usr/local/nagios/var/status.sav; 
 service nagios start

 this will only work if:
 1. you can issue command 'service' :)
 2. you have it installed to /usr/local/nagios

 We've also seen this bug.
OK, but have you saw this bug afer changing the system clock ? I have 
saw thsi issue about 13 hours later. I am not sure about the relation 
between the nagios problem and have detected a similar error 2 weeks 
ago. 1 week ago I have upgraded my Nagios 3.0 installation to a 3.2 
version. This is my message (if you are interesting): 
http://sourceforge.net/mailarchive/forum.php?thread_name=4AE562F7.4090904%40gmail.comforum_name=nagios-users



 We've provided another way of fixing this. You can find more details 
 here: http://opsview-blog.opsera.com/dotorg/2009/10/nagios-scheduling-bug.html


 Ton

 

 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 

 ___
 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


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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: R: R: service acknowledges disappears

2009-10-26 Thread Marc Powell

On Oct 26, 2009, at 2:57 AM, Marco Borsani wrote:

 Many thanks!
 Where I can find the complete list of non-status informations  
 events?

src/xdata/xrddefault.c, starting around line 1538.

 If I understand correctly, I will need to set  
 retain_nonstatus_information
 1 when I use external commands. Isn't it ?

You don't need it enabled to use external commands but you do need it  
to remember settings made through the GUI between restarts. External  
commands much more than what can be passed to nagios via the GUI.


--
Marc


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios to monitor Syslog Server

2009-10-26 Thread Hari Sekhon
Shaun Saravana wrote:
 Request your help in configuring Nagios - for monitoring a 
 Fedora6 syslog server ( syslog service on the server).I have 
 configured Nagios Server to monitor the Syslog server , to be more 
 effective i want the syslog service to be monitored .
I wrote a plugin to monitor a syslog server which uses a MySQL database. 
If you have a MySQL database backend, then this is the thing to use:

http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed%2F1381.html;d=1

-h

-- 
Hari Sekhon
http://www.linkedin.com/in/harisekhon


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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] Different web views for different folks

2009-10-26 Thread Peter L. Berghold
I seem to remember seeing somewhere that you can set the web interface
to show different views of the web interface depending on how a user
logs in. 

Is this true and if so can somebody nudge me in the right direction for
the ins and outs of making that happen? 

Thanks in advance, 

-- 

Peter L. Berghold http://www.berghold.net   pe...@berghold.net
Unix Professional Dog Agility Fan   Crazed Cook
Those who fail to learn from history are condemned to repeat it. 



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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] Different web views for different folks

2009-10-26 Thread Marc Powell

On Oct 26, 2009, at 9:04 AM, Peter L. Berghold wrote:

 I seem to remember seeing somewhere that you can set the web interface
 to show different views of the web interface depending on how a user
 logs in.

Yep. Logged in users can only see hosts/services that they are  
contacts for.

 Is this true and if so can somebody nudge me in the right direction  
 for
 the ins and outs of making that happen?

http://nagios.sourceforge.net/docs/3_0/cgiauth.html

--
Marc


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios disfunctional , perhaps due to time change ?

2009-10-26 Thread Cedric Temple
2009/10/26 Mark Elsen mark.el...@gmail.com:
  - Nagios 3.2.0
 ---

  - This morning, I find nagios stopped death in it's tracks. Single
 daemon running,
 servcie and host checks are no longer executed.

 Stopping and restarting NAGIOS does not help. How can I remedy this ?
 We left DST in Europe. Can this be due to a time change ?

  All hints welcomed !

Hi,

For people that does not want to patch Nagios nor lost ack, comment,
downtime but fix the problem see :

http://blog.centreon.com/index.php?post/2009/10/26/Nagios-disfunctional-due-to-time-change

Hope it helps.


-- 
Cédric Temple | Chef de Projet

ctem...@merethis.com
Tél:  +33 (0)1 49 69 97 12
Mob: +33 (0)6 63 67 77 66
Fax: +33 (0)1 78 12 00 28

MERETHIS est éditeur du logiciel Centreon.

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] CHECK_NRPE: Received 0 bytes from daemon.

2009-10-26 Thread akp geek
Hi -

I have installed the NRPE and when trying to run the check_nrpe
-H xx.xx.xxx.xxx from the server where nagios is running , I am getting the
following error

CHECK_NRPE: Received 0 bytes from daemon.Check the remote server logs for
error messages.


Server1 : I set up NRPE and I have added /etc/services nrpe entry . , I have
enabled the service.

I have NRPE set up on an other server and it is running fine. I did follow
the same instructions. Not able to figure out what's wrong with
configuration


Regards
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
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_NRPE: Received 0 bytes from daemon.

2009-10-26 Thread Mathew Walker

No firewall rules in play?  eg. allowing connections from your Nagios server to 
tcp-5666 and allowing the remove server to connect back to your nagios server?

 

Did you edit the nrpe.cfg file correctly and add the server to allowed_hosts?  
Did you remember to restart NRPE after editing the config?

 

did you try actually issuing a check like check_nrpe -H xxx.xxx.xxx.xxx -c 
check_users ?



-- 
Mat W. - http://www.techadre.com


 


Date: Mon, 26 Oct 2009 12:33:09 -0400
From: akpg...@gmail.com
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] CHECK_NRPE: Received 0 bytes from daemon.

Hi -


I have installed the NRPE and when trying to run the check_nrpe -H 
xx.xx.xxx.xxx from the server where nagios is running , I am getting the 
following error


CHECK_NRPE: Received 0 bytes from daemon.Check the remote server logs for error 
messages.




Server1 : I set up NRPE and I have added /etc/services nrpe entry . , I have 
enabled the service. 


I have NRPE set up on an other server and it is running fine. I did follow the 
same instructions. Not able to figure out what's wrong with configuration




Regards

  
_
Windows 7: I wanted more reliable, now it's more reliable. Wow!
http://microsoft.com/windows/windows-7/default-ga.aspx?h=myidea?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_myidea:102009--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
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_NRPE: Received 0 bytes from daemon.

2009-10-26 Thread Leonardo Carneiro
Do you have the logs from the remote server?

akp geek escreveu:
 Hi -

 I have installed the NRPE and when trying to run the 
 check_nrpe -H xx.xx.xxx.xxx from the server where nagios is running , 
 I am getting the following error

 CHECK_NRPE: Received 0 bytes from daemon.Check the remote server logs 
 for error messages.


 Server1 : I set up NRPE and I have added /etc/services nrpe entry . , 
 I have enabled the service. 

 I have NRPE set up on an other server and it is running fine. I did 
 follow the same instructions. Not able to figure out what's wrong with 
 configuration


 Regards

 

 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 

 ___
 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

-- 

*Leonardo de Souza Carneiro*
*Veltrac - Tecnologia em Logística.*
lscarne...@veltrac.com.br mailto:lscarne...@veltrac.com.br
http://www.veltrac.com.br http://www.veltrac.com.br/
/Fone Com.: (43)2105-5601/
/Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
/Londrina- PR/
/Cep: 86015-010/


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios disfunctional , perhaps due to time change ?

2009-10-26 Thread Menard, Chris
When we run into this in the US, what is the easiest way to correct the issue 
if we don't need to retain and downtime, acts or any status data.  Is there a 
file or two that just needs to be deleted?

Thanks,
Chris

-Original Message-
From: Matthias Flacke [mailto:matthias.fla...@gmx.de] 
Sent: Monday, October 26, 2009 8:55 AM
To: Ton Voon
Cc: Nagios Users Mailinglist
Subject: Re: [Nagios-users] Nagios disfunctional , perhaps due to time change ?



Ton Voon wrote:
 Hi!
 
 On 26 Oct 2009, at 10:18, Mattias Ryrlén wrote:
 
 This can be solved with issue the following error.

 service nagios stop; now=$(date +%s); sed -i
 s/^next_check=.*/next_check=$now/ /usr/local/nagios/var/status.sav;
 service nagios start

 this will only work if:
 1. you can issue command 'service' :)
 2. you have it installed to /usr/local/nagios
 
 We've also seen this bug.
 
 We've provided another way of fixing this. You can find more details
 here: http://opsview-blog.opsera.com/dotorg/2009/10/nagios-scheduling-bug.html

Hi,

this change is causing the wrong reschedule:
http://nagios.cvs.sourceforge.net/viewvc/nagios/nagios/base/utils.c?r1=1.236r2=1.237view=patch

It has been applied on 15th of January 2009 and introduced some
statements

t-tm_isdst=-1;

into base/utils.c.

Affected are all Nagios versions = 3.1.0.

I could reproduce it here: if the patch above is backed out, the
scheduling behaves correctly.

-Matthias

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios disfunctional , perhaps due to time change ?

2009-10-26 Thread xesos
Hello,

Same bug.

Last sunday, in France, Daylight saving time ends so clocks retreat from 
03:00 CEST to 02:00 CET.

Today, I see that many checks of my nagios server have problems : next 
check is scheduled today
at 11:00pm but, in the config files, the check interval is set to 5 
minutes. More over, last week, it works as expected with checks every 5 
minutes.


Mark Elsen a écrit :
  - Nagios 3.2.0
 ---

  - This morning, I find nagios stopped death in it's tracks. Single
 daemon running,
 servcie and host checks are no longer executed.

 Stopping and restarting NAGIOS does not help. How can I remedy this ?
 We left DST in Europe. Can this be due to a time change ?

  All hints welcomed !

  Marc.

 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay 
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 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


   



--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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_NRPE: Received 0 bytes from daemon.

2009-10-26 Thread Marquez, Quentin
Hello,

 

I found a nice doc about your issue.

Latest rhel 5.4 on which I add nrpe installed, I couldn't get xinetd to
get it working and I could fix it thanks to these doc:

 

http://www.siamkia.com/open-source-help/how-to-fix-check-nrpe-error-coul
d-not-complete-ssl-handshake.html

 

Hope this helps,

Cheers,

Quentin

 

From: akp geek [mailto:akpg...@gmail.com] 
Sent: 26 October 2009 17:33
To: Nagios-users@lists.sourceforge.net Mailinglist
Subject: [Nagios-users] CHECK_NRPE: Received 0 bytes from daemon.

 

Hi -

 

I have installed the NRPE and when trying to run the
check_nrpe -H xx.xx.xxx.xxx from the server where nagios is running , I
am getting the following error

 

CHECK_NRPE: Received 0 bytes from daemon.Check the remote server logs
for error messages.

 

 

Server1 : I set up NRPE and I have added /etc/services nrpe entry . , I
have enabled the service. 

 

I have NRPE set up on an other server and it is running fine. I did
follow the same instructions. Not able to figure out what's wrong with
configuration

 

 

Regards

 


This e-mail has come from Experian, the only business to have been twice named 
the UK's 'Business of the Year’ 

===
Information in this e-mail and any attachments is confidential, and may not be 
copied or used by anyone other than the addressee, nor disclosed to any third 
party without our permission. There is no intention to create any legally 
binding contract or other binding commitment through the use of this electronic 
communication unless it is issued in accordance with the Experian Limited 
standard terms and conditions of purchase or other express written agreement 
between Experian Limited and the recipient. 
Although Experian has taken reasonable steps to ensure that this communication 
and any attachments are free from computer virus, you are advised to take your 
own steps to ensure that they are actually virus free. 
Companies Act information:
Registered name: Experian Limited 
Registered office: Landmark House, Experian Way, NG2 Business Park, Nottingham, 
NG80 1ZZ, United Kingdom
Place of registration: England and Wales 
Registered number: 653331

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
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_NRPE: Received 0 bytes from daemon.

2009-10-26 Thread akp geek
The following is the message from /tmp/adm/messages file on solaris

Oct 26 13:35:17 atadevdb nrpe[9544]: [ID 813741 daemon.error] Error: Could
not complete SSL handshake. 1
Oct 26 13:35:23 atadevdb nrpe[9546]: [ID 813741 daemon.error] Error: Could
not complete SSL handshake. 1


regards

On Mon, Oct 26, 2009 at 12:52 PM, Leonardo Carneiro 
lscarne...@veltrac.com.br wrote:

 Do you have the logs from the remote server?

 akp geek escreveu:
  Hi -
 
  I have installed the NRPE and when trying to run the
  check_nrpe -H xx.xx.xxx.xxx from the server where nagios is running ,
  I am getting the following error
 
  CHECK_NRPE: Received 0 bytes from daemon.Check the remote server logs
  for error messages.
 
 
  Server1 : I set up NRPE and I have added /etc/services nrpe entry . ,
  I have enabled the service.
 
  I have NRPE set up on an other server and it is running fine. I did
  follow the same instructions. Not able to figure out what's wrong with
  configuration
 
 
  Regards
 
  
 
 
 --
  Come build with us! The BlackBerry(R) Developer Conference in SF, CA
  is the only developer event you need to attend this year. Jumpstart your
  developing skills, take BlackBerry mobile applications to market and stay
  ahead of the curve. Join us from November 9 - 12, 2009. Register now!
  http://p.sf.net/sfu/devconference
  
 
  ___
  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

 --

 *Leonardo de Souza Carneiro*
 *Veltrac - Tecnologia em Logística.*
 lscarne...@veltrac.com.br mailto:lscarne...@veltrac.com.br
 http://www.veltrac.com.br http://www.veltrac.com.br/
 /Fone Com.: (43)2105-5601/
 /Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
 /Londrina- PR/
 /Cep: 86015-010/



 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 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

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
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_NRPE: Received 0 bytes from daemon.

2009-10-26 Thread Mathew Walker

sounds like you didn't compile NRPE w/ SSL support maybe?

-- 
Mat W. - http://www.techadre.com


 


Date: Mon, 26 Oct 2009 13:36:21 -0400
From: akpg...@gmail.com
To: lscarne...@veltrac.com.br
CC: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] CHECK_NRPE: Received 0 bytes from daemon.

The following is the message from /tmp/adm/messages file on solaris



Oct 26 13:35:17 atadevdb nrpe[9544]: [ID 813741 daemon.error] Error: Could not 
complete SSL handshake. 1
Oct 26 13:35:23 atadevdb nrpe[9546]: [ID 813741 daemon.error] Error: Could not 
complete SSL handshake. 1




regards

On Mon, Oct 26, 2009 at 12:52 PM, Leonardo Carneiro lscarne...@veltrac.com.br 
wrote:

Do you have the logs from the remote server?

akp geek escreveu:



 Hi -

 I have installed the NRPE and when trying to run the
 check_nrpe -H xx.xx.xxx.xxx from the server where nagios is running ,
 I am getting the following error

 CHECK_NRPE: Received 0 bytes from daemon.Check the remote server logs
 for error messages.


 Server1 : I set up NRPE and I have added /etc/services nrpe entry . ,
 I have enabled the service.

 I have NRPE set up on an other server and it is running fine. I did
 follow the same instructions. Not able to figure out what's wrong with
 configuration


 Regards

 

 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 

 ___
 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

--

*Leonardo de Souza Carneiro*
*Veltrac - Tecnologia em Logística.*
lscarne...@veltrac.com.br mailto:lscarne...@veltrac.com.br
http://www.veltrac.com.br http://www.veltrac.com.br/
/Fone Com.: (43)2105-5601/
/Av. Higienópolis 1601 Ed. Eurocenter Sl. 803/
/Londrina- PR/
/Cep: 86015-010/


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
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

  
_
Windows 7: I wanted more reliable, now it's more reliable. Wow!
http://microsoft.com/windows/windows-7/default-ga.aspx?h=myidea?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_myidea:102009--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios disfunctional , perhaps due to time change ?

2009-10-26 Thread shadih rahman
If our configuration is not using daytime offset, are we still affected by
this bug.

Nagios version 3.2.0

Please advise on this.  Thanks

On Mon, Oct 26, 2009 at 12:57 PM, xesos xe...@free.fr wrote:

 Hello,

 Same bug.

 Last sunday, in France, Daylight saving time ends so clocks retreat from
 03:00 CEST to 02:00 CET.

 Today, I see that many checks of my nagios server have problems : next
 check is scheduled today
 at 11:00pm but, in the config files, the check interval is set to 5
 minutes. More over, last week, it works as expected with checks every 5
 minutes.


 Mark Elsen a écrit :
   - Nagios 3.2.0
  ---
 
   - This morning, I find nagios stopped death in it's tracks. Single
  daemon running,
  servcie and host checks are no longer executed.
 
  Stopping and restarting NAGIOS does not help. How can I remedy this ?
  We left DST in Europe. Can this be due to a time change ?
 
   All hints welcomed !
 
   Marc.
 
 
 --
  Come build with us! The BlackBerry(R) Developer Conference in SF, CA
  is the only developer event you need to attend this year. Jumpstart your
  developing skills, take BlackBerry mobile applications to market and stay
  ahead of the curve. Join us from November 9 - 12, 2009. Register now!
  http://p.sf.net/sfu/devconference
  ___
  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
 
 
 




 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart your
 developing skills, take BlackBerry mobile applications to market and stay
 ahead of the curve. Join us from November 9 - 12, 2009. Register now!
 http://p.sf.net/sfu/devconference
 ___
 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




-- 
Cordially,
Shadhin Rahman
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] Nagios disfunctional , perhaps due to time change ?

2009-10-26 Thread Ton Voon


On 26 Oct 2009, at 12:53, Matthias Flacke wrote:



this change is causing the wrong reschedule:
http://nagios.cvs.sourceforge.net/viewvc/nagios/nagios/base/utils.c?r1=1.236r2=1.237view=patch

It has been applied on 15th of January 2009 and introduced some
statements

t-tm_isdst=-1;

into base/utils.c.

Affected are all Nagios versions = 3.1.0.

I could reproduce it here: if the patch above is backed out, the
scheduling behaves correctly.



I've managed to get a libtap test case with the failure now. As you  
correctly say, removing the t-tm_isdst=-1 in utils.c fixes it.


However, the fact it works is lucky.

The check is that the scheduled time is between a date_range_start and  
a date_range_end. This date_range_end is based on the timeperiod  
definitions. However, an end point of 00:00 is calculated as 24*60*60.  
Obviously, this is wrong on the day that the clocks go back as there  
are 25 hours in that day.


So removing tm_isdst gets the calculation for the epoch time wrong,  
but that luckily works because the time falls within the 24 hour period.


I've applied the patch to remove that single tm_isdst.

Tests are also added now, for this specific issue.

Long term, I think it is correct that the isdst flag be set, but there  
are other problems that are lurking in the code, such as the  
calculation for the next appropriate time.


Any comments?

Ton


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
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] Escalation notification count and state change problem

2009-10-26 Thread Neil Ramsay
Hi,

I've searched and found similar posts but unfortunately no replies to this
type of problem. I'd expect this to be a common problem but maybe I've
misread the documentation.

On Nagios 3.2.0 we have service notifications set to go out for Warning and
for Critical states to an email address 24x7.

In addition during 'after hours', the on-call engineer receives SMS alerts
for all Critical notifications and the backup engineer should receive
escalations after the 4th Critical notification. However, last night the
backup engineer received an SMS on the second Critical notification.


define serviceescalation{
hostgroup_name switches,primary_nodes,secondary_nodes
service_description *
first_notification 4
last_notification 0
notification_interval 5
contact_groups  PrimaryAH,SecondaryAH
escalation_period afterhours
escalation_options u,c
}

# Primary After-hours contacts
define contactgroup{
contactgroup_name   PrimaryAH
alias   Primary After-Hours contact
members supportEmail,Engineer1
}

# Secondary After-hours contacts
define contactgroup{
contactgroup_name   SecondaryAH
alias   Secondary After-Hours contact
members supportEmail,Engineer2
}





It appears that escalation procedure ignores the actual sate when counting
notifications. So if the 1st notification is critical and the 4th is
critical but 2-3 are Warnings the 4th notification is escalated as it is
critical. Eventhough only 1 critical notification was sent and the other 2
were warnings. I was hoping that on the 4th critical notification Nagios
escalates.

See event log below:

Service Notification [10-26-2009 23:48:32] SERVICE NOTIFICATION:
Engineer2;winapps1;NT memory usage;CRITICAL;notify-service-by-sms;Mem: 984
MB (96%) / 1023 MB (3%) Paged Mem: 1189 MB (48%) / 2469 MB (51%)

Service Notification[10-26-2009 23:48:32] SERVICE NOTIFICATION:
Engineer1;winapps1;NT memory usage;CRITICAL;notify-service-by-sms;Mem: 984
MB (96%) / 1023 MB (3%) Paged Mem: 1189 MB (48%) / 2469 MB (51%



Service Notification[10-26-2009 23:38:32] SERVICE NOTIFICATION:
supportEmail;winapps1;NT memory usage;WARNING;notify-service-by-email;Mem:
950 MB (92%) / 1023 MB (7%) Paged Mem: 1219 MB (49%) / 2469 MB (50%)


Service Notification[10-26-2009 23:28:32] SERVICE NOTIFICATION:
supportEmail;winapps1;NT memory usage;WARNING;notify-service-by-email;Mem:
881 MB (86%) / 1023 MB (13%) Paged Mem: 1192 MB (48%) / 2469 MB (51%)


Service Notification[10-26-2009 23:18:32] SERVICE NOTIFICATION:
supportEmail;winapps1;NT memory usage;CRITICAL;notify-service-by-email;Mem:
1006 MB (98%) / 1023 MB (1%) Paged Mem: 1152 MB (46%) / 2469 MB (53%)

Service Notification[10-26-2009 23:18:32] SERVICE NOTIFICATION:
Engineer1;winapps1;NT memory usage;CRITICAL;notify-service-by-sms;Mem: 1006
MB (98%) / 1023 MB (1%) Paged Mem: 1152 MB (46%) / 2469 MB (53%)


Is there a way to avoid this behaviour?

Thanks

Neil
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
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