Re: [Nagios-users] Nagios 30 seconds initial delay

2009-12-17 Thread Thomas Guyot-Sionnest
On 15/12/09 05:57 PM, Brandino Andreas wrote:
> Hi all,
> I am using Nagios 3.2.0  (I just upgrade from early 3.0 releases)
> Every time I restart nagios I face a 30 seconds delay before the
> various pages appear for first time (not before starting checks, 30
> seconds before displaying pages!!!)
> 
> When I click a page I get the error "Error: Could not read host and
> service status information!" . After 30 seconds, all pages appear
> again!!
> 
> - I don't have duplicated nagios service running
> - This delay didn't show up to older versions
> - My linux is Debian 5.0.3 (stable)
> - This error appears every time I restart nagios
> 
> Any idea what can cause this delay??

What is your status_update_interval (in nagios.cfg)?

I'm guessing if it's set to 30 seconds then maybe status.dat isn't 
getting created until the first 30 seconds pass, which would explain this.

Unless you have a large number of services you can set this pretty low 
without impacting performance, and a lower value gives better 
responsiveness on the CGI.

-- 
Thomas

--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] conftest errors on configure of source nagios-3.2.0

2009-12-17 Thread Marc Powell

On Dec 17, 2009, at 9:52 AM, Scott, Ewan wrote:

> Hi
>  
> I am trying to install nagios3 from source onto a ubuntu server. When running 
> the ./configure statement I get the following error in the config.log. (Other 
> errors for conftest then follow. ) 
>  
> .
> .
> .
> configure:2230: test -s conftest.o
> configure:2233: $? = 0
> configure:2251: result: none needed
> configure:2269: gcc -c -g -O2  conftest.c >&5
> conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
> 'me
> '
> configure:2275: $? = 1
> configure: failed program was:
> | #ifndef __cplusplus
> |   choke me
> | #endif
> configure:2408: checking whether make sets $(MAKE)
> .
> .
> .
> 

Why do you think this is a problem? Looks normal to me. Not everything 
configure tests will succeed. That's kind of the point of configure; to figure 
out what it can and can't do and what options/features/programs are available 
to it on the current system.

Did configure bail or complete successfully? If it bailed, post the output 
leading up to the bail.

--
Marc


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Anyone testing Microsoft Volume Shadow Copy?

2009-12-17 Thread C. Bensend

> On Mon, Dec 14, 2009 at 8:17 PM, C. Bensend  wrote:
>>
>>   Looking at the vssadmin.exe command on the Windows server, I see
>> I can:
>>
>>
>> vssadmin List Shadows
>>
>>
>>   And it prints out a listing of the existing shadow copies.
>> However, without awk and grep (and no, I cannot install cygwin or
>> anything like that), I don't have a clue how to process it.
>
> you'll have to parse the output of that command with the tools at
> hand: vbscript or powershell, even and oldfashined bat file. Write
> your own plugin, it is not that hard. Once you have the script, you
> have it executed by nrpe (nsclient++ has an nrpe client).

Just an FYI, after I spent an hour or two learning VBscript and
writing a shell wrapper to parse the output, I found:

http://exchange.nagios.org/directory/Plugins/%2A-Plugin-Packages/Nagios-Plugin-Collection/details

which includes a test for Shadow Copies.  Sigh.  Oh well, good
learning experience.  :)

Benny


-- 
"It's not all about getting up and putting four slices of kickass
in a two slice toaster." -- ark86, on Fazed.net



--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios 30 seconds initial delay

2009-12-17 Thread Brandino Andreas
I have much less hosts and services (for the moment).
After deleting "retention.dat" I still face the same delay...

Wednesday, December 16, 2009, 1:25:36 AM, you wrote:

> On Tue, Dec 15, 2009 at 5:57 PM, Brandino Andreas  wrote:
>> When I click a page I get the error "Error: Could not read host and
>> service status information!" . After 30 seconds, all pages appear
>> again!!
>>
>> - I don't have duplicated nagios service running
>> - This delay didn't show up to older versions
>> - My linux is Debian 5.0.3 (stable)
>> - This error appears every time I restart nagios

> We typically see about the same start up time, both on 3.0.3 and 3.2.0
> on hosts with 1-2k hosts and ~10k services where we have retention.dat
> files that are weeks or months old and we are using regular
> expressions and service ->  hostgroup mappings extensively.

> - Max

<> ---  ---  --- <> 
Brandino Andreas
ampra...@gmail.com
<> ---  ---  --- <> 


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios 30 seconds initial delay

2009-12-17 Thread Brandino Andreas
Hi,

I am not using NDO.


Wednesday, December 16, 2009, 9:51:29 AM, you wrote:

> Hi,

> are you using ndo ? If yes, disable ndo and see if the problem still
> persists.

> Thomas

> On Wed, 2009-12-16 at 00:22 +, Brandino Andreas wrote:
>> Hi all,
>> I am using Nagios 3.2.0  (I just upgrade from early 3.0 releases)
>> Every time I restart nagios I face a 30 seconds delay before the
>> various pages appear for first time (not before starting checks, 30
>> seconds before displaying pages!!!)
>> 
>> When I click a page I get the error "Error: Could not read host and
>> service status information!" . After 30 seconds, all pages appear
>> again!!
>> 
>> - I don't have duplicated nagios service running
>> - This delay didn't show up to older versions
>> - My linux is Debian 5.0.3 (stable)
>> - This error appears every time I restart nagios
>> 
>> Any idea what can cause this delay??
>> Thank you
>> 
>> 
>> <> ---  ---  --- <> 
>> Brandino Andreas
>> ampra...@gmail.com
>> <> ---  ---  --- <> 
>> 
>> 
>> --
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev 
>> ___
>> Nagios-users mailing list
>> Nagios-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/nagios-users
>> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
>> any issue. 
>> ::: Messages without supporting info will risk being sent to /dev/null


<> ---  ---  --- <> 
Brandino Andreas
ampra...@gmail.com
<> ---  ---  --- <> 


--
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null