From tyarusso at nagios.com  Fri Oct  1 00:23:08 2010
From: tyarusso at nagios.com (Tony Yarusso)
Date: Thu, 30 Sep 2010 17:23:08 -0500
Subject: significant bug in 3.2.2 - nagios.cfg --
 execute_service_checks=0 completely ignored
In-Reply-To: <C8DC6C2E26864740BB0D62610DF594826599AA2AEE@SJ-ITMSG01.altera.priv.altera.com>
References: <C8DC6C2E26864740BB0D62610DF594826599AA2AEE@SJ-ITMSG01.altera.priv.altera.com>
Message-ID: <1285885388.18904.2.camel@sudbury>

On Thu, 2010-09-30 at 14:23 -0700, Mark Christian wrote:
> dnsmichi and keith4 on IRC #nagios graciously pointed out that I need
> merely remove line 1088 from nagios 3.2.2 source base/events.c and
> recompile.  I removed "run_event=TRUE;" on line 1088 of base/events.c,
> recompiled and now nagios correctly recognizes
> ?execute_service_checks=0?.
>  
> I believe this to be a significant bug.

I believe this fix has already been applied to CVS head, and is awaiting
feedback from testers of that copy before a new release is approved.  If
you have a chance to try a build from CVS HEAD and report your
experience the the -devel mailing list that would be very helpful.

-- 
Tony Yarusso
Technical Team
___
Nagios Enterprises, LLC
Email:  tyarusso at nagios.com
Web:    www.nagios.com


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From robert.wolfe at robertwolfe.org  Fri Oct  1 03:38:16 2010
From: robert.wolfe at robertwolfe.org (Robert Wolfe)
Date: Thu, 30 Sep 2010 21:38:16 -0400
Subject: significant bug in 3.2.2 - nagios.cfg --
	execute_service_checks=0 completely ignored
References: <C8DC6C2E26864740BB0D62610DF594826599AA2AEE@SJ-ITMSG01.altera.priv.altera.com>
	<1285885388.18904.2.camel@sudbury>
Message-ID: <50BE9C7135A64147819E42376C136B2675D8@dc1.wolfe.local>

Hi all.  My first post here. So please bear with me.

Installed the HEAD release from the Nagios website last night and while everything is working, I am not able to reschedule commands as I get a message saying that the permissions on the nagios.cmd file are not correct.  What should the permissions on this file be?

-----Original Message-----
From: Tony Yarusso [mailto:tyarusso at nagios.com] 
Sent: Thursday, September 30, 2010 6:23 PM
To: Nagios Users List
Subject: Re: [Nagios-users] significant bug in 3.2.2 - nagios.cfg -- execute_service_checks=0 completely ignored

On Thu, 2010-09-30 at 14:23 -0700, Mark Christian wrote:
> dnsmichi and keith4 on IRC #nagios graciously pointed out that I need 
> merely remove line 1088 from nagios 3.2.2 source base/events.c and 
> recompile.  I removed "run_event=TRUE;" on line 1088 of base/events.c, 
> recompiled and now nagios correctly recognizes 
> ?execute_service_checks=0?.
>  
> I believe this to be a significant bug.

I believe this fix has already been applied to CVS head, and is awaiting feedback from testers of that copy before a new release is approved.  If you have a chance to try a build from CVS HEAD and report your experience the the -devel mailing list that would be very helpful.

--
Tony Yarusso
Technical Team
___
Nagios Enterprises, LLC
Email:  tyarusso at nagios.com
Web:    www.nagios.com


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From stuart.browne at ausregistry.com.au  Fri Oct  1 08:10:39 2010
From: stuart.browne at ausregistry.com.au (Stuart Browne)
Date: Fri, 1 Oct 2010 16:10:39 +1000
Subject: significant bug in 3.2.2 - nagios.cfg
	--	execute_service_checks=0 completely ignored
In-Reply-To: <50BE9C7135A64147819E42376C136B2675D8@dc1.wolfe.local>
References: <C8DC6C2E26864740BB0D62610DF594826599AA2AEE@SJ-ITMSG01.altera.priv.altera.com>
	<1285885388.18904.2.camel@sudbury>
	<50BE9C7135A64147819E42376C136B2675D8@dc1.wolfe.local>
Message-ID: <8CEF048B9EC83748B1517DC64EA130FB3F5A06C849@off-win2003-01.ausregistrygroup.local>

> -----Original Message-----
> From: Robert Wolfe [mailto:robert.wolfe at robertwolfe.org]
> Sent: Friday, 1 October 2010 11:38
> To: Nagios Users List
> Subject: Re: [Nagios-users] significant bug in 3.2.2 - nagios.cfg --
> execute_service_checks=0 completely ignored
> 
> Hi all.  My first post here. So please bear with me.
> 
> Installed the HEAD release from the Nagios website last night and while
> everything is working, I am not able to reschedule commands as I get a
> message saying that the permissions on the nagios.cmd file are not
> correct.  What should the permissions on this file be?
> 
> -----Original Message-----
> From: Tony Yarusso [mailto:tyarusso at nagios.com]
> Sent: Thursday, September 30, 2010 6:23 PM
> To: Nagios Users List
> Subject: Re: [Nagios-users] significant bug in 3.2.2 - nagios.cfg --
> execute_service_checks=0 completely ignored
> 
> On Thu, 2010-09-30 at 14:23 -0700, Mark Christian wrote:
> > dnsmichi and keith4 on IRC #nagios graciously pointed out that I need
> > merely remove line 1088 from nagios 3.2.2 source base/events.c and
> > recompile.  I removed "run_event=TRUE;" on line 1088 of
> base/events.c,
> > recompiled and now nagios correctly recognizes
> > ?execute_service_checks=0?.
> >
> > I believe this to be a significant bug.
> 
> I believe this fix has already been applied to CVS head, and is
> awaiting feedback from testers of that copy before a new release is
> approved.  If you have a chance to try a build from CVS HEAD and report
> your experience the the -devel mailing list that would be very helpful.

Something that your web server can write to, i.e.:

[sjb at monitor nagios]$ grep ^command_file /etc/nagios/nagios.cfg
command_file=/var/log/nagios/rw/nagios.cmd
[sjb at monitor nagios]$ ls -l /var/log/nagios/rw/nagios.cmd
prw-rw---- 1 nagios nagios 0 Oct  1 16:02 /var/log/nagios/rw/nagios.cmd 
[sjb at monitor nagios]$ id apache
uid=48(apache) gid=48(apache) groups=101(nagios),48(apache) context=user_u:system_r:unconfined_t

Stuart
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From michael.friedrich at univie.ac.at  Fri Oct  1 08:14:34 2010
From: michael.friedrich at univie.ac.at (Michael Friedrich)
Date: Fri, 01 Oct 2010 08:14:34 +0200
Subject: significant bug in 3.2.2 - nagios.cfg --
 execute_service_checks=0 completely ignored
In-Reply-To: <20100930234343.GA10053@varinia.lobefin.net>
References: <C8DC6C2E26864740BB0D62610DF594826599AA2AF1@SJ-ITMSG01.altera.priv.altera.com>
	<20100930234343.GA10053@varinia.lobefin.net>
Message-ID: <4CA57C4A.5050408@univie.ac.at>

Stephen Gran wrote:
> On Thu, Sep 30, 2010 at 02:31:55PM -0700, Mark Christian said:
>    
>> I updated nagios from 3.2.0 to 3.2.2 - my distributed "collector" node
>> went from  ~7000 services passively checked and near zero actively
>> checked to ~1800 actively checked and counting.
>>      
> The fix for this has already been checked into cvs.
>    

Sure thing. But how to support the community (e.g. in IRC) by telling 
them "delete sth in the code and then recompile". This remains a major 
bug and should be fixed in a release soon. Also within already created 
packages and so on.

In the Opsview repository, a patch for this is accessible, but I think 
the community wouldn't mind getting the "host checks skipped" bug fixed 
too within Nagios 3.2.3 - would create a nice release blog post and a 
bit more focused on development than keeping other issues with more 
priority as it seems.

If you require more test reports (as Tony stated on IRC that Ethan wants 
that): The fix has been tested and debugged on Icinga Core, same 
behavior, same bugfix, same successful tests. If needed, I'll clone 
Andreas' GIT and run several tests against Nagios Core too, but since 
the code in this regard is merely the same, putting that up to a release 
should be no problem. But if you do think different, no offense taken.

Kind regards,
Michael

-- 
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email: 	michael.friedrich at univie.ac.at
phone: 	+43 1 4277 14359
fax: 	+43 1 4277 14279
web:	http://www.univie.ac.at/zid

Icinga Core&  IDOUtils Developer
http://www.icinga.org


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev



From michael.friedrich at univie.ac.at  Fri Oct  1 08:24:24 2010
From: michael.friedrich at univie.ac.at (Michael Friedrich)
Date: Fri, 01 Oct 2010 08:24:24 +0200
Subject: significant bug in 3.2.2 - nagios.cfg
 --	execute_service_checks=0 completely ignored
In-Reply-To: <50BE9C7135A64147819E42376C136B2675D8@dc1.wolfe.local>
References: <C8DC6C2E26864740BB0D62610DF594826599AA2AEE@SJ-ITMSG01.altera.priv.altera.com>	<1285885388.18904.2.camel@sudbury>
	<50BE9C7135A64147819E42376C136B2675D8@dc1.wolfe.local>
Message-ID: <4CA57E98.7050100@univie.ac.at>

Robert Wolfe wrote:
> Hi all.  My first post here. So please bear with me.
>
> Installed the HEAD release from the Nagios website last night and while everything is working, I am not able to reschedule commands as I get a message saying that the permissions on the nagios.cmd file are not correct.  What should the permissions on this file be?
>    

create a command grp like in the quickstart guides iirc. e.g. nagiocmd

$ chmod 775 nagios/var/rw
$ chown nagios:nagiocmd nagios/var/rw
$ chmod g+s nagios/var/rw

sticky bit for inheriting the permissions to files created below. if 
somebody tells you to change permissions only on nagios.cmd in var/rw/ 
this is only true as long as the core is running. nagios.cmd will be 
deleted/unlinked during core shutdown.

also make sure you have put apache user into nagiocmd group. then it 
will have the permissions to write the nagios.cmd command file and it 
should work properly.

Kind regards,
Michael

> -----Original Message-----
> From: Tony Yarusso [mailto:tyarusso at nagios.com]
> Sent: Thursday, September 30, 2010 6:23 PM
> To: Nagios Users List
> Subject: Re: [Nagios-users] significant bug in 3.2.2 - nagios.cfg -- execute_service_checks=0 completely ignored
>
> On Thu, 2010-09-30 at 14:23 -0700, Mark Christian wrote:
>    
>> dnsmichi and keith4 on IRC #nagios graciously pointed out that I need
>> merely remove line 1088 from nagios 3.2.2 source base/events.c and
>> recompile.  I removed "run_event=TRUE;" on line 1088 of base/events.c,
>> recompiled and now nagios correctly recognizes
>> ?execute_service_checks=0?.
>>
>> I believe this to be a significant bug.
>>      
> I believe this fix has already been applied to CVS head, and is awaiting feedback from testers of that copy before a new release is approved.  If you have a chance to try a build from CVS HEAD and report your experience the the -devel mailing list that would be very helpful.
>
> --
> Tony Yarusso
> Technical Team
> ___
> Nagios Enterprises, LLC
> Email:  tyarusso at nagios.com
> Web:    www.nagios.com
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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


-- 
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email: 	michael.friedrich at univie.ac.at
phone: 	+43 1 4277 14359
fax: 	+43 1 4277 14279
web:	http://www.univie.ac.at/zid

Icinga Core&  IDOUtils Developer
http://www.icinga.org


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ae at op5.se  Fri Oct  1 11:49:14 2010
From: ae at op5.se (Andreas Ericsson)
Date: Fri, 01 Oct 2010 11:49:14 +0200
Subject: [Nagios-users] significant bug in 3.2.2 -
 nagios.cfg -- execute_service_checks=0 completely ignored
In-Reply-To: <4CA57C4A.5050408@univie.ac.at>
References: <C8DC6C2E26864740BB0D62610DF594826599AA2AF1@SJ-ITMSG01.altera.priv.altera.com>	<20100930234343.GA10053@varinia.lobefin.net>
	<4CA57C4A.5050408@univie.ac.at>
Message-ID: <4CA5AE9A.5040409@op5.se>

On 10/01/2010 08:14 AM, Michael Friedrich wrote:
> Stephen Gran wrote:
>> On Thu, Sep 30, 2010 at 02:31:55PM -0700, Mark Christian said:
>>
>>> I updated nagios from 3.2.0 to 3.2.2 - my distributed "collector" node
>>> went from  ~7000 services passively checked and near zero actively
>>> checked to ~1800 actively checked and counting.
>>>
>> The fix for this has already been checked into cvs.
>>
> 
> Sure thing. But how to support the community (e.g. in IRC) by telling
> them "delete sth in the code and then recompile". This remains a major
> bug and should be fixed in a release soon. Also within already created
> packages and so on.
> 

How about "download the proposed fix from CVS and give that a go"?

Since the fix awaits input from testers we can't very well release it
immediately. You've tested it, so that makes one person. If a few more
report that it's now working as intended without any downsides we'll
probably go ahead and cut a release in the next few days, but releasing
untested code that might break something else just to fix a bug isn't
really good practice.

I don't have access to hit the release-button yet, or I would probably
do so for this particular bug.

> 
> If you require more test reports (as Tony stated on IRC that Ethan wants
> that): The fix has been tested and debugged on Icinga Core, same
> behavior, same bugfix, same successful tests. If needed, I'll clone
> Andreas' GIT and run several tests against Nagios Core too, but since
> the code in this regard is merely the same, putting that up to a release
> should be no problem. But if you do think different, no offense taken.
> 

Good enough for me.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev



From aseques at gmail.com  Fri Oct  1 12:52:38 2010
From: aseques at gmail.com (Joan)
Date: Fri, 1 Oct 2010 12:52:38 +0200
Subject: Configuring snmp ip for the hosts
Message-ID: <AANLkTi=3stoxcQMsktV1qAWtBcT_j3j9+3X6VntRXwOG@mail.gmail.com>

Hi, I've just migrated from nagios2 to nagios3, basically for the
custom macro feature.
In my network I've two kind of servers:
.- Single ip server (the same ip is used both for services and snmp server)
.- Dual ip server (public ip for the services and private ip for the
snmp server)

What I try to do is set a default value to the macro $_HOSTIPSNMP$ in
the host template ..

define host {
        name linux-server
        ...
        _IPSNMP                 $HOSTADDRESS$
        ...
}

I assumed that all the hosts automatically would set $_HOSTIPSNMP$
with the content of $HOSTADDRESS$

If I can get this working, the second part would be to set on a
per-host basis custom values for $_HOSTIPSNMP$, in the style of:

define host {
        use linux-server
        address           123.123.123.123
        _IPSNMP        192.168.1.10
}

So $_HOSTIPSNMP$ has always a sane value and I can set it to whatever
I want whenever I need.


The error I'm facing is this, it seems that the _HOSTIPSNMP doesn't
get replaced properly for the variable value, but instead it gets
replaced for the variable name.

cmd=[/usr/lib/nagios/plugins/check_snmp_storage.pl '-H' 'HOSTADDRESS'
'-C' 'comunity' '-m' '/' '-w' '80%' '-c' '85%']
output=[ERROR: Unable to resolve UDP/IPv4 address 'HOSTADDRESS'.

I tried changing the quoting of $HOSTADDRESS$ in the template, but
nothing I tried worked.

Thanks for your help.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From michael.friedrich at univie.ac.at  Fri Oct  1 12:49:55 2010
From: michael.friedrich at univie.ac.at (Michael Friedrich)
Date: Fri, 01 Oct 2010 12:49:55 +0200
Subject: [Nagios-users] significant bug in 3.2.2 -
 nagios.cfg -- execute_service_checks=0 completely ignored
In-Reply-To: <4CA5AE9A.5040409@op5.se>
References: <C8DC6C2E26864740BB0D62610DF594826599AA2AF1@SJ-ITMSG01.altera.priv.altera.com>	<20100930234343.GA10053@varinia.lobefin.net>
	<4CA57C4A.5050408@univie.ac.at> <4CA5AE9A.5040409@op5.se>
Message-ID: <4CA5BCD3.3040700@univie.ac.at>

Andreas Ericsson wrote:
>
> How about "download the proposed fix from CVS and give that a go"?
>    

True for testing environments and source upgrades (if people can do that 
theirselves).
Untrue for package upgrades and similar upgrade paths.

Main problem targets the fact that the error reports differ in various 
ways. Only a developer might get the idea what did change, but if I were 
just an user with daily business I would spend a lot of time checking on 
possible errors. Better having a new release telling this is fixed.

> Since the fix awaits input from testers we can't very well release it
> immediately. You've tested it, so that makes one person. If a few more
> report that it's now working as intended without any downsides we'll
> probably go ahead and cut a release in the next few days, but releasing
> untested code that might break something else just to fix a bug isn't
> really good practice.
>    

Well good to hear that, not rushing into releases. Maybe instrumented by 
asking on different channels for testing help (like Twitter and Facebook 
getting very popular right now). Just an idea to make life more easy.


Kind regards,
Michael

-- 
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email: 	michael.friedrich at univie.ac.at
phone: 	+43 1 4277 14359
fax: 	+43 1 4277 14279
web:	http://www.univie.ac.at/zid

Icinga Core&  IDOUtils Developer
http://www.icinga.org


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev



From tyarusso at nagios.com  Fri Oct  1 13:45:53 2010
From: tyarusso at nagios.com (Tony Yarusso)
Date: Fri, 01 Oct 2010 06:45:53 -0500
Subject: [Nagios-devel] significant bug in 3.2.2 -
 nagios.cfg -- execute_service_checks=0 completely ignored
In-Reply-To: <4CA5BCD3.3040700@univie.ac.at>
References: <C8DC6C2E26864740BB0D62610DF594826599AA2AF1@SJ-ITMSG01.altera.priv.altera.com>
	<20100930234343.GA10053@varinia.lobefin.net>
	<4CA57C4A.5050408@univie.ac.at> <4CA5AE9A.5040409@op5.se>
	<4CA5BCD3.3040700@univie.ac.at>
Message-ID: <1285933553.28805.1.camel@timmins>

On Fri, 2010-10-01 at 12:49 +0200, Michael Friedrich wrote:
> Maybe instrumented by 
> asking on different channels for testing help (like Twitter and Facebook 
> getting very popular right now). Just an idea to make life more easy.

Noted.  We're working on making better use of the @nagiosinc and
@nagiosproject microblogging accounts; I'll keep this kind of thing in
mind for that.

-- 
Tony Yarusso
Technical Team
___
Nagios Enterprises, LLC
Email:  tyarusso at nagios.com
Web:    www.nagios.com


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From lomiz.mail at gmail.com  Fri Oct  1 14:25:24 2010
From: lomiz.mail at gmail.com (Enrico Zimol)
Date: Fri, 1 Oct 2010 14:25:24 +0200
Subject: How long Nagios keep memorized status and change
	status informations?
Message-ID: <AANLkTingg8oNbF=JyzgoWONT3FW1HyAjT14L80BQPiyg@mail.gmail.com>

Hi at all!
Probably this question will be labeled as "banal" but I can't find
information about it on official documentation.
I need to keep an history of the change status event, and I know that
Nagios don't use database to do it.
I think nagios use a file to store information with which it create
reports, but I can't find exactly what file and of course how long
that informations will be stored.

Looking on official documentation I found only this:
http://nagios.sourceforge.net/docs/3_0/config.html
and looking on configuration I also found these line:

status_file=/usr/local/nagios/var/status.dat

But this status seems to be the current status, not the history.

Can you give me a link to documentation that explain this?

P.S. I can't use NDOUtils to do that

Thank's for your attention and sorry about this monstrous english :)

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From lists at xodus.org  Fri Oct  1 15:10:58 2010
From: lists at xodus.org (Marc Powell)
Date: Fri, 1 Oct 2010 08:10:58 -0500
Subject: How long Nagios keep memorized status and change
	status informations?
In-Reply-To: <AANLkTingg8oNbF=JyzgoWONT3FW1HyAjT14L80BQPiyg@mail.gmail.com>
References: <AANLkTingg8oNbF=JyzgoWONT3FW1HyAjT14L80BQPiyg@mail.gmail.com>
Message-ID: <28BF7B20-E29B-4FB4-BA71-530325398940@xodus.org>


On Oct 1, 2010, at 7:25 AM, Enrico Zimol wrote:

> Hi at all!
> Probably this question will be labeled as "banal" but I can't find
> information about it on official documentation.
> I need to keep an history of the change status event, and I know that
> Nagios don't use database to do it.
> I think nagios use a file to store information with which it create
> reports, but I can't find exactly what file and of course how long
> that informations will be stored.

It uses several files. 

/usr/local/nagios/var/nagios.log is the 'current' data for this log rotation period.
/usr/local/nagios/var/archives/* are the historical logs, one for each previous log rotation period.

Nagios does not remove these files. They're kept indefinitely until you remove them.* Nagios uses them to generate all the historical reports. The current web interface only allows you to go back to the previous year, even if older archived log files are available. There'd be nothing stopping you from using those to generate your own reporting.

--
Marc

* If you do remove them, rename them, gzip them or modify them in any way nagios will be unable to use them for reporting purposes.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From lomiz.mail at gmail.com  Fri Oct  1 15:34:39 2010
From: lomiz.mail at gmail.com (Enrico Zimol)
Date: Fri, 1 Oct 2010 15:34:39 +0200
Subject: How long Nagios keep memorized status and change
 status informations?
In-Reply-To: <28BF7B20-E29B-4FB4-BA71-530325398940@xodus.org>
References: <AANLkTingg8oNbF=JyzgoWONT3FW1HyAjT14L80BQPiyg@mail.gmail.com>
	<28BF7B20-E29B-4FB4-BA71-530325398940@xodus.org>
Message-ID: <AANLkTimpEGVyKacpjWgQR2e9EYbKPgjTnHMrZ=CQWdaY@mail.gmail.com>

On 1 October 2010 15:10, Marc Powell <lists at xodus.org> wrote:
>
> It uses several files.
>
> /usr/local/nagios/var/nagios.log is the 'current' data for this log rotation period.
> /usr/local/nagios/var/archives/* are the historical logs, one for each previous log rotation period.
>
> Nagios does not remove these files. They're kept indefinitely until you remove them.* Nagios uses them to generate all the historical reports.
>

Thank you so much!
I've another question: I see that on that files the time use a sintax
like "[1274071697]" at the begin of each line.
How can I "decode" that value?
In qmail I used tai64nlocal, is there a tool to do that on this format?

Thank's!


-- 
Enrico "lomiz" Zimol
http://www.lomiz.it

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From ae at op5.se  Fri Oct  1 15:36:08 2010
From: ae at op5.se (Andreas Ericsson)
Date: Fri, 01 Oct 2010 15:36:08 +0200
Subject: [Nagios-users] significant bug in 3.2.2 -
 nagios.cfg -- execute_service_checks=0 completely ignored
In-Reply-To: <4CA5BCD3.3040700@univie.ac.at>
References: <C8DC6C2E26864740BB0D62610DF594826599AA2AF1@SJ-ITMSG01.altera.priv.altera.com>	<20100930234343.GA10053@varinia.lobefin.net>	<4CA57C4A.5050408@univie.ac.at>
	<4CA5AE9A.5040409@op5.se> <4CA5BCD3.3040700@univie.ac.at>
Message-ID: <4CA5E3C8.7050603@op5.se>

On 10/01/2010 12:49 PM, Michael Friedrich wrote:
> Andreas Ericsson wrote:
>>
>> How about "download the proposed fix from CVS and give that a go"?
>>
> 
> True for testing environments and source upgrades (if people can do that
> theirselves).
> Untrue for package upgrades and similar upgrade paths.
> 

True that. This, btw, is why package maintainers very rarely jump the
guns to get new versions out the door though, so I doubt it affects
anyone who's installed Nagios that way.

> Main problem targets the fact that the error reports differ in various
> ways. Only a developer might get the idea what did change, but if I were
> just an user with daily business I would spend a lot of time checking on
> possible errors. Better having a new release telling this is fixed.
> 
>> Since the fix awaits input from testers we can't very well release it
>> immediately. You've tested it, so that makes one person. If a few more
>> report that it's now working as intended without any downsides we'll
>> probably go ahead and cut a release in the next few days, but releasing
>> untested code that might break something else just to fix a bug isn't
>> really good practice.
>>
> 
> Well good to hear that, not rushing into releases. Maybe instrumented by
> asking on different channels for testing help (like Twitter and Facebook
> getting very popular right now). Just an idea to make life more easy.
> 

Automated testing beats user testing 9 times out of 10. That's why we need
to send all our icecream to Ton for working on adding automated tests to
Nagios.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev



From lomiz.mail at gmail.com  Fri Oct  1 15:37:36 2010
From: lomiz.mail at gmail.com (Enrico Zimol)
Date: Fri, 1 Oct 2010 15:37:36 +0200
Subject: How long Nagios keep memorized status and change
 status informations?
In-Reply-To: <AANLkTimpEGVyKacpjWgQR2e9EYbKPgjTnHMrZ=CQWdaY@mail.gmail.com>
References: <AANLkTingg8oNbF=JyzgoWONT3FW1HyAjT14L80BQPiyg@mail.gmail.com>
	<28BF7B20-E29B-4FB4-BA71-530325398940@xodus.org>
	<AANLkTimpEGVyKacpjWgQR2e9EYbKPgjTnHMrZ=CQWdaY@mail.gmail.com>
Message-ID: <AANLkTikOjLzpDAiLeQ_64A5y3RM8e3vQk2AxZ0=wYq6X@mail.gmail.com>

On 1 October 2010 15:34, Enrico Zimol <lomiz.mail at gmail.com> wrote:
> Thank you so much!
> I've another question: I see that on that files the time use a sintax
> like "[1274071697]" at the begin of each line.
> How can I "decode" that value?
> In qmail I used tai64nlocal, is there a tool to do that on this format?

Solved :)

perl -pe 's/(\d+)/localtime($1)/e' logfile.log

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From chbock at cisco.com  Fri Oct  1 15:45:15 2010
From: chbock at cisco.com (Christian Bock (chbock))
Date: Fri, 1 Oct 2010 15:45:15 +0200
Subject: Cisco WAAS Plugin
Message-ID: <626BEA3276624645946F41DF3891B7FC0309DAFF@XMB-AMS-105.cisco.com>

 

Hi,

 

I am not sure if my last mail made it to the list.

 

I am looking for a Cisco WAAS Plugin for Nagios.

Has someone already written such a plugin?

 

Thanks,

chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101001/931b2cee/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From a31modela at hotmail.com  Fri Oct  1 21:56:56 2010
From: a31modela at hotmail.com (steve f)
Date: Fri, 1 Oct 2010 15:56:56 -0400
Subject: Question on Distributed Setup for hosts & hostgroups
Message-ID: <BLU105-W2420FCC0C1FA766D89C0C7A2690@phx.gbl>


I am building a package to send out to 500 locations to set up a distributed Nagios 3.2 environment.

I have scripts written that when the nagios package is dropped in a location, the script creates a hosts.cfg & a hostgroup.cfg file on the remote distributed server for the hosts he will monitor.

I just want to be 100 % sure that if  the central server is not doing active checks, does the central server still have to have every remote host listed in its hosts.cfg and the hostgroup.cfg files?

Thanks,

Steve


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101001/ff50348c/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From skreuzer at exit2shell.com  Sat Oct  2 00:04:21 2010
From: skreuzer at exit2shell.com (Steven Kreuzer)
Date: Fri, 1 Oct 2010 18:04:21 -0400
Subject: Question on Distributed Setup for hosts &
	hostgroups
In-Reply-To: <BLU105-W2420FCC0C1FA766D89C0C7A2690@phx.gbl>
References: <BLU105-W2420FCC0C1FA766D89C0C7A2690@phx.gbl>
Message-ID: <DC57D478-06EB-42FF-8FAB-FAAE112D5714@exit2shell.com>


On Oct 1, 2010, at 3:56 PM, steve f wrote:

> I am building a package to send out to 500 locations to set up a distributed Nagios 3.2 environment.
> 
> I have scripts written that when the nagios package is dropped in a location, the script creates a hosts.cfg & a hostgroup.cfg file on the remote distributed server for the hosts he will monitor.
> 
> I just want to be 100 % sure that if  the central server is not doing active checks, does the central server still have to have every remote host listed in its hosts.cfg and the hostgroup.cfg files?

It does otherwise the central server won't know what to do with the check results that it receives.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101001/b96e60d9/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From crackhd2 at gmail.com  Sat Oct  2 22:27:04 2010
From: crackhd2 at gmail.com (Ben Schmidt)
Date: Sat, 2 Oct 2010 22:27:04 +0200
Subject: Can't get nagiosgrapher to work
Message-ID: <AANLkTikEr=bhHa3W+kzFHk1J-0mgMHTCRiTaaz6aD79W@mail.gmail.com>

Hello Mailing List,

This is my first post, I just started with nagios today an already
have a Problem I can't solve.

What I did so far is to install nagios and nagiosgrapher 1.7.1 via the
Packet manager, without any Problems.

I hope that I got all the config parameters in /etc/nagios3/nagios.cfg right:
###############
/etc/nagios3# cat nagios.cfg | egrep
"check_external_commands|process_performance_data|service_perfdata_command"
| grep -v "^#"
check_external_commands=1
process_performance_data=1
service_perfdata_command=ngraph-process-service-perfdata-pipe
###############

The Deamons Output looks pretty good also:
###############
/etc/nagios3# tail -n 30 -f /var/log/nagiosgrapher/ngraph.log
2010-10-02 20:06:01 PIPE: localhost     Current Load    OK - load
average: 0.17, 0.27, 0.13     load1=0.170;5.000;10.000;0;
load5=0.270;4.000;6.000;0; load15=0.130;3.000;4.000;0;
2010-10-02 20:06:01 VALUES: [localhost][Current Load]: 1min=0.17
5min=0.27 15min=0.13
2010-10-02 20:06:01 RRD: rrdtool update
/var/lib/nagiosgrapher/rrd/localhost/be0dcf79990574e9c88ba5325be4dcc6.rrd
--template=1min:5min:15min N:0.17:0.27:0.13
###############

I can't find any errors in the nagios Log ether.

The RRD DBs seem to work also:
###############
-rw-r--r-- 1 nagios nagios 316832 2010-10-02 20:11
/var/lib/nagiosgrapher/rrd/localhost/be0dcf79990574e9c88ba5325be4dcc6.rrd
-rw-r--r-- 1 nagios nagios 106992 2010-10-02 20:11
/var/lib/nagiosgrapher/rrd/localhost/d9d37ec8e402b4c235e7b1b1e8214045.rrd
-rw-r--r-- 1 nagios nagios 106992 2010-10-02 20:12
/var/lib/nagiosgrapher/rrd/localhost/31318962a16e0073465b2ddac96a4821.rrd
###############


What's missing is the integration in the Web Frontend.

Could anybody please point me in the Direction to look at?


BTW:
I use debian GNU/Linux amd64 with the backports.debain.org Repository.
So far I only used Packetes from the Backup Repository. (nagios is
3.1.1)
I already removed and purge the whole installation and tried with the
debian stable Packages but that didn't make a difference at all, exact
same Problem.


That's very much,

Ben

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From crackhd2 at gmail.com  Sun Oct  3 00:18:36 2010
From: crackhd2 at gmail.com (Ben Schmidt)
Date: Sun, 3 Oct 2010 00:18:36 +0200
Subject: Can't get nagiosgrapher to work
In-Reply-To: <AANLkTikEr=bhHa3W+kzFHk1J-0mgMHTCRiTaaz6aD79W@mail.gmail.com>
References: <AANLkTikEr=bhHa3W+kzFHk1J-0mgMHTCRiTaaz6aD79W@mail.gmail.com>
Message-ID: <AANLkTi=FGKmNRy1gf0-a4xZPKGJAft_wmXUWS=Si8b-e@mail.gmail.com>

Hello,

I found any "error". I installed a debian lenny system in VM and did
exactly what I deployed on my testserver around 20 times today.
After a couple of Minutes I was able to get the firsts graphs via the
URL http://<servername>/cgi-bin/nagios3/graphs.cgi
And then a couple of minutes later I finally had little graphs in my
frontend, so I tared and copied /etc/nagios* to the testserver,
restarted nagios3 and nagiosgrapher and viola ... it finally worked on
my Testserver also.

Thanks a lot,

Ben

On Sat, Oct 2, 2010 at 10:27 PM, Ben Schmidt <crackhd2 at gmail.com> wrote:
> Hello Mailing List,
>
> This is my first post, I just started with nagios today an already
> have a Problem I can't solve.
>
> What I did so far is to install nagios and nagiosgrapher 1.7.1 via the
> Packet manager, without any Problems.
>
> I hope that I got all the config parameters in /etc/nagios3/nagios.cfg right:
> ###############
> /etc/nagios3# cat nagios.cfg | egrep
> "check_external_commands|process_performance_data|service_perfdata_command"
> | grep -v "^#"
> check_external_commands=1
> process_performance_data=1
> service_perfdata_command=ngraph-process-service-perfdata-pipe
> ###############
>
> The Deamons Output looks pretty good also:
> ###############
> /etc/nagios3# tail -n 30 -f /var/log/nagiosgrapher/ngraph.log
> 2010-10-02 20:06:01 PIPE: localhost ? ? Current Load ? ?OK - load
> average: 0.17, 0.27, 0.13 ? ? load1=0.170;5.000;10.000;0;
> load5=0.270;4.000;6.000;0; load15=0.130;3.000;4.000;0;
> 2010-10-02 20:06:01 VALUES: [localhost][Current Load]: 1min=0.17
> 5min=0.27 15min=0.13
> 2010-10-02 20:06:01 RRD: rrdtool update
> /var/lib/nagiosgrapher/rrd/localhost/be0dcf79990574e9c88ba5325be4dcc6.rrd
> --template=1min:5min:15min N:0.17:0.27:0.13
> ###############
>
> I can't find any errors in the nagios Log ether.
>
> The RRD DBs seem to work also:
> ###############
> -rw-r--r-- 1 nagios nagios 316832 2010-10-02 20:11
> /var/lib/nagiosgrapher/rrd/localhost/be0dcf79990574e9c88ba5325be4dcc6.rrd
> -rw-r--r-- 1 nagios nagios 106992 2010-10-02 20:11
> /var/lib/nagiosgrapher/rrd/localhost/d9d37ec8e402b4c235e7b1b1e8214045.rrd
> -rw-r--r-- 1 nagios nagios 106992 2010-10-02 20:12
> /var/lib/nagiosgrapher/rrd/localhost/31318962a16e0073465b2ddac96a4821.rrd
> ###############
>
>
> What's missing is the integration in the Web Frontend.
>
> Could anybody please point me in the Direction to look at?
>
>
> BTW:
> I use debian GNU/Linux amd64 with the backports.debain.org Repository.
> So far I only used Packetes from the Backup Repository. (nagios is
> 3.1.1)
> I already removed and purge the whole installation and tried with the
> debian stable Packages but that didn't make a difference at all, exact
> same Problem.
>
>
> That's very much,
>
> Ben
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From iberkner at gmail.com  Sun Oct  3 08:55:25 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Sun, 3 Oct 2010 02:55:25 -0400
Subject: nagios.cmd permission issue
Message-ID: <AANLkTim-iu22ux9s+X3brR_SChUW5pObtU0HEtxyGksY@mail.gmail.com>

Hi,

New to Nagios...

Got everything pretty much running, except when I try to modify things using
the web interface, I get this error:

Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for
update!

The permissions on the external command file and/or directory may be
incorrect. Read the FAQs on how to setup proper permissions.

An error occurred while attempting to commit your command for processing.


This is clearly a permission issue as when I manually change the permissions
of the /rw/nagios.cmd to 777 for example, it works fine.  When the service
is restarted and the pipe is recreated though, the permissions are re-set.

I am running the nginx web server, not apache.

SELinux is disabled.

The rw directory has 777 permissions and is owned by the nagios user and
group.

The Nginx server runs under a different user / group and this could be the
issue.  However, I tried to set up the rw directory with that user and group
and still no luck.

Help?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101003/f1273a08/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From iberkner at gmail.com  Sun Oct  3 09:17:14 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Sun, 3 Oct 2010 03:17:14 -0400
Subject: how do you find out which options nagios was
 configured with at compile time? in particular, -with-command-group ?
Message-ID: <AANLkTikC3sjwhEjurUV3bAD-gduJydkm-64_df2rj1wx@mail.gmail.com>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101003/ce63e901/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From rutger at blokje.net  Sun Oct  3 11:03:03 2010
From: rutger at blokje.net (Rutger Blom)
Date: Sun, 3 Oct 2010 11:03:03 +0200
Subject: nagios.cmd permission issue
In-Reply-To: <AANLkTim-iu22ux9s+X3brR_SChUW5pObtU0HEtxyGksY@mail.gmail.com>
References: <AANLkTim-iu22ux9s+X3brR_SChUW5pObtU0HEtxyGksY@mail.gmail.com>
Message-ID: <AANLkTikEXYLLJfEeL6Wwa4qFppu89UaF60REr2MxqKtz@mail.gmail.com>

Set the sticky bit on the directory.

Rutger

On Sun, Oct 3, 2010 at 8:55 AM, Ilan Berkner <iberkner at gmail.com> wrote:

> Hi,
>
> New to Nagios...
>
> Got everything pretty much running, except when I try to modify things
> using the web interface, I get this error:
>
> Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd'
> for update!
>
> The permissions on the external command file and/or directory may be
> incorrect. Read the FAQs on how to setup proper permissions.
>
> An error occurred while attempting to commit your command for processing.
>
>
> This is clearly a permission issue as when I manually change the
> permissions of the /rw/nagios.cmd to 777 for example, it works fine.  When
> the service is restarted and the pipe is recreated though, the permissions
> are re-set.
>
> I am running the nginx web server, not apache.
>
> SELinux is disabled.
>
> The rw directory has 777 permissions and is owned by the nagios user and
> group.
>
> The Nginx server runs under a different user / group and this could be the
> issue.  However, I tried to set up the rw directory with that user and group
> and still no luck.
>
> Help?
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>



-- 
Rutger Blom
Luzernv?gen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com

<http://delicious.com/rbml77>  <http://www.facebook.com/rutgerblom>
<http://foursquare.com/user/rutgerblom> <http://www.linkedin.com/in/rutgerblom>
<http://picasaweb.google.com/rutger.blom> <http://twitter.com/rutgerblom>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101003/08597218/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From iberkner at gmail.com  Sun Oct  3 15:48:00 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Sun, 3 Oct 2010 09:48:00 -0400
Subject: nagios.cmd permission issue
In-Reply-To: <AANLkTikEXYLLJfEeL6Wwa4qFppu89UaF60REr2MxqKtz@mail.gmail.com>
References: <AANLkTim-iu22ux9s+X3brR_SChUW5pObtU0HEtxyGksY@mail.gmail.com>
	<AANLkTikEXYLLJfEeL6Wwa4qFppu89UaF60REr2MxqKtz@mail.gmail.com>
Message-ID: <AANLkTi=h3ZtywQwe03naJ-2B0ZZ+soZ34aOmbUE1kgqy@mail.gmail.com>

Did not work, probably b/c I'm restarting the service as root?

Is there a way to tell under which user nagios is trying to access the
nagios.cmd file?

On Sun, Oct 3, 2010 at 5:03 AM, Rutger Blom <rutger at blokje.net> wrote:

> Set the sticky bit on the directory.
>
> Rutger
>
> On Sun, Oct 3, 2010 at 8:55 AM, Ilan Berkner <iberkner at gmail.com> wrote:
>
>> Hi,
>>
>> New to Nagios...
>>
>> Got everything pretty much running, except when I try to modify things
>> using the web interface, I get this error:
>>
>> Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd'
>> for update!
>>
>> The permissions on the external command file and/or directory may be
>> incorrect. Read the FAQs on how to setup proper permissions.
>>
>> An error occurred while attempting to commit your command for processing.
>>
>>
>> This is clearly a permission issue as when I manually change the
>> permissions of the /rw/nagios.cmd to 777 for example, it works fine.  When
>> the service is restarted and the pipe is recreated though, the permissions
>> are re-set.
>>
>> I am running the nginx web server, not apache.
>>
>> SELinux is disabled.
>>
>> The rw directory has 777 permissions and is owned by the nagios user and
>> group.
>>
>> The Nginx server runs under a different user / group and this could be the
>> issue.  However, I tried to set up the rw directory with that user and group
>> and still no luck.
>>
>> Help?
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>
>
>
>
> --
> Rutger Blom
> Luzernv?gen 14
> 227 38 LUND
> Sweden
> Tel. +46 763 46 99 44
> www.rutgerblom.com
>
> <http://delicious.com/rbml77>  <http://www.facebook.com/rutgerblom>
> <http://foursquare.com/user/rutgerblom> <http://www.linkedin.com/in/rutgerblom>
> <http://picasaweb.google.com/rutger.blom> <http://twitter.com/rutgerblom>
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101003/f119595a/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From mmelin at gmail.com  Sun Oct  3 15:57:02 2010
From: mmelin at gmail.com (Martin Melin)
Date: Sun, 3 Oct 2010 15:57:02 +0200
Subject: nagios.cmd permission issue
In-Reply-To: <AANLkTi=h3ZtywQwe03naJ-2B0ZZ+soZ34aOmbUE1kgqy@mail.gmail.com>
References: <AANLkTim-iu22ux9s+X3brR_SChUW5pObtU0HEtxyGksY@mail.gmail.com>
	<AANLkTikEXYLLJfEeL6Wwa4qFppu89UaF60REr2MxqKtz@mail.gmail.com>
	<AANLkTi=h3ZtywQwe03naJ-2B0ZZ+soZ34aOmbUE1kgqy@mail.gmail.com>
Message-ID: <AANLkTimCutbzcWxk=OkpDq6DCG=ub-QELe6XewA==z2+@mail.gmail.com>

Have a look at this page from the official docs:
http://nagios.sourceforge.net/docs/2_0/commandfile.html

<http://nagios.sourceforge.net/docs/2_0/commandfile.html>Do as it says and
things will work.

Re: your second question, just look in nagios.conf.

<http://nagios.sourceforge.net/docs/2_0/commandfile.html>Best regards,
Martin Melin

On Sun, Oct 3, 2010 at 3:48 PM, Ilan Berkner <iberkner at gmail.com> wrote:

> Did not work, probably b/c I'm restarting the service as root?
>
> Is there a way to tell under which user nagios is trying to access the
> nagios.cmd file?
>
>
> On Sun, Oct 3, 2010 at 5:03 AM, Rutger Blom <rutger at blokje.net> wrote:
>
>> Set the sticky bit on the directory.
>>
>> Rutger
>>
>> On Sun, Oct 3, 2010 at 8:55 AM, Ilan Berkner <iberkner at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> New to Nagios...
>>>
>>> Got everything pretty much running, except when I try to modify things
>>> using the web interface, I get this error:
>>>
>>> Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd'
>>> for update!
>>>
>>> The permissions on the external command file and/or directory may be
>>> incorrect. Read the FAQs on how to setup proper permissions.
>>>
>>> An error occurred while attempting to commit your command for processing.
>>>
>>>
>>> This is clearly a permission issue as when I manually change the
>>> permissions of the /rw/nagios.cmd to 777 for example, it works fine.  When
>>> the service is restarted and the pipe is recreated though, the permissions
>>> are re-set.
>>>
>>> I am running the nginx web server, not apache.
>>>
>>> SELinux is disabled.
>>>
>>> The rw directory has 777 permissions and is owned by the nagios user and
>>> group.
>>>
>>> The Nginx server runs under a different user / group and this could be
>>> the issue.  However, I tried to set up the rw directory with that user and
>>> group and still no luck.
>>>
>>> Help?
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing.
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Nagios-users mailing list
>>> Nagios-users at 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
>>>
>>
>>
>>
>> --
>> Rutger Blom
>> Luzernv?gen 14
>> 227 38 LUND
>> Sweden
>> Tel. +46 763 46 99 44
>> www.rutgerblom.com
>>
>> <http://delicious.com/rbml77>  <http://www.facebook.com/rutgerblom>
>> <http://foursquare.com/user/rutgerblom> <http://www.linkedin.com/in/rutgerblom>
>> <http://picasaweb.google.com/rutger.blom> <http://twitter.com/rutgerblom>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101003/4a3d4795/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From lists at xodus.org  Sun Oct  3 16:37:27 2010
From: lists at xodus.org (Marc Powell)
Date: Sun, 3 Oct 2010 09:37:27 -0500
Subject: nagios.cmd permission issue
In-Reply-To: <AANLkTi=h3ZtywQwe03naJ-2B0ZZ+soZ34aOmbUE1kgqy@mail.gmail.com>
References: <AANLkTim-iu22ux9s+X3brR_SChUW5pObtU0HEtxyGksY@mail.gmail.com>
	<AANLkTikEXYLLJfEeL6Wwa4qFppu89UaF60REr2MxqKtz@mail.gmail.com>
	<AANLkTi=h3ZtywQwe03naJ-2B0ZZ+soZ34aOmbUE1kgqy@mail.gmail.com>
Message-ID: <E53AA131-8959-4928-ABF1-B66E51C5EA79@xodus.org>


On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:

> Did not work, probably b/c I'm restarting the service as root?
> 
> Is there a way to tell under which user nagios is trying to access the nagios.cmd file?

Your web server is trying to write to the pipe so it's whatever user your web server is configured to run as.

--
Marc


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From td3201 at gmail.com  Sun Oct  3 17:56:32 2010
From: td3201 at gmail.com (Terry)
Date: Sun, 3 Oct 2010 10:56:32 -0500
Subject: WMI and perfmon
Message-ID: <AANLkTi=sBJtd=daQ+S0W6q-yewJ8RHXx1mNgRiTMNsbC@mail.gmail.com>

Hello,

I am trying to use the agentless WMI plugins to monitor a bunch of
items about SQL, Exchange, whatever.  Just for easy conversation, I am
simply trying to get transactionspersec counter via WMI:

C:\>cscript.exe //nologo //T:10
c:\nrpe_nt\plugins\v2\check_counter_counter.vbs -h "server" -class
"Win32_PerfRawData_MSSQLSERVER_SQLServerDatabases" -inst "_Total"
-prop "TransactionsPersec" -w "80" -c "90"
Unknown - No data received from WMI;

It appears that the Windows server does not have it's performance
counters in WMI.  This fails on both a SQL 2008 as well as SQL 2005.
What am I missing?

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From iberkner at gmail.com  Sun Oct  3 19:24:33 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Sun, 3 Oct 2010 13:24:33 -0400
Subject: nagios.cmd permission issue
In-Reply-To: <AANLkTimCutbzcWxk=OkpDq6DCG=ub-QELe6XewA==z2+@mail.gmail.com>
References: <AANLkTim-iu22ux9s+X3brR_SChUW5pObtU0HEtxyGksY@mail.gmail.com>
	<AANLkTikEXYLLJfEeL6Wwa4qFppu89UaF60REr2MxqKtz@mail.gmail.com>
	<AANLkTi=h3ZtywQwe03naJ-2B0ZZ+soZ34aOmbUE1kgqy@mail.gmail.com>
	<AANLkTimCutbzcWxk=OkpDq6DCG=ub-QELe6XewA==z2+@mail.gmail.com>
Message-ID: <AANLkTikS9BEM+zq4O4n9yeGgByz8q=rnRe72DfOpfOm_@mail.gmail.com>

I followed the instructions in commandfile.html documentation to the letter,
its still not working.

Its clearly a permissions issue between the user that the web server is
running as and the user that nagios is running is.  I did create a nagcmd
group where both users are a part of and set up the sticky bit, but no luck.

I am running Nginx web server, not Apache so maybe there's some kind of
configuration issue that has to be dealt with, does anyone have any
experience with Nginx, Nagios and the command file?

Thanks

On Sun, Oct 3, 2010 at 9:57 AM, Martin Melin <mmelin at gmail.com> wrote:

> Have a look at this page from the official docs:
> http://nagios.sourceforge.net/docs/2_0/commandfile.html
>
> <http://nagios.sourceforge.net/docs/2_0/commandfile.html>Do as it says and
> things will work.
>
> Re: your second question, just look in nagios.conf.
>
> <http://nagios.sourceforge.net/docs/2_0/commandfile.html>Best regards,
> Martin Melin
>
>
> On Sun, Oct 3, 2010 at 3:48 PM, Ilan Berkner <iberkner at gmail.com> wrote:
>
>> Did not work, probably b/c I'm restarting the service as root?
>>
>> Is there a way to tell under which user nagios is trying to access the
>> nagios.cmd file?
>>
>>
>> On Sun, Oct 3, 2010 at 5:03 AM, Rutger Blom <rutger at blokje.net> wrote:
>>
>>> Set the sticky bit on the directory.
>>>
>>> Rutger
>>>
>>> On Sun, Oct 3, 2010 at 8:55 AM, Ilan Berkner <iberkner at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> New to Nagios...
>>>>
>>>> Got everything pretty much running, except when I try to modify things
>>>> using the web interface, I get this error:
>>>>
>>>> Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd'
>>>> for update!
>>>>
>>>> The permissions on the external command file and/or directory may be
>>>> incorrect. Read the FAQs on how to setup proper permissions.
>>>>
>>>> An error occurred while attempting to commit your command for
>>>> processing.
>>>>
>>>>
>>>> This is clearly a permission issue as when I manually change the
>>>> permissions of the /rw/nagios.cmd to 777 for example, it works fine.  When
>>>> the service is restarted and the pipe is recreated though, the permissions
>>>> are re-set.
>>>>
>>>> I am running the nginx web server, not apache.
>>>>
>>>> SELinux is disabled.
>>>>
>>>> The rw directory has 777 permissions and is owned by the nagios user and
>>>> group.
>>>>
>>>> The Nginx server runs under a different user / group and this could be
>>>> the issue.  However, I tried to set up the rw directory with that user and
>>>> group and still no luck.
>>>>
>>>> Help?
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Start uncovering the many advantages of virtual appliances
>>>> and start using them to simplify application deployment and
>>>> accelerate your shift to cloud computing.
>>>> http://p.sf.net/sfu/novell-sfdev2dev
>>>> _______________________________________________
>>>> Nagios-users mailing list
>>>> Nagios-users at 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
>>>>
>>>
>>>
>>>
>>> --
>>> Rutger Blom
>>> Luzernv?gen 14
>>> 227 38 LUND
>>> Sweden
>>> Tel. +46 763 46 99 44
>>> www.rutgerblom.com
>>>
>>> <http://delicious.com/rbml77>  <http://www.facebook.com/rutgerblom>
>>> <http://foursquare.com/user/rutgerblom> <http://www.linkedin.com/in/rutgerblom>
>>> <http://picasaweb.google.com/rutger.blom>
>>> <http://twitter.com/rutgerblom>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Start uncovering the many advantages of virtual appliances
>>> and start using them to simplify application deployment and
>>> accelerate your shift to cloud computing.
>>> http://p.sf.net/sfu/novell-sfdev2dev
>>> _______________________________________________
>>> Nagios-users mailing list
>>> Nagios-users at 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
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101003/bd75b186/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From iberkner at gmail.com  Sun Oct  3 19:25:20 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Sun, 3 Oct 2010 13:25:20 -0400
Subject: nagios.cmd permission issue
In-Reply-To: <E53AA131-8959-4928-ABF1-B66E51C5EA79@xodus.org>
References: <AANLkTim-iu22ux9s+X3brR_SChUW5pObtU0HEtxyGksY@mail.gmail.com>
	<AANLkTikEXYLLJfEeL6Wwa4qFppu89UaF60REr2MxqKtz@mail.gmail.com>
	<AANLkTi=h3ZtywQwe03naJ-2B0ZZ+soZ34aOmbUE1kgqy@mail.gmail.com>
	<E53AA131-8959-4928-ABF1-B66E51C5EA79@xodus.org>
Message-ID: <AANLkTimSc0QSkysmz9F-v0j+BYLhX=Av=eZZQ-6ZsoBA@mail.gmail.com>

Yep, there's no question that's what it is, but I've set it up so that the
webserver user is part of the group that owns the rw directory with the
sticky bit set, but no luck (yet)

On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell <lists at xodus.org> wrote:

>
> On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:
>
> > Did not work, probably b/c I'm restarting the service as root?
> >
> > Is there a way to tell under which user nagios is trying to access the
> nagios.cmd file?
>
> Your web server is trying to write to the pipe so it's whatever user your
> web server is configured to run as.
>
> --
> Marc
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101003/1eb76c68/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From iberkner at gmail.com  Sun Oct  3 19:35:07 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Sun, 3 Oct 2010 13:35:07 -0400
Subject: nagios.cmd permission issue
In-Reply-To: <AANLkTimSc0QSkysmz9F-v0j+BYLhX=Av=eZZQ-6ZsoBA@mail.gmail.com>
References: <AANLkTim-iu22ux9s+X3brR_SChUW5pObtU0HEtxyGksY@mail.gmail.com>
	<AANLkTikEXYLLJfEeL6Wwa4qFppu89UaF60REr2MxqKtz@mail.gmail.com>
	<AANLkTi=h3ZtywQwe03naJ-2B0ZZ+soZ34aOmbUE1kgqy@mail.gmail.com>
	<E53AA131-8959-4928-ABF1-B66E51C5EA79@xodus.org>
	<AANLkTimSc0QSkysmz9F-v0j+BYLhX=Av=eZZQ-6ZsoBA@mail.gmail.com>
Message-ID: <AANLkTimowLCy4ibm9eb5Ac5j=ChCQaGQZgopmtYE7-Nc@mail.gmail.com>

I've reconfigured nagios to run as the same user and group as that of the
web server.  Still getting this command file issue.

Any other suggestions?

Many thanks...

On Sun, Oct 3, 2010 at 1:25 PM, Ilan Berkner <iberkner at gmail.com> wrote:

> Yep, there's no question that's what it is, but I've set it up so that the
> webserver user is part of the group that owns the rw directory with the
> sticky bit set, but no luck (yet)
>
>
> On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell <lists at xodus.org> wrote:
>
>>
>> On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:
>>
>> > Did not work, probably b/c I'm restarting the service as root?
>> >
>> > Is there a way to tell under which user nagios is trying to access the
>> nagios.cmd file?
>>
>> Your web server is trying to write to the pipe so it's whatever user your
>> web server is configured to run as.
>>
>> --
>> Marc
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101003/68893a52/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From charlie.reddington at gmail.com  Sun Oct  3 19:48:41 2010
From: charlie.reddington at gmail.com (Charlie R)
Date: Sun, 3 Oct 2010 12:48:41 -0500
Subject: nagios.cmd permission issue
In-Reply-To: <AANLkTimowLCy4ibm9eb5Ac5j=ChCQaGQZgopmtYE7-Nc@mail.gmail.com>
References: <AANLkTim-iu22ux9s+X3brR_SChUW5pObtU0HEtxyGksY@mail.gmail.com>
	<AANLkTikEXYLLJfEeL6Wwa4qFppu89UaF60REr2MxqKtz@mail.gmail.com>
	<AANLkTi=h3ZtywQwe03naJ-2B0ZZ+soZ34aOmbUE1kgqy@mail.gmail.com>
	<E53AA131-8959-4928-ABF1-B66E51C5EA79@xodus.org>
	<AANLkTimSc0QSkysmz9F-v0j+BYLhX=Av=eZZQ-6ZsoBA@mail.gmail.com>
	<AANLkTimowLCy4ibm9eb5Ac5j=ChCQaGQZgopmtYE7-Nc@mail.gmail.com>
Message-ID: <6219829A-8FDA-4A5D-8E30-A592979FE503@gmail.com>

Lets start here...

What is your nginx server running as? You can specify it or it takes  
the owner that starts it depending how  you have it configured. So if  
it's not specified, do a 'ps aux|grep nginx' and check it there.

What is your nagios server running as? I am going to guess  
'nagios:nagios' but please confirm.

Can you give us the 'ls -la' of your rw directory?

Thanks,

Charlie

On Oct 3, 2010, at 12:35 PM, Ilan Berkner wrote:

> I've reconfigured nagios to run as the same user and group as that  
> of the web server.  Still getting this command file issue.
>
> Any other suggestions?
>
> Many thanks...
>
> On Sun, Oct 3, 2010 at 1:25 PM, Ilan Berkner <iberkner at gmail.com>  
> wrote:
> Yep, there's no question that's what it is, but I've set it up so  
> that the webserver user is part of the group that owns the rw  
> directory with the sticky bit set, but no luck (yet)
>
>
> On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell <lists at xodus.org> wrote:
>
> On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:
>
> > Did not work, probably b/c I'm restarting the service as root?
> >
> > Is there a way to tell under which user nagios is trying to access  
> the nagios.cmd file?
>
> Your web server is trying to write to the pipe so it's whatever user  
> your web server is configured to run as.
>
> --
> Marc
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________
> Nagios-users mailing list
> Nagios-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101003/930429ae/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From rutger at blokje.net  Sun Oct  3 20:08:28 2010
From: rutger at blokje.net (Rutger Blom)
Date: Sun, 3 Oct 2010 20:08:28 +0200
Subject: nagios.cmd permission issue
In-Reply-To: <AANLkTimSc0QSkysmz9F-v0j+BYLhX=Av=eZZQ-6ZsoBA@mail.gmail.com>
References: <AANLkTim-iu22ux9s+X3brR_SChUW5pObtU0HEtxyGksY@mail.gmail.com>
	<AANLkTikEXYLLJfEeL6Wwa4qFppu89UaF60REr2MxqKtz@mail.gmail.com>
	<AANLkTi=h3ZtywQwe03naJ-2B0ZZ+soZ34aOmbUE1kgqy@mail.gmail.com>
	<E53AA131-8959-4928-ABF1-B66E51C5EA79@xodus.org>
	<AANLkTimSc0QSkysmz9F-v0j+BYLhX=Av=eZZQ-6ZsoBA@mail.gmail.com>
Message-ID: <-6893002525334416135@unknownmsgid>

Who's the owner of the pipe?

On 3 okt 2010, at 19.25, Ilan Berkner <iberkner at gmail.com> wrote:

Yep, there's no question that's what it is, but I've set it up so that the
webserver user is part of the group that owns the rw directory with the
sticky bit set, but no luck (yet)

On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell <lists at xodus.org> wrote:

>
> On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:
>
> > Did not work, probably b/c I'm restarting the service as root?
> >
> > Is there a way to tell under which user nagios is trying to access the
> nagios.cmd file?
>
> Your web server is trying to write to the pipe so it's whatever user your
> web server is configured to run as.
>
> --
> Marc
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

_______________________________________________
Nagios-users mailing list
Nagios-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101003/2129afee/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From robert.wolfe at robertwolfe.org  Sun Oct  3 21:25:24 2010
From: robert.wolfe at robertwolfe.org (Robert Wolfe)
Date: Sun, 3 Oct 2010 15:25:24 -0400
Subject: nagios.cmd permission issue
References: <AANLkTim-iu22ux9s+X3brR_SChUW5pObtU0HEtxyGksY@mail.gmail.com><AANLkTikEXYLLJfEeL6Wwa4qFppu89UaF60REr2MxqKtz@mail.gmail.com><AANLkTi=h3ZtywQwe03naJ-2B0ZZ+soZ34aOmbUE1kgqy@mail.gmail.com><E53AA131-8959-4928-ABF1-B66E51C5EA79@xodus.org><AANLkTimSc0QSkysmz9F-v0j+BYLhX=Av=eZZQ-6ZsoBA@mail.gmail.com>
	<AANLkTimowLCy4ibm9eb5Ac5j=ChCQaGQZgopmtYE7-Nc@mail.gmail.com>
Message-ID: <50BE9C7135A64147819E42376C136B2675E4@dc1.wolfe.local>

Unfortunately, I did the same and am still getting the same error.

 

From: Ilan Berkner [mailto:iberkner at gmail.com] 
Sent: Sunday, October 03, 2010 1:35 PM
To: Nagios Users List
Subject: Re: [Nagios-users] nagios.cmd permission issue

 

I've reconfigured nagios to run as the same user and group as that of
the web server.  Still getting this command file issue.

 

Any other suggestions?

 

Many thanks...

On Sun, Oct 3, 2010 at 1:25 PM, Ilan Berkner <iberkner at gmail.com> wrote:

Yep, there's no question that's what it is, but I've set it up so that
the webserver user is part of the group that owns the rw directory with
the sticky bit set, but no luck (yet)

 

On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell <lists at xodus.org> wrote:


On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:

> Did not work, probably b/c I'm restarting the service as root?
>
> Is there a way to tell under which user nagios is trying to access the
nagios.cmd file?

Your web server is trying to write to the pipe so it's whatever user
your web server is configured to run as.

--
Marc



------------------------------------------------------------------------
------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101003/8a591fd6/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ratty at they.org  Sun Oct  3 21:07:26 2010
From: ratty at they.org (frank)
Date: Sun, 3 Oct 2010 12:07:26 -0700 (PDT)
Subject: nagios.cmd permission issue
In-Reply-To: <AANLkTim-iu22ux9s+X3brR_SChUW5pObtU0HEtxyGksY@mail.gmail.com>
References: <AANLkTim-iu22ux9s+X3brR_SChUW5pObtU0HEtxyGksY@mail.gmail.com>
Message-ID: <alpine.LRH.2.00.1010031158130.17739@mulva3.they.org>

I have a fairly complicated setup at work where I don't have the option of 
changing groups around system-wide so what I do is edit the startup file 
instead.

You could edit the "start()" function to have an explicit "chgrp" on the 
command-pipe to whatever group you need for your setup (after the daemon 
has been started of course so the command-pipe file exists). We use "chgrp 
apache /var/log/nagios/rw/nagios.cmd". It's a bit of a kludge but it 
works!

Another possibility is that your setup is just fine but the nagcmd group 
(of which both the apache and nagios users should be a member) was created 
after your apache process was already running. In this case you just need 
to restart apache so it can pick up its new group permissions.

-f

On Sun, 3 Oct 2010, Ilan Berkner wrote:

> Date: Sun, 3 Oct 2010 02:55:25 -0400
> From: Ilan Berkner <iberkner at gmail.com>
> Reply-To: Nagios Users List <nagios-users at lists.sourceforge.net>
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] nagios.cmd permission issue
> 
> Hi,
> New to Nagios...
> 
> Got everything pretty much running, except when I try to modify things using the web interface,
> I get this error:
> 
> Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!
> 
> The permissions on the external command file and/or directory may be incorrect. Read the FAQs on
> how to setup proper permissions.
> 
> An error occurred while attempting to commit your command for processing.
> 
> 
> This is clearly a permission issue as when I manually change the permissions of the
> /rw/nagios.cmd to 777 for example, it works fine. ?When the service is restarted and the pipe is
> recreated though, the permissions are re-set.
> 
> I am running the nginx web server, not apache.
> 
> SELinux is disabled.
> 
> The rw directory has 777 permissions and is owned by the nagios user and group.
> 
> The Nginx server runs under a different user / group and this could be the issue. ?However, I
> tried to set up the rw directory with that user and group and still no luck.
> 
> Help?
> 
>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From rutger at blokje.net  Sun Oct  3 22:30:19 2010
From: rutger at blokje.net (Rutger Blom)
Date: Sun, 3 Oct 2010 22:30:19 +0200
Subject: nagios.cmd permission issue
In-Reply-To: <50BE9C7135A64147819E42376C136B2675E4@dc1.wolfe.local>
References: <AANLkTim-iu22ux9s+X3brR_SChUW5pObtU0HEtxyGksY@mail.gmail.com><AANLkTikEXYLLJfEeL6Wwa4qFppu89UaF60REr2MxqKtz@mail.gmail.com><AANLkTi=h3ZtywQwe03naJ-2B0ZZ+soZ34aOmbUE1kgqy@mail.gmail.com><E53AA131-8959-4928-ABF1-B66E51C5EA79@xodus.org><AANLkTimSc0QSkysmz9F-v0j+BYLhX=Av=eZZQ-6ZsoBA@mail.gmail.com>
	<AANLkTimowLCy4ibm9eb5Ac5j=ChCQaGQZgopmtYE7-Nc@mail.gmail.com>
	<50BE9C7135A64147819E42376C136B2675E4@dc1.wolfe.local>
Message-ID: <2508279084960867279@unknownmsgid>

Have you verified that the user you log in with into the Nagios CGI has
permission to execute commands?

Rutger

On 3 okt 2010, at 21.25, Robert Wolfe <robert.wolfe at robertwolfe.org> wrote:

Unfortunately, I did the same and am still getting the same error.



*From:* Ilan Berkner [mailto:iberkner at gmail.com]
*Sent:* Sunday, October 03, 2010 1:35 PM
*To:* Nagios Users List
*Subject:* Re: [Nagios-users] nagios.cmd permission issue



I've reconfigured nagios to run as the same user and group as that of the
web server.  Still getting this command file issue.



Any other suggestions?



Many thanks...

On Sun, Oct 3, 2010 at 1:25 PM, Ilan Berkner <iberkner at gmail.com> wrote:

Yep, there's no question that's what it is, but I've set it up so that the
webserver user is part of the group that owns the rw directory with the
sticky bit set, but no luck (yet)



On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell <lists at xodus.org> wrote:


On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:

> Did not work, probably b/c I'm restarting the service as root?
>
> Is there a way to tell under which user nagios is trying to access the
nagios.cmd file?

Your web server is trying to write to the pipe so it's whatever user your
web server is configured to run as.

--
Marc



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security
easier or more difficult to achieve? Read this whitepaper to separate the
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d

_______________________________________________
Nagios-users mailing list
Nagios-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101003/67538f82/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From iberkner at gmail.com  Mon Oct  4 01:05:27 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Sun, 3 Oct 2010 19:05:27 -0400
Subject: nagios.cmd permission issue
In-Reply-To: <2508279084960867279@unknownmsgid>
References: <AANLkTim-iu22ux9s+X3brR_SChUW5pObtU0HEtxyGksY@mail.gmail.com>
	<AANLkTikEXYLLJfEeL6Wwa4qFppu89UaF60REr2MxqKtz@mail.gmail.com>
	<AANLkTi=h3ZtywQwe03naJ-2B0ZZ+soZ34aOmbUE1kgqy@mail.gmail.com>
	<E53AA131-8959-4928-ABF1-B66E51C5EA79@xodus.org>
	<AANLkTimSc0QSkysmz9F-v0j+BYLhX=Av=eZZQ-6ZsoBA@mail.gmail.com>
	<AANLkTimowLCy4ibm9eb5Ac5j=ChCQaGQZgopmtYE7-Nc@mail.gmail.com>
	<50BE9C7135A64147819E42376C136B2675E4@dc1.wolfe.local>
	<2508279084960867279@unknownmsgid>
Message-ID: <AANLkTi=i-Aj7Uc4JzkkiCHLrm2YUnzb9EEy6rqNTuO2f@mail.gmail.com>

Hi All,

Turns out that the FCGI wrapper process was running under a different user
than both the web server and nagios and although CGI scripts were running,
that may have contributed to the problem.

I also noticed that there were other nagios processes running at the same
time that should have been previously killed but were not so that may also
have been a contributing factor.

I've now normalized all of the web processes with the same user:

1. Nginx
2. PHP
3. FCGIWrapper
4. Nagios service

and the problem seems to be resolved.

Thanks to everyone for their support, suggestions and help.



On Sun, Oct 3, 2010 at 4:30 PM, Rutger Blom <rutger at blokje.net> wrote:

> Have you verified that the user you log in with into the Nagios CGI has
> permission to execute commands?
>
> Rutger
>
> On 3 okt 2010, at 21.25, Robert Wolfe <robert.wolfe at robertwolfe.org>
> wrote:
>
> Unfortunately, I did the same and am still getting the same error.
>
>
>
> *From:* Ilan Berkner [mailto:iberkner at gmail.com]
> *Sent:* Sunday, October 03, 2010 1:35 PM
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] nagios.cmd permission issue
>
>
>
> I've reconfigured nagios to run as the same user and group as that of the
> web server.  Still getting this command file issue.
>
>
>
> Any other suggestions?
>
>
>
> Many thanks...
>
> On Sun, Oct 3, 2010 at 1:25 PM, Ilan Berkner < <iberkner at gmail.com>
> iberkner at gmail.com> wrote:
>
> Yep, there's no question that's what it is, but I've set it up so that the
> webserver user is part of the group that owns the rw directory with the
> sticky bit set, but no luck (yet)
>
>
>
> On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell < <lists at xodus.org>
> lists at xodus.org> wrote:
>
>
> On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:
>
> > Did not work, probably b/c I'm restarting the service as root?
> >
> > Is there a way to tell under which user nagios is trying to access the
> nagios.cmd file?
>
> Your web server is trying to write to the pipe so it's whatever user your
> web server is configured to run as.
>
> --
> Marc
>
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
>  <http://p.sf.net/sfu/novell-sfdev2dev>
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Nagios-users mailing list
>  <Nagios-users at lists.sourceforge.net>Nagios-users at lists.sourceforge.net
> <https://lists.sourceforge.net/lists/listinfo/nagios-users>
> 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
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Virtualization is moving to the mainstream and overtaking non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
>
>
> ------------------------------------------------------------------------------
> Virtualization is moving to the mainstream and overtaking non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101003/25b36d63/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From mssneah at yahoo.com  Mon Oct  4 12:00:34 2010
From: mssneah at yahoo.com (moses neah)
Date: Mon, 4 Oct 2010 03:00:34 -0700 (PDT)
Subject: want to configure nrpe for windows
Message-ID: <872522.87516.qm@web45214.mail.sp1.yahoo.com>

Hill,
This a newbie to nagios. I have taken over to manage a nagios server. Everything is working fine. I want to monitor the resources on the windows servers (windows 2000,2003 and 2008) I google and install nsclient++. I am running nagios 2.9. I get the following error "
wrong -l parameter". Can any body show me the proper steps?
Thanks in advance.



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101004/c32c697f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From bob.sauvage at gmx.fr  Mon Oct  4 13:45:39 2010
From: bob.sauvage at gmx.fr (Bob Sauvage)
Date: Mon, 04 Oct 2010 13:45:39 +0200
Subject: Nagios notifications by voice call ?
Message-ID: <4CA9BE63.8010703@gmx.fr>

  Hello * ,

I want to relay my nagios notifications by voice call and by SMS. The 
night the call ringtone is more audible...
I found many SMS providers but none to relay my notifications by voice 
call !

I have a limitation, I do not want to install a GSM modem or other 
things like that...

Thanks in advance !

------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From vagabond_king at yahoo.com  Mon Oct  4 14:07:08 2010
From: vagabond_king at yahoo.com (Matthew J. Salerno)
Date: Mon, 04 Oct 2010 08:07:08 -0400
Subject: Nagios notifications by voice call ?
In-Reply-To: <4CA9BE63.8010703@gmx.fr>
References: <4CA9BE63.8010703@gmx.fr>
Message-ID: <4b556512-4f9b-4469-a39a-0928687ad5f6@email.android.com>

What about Google voice?

"Bob Sauvage" <bob.sauvage at gmx.fr> wrote:

>  Hello * ,
>
>I want to relay my nagios notifications by voice call and by SMS. The 
>night the call ringtone is more audible...
>I found many SMS providers but none to relay my notifications by voice 
>call !
>
>I have a limitation, I do not want to install a GSM modem or other 
>things like that...
>
>Thanks in advance !
>
>------------------------------------------------------------------------------
>Virtualization is moving to the mainstream and overtaking non-virtualized
>environment for deploying applications. Does it make network security 
>easier or more difficult to achieve? Read this whitepaper to separate the 
>two and get a better understanding.
>http://p.sf.net/sfu/hp-phase2-d2d
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at 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

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From nagios at flatto.net  Mon Oct  4 16:26:47 2010
From: nagios at flatto.net (Assaf Flatto)
Date: Mon, 04 Oct 2010 15:26:47 +0100
Subject: want to configure nrpe for windows
In-Reply-To: <872522.87516.qm@web45214.mail.sp1.yahoo.com>
References: <872522.87516.qm@web45214.mail.sp1.yahoo.com>
Message-ID: <4CA9E427.2010905@flatto.net>

  On 04/10/10 11:00, moses neah wrote:
> Hill,
> This a newbie to nagios. I have taken over to manage a nagios server. 
> Everything is working fine. I want to monitor the resources on the 
> windows servers (windows 2000,2003 and 2008) I google and install 
> nsclient++. I am running nagios 2.9. I get the following error " wrong 
> -l parameter". Can any body show me the proper steps?
> Thanks in advance.
>
>
>
can you provide us with a little more information , like the check 
command definition , what are you trying to query , how did you set up 
the NSclient++ ?

You know , trivial things that might shed light on your issue .


-- 
Never,Ever Cut A Deal With a Dragon


Next year I will be doing the London to Paris bike ride to
raise money for the DogTrust (www.dogstrust.co.uk) .
Please Sponsor me at http://www.justgiving.com/Assaf-Flatto

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101004/050f38dc/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From nagios at flatto.net  Mon Oct  4 16:28:10 2010
From: nagios at flatto.net (Assaf Flatto)
Date: Mon, 04 Oct 2010 15:28:10 +0100
Subject: Nagios notifications by voice call ?
In-Reply-To: <4CA9BE63.8010703@gmx.fr>
References: <4CA9BE63.8010703@gmx.fr>
Message-ID: <4CA9E47A.1000703@flatto.net>

  If you have access to an Astertisk server there are plugins that will 
send the alert to the asterisk and that will initiate a phone call.




On 04/10/10 12:45, Bob Sauvage wrote:
>    Hello * ,
>
> I want to relay my nagios notifications by voice call and by SMS. The
> night the call ringtone is more audible...
> I found many SMS providers but none to relay my notifications by voice
> call !
>
> I have a limitation, I do not want to install a GSM modem or other
> things like that...
>
> Thanks in advance !
>
> ------------------------------------------------------------------------------
> Virtualization is moving to the mainstream and overtaking non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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


-- 
Never,Ever Cut A Deal With a Dragon


Next year I will be doing the London to Paris bike ride to
raise money for the DogTrust (www.dogstrust.co.uk) .
Please Sponsor me at http://www.justgiving.com/Assaf-Flatto


------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From td3201 at gmail.com  Mon Oct  4 16:43:24 2010
From: td3201 at gmail.com (Terry)
Date: Mon, 4 Oct 2010 09:43:24 -0500
Subject: Nagios notifications by voice call ?
In-Reply-To: <4CA9BE63.8010703@gmx.fr>
References: <4CA9BE63.8010703@gmx.fr>
Message-ID: <AANLkTin2wJnFa62EbwpTNOzJkvPTtC2AOdTbFpNnmieB@mail.gmail.com>

On Mon, Oct 4, 2010 at 6:45 AM, Bob Sauvage <bob.sauvage at gmx.fr> wrote:
> ?Hello * ,
>
> I want to relay my nagios notifications by voice call and by SMS. The
> night the call ringtone is more audible...
> I found many SMS providers but none to relay my notifications by voice
> call !
>
> I have a limitation, I do not want to install a GSM modem or other
> things like that...
>
> Thanks in advance !
>
> ------------------------------------------------------------------------------

Several years back when these guys got started, they offered an email
-> voice solution.  It would call any number configured and read the
email to you.  I don't think they offer it anymore but something to
get you started:
http://www.esaonline.com/

------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From robert.wolfe at robertwolfe.org  Mon Oct  4 17:31:07 2010
From: robert.wolfe at robertwolfe.org (Robert Wolfe)
Date: Mon, 4 Oct 2010 11:31:07 -0400
Subject: Nagios notifications by voice call ?
References: <4CA9BE63.8010703@gmx.fr> <4CA9E47A.1000703@flatto.net>
Message-ID: <50BE9C7135A64147819E42376C136B2675EB@dc1.wolfe.local>

Or if you have access to PHP4AGI, then you could write one yourself.  A
coworker and I wrote a plugin using that and PHP to make regular
callouts through the Asterisk server to see if it can indeed make
outgoing calls.

-----Original Message-----
From: Assaf Flatto [mailto:nagios at flatto.net] 
Sent: Monday, October 04, 2010 10:28 AM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios notifications by voice call ?

  If you have access to an Astertisk server there are plugins that will
send the alert to the asterisk and that will initiate a phone call.




On 04/10/10 12:45, Bob Sauvage wrote:
>    Hello * ,
>
> I want to relay my nagios notifications by voice call and by SMS. The
> night the call ringtone is more audible...
> I found many SMS providers but none to relay my notifications by voice
> call !
>
> I have a limitation, I do not want to install a GSM modem or other
> things like that...
>
> Thanks in advance !
>
>
------------------------------------------------------------------------
------
> Virtualization is moving to the mainstream and overtaking
non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate
the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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


-- 
Never,Ever Cut A Deal With a Dragon


Next year I will be doing the London to Paris bike ride to
raise money for the DogTrust (www.dogstrust.co.uk) .
Please Sponsor me at http://www.justgiving.com/Assaf-Flatto


------------------------------------------------------------------------
------
Virtualization is moving to the mainstream and overtaking
non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate
the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From robert.wolfe at robertwolfe.org  Mon Oct  4 17:31:59 2010
From: robert.wolfe at robertwolfe.org (Robert Wolfe)
Date: Mon, 4 Oct 2010 11:31:59 -0400
Subject: want to configure nrpe for windows
References: <872522.87516.qm@web45214.mail.sp1.yahoo.com>
	<4CA9E427.2010905@flatto.net>
Message-ID: <50BE9C7135A64147819E42376C136B2675EC@dc1.wolfe.local>

It might also be a good idea if he upgrades the Nagios software as well.

 

From: Assaf Flatto [mailto:nagios at flatto.net] 
Sent: Monday, October 04, 2010 10:27 AM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] want to configure nrpe for windows

 

On 04/10/10 11:00, moses neah wrote: 

Hill,
This a newbie to nagios. I have taken over to manage a nagios server.
Everything is working fine. I want to monitor the resources on the
windows servers (windows 2000,2003 and 2008) I google and install
nsclient++. I am running nagios 2.9. I get the following error " wrong
-l parameter". Can any body show me the proper steps?
Thanks in advance.

 

can you provide us with a little more information , like the check
command definition , what are you trying to query , how did you set up
the NSclient++ ?

You know , trivial things that might shed light on your issue .
 




-- 
Never,Ever Cut A Deal With a Dragon 
 
 
Next year I will be doing the London to Paris bike ride to 
raise money for the DogTrust (www.dogstrust.co.uk) .
Please Sponsor me at http://www.justgiving.com/Assaf-Flatto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101004/5b37805d/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From td3201 at gmail.com  Mon Oct  4 18:09:31 2010
From: td3201 at gmail.com (Terry)
Date: Mon, 4 Oct 2010 11:09:31 -0500
Subject: nsclient++ - external scripts - no handler error
Message-ID: <AANLkTinih2vWMS8o4cCkfeDkL-MxxXb7wjJGPRqs2YyN@mail.gmail.com>

Hello,

Trying to get external scripts to work with NSClient++ via NRPE.  I
got it working using [NRPE Handlers] but that's deprecated per the
documentation.  Here's my config:

[modules]
FileLogger.dll
CheckSystem.dll
CheckDisk.dll
NSClientListener.dll
NRPEListener.dll
SysTray.dll
CheckEventLog.dll
CheckHelpers.dll
CheckWMI.dll
[Settings]
use_file=1
[log]
debug=0
file=NSC.log
date_mask=%Y-%m-%d %H:%M:%S
[Check System]
[NRPE]
port=5666
allow_arguments=1
allow_nasty_meta_chars=1
use_ssl=1
allowed_hosts=10.0.0.0/8,192.168.0.0/16,172.16.0.0/12
[External Script]
allow_nasty_meta_chars=1
allow_arguments=1
[External Scripts]
get_counter_bulk_count=cscript.exe //nologo //T:60 "C:\Program
Files\NSClient++\scripts\check_counter_bulk_count.vbs" -h "$ARG1$"
-class "$ARG2$" -inst "$ARG3$" -prop "$ARG4$" -w "$ARG5$" -c "$ARG6$"


I got it working by removing the External Script sections and adding:

[NRPE Handlers]
get_counter_bulk_count=cscript.exe //nologo //T:60 "C:\Program
Files\NSClient++\scripts\check_counter_bulk_count.vbs" -h "$ARG1$"
-class "$ARG2$" -inst "$ARG3$" -prop "$ARG4$" -w "$ARG5$" -c "$ARG6$"

Here's my command on the nagios side:
check_nrpe -t 60 -H 10.0.55.14 -c get_counter_bulk_count -a 10.0.55.14
"Win32_PerfRawData_MSSQLSERVER_SQLServerDatabases" "Name=_Total"
"TransactionsPersec" 100 200

Thanks!

------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From td3201 at gmail.com  Mon Oct  4 18:26:05 2010
From: td3201 at gmail.com (Terry)
Date: Mon, 4 Oct 2010 11:26:05 -0500
Subject: nsclient++ - external scripts - no handler error
In-Reply-To: <AANLkTinih2vWMS8o4cCkfeDkL-MxxXb7wjJGPRqs2YyN@mail.gmail.com>
References: <AANLkTinih2vWMS8o4cCkfeDkL-MxxXb7wjJGPRqs2YyN@mail.gmail.com>
Message-ID: <AANLkTimN6sVOwP4NDm+NLf+-3LXG+Z2CEcUCXjqBsaq8@mail.gmail.com>

On Mon, Oct 4, 2010 at 11:09 AM, Terry <td3201 at gmail.com> wrote:
> Hello,
>
> Trying to get external scripts to work with NSClient++ via NRPE. ?I
> got it working using [NRPE Handlers] but that's deprecated per the
> documentation. ?Here's my config:
>
> [modules]
> FileLogger.dll
> CheckSystem.dll
> CheckDisk.dll
> NSClientListener.dll
> NRPEListener.dll
> SysTray.dll
> CheckEventLog.dll
> CheckHelpers.dll
> CheckWMI.dll
> [Settings]
> use_file=1
> [log]
> debug=0
> file=NSC.log
> date_mask=%Y-%m-%d %H:%M:%S
> [Check System]
> [NRPE]
> port=5666
> allow_arguments=1
> allow_nasty_meta_chars=1
> use_ssl=1
> allowed_hosts=10.0.0.0/8,192.168.0.0/16,172.16.0.0/12
> [External Script]
> allow_nasty_meta_chars=1
> allow_arguments=1
> [External Scripts]
> get_counter_bulk_count=cscript.exe //nologo //T:60 "C:\Program
> Files\NSClient++\scripts\check_counter_bulk_count.vbs" -h "$ARG1$"
> -class "$ARG2$" -inst "$ARG3$" -prop "$ARG4$" -w "$ARG5$" -c "$ARG6$"
>
>
> I got it working by removing the External Script sections and adding:
>
> [NRPE Handlers]
> get_counter_bulk_count=cscript.exe //nologo //T:60 "C:\Program
> Files\NSClient++\scripts\check_counter_bulk_count.vbs" -h "$ARG1$"
> -class "$ARG2$" -inst "$ARG3$" -prop "$ARG4$" -w "$ARG5$" -c "$ARG6$"
>
> Here's my command on the nagios side:
> check_nrpe -t 60 -H 10.0.55.14 -c get_counter_bulk_count -a 10.0.55.14
> "Win32_PerfRawData_MSSQLSERVER_SQLServerDatabases" "Name=_Total"
> "TransactionsPersec" 100 200
>
> Thanks!
>

I fail.  Forgot to add "CheckExternalScripts.dll" under modules.  :)

------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From amalfis.system at yahoo.com  Mon Oct  4 18:38:56 2010
From: amalfis.system at yahoo.com (Amalfis)
Date: Mon, 4 Oct 2010 18:38:56 +0200
Subject: Nagios notifications by voice call ?
In-Reply-To: <50BE9C7135A64147819E42376C136B2675EB@dc1.wolfe.local>
References: <4CA9BE63.8010703@gmx.fr> <4CA9E47A.1000703@flatto.net>
	<50BE9C7135A64147819E42376C136B2675EB@dc1.wolfe.local>
Message-ID: <687FF7A4-583A-404D-9E24-1ADD1305B628@yahoo.com>

Asterisk does have a lot of possibilities (we use it as PBX) but wanted to keep it out of the loop (to not affect our office oprations). 
I started recently with a third party product found on Nagios Exchange -  (http://www.alarmtilt.com/nagios). It does generate phone calls using text-to-speech (sometimes funny how server names are spoken out ;-) ), sms and iphone push (I am using this mainly). 

Hey, but if you have an Asterisk server/appliance, give it a try!

Cheers

Ama

Sorry for the short reply, it was sent from my mobile device. 

On 4 oct. 2010, at 17:31, "Robert Wolfe" <robert.wolfe at robertwolfe.org> wrote:

> Or if you have access to PHP4AGI, then you could write one yourself.  A
> coworker and I wrote a plugin using that and PHP to make regular
> callouts through the Asterisk server to see if it can indeed make
> outgoing calls.
> 
> -----Original Message-----
> From: Assaf Flatto [mailto:nagios at flatto.net] 
> Sent: Monday, October 04, 2010 10:28 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Nagios notifications by voice call ?
> 
>  If you have access to an Astertisk server there are plugins that will
> send the alert to the asterisk and that will initiate a phone call.
> 
> 
> 
> 
> On 04/10/10 12:45, Bob Sauvage wrote:
>>   Hello * ,
>> 
>> I want to relay my nagios notifications by voice call and by SMS. The
>> night the call ringtone is more audible...
>> I found many SMS providers but none to relay my notifications by voice
>> call !
>> 
>> I have a limitation, I do not want to install a GSM modem or other
>> things like that...
>> 
>> Thanks in advance !
>> 
>> 
> ------------------------------------------------------------------------
> ------
>> Virtualization is moving to the mainstream and overtaking
> non-virtualized
>> environment for deploying applications. Does it make network security
>> easier or more difficult to achieve? Read this whitepaper to separate
> the
>> two and get a better understanding.
>> http://p.sf.net/sfu/hp-phase2-d2d
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
> 
> 
> -- 
> Never,Ever Cut A Deal With a Dragon
> 
> 
> Next year I will be doing the London to Paris bike ride to
> raise money for the DogTrust (www.dogstrust.co.uk) .
> Please Sponsor me at http://www.justgiving.com/Assaf-Flatto
> 
> 
> ------------------------------------------------------------------------
> ------
> Virtualization is moving to the mainstream and overtaking
> non-virtualized
> environment for deploying applications. Does it make network security 
> easier or more difficult to achieve? Read this whitepaper to separate
> the 
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
> 
> ------------------------------------------------------------------------------
> Virtualization is moving to the mainstream and overtaking non-virtualized
> environment for deploying applications. Does it make network security 
> easier or more difficult to achieve? Read this whitepaper to separate the 
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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

------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mssneah at yahoo.com  Mon Oct  4 19:03:55 2010
From: mssneah at yahoo.com (moses neah)
Date: Mon, 4 Oct 2010 10:03:55 -0700 (PDT)
Subject: Nagios-users Digest, Vol 53, Issue 3
In-Reply-To: <mailman.1019172.1286206330.4911.nagios-users@lists.sourceforge.net>
References: <mailman.1019172.1286206330.4911.nagios-users@lists.sourceforge.net>
Message-ID: <340991.11186.qm@web45201.mail.sp1.yahoo.com>

Below are my configuration examples:

# Check NRPE
define command{
??????? command_name check_nrpe
??????? command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$
}

# 'check_nt_uptime' command definition
define command{
??????? command_name check_nt_uptime
??????? command_line $USER1$/check_nt -H $HOSTADDRESS$ -v UPTIME
}


service definition:

?define service{
?? ???? use???????????????????????????? servers
??????? host_name?????????????????????? vmsserver 
??????? service_description???????????? UPTIME 
??????? check_command?????????????????? check_nt_uptime
??????? }

define service{
??????? use???????????????????????????? servers
??????? host_name?????????????????????? vmsserver
?????? service_description???????????? CPU 
?????? check_command?????????????????? check_nt_cpuload!2,70,90,10,70,80
?????? check_command?????????? check_nt!CPULOAD!-l 5,80,90
??????? }

NSClient++ config


[modules]
;# NSCLIENT++ MODULES
;# A list with DLLs to load at startup.
;? You will need to enable some of these for NSClient++ to work.
; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
; *?????????????????????????????????????????????????????????????? *
; * N O T I C E ! ! ! - Y O U?? H A V E?? T O?? E D I T?? T H I S *
; *?????????????????????????????????????????????????????????????? *
; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !
FileLogger.dll
CheckSystem.dll
CheckDisk.dll
NSClientListener.dll
NRPEListener.dll
SysTray.dll
CheckEventLog.dll
CheckHelpers.dll
;CheckWMI.dll
;
; Script to check external scripts and/or internal aliases.
;CheckExternalScripts.dll
;
; NSCA Agent if you enable this NSClient++ will talk to NSCA hosts repeatedly (so dont enable unless you want to use NSCA)
NSCAAgent.dll
;
; LUA script module used to write your own "check deamon".
LUAScript.dll
;
; RemoteConfiguration IS AN EXTREM EARLY IDEA SO DONT USE FOR PRODUCTION ENVIROMNEMTS!
;RemoteConfiguration.dll
; Check other hosts through NRPE extreme beta and probably a bit dangerous! :)
NRPEClient.dll
; Extreamly early beta of a task-schedule checker
;CheckTaskSched.dll



[Settings]
;# OBFUSCATED PASSWORD
;? This is the same as the password option but here you can store the password in an obfuscated manner.
;? *NOTICE* obfuscation is *NOT* the same as encryption, someone with access to this file can still figure out the 
;? password. Its just a bit harder to do it at first glance.
;obfuscated_password=Jw0KAUUdXlAAUwASDAAB
;
;# PASSWORD
;? This is the password (-s) that is required to access NSClient remotely. If you leave this blank everyone will be able to access the daemon remotly.
;password=secret-password
;
;# ALLOWED HOST ADDRESSES
;? This is a comma-delimited list of IP address of hosts that are allowed to talk to the all daemons.
;? If leave this blank anyone can access the deamon remotly (NSClient still requires a valid password).
;? The syntax is host or ip/mask so 192.168.0.0/24 will allow anyone on that subnet access
;allowed_hosts=127.0.0.1/32
;
;# USE THIS FILE
;? Use the INI file as opposed to the registry if this is 0 and the use_reg in the registry is set to 1 
;? the registry will be used instead.
use_file=1
allowed_hosts=41.211.0.16 41.211.5.110
;
; # USE SHARED MEMORY CHANNELS
;? This is the "new" way for using the system tray based on an IPC framework on top shared memmory channels and events.
;? It is brand new and (probably has bugs) so dont enable this unless for testing!
;? If set to 1 shared channels will be created and system tray icons created and such and such...
;shared_session=0


[log]
;# LOG DEBUG
;? Set to 1 if you want debug message printed in the log file (debug messages are always printed to stdout when run with -test)
;debug=1
;
;# LOG FILE
;? The file to print log statements to
;file=nsclient.log
;
;# LOG DATE MASK
;? The format to for the date/time part of the log entry written to file.
;date_mask=%Y-%m-%d %H:%M:%S
;
;# LOG ROOT FOLDER
;? The root folder to use for logging.
;? exe = the folder where the executable is located
;? local-app-data = local application data (probably a better choice then the old default)
;root_folder=exe


[NSClient]
;# ALLOWED HOST ADDRESSES
;? This is a comma-delimited list of IP address of hosts that are allowed to talk to NSClient deamon.
;? If you leave this blank the global version will be used instead.
;allowed_hosts=
;
;# NSCLIENT PORT NUMBER
;? This is the port the NSClientListener.dll will listen to.
port=12489
;
;# BIND TO ADDRESS
;? Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname.
;? Leaving this blank will bind to all avalible IP adresses.
;bind_to_address=
;
;# SOCKET TIMEOUT
;? Timeout when reading packets on incoming sockets. If the data has not arrived withint this time we will bail out.
;socket_timeout=30

[NRPE]
;# NRPE PORT NUMBER
;? This is the port the NRPEListener.dll will listen to.
;port=5666
;
;# COMMAND TIMEOUT
;? This specifies the maximum number of seconds that the NRPE daemon will allow plug-ins to finish executing before killing them off.
;command_timeout=60
;
;# COMMAND ARGUMENT PROCESSING
;? This option determines whether or not the NRPE daemon will allow clients to specify arguments to commands that are executed.
;allow_arguments=0
;
;# COMMAND ALLOW NASTY META CHARS
;? This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments.
;allow_nasty_meta_chars=0
;
;# USE SSL SOCKET
;? This option controls if SSL should be used on the socket.
;use_ssl=1
;
;# BIND TO ADDRESS
;? Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname.
;? Leaving this blank will bind to all avalible IP adresses.
; bind_to_address=
;
;# ALLOWED HOST ADDRESSES
;? This is a comma-delimited list of IP address of hosts that are allowed to talk to NRPE deamon.
;? If you leave this blank the global version will be used instead.
;allowed_hosts=
;
;# SCRIPT DIRECTORY
;? All files in this directory will become check commands.
;? *WARNING* This is undoubtedly dangerous so use with care!
;script_dir=scripts\
;
;# SOCKET TIMEOUT
;? Timeout when reading packets on incoming sockets. If the data has not arrived withint this time we will bail out.
;socket_timeout=30

[Check System]
;# CPU BUFFER SIZE
;? Can be anything ranging from 1s (for 1 second) to 10w for 10 weeks. Notice that a larger buffer will waste memory 
;? so don't use a larger buffer then you need (ie. the longest check you do +1).
;CPUBufferSize=1h
;
;# CHECK RESOLUTION
;? The resolution to check values (currently only CPU).
;? The value is entered in 1/10:th of a second and the default is 10 (which means ones every second)
;CheckResolution=10
;
;# CHECK ALL SERVICES
;? Configure how to check services when a CheckAll is performed.
;? ...=started means services in that class *has* to be running.
;? ...=stopped means services in that class has to be stopped.
;? ...=ignored means services in this class will be ignored.
;check_all_services[SERVICE_BOOT_START]=ignored
;check_all_services[SERVICE_SYSTEM_START]=ignored
;check_all_services[SERVICE_AUTO_START]=started
;check_all_services[SERVICE_DEMAND_START]=ignored
;check_all_services[SERVICE_DISABLED]=stopped

[External Script]
;# COMMAND TIMEOUT
;? This specifies the maximum number of seconds that the NRPE daemon will allow plug-ins to finish executing before killing them off.
;command_timeout=60
;
;# COMMAND ARGUMENT PROCESSING
;? This option determines whether or not the NRPE daemon will allow clients to specify arguments to commands that are executed.
;allow_arguments=0
;
;# COMMAND ALLOW NASTY META CHARS
;? This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments.
;allow_nasty_meta_chars=0
;
;# SCRIPT DIRECTORY
;? All files in this directory will become check commands.
;? *WARNING* This is undoubtedly dangerous so use with care!
;script_dir=c:\my\script\dir

[Script Wrappings]
vbs=cscript.exe //T:30 //NoLogo scripts\lib\wrapper.vbs %SCRIPT% %ARGS%
ps1=cmd /c echo scripts\%SCRIPT% %ARGS%; exit($lastexitcode) | powershell.exe -command -
bat=scripts\%SCRIPT% %ARGS%

[External Scripts]
;check_es_long=scripts\long.bat
;check_es_ok=scripts\ok.bat
;check_es_nok=scripts\nok.bat
;check_vbs_sample=cscript.exe //T:30 //NoLogo scripts\check_vb.vbs
;check_powershell_warn=cmd /c echo scripts\powershell.ps1 | powershell.exe -command -

[External Alias]
alias_cpu=checkCPU warn=80 crit=90 time=5m time=1m time=30s
alias_cpu_ex=checkCPU warn=$ARG1$ crit=$ARG2$ time=5m time=1m time=30s
alias_disk=CheckDriveSize MinWarn=10% MinCrit=5% CheckAll FilterType=FIXED
alias_service=checkServiceState CheckAll
alias_process=checkProcState $ARG1$=started
alias_mem=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=physical
alias_up=checkUpTime MinWarn=1d MinWarn=1h
alias_file_age=checkFile2 filter=out "file=$ARG1$" filter-written=>1d MaxWarn=1 MaxCrit=1 "syntax=%filename% %write%"
alias_file_size=checkFile2 filter=out "file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%"
alias_file_size_in_dir=checkFile2 filter=out pattern=*.txt "file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%"
alias_event_log_old=CheckEventLog file=application file=system filter=new filter=out MaxWarn=1 MaxCrit=1 filter-generated=>2d filter-severity==success filter-severity==informational truncate=800 unique descriptions? "syntax=%severity%: %source%: %message% (%count%)"
alias_event_log_new=CheckEventLog file=application file=system MaxWarn=1 MaxCrit=1 "filter=generated gt -2d AND severity NOT IN ('success', 'informational')" truncate=800 unique descriptions "syntax=%severity%: %source%: %message% (%count%)"
alias_event_log=alias_event_log_new

check_ok=CheckOK Everything is fine!

[Wrapped Scripts]
;check_test_vbs=check_test.vbs /arg1:1 /arg2:1 /variable:1
;check_test_ps1=check_test.ps1 arg1 arg2
;check_test_bat=check_test.bat arg1 arg2
;check_battery=check_battery.vbs
;check_printer=check_printer.vbs


; [includes]
;# The order when used is "reversed" thus the last included file will be "first"
;# Included files can include other files (be carefull only do basic recursive checking)
;
; myotherfile.ini
; real.ini


[NSCA Agent]
;# CHECK INTERVALL (in seconds)
;?? How often we should run the checks and submit the results.
;interval=5
;
;# ENCRYPTION METHOD
;?? This option determines the method by which the send_nsca client will encrypt the packets it sends 
;?? to the nsca daemon. The encryption method you choose will be a balance between security and 
;?? performance, as strong encryption methods consume more processor resources.
;?? You should evaluate your security needs when choosing an encryption method.
;
; Note: The encryption method you specify here must match the decryption method the nsca daemon uses 
;?????? (as specified in the nsca.cfg file)!!
; Values:
;??? 0 = None??? (Do NOT use this option)
;??? 1 = Simple XOR? (No security, just obfuscation, but very fast)
;?? 2 = DES
;?? 3 = 3DES (Triple DES)
;??? 4 = CAST-128
;??? 6 = xTEA
;??? 8 = BLOWFISH
;??? 9 = TWOFISH
;??? 11 = RC2
;??? 14 = RIJNDAEL-128 (AES)
;??? 20 = SERPENT
;encryption_method=14
;
;# ENCRYPTION PASSWORD
;? This is the password/passphrase that should be used to encrypt the sent packets. 
;password=
;
;# BIND TO ADDRESS
;? Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname.
;? Leaving this blank will bind to "one" local interface.
; -- not supported as of now -- 
;bind_to_address=
;
;# LOCAL HOST NAME
;? The name of this host (if empty "computername" will be used.
;hostname=
;
;# NAGIOS SERVER ADDRESS
;? The address to the nagios server to submit results to.
;nsca_host=192.168.0.1
;
;# NAGIOS SERVER PORT
;? The port to the nagios server to submit results to.
;nsca_port=5667
;

;# CHECK COMMAND LIST
;? The checks to run everytime we submit results back to nagios
;? Any command(alias/key) starting with a host_ is sent as HOST_COMMAND others are sent as SERVICE_COMMANDS
;? where the alias/key is used as service name.
;
[NSCA Commands]
;my_cpu_check=checkCPU warn=80 crit=90 time=20m time=10s time=4
;my_mem_check=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=page
;my_svc_check=checkServiceState CheckAll exclude=wampmysqld exclude=MpfService
;host_check=check_ok

;# REMOTE NRPE PROXY COMMANDS
;? A list of commands that check other hosts.
;? Used by the NRPECLient module
[NRPE Client Handlers]
check_other=-H 192.168.0.1 -p 5666 -c remote_command -a arguments

;# LUA SCRIPT SECTION
;? A list of all Lua scripts to load.
;[LUA Scripts]
;scripts\test.lua








--- On Mon, 10/4/10, nagios-users-request at lists.sourceforge.net <nagios-users-request at lists.sourceforge.net> wrote:

From: nagios-users-request at lists.sourceforge.net <nagios-users-request at lists.sourceforge.net>
Subject: Nagios-users Digest, Vol 53, Issue 3
To: nagios-users at lists.sourceforge.net
Date: Monday, October 4, 2010, 11:32 AM

Send Nagios-users mailing list submissions to
??? nagios-users at lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
??? https://lists.sourceforge.net/lists/listinfo/nagios-users
or, via email, send a message with subject or body 'help' to
??? nagios-users-request at lists.sourceforge.net

You can reach the person managing the list at
??? nagios-users-owner at lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Nagios-users digest..."


Today's Topics:

???1. Re: nagios.cmd permission issue (Ilan Berkner)
???2. Re: nagios.cmd permission issue (Charlie R)
???3. Re: nagios.cmd permission issue (Rutger Blom)
???4. Re: nagios.cmd permission issue (Robert Wolfe)
???5. Re: nagios.cmd permission issue (frank)
???6. Re: nagios.cmd permission issue (Rutger Blom)
???7. Re: nagios.cmd permission issue (Ilan Berkner)
???8. want to configure nrpe for windows (moses neah)
???9. Nagios notifications by voice call ? (Bob Sauvage)
? 10. Re: Nagios notifications by voice call ? (Matthew J. Salerno)
? 11. Re: want to configure nrpe for windows (Assaf Flatto)
? 12. Re: Nagios notifications by voice call ? (Assaf Flatto)
? 13. Re: Nagios notifications by voice call ? (Terry)
? 14. Re: Nagios notifications by voice call ? (Robert Wolfe)
? 15. Re: want to configure nrpe for windows (Robert Wolfe)


----------------------------------------------------------------------

Message: 1
Date: Sun, 3 Oct 2010 13:35:07 -0400
From: Ilan Berkner <iberkner at gmail.com>
Subject: Re: [Nagios-users] nagios.cmd permission issue
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Message-ID:
??? <AANLkTimowLCy4ibm9eb5Ac5j=ChCQaGQZgopmtYE7-Nc at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

I've reconfigured nagios to run as the same user and group as that of the
web server.? Still getting this command file issue.

Any other suggestions?

Many thanks...

On Sun, Oct 3, 2010 at 1:25 PM, Ilan Berkner <iberkner at gmail.com> wrote:

> Yep, there's no question that's what it is, but I've set it up so that the
> webserver user is part of the group that owns the rw directory with the
> sticky bit set, but no luck (yet)
>
>
> On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell <lists at xodus.org> wrote:
>
>>
>> On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:
>>
>> > Did not work, probably b/c I'm restarting the service as root?
>> >
>> > Is there a way to tell under which user nagios is trying to access the
>> nagios.cmd file?
>>
>> Your web server is trying to write to the pipe so it's whatever user your
>> web server is configured to run as.
>>
>> --
>> Marc
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Start uncovering the many advantages of virtual appliances
>> and start using them to simplify application deployment and
>> accelerate your shift to cloud computing.
>> http://p.sf.net/sfu/novell-sfdev2dev
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Sun, 3 Oct 2010 12:48:41 -0500
From: Charlie R <charlie.reddington at gmail.com>
Subject: Re: [Nagios-users] nagios.cmd permission issue
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Message-ID: <6219829A-8FDA-4A5D-8E30-A592979FE503 at gmail.com>
Content-Type: text/plain; charset="us-ascii"

Lets start here...

What is your nginx server running as? You can specify it or it takes? 
the owner that starts it depending how? you have it configured. So if? 
it's not specified, do a 'ps aux|grep nginx' and check it there.

What is your nagios server running as? I am going to guess? 
'nagios:nagios' but please confirm.

Can you give us the 'ls -la' of your rw directory?

Thanks,

Charlie

On Oct 3, 2010, at 12:35 PM, Ilan Berkner wrote:

> I've reconfigured nagios to run as the same user and group as that? 
> of the web server.? Still getting this command file issue.
>
> Any other suggestions?
>
> Many thanks...
>
> On Sun, Oct 3, 2010 at 1:25 PM, Ilan Berkner <iberkner at gmail.com>? 
> wrote:
> Yep, there's no question that's what it is, but I've set it up so? 
> that the webserver user is part of the group that owns the rw? 
> directory with the sticky bit set, but no luck (yet)
>
>
> On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell <lists at xodus.org> wrote:
>
> On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:
>
> > Did not work, probably b/c I'm restarting the service as root?
> >
> > Is there a way to tell under which user nagios is trying to access? 
> the nagios.cmd file?
>
> Your web server is trying to write to the pipe so it's whatever user? 
> your web server is configured to run as.
>
> --
> Marc
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________
> Nagios-users mailing list
> Nagios-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Sun, 3 Oct 2010 20:08:28 +0200
From: Rutger Blom <rutger at blokje.net>
Subject: Re: [Nagios-users] nagios.cmd permission issue
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Message-ID: <-6893002525334416135 at unknownmsgid>
Content-Type: text/plain; charset="utf-8"

Who's the owner of the pipe?

On 3 okt 2010, at 19.25, Ilan Berkner <iberkner at gmail.com> wrote:

Yep, there's no question that's what it is, but I've set it up so that the
webserver user is part of the group that owns the rw directory with the
sticky bit set, but no luck (yet)

On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell <lists at xodus.org> wrote:

>
> On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:
>
> > Did not work, probably b/c I'm restarting the service as root?
> >
> > Is there a way to tell under which user nagios is trying to access the
> nagios.cmd file?
>
> Your web server is trying to write to the pipe so it's whatever user your
> web server is configured to run as.
>
> --
> Marc
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev

_______________________________________________
Nagios-users mailing list
Nagios-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 4
Date: Sun, 3 Oct 2010 15:25:24 -0400
From: "Robert Wolfe" <robert.wolfe at robertwolfe.org>
Subject: Re: [Nagios-users] nagios.cmd permission issue
To: "Nagios Users List" <nagios-users at lists.sourceforge.net>
Message-ID: <50BE9C7135A64147819E42376C136B2675E4 at dc1.wolfe.local>
Content-Type: text/plain; charset="us-ascii"

Unfortunately, I did the same and am still getting the same error.

 

From: Ilan Berkner [mailto:iberkner at gmail.com] 
Sent: Sunday, October 03, 2010 1:35 PM
To: Nagios Users List
Subject: Re: [Nagios-users] nagios.cmd permission issue

 

I've reconfigured nagios to run as the same user and group as that of
the web server.? Still getting this command file issue.

 

Any other suggestions?

 

Many thanks...

On Sun, Oct 3, 2010 at 1:25 PM, Ilan Berkner <iberkner at gmail.com> wrote:

Yep, there's no question that's what it is, but I've set it up so that
the webserver user is part of the group that owns the rw directory with
the sticky bit set, but no luck (yet)

 

On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell <lists at xodus.org> wrote:


On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:

> Did not work, probably b/c I'm restarting the service as root?
>
> Is there a way to tell under which user nagios is trying to access the
nagios.cmd file?

Your web server is trying to write to the pipe so it's whatever user
your web server is configured to run as.

--
Marc



------------------------------------------------------------------------
------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

 

 

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 5
Date: Sun, 3 Oct 2010 12:07:26 -0700 (PDT)
From: frank <ratty at they.org>
Subject: Re: [Nagios-users] nagios.cmd permission issue
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Message-ID: <alpine.LRH.2.00.1010031158130.17739 at mulva3.they.org>
Content-Type: text/plain; charset="iso-8859-1"

I have a fairly complicated setup at work where I don't have the option of 
changing groups around system-wide so what I do is edit the startup file 
instead.

You could edit the "start()" function to have an explicit "chgrp" on the 
command-pipe to whatever group you need for your setup (after the daemon 
has been started of course so the command-pipe file exists). We use "chgrp 
apache /var/log/nagios/rw/nagios.cmd". It's a bit of a kludge but it 
works!

Another possibility is that your setup is just fine but the nagcmd group 
(of which both the apache and nagios users should be a member) was created 
after your apache process was already running. In this case you just need 
to restart apache so it can pick up its new group permissions.

-f

On Sun, 3 Oct 2010, Ilan Berkner wrote:

> Date: Sun, 3 Oct 2010 02:55:25 -0400
> From: Ilan Berkner <iberkner at gmail.com>
> Reply-To: Nagios Users List <nagios-users at lists.sourceforge.net>
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] nagios.cmd permission issue
> 
> Hi,
> New to Nagios...
> 
> Got everything pretty much running, except when I try to modify things using the web interface,
> I get this error:
> 
> Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update!
> 
> The permissions on the external command file and/or directory may be incorrect. Read the FAQs on
> how to setup proper permissions.
> 
> An error occurred while attempting to commit your command for processing.
> 
> 
> This is clearly a permission issue as when I manually change the permissions of the
> /rw/nagios.cmd to 777 for example, it works fine. ?When the service is restarted and the pipe is
> recreated though, the permissions are re-set.
> 
> I am running the nginx web server, not apache.
> 
> SELinux is disabled.
> 
> The rw directory has 777 permissions and is owned by the nagios user and group.
> 
> The Nginx server runs under a different user / group and this could be the issue. ?However, I
> tried to set up the rw directory with that user and group and still no luck.
> 
> Help?
> 
>

------------------------------

Message: 6
Date: Sun, 3 Oct 2010 22:30:19 +0200
From: Rutger Blom <rutger at blokje.net>
Subject: Re: [Nagios-users] nagios.cmd permission issue
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Message-ID: <2508279084960867279 at unknownmsgid>
Content-Type: text/plain; charset="utf-8"

Have you verified that the user you log in with into the Nagios CGI has
permission to execute commands?

Rutger

On 3 okt 2010, at 21.25, Robert Wolfe <robert.wolfe at robertwolfe.org> wrote:

Unfortunately, I did the same and am still getting the same error.



*From:* Ilan Berkner [mailto:iberkner at gmail.com]
*Sent:* Sunday, October 03, 2010 1:35 PM
*To:* Nagios Users List
*Subject:* Re: [Nagios-users] nagios.cmd permission issue



I've reconfigured nagios to run as the same user and group as that of the
web server.? Still getting this command file issue.



Any other suggestions?



Many thanks...

On Sun, Oct 3, 2010 at 1:25 PM, Ilan Berkner <iberkner at gmail.com> wrote:

Yep, there's no question that's what it is, but I've set it up so that the
webserver user is part of the group that owns the rw directory with the
sticky bit set, but no luck (yet)



On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell <lists at xodus.org> wrote:


On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:

> Did not work, probably b/c I'm restarting the service as root?
>
> Is there a way to tell under which user nagios is trying to access the
nagios.cmd file?

Your web server is trying to write to the pipe so it's whatever user your
web server is configured to run as.

--
Marc



------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security
easier or more difficult to achieve? Read this whitepaper to separate the
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d

_______________________________________________
Nagios-users mailing list
Nagios-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 7
Date: Sun, 3 Oct 2010 19:05:27 -0400
From: Ilan Berkner <iberkner at gmail.com>
Subject: Re: [Nagios-users] nagios.cmd permission issue
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Message-ID:
??? <AANLkTi=i-Aj7Uc4JzkkiCHLrm2YUnzb9EEy6rqNTuO2f at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi All,

Turns out that the FCGI wrapper process was running under a different user
than both the web server and nagios and although CGI scripts were running,
that may have contributed to the problem.

I also noticed that there were other nagios processes running at the same
time that should have been previously killed but were not so that may also
have been a contributing factor.

I've now normalized all of the web processes with the same user:

1. Nginx
2. PHP
3. FCGIWrapper
4. Nagios service

and the problem seems to be resolved.

Thanks to everyone for their support, suggestions and help.



On Sun, Oct 3, 2010 at 4:30 PM, Rutger Blom <rutger at blokje.net> wrote:

> Have you verified that the user you log in with into the Nagios CGI has
> permission to execute commands?
>
> Rutger
>
> On 3 okt 2010, at 21.25, Robert Wolfe <robert.wolfe at robertwolfe.org>
> wrote:
>
> Unfortunately, I did the same and am still getting the same error.
>
>
>
> *From:* Ilan Berkner [mailto:iberkner at gmail.com]
> *Sent:* Sunday, October 03, 2010 1:35 PM
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] nagios.cmd permission issue
>
>
>
> I've reconfigured nagios to run as the same user and group as that of the
> web server.? Still getting this command file issue.
>
>
>
> Any other suggestions?
>
>
>
> Many thanks...
>
> On Sun, Oct 3, 2010 at 1:25 PM, Ilan Berkner < <iberkner at gmail.com>
> iberkner at gmail.com> wrote:
>
> Yep, there's no question that's what it is, but I've set it up so that the
> webserver user is part of the group that owns the rw directory with the
> sticky bit set, but no luck (yet)
>
>
>
> On Sun, Oct 3, 2010 at 10:37 AM, Marc Powell < <lists at xodus.org>
> lists at xodus.org> wrote:
>
>
> On Oct 3, 2010, at 8:48 AM, Ilan Berkner wrote:
>
> > Did not work, probably b/c I'm restarting the service as root?
> >
> > Is there a way to tell under which user nagios is trying to access the
> nagios.cmd file?
>
> Your web server is trying to write to the pipe so it's whatever user your
> web server is configured to run as.
>
> --
> Marc
>
>
>
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
>? <http://p.sf.net/sfu/novell-sfdev2dev>
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Nagios-users mailing list
>? <Nagios-users at lists.sourceforge.net>Nagios-users at lists.sourceforge.net
> <https://lists.sourceforge.net/lists/listinfo/nagios-users>
> 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
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Virtualization is moving to the mainstream and overtaking non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
>
>
> ------------------------------------------------------------------------------
> Virtualization is moving to the mainstream and overtaking non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 8
Date: Mon, 4 Oct 2010 03:00:34 -0700 (PDT)
From: moses neah <mssneah at yahoo.com>
Subject: [Nagios-users] want to configure nrpe for windows
To: nagios-users at lists.sourceforge.net
Message-ID: <872522.87516.qm at web45214.mail.sp1.yahoo.com>
Content-Type: text/plain; charset="us-ascii"

Hill,
This a newbie to nagios. I have taken over to manage a nagios server. Everything is working fine. I want to monitor the resources on the windows servers (windows 2000,2003 and 2008) I google and install nsclient++. I am running nagios 2.9. I get the following error "
wrong -l parameter". Can any body show me the proper steps?
Thanks in advance.



? ? ? 
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 9
Date: Mon, 04 Oct 2010 13:45:39 +0200
From: Bob Sauvage <bob.sauvage at gmx.fr>
Subject: [Nagios-users] Nagios notifications by voice call ?
To: nagios-users at lists.sourceforge.net
Message-ID: <4CA9BE63.8010703 at gmx.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

? Hello * ,

I want to relay my nagios notifications by voice call and by SMS. The 
night the call ringtone is more audible...
I found many SMS providers but none to relay my notifications by voice 
call !

I have a limitation, I do not want to install a GSM modem or other 
things like that...

Thanks in advance !



------------------------------

Message: 10
Date: Mon, 04 Oct 2010 08:07:08 -0400
From: "Matthew J. Salerno" <vagabond_king at yahoo.com>
Subject: Re: [Nagios-users] Nagios notifications by voice call ?
To: Nagios Users List <nagios-users at lists.sourceforge.net>,
??? nagios-users at lists.sourceforge.net
Message-ID: <4b556512-4f9b-4469-a39a-0928687ad5f6 at email.android.com>
Content-Type: text/plain; charset=utf-8

What about Google voice?

"Bob Sauvage" <bob.sauvage at gmx.fr> wrote:

>? Hello * ,
>
>I want to relay my nagios notifications by voice call and by SMS. The 
>night the call ringtone is more audible...
>I found many SMS providers but none to relay my notifications by voice 
>call !
>
>I have a limitation, I do not want to install a GSM modem or other 
>things like that...
>
>Thanks in advance !
>
>------------------------------------------------------------------------------
>Virtualization is moving to the mainstream and overtaking non-virtualized
>environment for deploying applications. Does it make network security 
>easier or more difficult to achieve? Read this whitepaper to separate the 
>two and get a better understanding.
>http://p.sf.net/sfu/hp-phase2-d2d
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at 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

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.



------------------------------

Message: 11
Date: Mon, 04 Oct 2010 15:26:47 +0100
From: Assaf Flatto <nagios at flatto.net>
Subject: Re: [Nagios-users] want to configure nrpe for windows
To: nagios-users at lists.sourceforge.net
Message-ID: <4CA9E427.2010905 at flatto.net>
Content-Type: text/plain; charset="iso-8859-1"

? On 04/10/10 11:00, moses neah wrote:
> Hill,
> This a newbie to nagios. I have taken over to manage a nagios server. 
> Everything is working fine. I want to monitor the resources on the 
> windows servers (windows 2000,2003 and 2008) I google and install 
> nsclient++. I am running nagios 2.9. I get the following error " wrong 
> -l parameter". Can any body show me the proper steps?
> Thanks in advance.
>
>
>
can you provide us with a little more information , like the check 
command definition , what are you trying to query , how did you set up 
the NSclient++ ?

You know , trivial things that might shed light on your issue .


-- 
Never,Ever Cut A Deal With a Dragon


Next year I will be doing the London to Paris bike ride to
raise money for the DogTrust (www.dogstrust.co.uk) .
Please Sponsor me at http://www.justgiving.com/Assaf-Flatto

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 12
Date: Mon, 04 Oct 2010 15:28:10 +0100
From: Assaf Flatto <nagios at flatto.net>
Subject: Re: [Nagios-users] Nagios notifications by voice call ?
To: nagios-users at lists.sourceforge.net
Message-ID: <4CA9E47A.1000703 at flatto.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

? If you have access to an Astertisk server there are plugins that will 
send the alert to the asterisk and that will initiate a phone call.




On 04/10/10 12:45, Bob Sauvage wrote:
>? ? Hello * ,
>
> I want to relay my nagios notifications by voice call and by SMS. The
> night the call ringtone is more audible...
> I found many SMS providers but none to relay my notifications by voice
> call !
>
> I have a limitation, I do not want to install a GSM modem or other
> things like that...
>
> Thanks in advance !
>
> ------------------------------------------------------------------------------
> Virtualization is moving to the mainstream and overtaking non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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


-- 
Never,Ever Cut A Deal With a Dragon


Next year I will be doing the London to Paris bike ride to
raise money for the DogTrust (www.dogstrust.co.uk) .
Please Sponsor me at http://www.justgiving.com/Assaf-Flatto




------------------------------

Message: 13
Date: Mon, 4 Oct 2010 09:43:24 -0500
From: Terry <td3201 at gmail.com>
Subject: Re: [Nagios-users] Nagios notifications by voice call ?
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Message-ID:
??? <AANLkTin2wJnFa62EbwpTNOzJkvPTtC2AOdTbFpNnmieB at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Oct 4, 2010 at 6:45 AM, Bob Sauvage <bob.sauvage at gmx.fr> wrote:
> ?Hello * ,
>
> I want to relay my nagios notifications by voice call and by SMS. The
> night the call ringtone is more audible...
> I found many SMS providers but none to relay my notifications by voice
> call !
>
> I have a limitation, I do not want to install a GSM modem or other
> things like that...
>
> Thanks in advance !
>
> ------------------------------------------------------------------------------

Several years back when these guys got started, they offered an email
-> voice solution.? It would call any number configured and read the
email to you.? I don't think they offer it anymore but something to
get you started:
http://www.esaonline.com/



------------------------------

Message: 14
Date: Mon, 4 Oct 2010 11:31:07 -0400
From: "Robert Wolfe" <robert.wolfe at robertwolfe.org>
Subject: Re: [Nagios-users] Nagios notifications by voice call ?
To: <nagios-users at lists.sourceforge.net>
Message-ID: <50BE9C7135A64147819E42376C136B2675EB at dc1.wolfe.local>
Content-Type: text/plain;??? charset="us-ascii"

Or if you have access to PHP4AGI, then you could write one yourself.? A
coworker and I wrote a plugin using that and PHP to make regular
callouts through the Asterisk server to see if it can indeed make
outgoing calls.

-----Original Message-----
From: Assaf Flatto [mailto:nagios at flatto.net] 
Sent: Monday, October 04, 2010 10:28 AM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios notifications by voice call ?

? If you have access to an Astertisk server there are plugins that will
send the alert to the asterisk and that will initiate a phone call.




On 04/10/10 12:45, Bob Sauvage wrote:
>? ? Hello * ,
>
> I want to relay my nagios notifications by voice call and by SMS. The
> night the call ringtone is more audible...
> I found many SMS providers but none to relay my notifications by voice
> call !
>
> I have a limitation, I do not want to install a GSM modem or other
> things like that...
>
> Thanks in advance !
>
>
------------------------------------------------------------------------
------
> Virtualization is moving to the mainstream and overtaking
non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate
the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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


-- 
Never,Ever Cut A Deal With a Dragon


Next year I will be doing the London to Paris bike ride to
raise money for the DogTrust (www.dogstrust.co.uk) .
Please Sponsor me at http://www.justgiving.com/Assaf-Flatto


------------------------------------------------------------------------
------
Virtualization is moving to the mainstream and overtaking
non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate
the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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



------------------------------

Message: 15
Date: Mon, 4 Oct 2010 11:31:59 -0400
From: "Robert Wolfe" <robert.wolfe at robertwolfe.org>
Subject: Re: [Nagios-users] want to configure nrpe for windows
To: "Nagios Users List" <nagios-users at lists.sourceforge.net>
Message-ID: <50BE9C7135A64147819E42376C136B2675EC at dc1.wolfe.local>
Content-Type: text/plain; charset="us-ascii"

It might also be a good idea if he upgrades the Nagios software as well.

 

From: Assaf Flatto [mailto:nagios at flatto.net] 
Sent: Monday, October 04, 2010 10:27 AM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] want to configure nrpe for windows

 

On 04/10/10 11:00, moses neah wrote: 

Hill,
This a newbie to nagios. I have taken over to manage a nagios server.
Everything is working fine. I want to monitor the resources on the
windows servers (windows 2000,2003 and 2008) I google and install
nsclient++. I am running nagios 2.9. I get the following error " wrong
-l parameter". Can any body show me the proper steps?
Thanks in advance.

 

can you provide us with a little more information , like the check
command definition , what are you trying to query , how did you set up
the NSclient++ ?

You know , trivial things that might shed light on your issue .
 




-- 
Never,Ever Cut A Deal With a Dragon 
 
 
Next year I will be doing the London to Paris bike ride to 
raise money for the DogTrust (www.dogstrust.co.uk) .
Please Sponsor me at http://www.justgiving.com/Assaf-Flatto
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d

------------------------------

_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users


End of Nagios-users Digest, Vol 53, Issue 3
*******************************************



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101004/e9c19423/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From iberkner at gmail.com  Mon Oct  4 20:31:49 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Mon, 4 Oct 2010 14:31:49 -0400
Subject: upgrade from 3.2.2 to 3.2.3 not working?
Message-ID: <AANLkTinM6gEkF3THdY5aEMDPn-xpzzyPz9qcQQUjUZwq@mail.gmail.com>

Hi All,

Newbie... upgrading from a previous install of 3.2.2 to 3.2.3.  Followed the
steps outlined here:

http://nagios.sourceforge.net/docs/3_0/upgrading.html#nagios3x

The Nagios home page still shows 3.2.2 as the version with an upgrade
message.  I didn't get any errors in compilation, etc.

Anything else that I should be looking for?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101004/f194a853/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From tyarusso at nagios.com  Mon Oct  4 20:41:48 2010
From: tyarusso at nagios.com (Tony Yarusso)
Date: Mon, 04 Oct 2010 13:41:48 -0500
Subject: upgrade from 3.2.2 to 3.2.3 not working?
In-Reply-To: <AANLkTinM6gEkF3THdY5aEMDPn-xpzzyPz9qcQQUjUZwq@mail.gmail.com>
References: <AANLkTinM6gEkF3THdY5aEMDPn-xpzzyPz9qcQQUjUZwq@mail.gmail.com>
Message-ID: <1286217708.24371.1.camel@timmins>

On Mon, 2010-10-04 at 14:31 -0400, Ilan Berkner wrote:
> 
> The Nagios home page still shows 3.2.2 as the version with an upgrade
> message.  I didn't get any errors in compilation, etc.

http://www.nagios.org/download/core/thanks/ shows 3.2.3 right now - where were you looking?

-- 
Tony Yarusso
Technical Team
___
Nagios Enterprises, LLC
Email:  tyarusso at nagios.com
Web:    www.nagios.com


------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From iberkner at gmail.com  Mon Oct  4 20:48:15 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Mon, 4 Oct 2010 14:48:15 -0400
Subject: upgrade from 3.2.2 to 3.2.3 not working?
In-Reply-To: <1286217708.24371.1.camel@timmins>
References: <AANLkTinM6gEkF3THdY5aEMDPn-xpzzyPz9qcQQUjUZwq@mail.gmail.com>
	<1286217708.24371.1.camel@timmins>
Message-ID: <AANLkTindM9EGLxSw8ZTEe6_8TDs+vg9tcVcfosXFBPVh@mail.gmail.com>

Sorry, I mean on my own installation home page.

I had some permission issues yesterday so I changed some things around which
is what I think the issue was with the upgrade b/c it was assuming that my
directories were owned by the nagios user and group and they weren't.  I
have now changed the ownership back to nagios user and group and run "make
install" again.

Now when I load up my Nagios home page it shows the latest version as being
installed: 3.2.3 but still displaying the box below that says that there's a
new version available, 3.2.3.  Is that OK? meaning, will that box be there
regardless of my current version?

Nagios? Core?
Version 3.2.3
October 03, 2010
Check for updates<http://www.nagios.org/checkforupdates/?version=3.2.3&product=nagioscore>
Read what's new in Nagios Core 3<http://10.0.1.163/nagios/docs/whatsnew.html>
A new version of Nagios Core is available!
Visit nagios.org <http://www.nagios.org/download/> to download Nagios 3.2.3.

On Mon, Oct 4, 2010 at 2:41 PM, Tony Yarusso <tyarusso at nagios.com> wrote:

> On Mon, 2010-10-04 at 14:31 -0400, Ilan Berkner wrote:
> >
> > The Nagios home page still shows 3.2.2 as the version with an upgrade
> > message.  I didn't get any errors in compilation, etc.
>
> http://www.nagios.org/download/core/thanks/ shows 3.2.3 right now - where
> were you looking?
>
> --
> Tony Yarusso
> Technical Team
> ___
> Nagios Enterprises, LLC
> Email:  tyarusso at nagios.com
> Web:    www.nagios.com
>
>
>
> ------------------------------------------------------------------------------
> Virtualization is moving to the mainstream and overtaking non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101004/1028eb80/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From tyarusso at nagios.com  Mon Oct  4 20:58:56 2010
From: tyarusso at nagios.com (Tony Yarusso)
Date: Mon, 04 Oct 2010 13:58:56 -0500
Subject: upgrade from 3.2.2 to 3.2.3 not working?
In-Reply-To: <AANLkTindM9EGLxSw8ZTEe6_8TDs+vg9tcVcfosXFBPVh@mail.gmail.com>
References: <AANLkTinM6gEkF3THdY5aEMDPn-xpzzyPz9qcQQUjUZwq@mail.gmail.com>
	<1286217708.24371.1.camel@timmins>
	<AANLkTindM9EGLxSw8ZTEe6_8TDs+vg9tcVcfosXFBPVh@mail.gmail.com>
Message-ID: <1286218736.5545.0.camel@timmins>

On Mon, 2010-10-04 at 14:48 -0400, Ilan Berkner wrote:
> 
> Now when I load up my Nagios home page it shows the latest version as
> being installed: 3.2.3 but still displaying the box below that says
> that there's a new version available, 3.2.3.  Is that OK? meaning,
> will that box be there regardless of my current version?

I believe that is the result of a cron job, so my first guess is that it
will correct itself after some time passes.

-- 
Tony Yarusso
Technical Team
___
Nagios Enterprises, LLC
Email:  tyarusso at nagios.com
Web:    www.nagios.com


------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From iberkner at gmail.com  Mon Oct  4 21:02:35 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Mon, 4 Oct 2010 15:02:35 -0400
Subject: upgrade from 3.2.2 to 3.2.3 not working?
In-Reply-To: <1286218736.5545.0.camel@timmins>
References: <AANLkTinM6gEkF3THdY5aEMDPn-xpzzyPz9qcQQUjUZwq@mail.gmail.com>
	<1286217708.24371.1.camel@timmins>
	<AANLkTindM9EGLxSw8ZTEe6_8TDs+vg9tcVcfosXFBPVh@mail.gmail.com>
	<1286218736.5545.0.camel@timmins>
Message-ID: <AANLkTikY+W4OYh4m+uM_yRL+P+HCApoZ-_eK4cUZhv7C@mail.gmail.com>

You mean a cron job on nagios.org for notifying users of a new version?


On Mon, Oct 4, 2010 at 2:58 PM, Tony Yarusso <tyarusso at nagios.com> wrote:

> On Mon, 2010-10-04 at 14:48 -0400, Ilan Berkner wrote:
> >
> > Now when I load up my Nagios home page it shows the latest version as
> > being installed: 3.2.3 but still displaying the box below that says
> > that there's a new version available, 3.2.3.  Is that OK? meaning,
> > will that box be there regardless of my current version?
>
> I believe that is the result of a cron job, so my first guess is that it
> will correct itself after some time passes.
>
> --
> Tony Yarusso
> Technical Team
> ___
> Nagios Enterprises, LLC
> Email:  tyarusso at nagios.com
> Web:    www.nagios.com
>
>
>
> ------------------------------------------------------------------------------
> Virtualization is moving to the mainstream and overtaking non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101004/8b24a256/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From tyarusso at nagios.com  Mon Oct  4 21:11:41 2010
From: tyarusso at nagios.com (Tony Yarusso)
Date: Mon, 04 Oct 2010 14:11:41 -0500
Subject: upgrade from 3.2.2 to 3.2.3 not working?
In-Reply-To: <AANLkTikY+W4OYh4m+uM_yRL+P+HCApoZ-_eK4cUZhv7C@mail.gmail.com>
References: <AANLkTinM6gEkF3THdY5aEMDPn-xpzzyPz9qcQQUjUZwq@mail.gmail.com>
	<1286217708.24371.1.camel@timmins>
	<AANLkTindM9EGLxSw8ZTEe6_8TDs+vg9tcVcfosXFBPVh@mail.gmail.com>
	<1286218736.5545.0.camel@timmins>
	<AANLkTikY+W4OYh4m+uM_yRL+P+HCApoZ-_eK4cUZhv7C@mail.gmail.com>
Message-ID: <1286219501.14889.1.camel@timmins>

On Mon, 2010-10-04 at 15:02 -0400, Ilan Berkner wrote:
> You mean a cron job on nagios.org for notifying users of a new
> version?

No, on your system going out to nagios.org to compare your current
version to that available.  It won't know you upgraded until the next
time it runs and does the comparison, so for now it thinks the
nagios.org version is still newer.

-- 
Tony Yarusso
Technical Team
___
Nagios Enterprises, LLC
Email:  tyarusso at nagios.com
Web:    www.nagios.com


------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From iberkner at gmail.com  Mon Oct  4 21:58:04 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Mon, 4 Oct 2010 15:58:04 -0400
Subject: upgrade from 3.2.2 to 3.2.3 not working?
In-Reply-To: <1286219501.14889.1.camel@timmins>
References: <AANLkTinM6gEkF3THdY5aEMDPn-xpzzyPz9qcQQUjUZwq@mail.gmail.com>
	<1286217708.24371.1.camel@timmins>
	<AANLkTindM9EGLxSw8ZTEe6_8TDs+vg9tcVcfosXFBPVh@mail.gmail.com>
	<1286218736.5545.0.camel@timmins>
	<AANLkTikY+W4OYh4m+uM_yRL+P+HCApoZ-_eK4cUZhv7C@mail.gmail.com>
	<1286219501.14889.1.camel@timmins>
Message-ID: <AANLkTimNEi+aqkD7XUDiyaW7t+-7Vji+8LJDuTq+f=wS@mail.gmail.com>

Ok... that's odd, I don't have any such cron job running.

This is part of the Nagios home page (share/main.php).

Maybe that's normal, meaning, its part of this particular version's html
update (as its also present in the html/main.php file from the upgrade tar).

I just don't remember seeing that before in the 3.2.2 version.

Thanks

--- html code below ---

<div id="currentversioninfo">
<div class="product">Nagios<sup><span style="font-size:
small;">&reg;</span></sup> Core<sup><span style="font-size:
small;">&trade;</span></sup></div>
<div class="version">Version 3.2.3</div>
<div class="releasedate">October 03, 2010</div>
<div class="checkforupdates"><a href="
http://www.nagios.org/checkforupdates/?version=3.2.3&product=nagioscore"
target="_blank">Check for updates</a></div>


On Mon, Oct 4, 2010 at 3:11 PM, Tony Yarusso <tyarusso at nagios.com> wrote:

> On Mon, 2010-10-04 at 15:02 -0400, Ilan Berkner wrote:
> > You mean a cron job on nagios.org for notifying users of a new
> > version?
>
> No, on your system going out to nagios.org to compare your current
> version to that available.  It won't know you upgraded until the next
> time it runs and does the comparison, so for now it thinks the
> nagios.org version is still newer.
>
> --
> Tony Yarusso
> Technical Team
> ___
> Nagios Enterprises, LLC
> Email:  tyarusso at nagios.com
> Web:    www.nagios.com
>
>
>
> ------------------------------------------------------------------------------
> Virtualization is moving to the mainstream and overtaking non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101004/718bb9a8/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From iberkner at gmail.com  Mon Oct  4 23:47:23 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Mon, 4 Oct 2010 17:47:23 -0400
Subject: weird nrpe reporting issue
Message-ID: <AANLkTikL9tGsT5qc0gSLiJeipcXDbnKgJTYGu20knS+e@mail.gmail.com>

Newbie+,

I defined this service (host is defined with other services, working fine):

define service{
   use local-service ; Name of service template to use
   host_name serv3
   service_description Current Load
   check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
}

As far as I know, NRPE service is NOT installed on the serv3 host.  However,
Nagios interface returns values: SWAP OK - 100% free (5727 MB out of 5727
MB) , which are not correct anyway.  Why is Nagios returning values when it
shouldn't be reading any?

Same issue with another service for the same host: check_load.  Returning
values: OK - load average: 0.64, 0.26, 0.17 which are incorrect and of
course NRPE is NOT set up.

In fact, from what I can tell, the values being returned belong to the local
system that the Nagios is running on.

What am I doing wrong?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101004/4ced84c3/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From tyarusso at nagios.com  Tue Oct  5 00:10:18 2010
From: tyarusso at nagios.com (Tony Yarusso)
Date: Mon, 04 Oct 2010 17:10:18 -0500
Subject: weird nrpe reporting issue
In-Reply-To: <AANLkTikL9tGsT5qc0gSLiJeipcXDbnKgJTYGu20knS+e@mail.gmail.com>
References: <AANLkTikL9tGsT5qc0gSLiJeipcXDbnKgJTYGu20knS+e@mail.gmail.com>
Message-ID: <1286230218.15247.1.camel@sudbury>

On Mon, 2010-10-04 at 17:47 -0400, Ilan Berkner wrote:

>    use local-service ; Name of service template to use

>    check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0

> In fact, from what I can tell, the values being returned belong to the
> local system that the Nagios is running on.  

You're using a template designed for the local system and a check
command targeting the local system (not check_nrpe, so you aren't using
NRPE at all), and not giving any indication that it should be checking
any other system (such as an IP address), so obviously it's going to
check the local system.

-- 
Tony Yarusso
Technical Team
___
Nagios Enterprises, LLC
Email:  tyarusso at nagios.com
Web:    www.nagios.com


------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From iberkner at gmail.com  Tue Oct  5 00:14:18 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Mon, 4 Oct 2010 18:14:18 -0400
Subject: weird nrpe reporting issue
In-Reply-To: <1286230218.15247.1.camel@sudbury>
References: <AANLkTikL9tGsT5qc0gSLiJeipcXDbnKgJTYGu20knS+e@mail.gmail.com>
	<1286230218.15247.1.camel@sudbury>
Message-ID: <AANLkTinkeEoc4k68J3DdK+Shq3A29QMcYrbxkBx5HtFc@mail.gmail.com>

Ok, I thought that's what it was, but wasn't sure.

Thanks!

On Mon, Oct 4, 2010 at 6:10 PM, Tony Yarusso <tyarusso at nagios.com> wrote:

> On Mon, 2010-10-04 at 17:47 -0400, Ilan Berkner wrote:
>
> >    use local-service ; Name of service template to use
>
> >    check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
>
> > In fact, from what I can tell, the values being returned belong to the
> > local system that the Nagios is running on.
>
> You're using a template designed for the local system and a check
> command targeting the local system (not check_nrpe, so you aren't using
> NRPE at all), and not giving any indication that it should be checking
> any other system (such as an IP address), so obviously it's going to
> check the local system.
>
> --
> Tony Yarusso
> Technical Team
> ___
> Nagios Enterprises, LLC
> Email:  tyarusso at nagios.com
> Web:    www.nagios.com
>
>
>
> ------------------------------------------------------------------------------
> Virtualization is moving to the mainstream and overtaking non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101004/6bd1e1dd/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From daliosmane at gmail.com  Tue Oct  5 01:02:24 2010
From: daliosmane at gmail.com (dali Osmane)
Date: Mon, 4 Oct 2010 15:02:24 -0800
Subject: Contacts.cfg
Message-ID: <AANLkTim=ot=fcXi3ZtNkO2W2KpCjYwYmDBrzfXrBV1+L@mail.gmail.com>

Greetings,

I am new to NAGIOS, I am trying to set up contact groups and add Emails to
those groups.
How do I do thanks??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101004/38e97ea0/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From justin at mahalo.com  Tue Oct  5 01:33:11 2010
From: justin at mahalo.com (Dorfman, Justin)
Date: Mon, 4 Oct 2010 16:33:11 -0700
Subject: Contacts.cfg
In-Reply-To: <AANLkTim=ot=fcXi3ZtNkO2W2KpCjYwYmDBrzfXrBV1+L@mail.gmail.com>
References: <AANLkTim=ot=fcXi3ZtNkO2W2KpCjYwYmDBrzfXrBV1+L@mail.gmail.com>
Message-ID: <AANLkTimdmDTJ7o=eQD6MVG-TP7iTAfnLO0GMG+RK5orC@mail.gmail.com>

open up contacts.cfg


define contact{

        contact_name             SYSOPS

        use                      generic-contact

        alias                    OPERATIONS

        email                    sysops at domain.com

        }


> define contactgroup{

        contactgroup_name      admins

        alias                  Nagios Administrators

        members                SYSOPS

        }






Regards,

Justin Dorfman


On Mon, Oct 4, 2010 at 4:02 PM, dali Osmane <daliosmane at gmail.com> wrote:

> Greetings,
>
> I am new to NAGIOS, I am trying to set up contact groups and add Emails to
> those groups.
> How do I do thanks??
>
>
>
> ------------------------------------------------------------------------------
> Virtualization is moving to the mainstream and overtaking non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101004/8ffdface/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From hsjang at gmail.com  Tue Oct  5 04:05:09 2010
From: hsjang at gmail.com (HyunSung Jang)
Date: Tue, 5 Oct 2010 11:05:09 +0900
Subject: can i change log date format?
Message-ID: <AANLkTinywtgWhhboO+p2FsiHszCWamB7ob_=m89eZgZX@mail.gmail.com>

hi folks,
sometimes it is very useful to find some issues from log history.
but nagios log file shows me unix timestamp i belive.
is there any way to change it to human readable format??
version of nagios is 3.2.0
thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101005/832568ca/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From yu.watanabe at jp.fujitsu.com  Tue Oct  5 04:05:00 2010
From: yu.watanabe at jp.fujitsu.com (Yu Watanabe)
Date: Tue, 05 Oct 2010 11:05:00 +0900
Subject: When does Nagios execute orphaned service check?
Message-ID: <201010050205.AA02540@S2007337.jp.fujitsu.com>

Hello all.

I would like to ask a question about orphaned service check in nagios 2.5.

In the source code, orphaned service check seems to be executed whenever nagios program restarts.
But I have exprienced an orphaned service check during the regular operation.

Acutually, when does this check occur?

Thanks.
Yu Watanabe


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From lists at xodus.org  Tue Oct  5 04:28:43 2010
From: lists at xodus.org (Marc Powell)
Date: Mon, 4 Oct 2010 21:28:43 -0500
Subject: can i change log date format?
In-Reply-To: <AANLkTinywtgWhhboO+p2FsiHszCWamB7ob_=m89eZgZX@mail.gmail.com>
References: <AANLkTinywtgWhhboO+p2FsiHszCWamB7ob_=m89eZgZX@mail.gmail.com>
Message-ID: <327307B4-165A-4A8B-A512-3356A7B23341@xodus.org>


On Oct 4, 2010, at 9:05 PM, HyunSung Jang wrote:

> hi folks,
> sometimes it is very useful to find some issues from log history.
> but nagios log file shows me unix timestamp i belive.
> is there any way to change it to human readable format??
> version of nagios is 3.2.0 

Hi HyunSung,

No, you cannot change the log date format. Nagios requires that it be a unix timestamp in order for the reporting to work.

This FAQ details a little perl script to print out a more human readable format --

http://support.nagios.com/knowledgebase/faqs/index.php?option=com_content&view=article&id=52&catid=35&faq_id=70&expand=false&showdesc=true
 
or you could use a one-liner like --

perl -pe 's/(\d+)/localtime($1)/e' nagios.log

--
Marc


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From fj6573ez at aa.jp.fujitsu.com  Tue Oct  5 04:16:14 2010
From: fj6573ez at aa.jp.fujitsu.com (=?ISO-2022-JP?B?GyRCPyVFRCEhQC5IdBsoQg==?=)
Date: Tue, 05 Oct 2010 11:16:14 +0900
Subject: Doesn't update rrd file in Nagios
Message-ID: <4CAA8A6E.1060508@aa.jp.fujitsu.com>

 Hello,

I'm using Nagios version 2.1 and RRDtool version 1.2.5
The RRD file doesn't update.
A timeout error output in the Nagios.log
########################################
Warning: Service performance data file processing command '
'/**********************/process_service_perf_db_file.pl'
timed out after 60 seconds
########################################

The script interval is default value (Perfdata timeout 60 seconds)
This case occurred suddenly.Do i need to change parameter?
But we need the reason.Do you have the same case ?
What happens when this kind of trouble?
Please tell me the solution.

Best Regard
Masa

-- 
------------------------------------------------------------
FUJITSU SOCIAL SCIENCE LABORATORY LIMITED(FUJITSU SSL)

System Infrastructure Development Department
Telecom Sstems Business Group 2

?Masataka Oda

  Phone ?044-739-1570
  E-Mail?fj6573ez at aa.jp.fujitsu.com

------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101005/ba598e95/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From jim at jimavery.me.uk  Tue Oct  5 13:21:54 2010
From: jim at jimavery.me.uk (Jim Avery)
Date: Tue, 5 Oct 2010 12:21:54 +0100
Subject: Doesn't update rrd file in Nagios
In-Reply-To: <4CAA8A6E.1060508@aa.jp.fujitsu.com>
References: <4CAA8A6E.1060508@aa.jp.fujitsu.com>
Message-ID: <AANLkTimxh12LaeLff0UBTGaXvXRqoYEdos5svAxugxQr@mail.gmail.com>

2010/10/5 ????? <fj6573ez at aa.jp.fujitsu.com>:
> Hello,
>
> I'm using Nagios version 2.1 and RRDtool version 1.2.5
> The RRD file doesn't update.
> A timeout error  output in the Nagios.log
> ########################################
> Warning: Service performance data file processing command '
> '/**********************/process_service_perf_db_file.pl'
> timed out after 60 seconds
> ########################################
>
> The script interval is default value (Perfdata timeout  60 seconds)
> This case occurred suddenly.Do i need to change parameter?
> But we need the reason.Do you have the same case ?
> What happens when this kind of trouble?
> Please tell me the solution.
>
> Best Regard
> Masa

I had a similar problem recently and found that there were lots of
files waiting to be processed which is why the perfdata processing
command timed-out.  I increased the timeout temporarily
(perfdata_timeout in the nagios.cfg file) to allow it to wade through
the backlog then set it back down to the usual value.

I'm not familiar with process_service_perf_db_file.pl .   Are you
using GroundWork OpenSource?  If so it might be worth looking/asking
on their support forum:

http://www.groundworkopensource.com/community/forums/

hth,

Jim

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From chris.samlof at yahoo.com  Tue Oct  5 13:19:54 2010
From: chris.samlof at yahoo.com (Chris Samlof)
Date: Tue, 5 Oct 2010 04:19:54 -0700 (PDT)
Subject: Nagios notifications by voice call ?
Message-ID: <799267.25098.qm@web113409.mail.gq1.yahoo.com>

Hi Bob, 

I also use TeamTILT to relay my Nagios notifications.

It is very simple to install and to use ;) ! In addition it has an heartbeat 
function, very nice...

Chris

------------------------------------------------------------------------------------------------------------------------------------------------




Asterisk does have a lot of possibilities (we use it as PBX) but wanted to keep 
it out of the loop (to not affect our office oprations). 

I started recently with a third party product found on Nagios Exchange -  
(http://www.alarmtilt.com/nagios). It does generate phone calls using 
text-to-speech (sometimes funny how server names are spoken out ;-) ), sms and 
iphone push (I am using this mainly). 


Hey, but if you have an Asterisk server/appliance, give it a try!

Cheers

Ama

Sorry for the short reply, it was sent from my mobile device. 

On 4 oct. 2010, at 17:31, "Robert Wolfe" <robert.wolfe at robertwolfe.org> wrote:

> Or if you have access to PHP4AGI, then you could write one yourself.  A
> coworker and I wrote a plugin using that and PHP to make regular
> callouts through the Asterisk server to see if it can indeed make
> outgoing calls.
> 
> -----Original Message-----
> From: Assaf Flatto [mailto:nagios at flatto.net] 
> Sent: Monday, October 04, 2010 10:28 AM
> To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 
>notifications by voice call ? >  >  If you have access to an Astertisk server 
>there are plugins that will > send the alert to the asterisk and that will 
>initiate a phone call. >  >  >  >  > On 04/10/10 12:45, Bob Sauvage wrote: >>   
>Hello * , >>  >> I want to relay my nagios notifications by voice call and by 
>SMS. The >> night the call ringtone is more audible... >> I found many SMS 
>providers but none to relay my notifications by voice >> call ! >>  >> I have a 
>limitation, I do not want to install a GSM modem or other >> things like that... 
>>>  >> Thanks in advance ! >>  >>  > 
>------------------------------------------------------------------------ > 
>------ >> Virtualization is moving to the mainstream and overtaking > 
>non-virtualized >> environment for deploying applications. Does it make network 
>security >> easier or more difficult to achieve? Read this whitepaper to 
>separate > the >> two and get a better understanding. >> 
>http://p.sf.net/sfu/hp-phase2-d2d >> 
>_______________________________________________ >> Nagios-users mailing list >> 
>Nagios-users at 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 >  >  > --  > 
>Never,Ever Cut A Deal With a Dragon >  >  > Next year I will be doing the London 
>to Paris bike ride to > raise money for the DogTrust (www.dogstrust.co.uk) .
> Please Sponsor me at http://www.justgiving.com/Assaf-Flatto
> 
> 
> ------------------------------------------------------------------------
> ------
> Virtualization is moving to the mainstream and overtaking
> non-virtualized
> environment for deploying applications. Does it make network security 
> easier or more difficult to achieve? Read this whitepaper to separate
> the 
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d > 
>_______________________________________________ > Nagios-users mailing list > 
>Nagios-users at 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 >  > 
>------------------------------------------------------------------------------ > 
>Virtualization is moving to the mainstream and overtaking non-virtualized > 
>environment for deploying applications. Does it make network security  > easier 
>or more difficult to achieve? Read this whitepaper to separate the  > two and 
>get a better understanding. > http://p.sf.net/sfu/hp-phase2-d2d > 
>_______________________________________________ > Nagios-users mailing list > 
>Nagios-users at 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  
>------------------------------------------------------------------------------ 
>Virtualization is moving to the mainstream and overtaking non-virtualized 
>environment for deploying applications. Does it make network security  easier or 
>more difficult to achieve? Read this whitepaper to separate the  two and get a 
>better understanding. http://p.sf.net/sfu/hp-phase2-d2d 
>_______________________________________________ Nagios-users mailing list 
>Nagios-users at 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 
>


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101005/8345c60f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From mcallahan at bullseyetelecom.com  Tue Oct  5 13:36:00 2010
From: mcallahan at bullseyetelecom.com (Mike Callahan)
Date: Tue, 5 Oct 2010 07:36:00 -0400
Subject: Different Notification command templates for Host
	Down and Host Up
Message-ID: <126F80B4433F254E9AD8FF3F56537DF002F1F5BD@EXMAIL.bullseyetelecom.com>

Because I'm sending host up/down notifications to a ticketing system, I have the need to use different verbiage for host down notifications and host up notifications.   Specifically the subject line of the email message needs to be different for host down than for host up.  The only way I could think of to do this was to create two separate contacts, one for down notifications tied to a host notification command called notify-host-by-email-down and a separate contact for ups called notify-host-by-email-up.  Of course, Nagios is too smart for this and declines to send host return to up status messages to contacts that did not receive a down message in the first place.

Does anyone have another solution for this, where I would be able to send different notification commands for host down and host recovery?

Thanks,

Mike

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101005/01cce28b/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From lists at xodus.org  Tue Oct  5 15:10:04 2010
From: lists at xodus.org (Marc Powell)
Date: Tue, 5 Oct 2010 08:10:04 -0500
Subject: Different Notification command templates for
	Host Down and Host Up
In-Reply-To: <126F80B4433F254E9AD8FF3F56537DF002F1F5BD@EXMAIL.bullseyetelecom.com>
References: <126F80B4433F254E9AD8FF3F56537DF002F1F5BD@EXMAIL.bullseyetelecom.com>
Message-ID: <9046DD9C-D6DD-4014-8A96-5682B81A16DF@xodus.org>


On Oct 5, 2010, at 6:36 AM, Mike Callahan wrote:

> Because I'm sending host up/down notifications to a ticketing system, I have the need to use different verbiage for host down notifications and host up notifications.   Specifically the subject line of the email message needs to be different for host down than for host up.  


> Does anyone have another solution for this, where I would be able to send different notification commands for host down and host recovery?

The notification commands are just references to scripts. The default/example one is just a big one-liner script. There's no reason you couldn't create your own notification script in your favorite $language that implements your subject logic based on status and sends the e-mail just as nagios does.

--
Marc


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From rainer at ultra-secure.de  Tue Oct  5 16:51:11 2010
From: rainer at ultra-secure.de (rainer at ultra-secure.de)
Date: Tue, 5 Oct 2010 16:51:11 +0200
Subject: imap check plugin that outputs the time taken?
Message-ID: <e13e33a72b03a34dd63638bdd61934de.squirrel@webmail.ultra-secure.de>

Hi,

I'm using the IMAP check plugin that actually logs into the server (from
nagios-exchange).
Unfortunately, it is not possible to specify a timelimit for such a login.

Has anybody got a plugin that actually does that?
Or knows a simple way to extend the given plugin so that it offers this
functionality?
As it is, I must assume that it can take all time it wants to complete the
login, completely defeating the purpose...


Regards,
Rainer

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From olourkin-nagios at yahoo.com  Tue Oct  5 18:20:18 2010
From: olourkin-nagios at yahoo.com (olourkin-nagios at yahoo.com)
Date: Tue, 5 Oct 2010 09:20:18 -0700 (PDT)
Subject: Monitoring an EMC Celerra
In-Reply-To: <4CAA8A6E.1060508@aa.jp.fujitsu.com>
References: <4CAA8A6E.1060508@aa.jp.fujitsu.com>
Message-ID: <572058.79457.qm@web30805.mail.mud.yahoo.com>

Hi all -

Been digging around to try to figure out how to enable SNMP gets against an EMC 
Celerra so that I can implement active checks in Nagios.  I have traps set up, 
but I much prefer active checks whenever possible.  Problem is, EMC support says 
the Celerra isn't capable of allowing gets.

I've heard and suspected otherwise, so I thought I'd check the list to see if 
anyone's made the necessary config changes to allow gets.  I think it should be 
a matter of changing /etc/snmp/snmpd.conf, but has anyone tried?

Thanks,
Erik Larkin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101005/d98aa66f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From mcallahan at bullseyetelecom.com  Tue Oct  5 18:47:37 2010
From: mcallahan at bullseyetelecom.com (Mike Callahan)
Date: Tue, 5 Oct 2010 12:47:37 -0400
Subject: Different Notification command templates
	for	Host Down and Host Up
In-Reply-To: <9046DD9C-D6DD-4014-8A96-5682B81A16DF@xodus.org>
References: <9046DD9C-D6DD-4014-8A96-5682B81A16DF@xodus.org>
Message-ID: <126F80B4433F254E9AD8FF3F56537DF002F1F5BE@EXMAIL.bullseyetelecom.com>

Marc,

Thanks. I had never tried passing Nagios macros into a custom shell script before, but it works like a champ.

Mike

-----Original Message-----
From: Marc Powell [mailto:lists at xodus.org] 
Sent: Tuesday, October 05, 2010 9:10 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Different Notification command templates for Host Down and Host Up


On Oct 5, 2010, at 6:36 AM, Mike Callahan wrote:

> Because I'm sending host up/down notifications to a ticketing system, I have the need to use different verbiage for host down notifications and host up notifications.   Specifically the subject line of the email message needs to be different for host down than for host up.  


> Does anyone have another solution for this, where I would be able to send different notification commands for host down and host recovery?

The notification commands are just references to scripts. The default/example one is just a big one-liner script. There's no reason you couldn't create your own notification script in your favorite $language that implements your subject logic based on status and sends the e-mail just as nagios does.

--
Marc


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jpratt at norwich.edu  Tue Oct  5 18:33:06 2010
From: jpratt at norwich.edu (James Pratt)
Date: Tue, 5 Oct 2010 12:33:06 -0400
Subject: Monitoring an EMC Celerra
In-Reply-To: <572058.79457.qm@web30805.mail.mud.yahoo.com>
References: <4CAA8A6E.1060508@aa.jp.fujitsu.com>
	<572058.79457.qm@web30805.mail.mud.yahoo.com>
Message-ID: <24B6509E4191AF44B60A24EAA3B4AD49A20706@nuexchg.norwich.edu>



From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com] 
Sent: Tuesday, October 05, 2010 12:20 PM
To: Nagios Users List
Subject: [Nagios-users] Monitoring an EMC Celerra

Hi all -

Been digging around to try to figure out how to enable SNMP gets against an EMC Celerra so that I can implement active checks in Nagios. ?I have traps set up, but I much prefer active checks whenever possible. ?Problem is, EMC support says the Celerra isn't capable of allowing gets.

I've heard and suspected otherwise, so I thought I'd check the list to see if anyone's made the necessary config changes to allow gets. ?I think it should be a matter of changing /etc/snmp/snmpd.conf, but has anyone tried?

Thanks,

Erik Larkin


---

I guess having skipped bothering to implement this at our site, i look at this a different sort of way, and ask - are you attempting to monitor the celerra 's datamover via the CS (Control station?), or directly against the dm(s)?

I'm not sure what you wish to monitor either - the celerras have some pretty good internal alerting configs if you dig around ... at least they have worked fine for us.

what are you attempting to do specifically , like monitor just health / temp stuff, or filesystem/share usage etc etc? I'm also curious because i use SNMP gets here extensively, just never bothered against the celerra... 

cheers,
James

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From olourkin-nagios at yahoo.com  Tue Oct  5 20:55:47 2010
From: olourkin-nagios at yahoo.com (olourkin-nagios at yahoo.com)
Date: Tue, 5 Oct 2010 11:55:47 -0700 (PDT)
Subject: Monitoring an EMC Celerra
In-Reply-To: <24B6509E4191AF44B60A24EAA3B4AD49A20706@nuexchg.norwich.edu>
References: <4CAA8A6E.1060508@aa.jp.fujitsu.com>
	<572058.79457.qm@web30805.mail.mud.yahoo.com>
	<24B6509E4191AF44B60A24EAA3B4AD49A20706@nuexchg.norwich.edu>
Message-ID: <899292.6925.qm@web30804.mail.mud.yahoo.com>

Well, assuming we can get snmpd set up to allow gets despite EMC's claim, we'd 
be attempting to monitor the celerra's datamover via the CS.  As far as I 
understand, snmpd runs on the CS, so that's where our queries would have to go. 
 It's still an open question whether we'd be picking up DM data at that point, 
or whether we'd only be seeing data for the CS. 

As to what and why I'm looking to monitor this way - I'm in a large organization 
with a Nagios implementation that I maintain.  But I don't maintain the 
Celerra's.  So I'd much prefer to handle all the check and threshold definitions 
within Nagios, rather than having to learn the Celerra config, and then having 
to poke the guy who does maintain them until he gets them set properly.

May not work out that way, but I'm at least going to give it a shot.

Cheers,
Erik


----- Original Message ----
From: James Pratt <jpratt at norwich.edu>
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Sent: Tue, October 5, 2010 9:33:06 AM
Subject: Re: [Nagios-users] Monitoring an EMC Celerra



From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com] 
Sent: Tuesday, October 05, 2010 12:20 PM
To: Nagios Users List
Subject: [Nagios-users] Monitoring an EMC Celerra

Hi all -

Been digging around to try to figure out how to enable SNMP gets against an EMC 
Celerra so that I can implement active checks in Nagios.  I have traps set up, 
but I much prefer active checks whenever possible.  Problem is, EMC support says 
the Celerra isn't capable of allowing gets.

I've heard and suspected otherwise, so I thought I'd check the list to see if 
anyone's made the necessary config changes to allow gets.  I think it should be 
a matter of changing /etc/snmp/snmpd.conf, but has anyone tried?

Thanks,

Erik Larkin


---

I guess having skipped bothering to implement this at our site, i look at this a 
different sort of way, and ask - are you attempting to monitor the celerra 's 
datamover via the CS (Control station?), or directly against the dm(s)?

I'm not sure what you wish to monitor either - the celerras have some pretty 
good internal alerting configs if you dig around ... at least they have worked 
fine for us.

what are you attempting to do specifically , like monitor just health / temp 
stuff, or filesystem/share usage etc etc? I'm also curious because i use SNMP 
gets here extensively, just never bothered against the celerra... 


cheers,
James

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jpratt at norwich.edu  Tue Oct  5 21:21:44 2010
From: jpratt at norwich.edu (James Pratt)
Date: Tue, 5 Oct 2010 15:21:44 -0400
Subject: Monitoring an EMC Celerra
In-Reply-To: <899292.6925.qm@web30804.mail.mud.yahoo.com>
References: <4CAA8A6E.1060508@aa.jp.fujitsu.com><572058.79457.qm@web30805.mail.mud.yahoo.com><24B6509E4191AF44B60A24EAA3B4AD49A20706@nuexchg.norwich.edu>
	<899292.6925.qm@web30804.mail.mud.yahoo.com>
Message-ID: <24B6509E4191AF44B60A24EAA3B4AD49A20776@nuexchg.norwich.edu>

Thanks, that helps understand better. Unfortunately, the celerra
datamovers run DART OS, an EMC-propietary os, so i'm not sure what kind
of visibility you may have into the datamovers from the CS via snmp... i
imagine little if any, without use of other binaries/helpers..  

I did find this, which is new to me as well... apologies if you have
been there and are looking for snmp-only..

https://sites.google.com/a/verypowerful.info/verypowerful-info/home/nagi
os-checks-for-emc-celerra

 EMC seems to like making simple things very complex - I'm the guy who
runs the celerra and the nagios setup, and in the past 3 years not one
part/things has failed on the celerra, so I tend to not worry as much
about them - especially if you have a standby-datamover in your
celerra(s).

 let us know how things go, sorry i cannot be of more help, but i am
always interested in all things nagios & SNMP,... & EMC.

cheers,
james

-----Original Message-----
From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com] 
Sent: Tuesday, October 05, 2010 2:56 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Monitoring an EMC Celerra

Well, assuming we can get snmpd set up to allow gets despite EMC's
claim, we'd be attempting to monitor the celerra's datamover via the CS.
As far as I understand, snmpd runs on the CS, so that's where our
queries would have to go. 
 It's still an open question whether we'd be picking up DM data at that
point, or whether we'd only be seeing data for the CS. 

As to what and why I'm looking to monitor this way - I'm in a large
organization with a Nagios implementation that I maintain.  But I don't
maintain the Celerra's.  So I'd much prefer to handle all the check and
threshold definitions within Nagios, rather than having to learn the
Celerra config, and then having to poke the guy who does maintain them
until he gets them set properly.

May not work out that way, but I'm at least going to give it a shot.

Cheers,
Erik


----- Original Message ----
From: James Pratt <jpratt at norwich.edu>
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Sent: Tue, October 5, 2010 9:33:06 AM
Subject: Re: [Nagios-users] Monitoring an EMC Celerra



From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com]
Sent: Tuesday, October 05, 2010 12:20 PM
To: Nagios Users List
Subject: [Nagios-users] Monitoring an EMC Celerra

Hi all -

Been digging around to try to figure out how to enable SNMP gets against
an EMC Celerra so that I can implement active checks in Nagios.  I have
traps set up, but I much prefer active checks whenever possible.
Problem is, EMC support says the Celerra isn't capable of allowing gets.

I've heard and suspected otherwise, so I thought I'd check the list to
see if anyone's made the necessary config changes to allow gets.  I
think it should be a matter of changing /etc/snmp/snmpd.conf, but has
anyone tried?

Thanks,

Erik Larkin


---

I guess having skipped bothering to implement this at our site, i look
at this a different sort of way, and ask - are you attempting to monitor
the celerra 's datamover via the CS (Control station?), or directly
against the dm(s)?

I'm not sure what you wish to monitor either - the celerras have some
pretty good internal alerting configs if you dig around ... at least
they have worked fine for us.

what are you attempting to do specifically , like monitor just health /
temp stuff, or filesystem/share usage etc etc? I'm also curious because
i use SNMP gets here extensively, just never bothered against the
celerra... 


cheers,
James

------------------------------------------------------------------------
------
Beautiful is writing same markup. Internet Explorer 9 supports standards
for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


------------------------------------------------------------------------
------
Beautiful is writing same markup. Internet Explorer 9 supports standards
for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From olourkin-nagios at yahoo.com  Tue Oct  5 22:35:27 2010
From: olourkin-nagios at yahoo.com (olourkin-nagios at yahoo.com)
Date: Tue, 5 Oct 2010 13:35:27 -0700 (PDT)
Subject: Monitoring an EMC Celerra
In-Reply-To: <24B6509E4191AF44B60A24EAA3B4AD49A20776@nuexchg.norwich.edu>
References: <4CAA8A6E.1060508@aa.jp.fujitsu.com><572058.79457.qm@web30805.mail.mud.yahoo.com><24B6509E4191AF44B60A24EAA3B4AD49A20706@nuexchg.norwich.edu>
	<899292.6925.qm@web30804.mail.mud.yahoo.com>
	<24B6509E4191AF44B60A24EAA3B4AD49A20776@nuexchg.norwich.edu>
Message-ID: <621557.35878.qm@web30802.mail.mud.yahoo.com>

Thanks for the info James, appreciate your taking a stab at it.  I did come 
across that site, but I haven't yet dug into everything it presents.  Could be 
some good info there.  I'll start messing around, and if I make any headway I'll 
share it with you and the list.

Cheers,
Erik


----- Original Message ----
From: James Pratt <jpratt at norwich.edu>
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Sent: Tue, October 5, 2010 12:21:44 PM
Subject: Re: [Nagios-users] Monitoring an EMC Celerra

Thanks, that helps understand better. Unfortunately, the celerra
datamovers run DART OS, an EMC-propietary os, so i'm not sure what kind
of visibility you may have into the datamovers from the CS via snmp... i
imagine little if any, without use of other binaries/helpers..  

I did find this, which is new to me as well... apologies if you have
been there and are looking for snmp-only..

https://sites.google.com/a/verypowerful.info/verypowerful-info/home/nagi
os-checks-for-emc-celerra

EMC seems to like making simple things very complex - I'm the guy who
runs the celerra and the nagios setup, and in the past 3 years not one
part/things has failed on the celerra, so I tend to not worry as much
about them - especially if you have a standby-datamover in your
celerra(s).

let us know how things go, sorry i cannot be of more help, but i am
always interested in all things nagios & SNMP,... & EMC.

cheers,
james

-----Original Message-----
From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com] 
Sent: Tuesday, October 05, 2010 2:56 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Monitoring an EMC Celerra

Well, assuming we can get snmpd set up to allow gets despite EMC's
claim, we'd be attempting to monitor the celerra's datamover via the CS.
As far as I understand, snmpd runs on the CS, so that's where our
queries would have to go. 
It's still an open question whether we'd be picking up DM data at that
point, or whether we'd only be seeing data for the CS. 

As to what and why I'm looking to monitor this way - I'm in a large
organization with a Nagios implementation that I maintain.  But I don't
maintain the Celerra's.  So I'd much prefer to handle all the check and
threshold definitions within Nagios, rather than having to learn the
Celerra config, and then having to poke the guy who does maintain them
until he gets them set properly.

May not work out that way, but I'm at least going to give it a shot.

Cheers,
Erik


----- Original Message ----
From: James Pratt <jpratt at norwich.edu>
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Sent: Tue, October 5, 2010 9:33:06 AM
Subject: Re: [Nagios-users] Monitoring an EMC Celerra



From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com]
Sent: Tuesday, October 05, 2010 12:20 PM
To: Nagios Users List
Subject: [Nagios-users] Monitoring an EMC Celerra

Hi all -

Been digging around to try to figure out how to enable SNMP gets against
an EMC Celerra so that I can implement active checks in Nagios.  I have
traps set up, but I much prefer active checks whenever possible.
Problem is, EMC support says the Celerra isn't capable of allowing gets.

I've heard and suspected otherwise, so I thought I'd check the list to
see if anyone's made the necessary config changes to allow gets.  I
think it should be a matter of changing /etc/snmp/snmpd.conf, but has
anyone tried?

Thanks,

Erik Larkin


---

I guess having skipped bothering to implement this at our site, i look
at this a different sort of way, and ask - are you attempting to monitor
the celerra 's datamover via the CS (Control station?), or directly
against the dm(s)?

I'm not sure what you wish to monitor either - the celerras have some
pretty good internal alerting configs if you dig around ... at least
they have worked fine for us.

what are you attempting to do specifically , like monitor just health /
temp stuff, or filesystem/share usage etc etc? I'm also curious because
i use SNMP gets here extensively, just never bothered against the
celerra... 


cheers,
James

------------------------------------------------------------------------
------
Beautiful is writing same markup. Internet Explorer 9 supports standards
for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


------------------------------------------------------------------------
------
Beautiful is writing same markup. Internet Explorer 9 supports standards
for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From member at linkedin.com  Tue Oct  5 22:36:47 2010
From: member at linkedin.com (Saulo Silva via LinkedIn)
Date: Tue, 5 Oct 2010 13:36:47 -0700 (PDT)
Subject: Invitation to connect on LinkedIn
Message-ID: <1819962357.7638950.1286311007125.JavaMail.app@ech3-cdn13.prod>

LinkedIn
------------Saulo Silva requested to add you as a connection on LinkedIn:
------------------------------------------

Lei,

I'd like to add you to my professional network on LinkedIn.

- Saulo

Accept invitation from Saulo Silva
http://www.linkedin.com/e/-bdl42y-gex8d18x-z/7aCDeLHzGLmxXEqs56OlWLXvehObD1msS6AcGvXdAD2fsFLVlfh/blk/I885998228_3/pmpxnSRJrSdvj4R5fnhv9ClRsDgZp6lQs6lzoQ5AomZIpn8_cRYUcz8UejARe3x9bSBiplxRslFmbPwTdj8QejwTdz4LrCBxbOYWrSlI/EML_comm_afe/

View invitation from Saulo Silva
http://www.linkedin.com/e/-bdl42y-gex8d18x-z/7aCDeLHzGLmxXEqs56OlWLXvehObD1msS6AcGvXdAD2fsFLVlfh/blk/I885998228_3/0PnPwOczwVejkUe4ALqnpPbOYWrSlI/svi/ 
------------------------------------------

DID YOU KNOW LinkedIn can help you find the right service providers using recommendations from your trusted network? Using LinkedIn Services, you can take the risky guesswork out of selecting service providers by reading the recommendations of credible, trustworthy members of your network. 
http://www.linkedin.com/e/-bdl42y-gex8d18x-z/svp/inv-25/

 
-- 
(c) 2010, LinkedIn Corporation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101005/f9f20bcd/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From bob.sauvage at gmx.fr  Wed Oct  6 09:16:02 2010
From: bob.sauvage at gmx.fr (Bob Sauvage)
Date: Wed, 06 Oct 2010 09:16:02 +0200
Subject: Nagios notifications by voice call ?
In-Reply-To: <799267.25098.qm@web113409.mail.gq1.yahoo.com>
References: <799267.25098.qm@web113409.mail.gq1.yahoo.com>
Message-ID: <4CAC2232.3070505@gmx.fr>

  Hello,

Thanks all for your tips ;) !

This is not possible for me to use my Asterisk server and I finally 
choosen Teamtilt for Nagios. ( http://www.alarmtilt.com/nagios )

I can relay my notifications through SMS, voice call and iPhone push and 
credits are not expensive !

Regards,

Bob !

Le 5/10/2010 13:19, Chris Samlof a ?crit :
> Hi Bob,
>
> I also use TeamTILT to relay my Nagios notifications.
>
> It is very simple to install and to use ;) ! In addition it has an 
> heartbeat function, very nice...
>
> Chris
>
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
> Asterisk does have a lot of possibilities (we use it as PBX) but wanted to keep it out of the loop (to not affect our office oprations).
> I started recently with a third party product found on Nagios Exchange -  (http://www.alarmtilt.com/nagios). It does generate phone calls using text-to-speech (sometimes funny how server names are spoken out ;-) ), sms and iphone push (I am using this mainly).
>
> Hey, but if you have an Asterisk server/appliance, give it a try!
>
> Cheers
>
> Ama
>
> Sorry for the short reply, it was sent from my mobile device.
>
> On 4 oct. 2010, at 17:31, "Robert Wolfe"<robert.wolfe at robertwolfe.org>  wrote:
>
> >  Or if you have access to PHP4AGI, then you could
>   write one yourself.  A
> >  coworker and I wrote a plugin using that and PHP to make regular
> >  callouts through the Asterisk server to see if it can indeed make
> >  outgoing calls.
> >
> >  -----Original Message-----
> >  From: Assaf Flatto [mailto:nagios at flatto.net]
> >  Sent: Monday, October 04, 2010 10:28 AM
> >  To:nagios-users at lists.sourceforge.net
> >  Subject: Re: [Nagios-users] Nagios notifications by voice call ?
> >
> >   If you have access to an Astertisk server there are plugins that will
> >  send the alert to the asterisk and that will initiate a phone call.
> >
> >
> >
> >
> >  On 04/10/10 12:45, Bob Sauvage wrote:
> >>    Hello * ,
> >>
> >>  I want to relay my nagios notifications by voice call and by SMS. The
> >>  night the call ringtone is more audible...
> >>  I found many SMS providers but none to relay my notifications by voice
> >>  call !
> >>
> >>  I have a limitation, I do not want to install a GSM modem or other
> >>  things like that...
> >>
> >>  Thanks in advance !
> >>
> >>
> >  ------------------------------------------------------------------------
> >  ------
> >>  Virtualization is moving to the mainstream and overtaking
> >  non-virtualized
> >>  environment for deploying applications. Does it make network security
> >>  easier or more difficult to achieve? Read this whitepaper to separate
> >  the
> >>  two and get a better understanding.
> >>  http://p.sf.net/sfu/hp-phase2-d2d
> >>  _______________________________________________
> >>  Nagios-users mailing list
> >>  Nagios-users at 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
> >
> >
> >  -- 
> >  Never,Ever Cut A Deal With a Dragon
> >
> >
> >  Next year I will be doing the London to Paris bike ride to
> >  raise money for the DogTrust (www.dogstrust.co.uk) .
> >  Please Sponsor me athttp://www.justgiving.com/Assaf-Flatto
> >
> >
> >  ------------------------------------------------------------------------
> >  ------
> >  Virtualization is moving to the mainstream and overtaking
> >  non-virtualized
> >  environment for deploying applications. Does it make network security
> >  easier or more difficult to achieve? Read this whitepaper to separate
> >  the
> >  two and get a better understanding.
> >  http://p.sf.net/sfu/hp-phase2-d2d
> >  _______________________________________________
> >  Nagios-users mailing list
> >  Nagios-users at 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
> >
> >  ------------------------------------------------------------------------------
> >  Virtualization is moving to the mainstream and overtaking non-virtualized
> >  environment for deploying applications. Does it make network security
> >  easier or more difficult to achieve? Read this whitepaper to separate the
> >  two and get a better understanding.
> >  http://p.sf.net/sfu/hp-phase2-d2d
> >  _______________________________________________
> >  Nagios-users mailing list
> >  Nagios-users at 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
>
> ------------------------------------------------------------------------------
> Virtualization is moving to the mainstream and overtaking non-virtualized
> environment for deploying applications. Does it make network security
> easier or more difficult to achieve? Read this whitepaper to separate the
> two and get a better understanding.
> http://p.sf.net/sfu/hp-phase2-d2d
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2&  L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101006/130eeea1/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From djkwa29 at gmail.com  Wed Oct  6 09:31:55 2010
From: djkwa29 at gmail.com (Didier)
Date: Wed, 6 Oct 2010 09:31:55 +0200
Subject: Compartmentalisation of actors and interventions
	with Nagios
Message-ID: <AANLkTinP8srniUrKEziPF=WYHRy+AQsmHBewz2Hv1bQT@mail.gmail.com>

?Hi,

I am looking for a reliable solution to achieve a partitioning of
stakeholders on Nagios.
I wish for example that the team system to give rights in a
configuration different from theirs, while having the same central
Nagios server.
My questions:
Is it possible to have two different configurations with a single agent NRPE?
Can we partition the stakeholders?

Thank you to you for your feedback on this or any help.
-- 
Didier

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From michael.friedrich at univie.ac.at  Wed Oct  6 12:51:22 2010
From: michael.friedrich at univie.ac.at (Michael Friedrich)
Date: Wed, 06 Oct 2010 12:51:22 +0200
Subject: upgrade from 3.2.2 to 3.2.3 not working?
In-Reply-To: <1286219501.14889.1.camel@timmins>
References: <AANLkTinM6gEkF3THdY5aEMDPn-xpzzyPz9qcQQUjUZwq@mail.gmail.com>	<1286217708.24371.1.camel@timmins>	<AANLkTindM9EGLxSw8ZTEe6_8TDs+vg9tcVcfosXFBPVh@mail.gmail.com>	<1286218736.5545.0.camel@timmins>	<AANLkTikY+W4OYh4m+uM_yRL+P+HCApoZ-_eK4cUZhv7C@mail.gmail.com>
	<1286219501.14889.1.camel@timmins>
Message-ID: <4CAC54AA.9010201@univie.ac.at>

On 2010-10-04 21:11, Tony Yarusso wrote:
> On Mon, 2010-10-04 at 15:02 -0400, Ilan Berkner wrote:
>> You mean a cron job on nagios.org for notifying users of a new
>> version?
>
> No, on your system going out to nagios.org to compare your current
> version to that available.  It won't know you upgraded until the next
> time it runs and does the comparison, so for now it thinks the
> nagios.org version is still newer.

Nagios phones home, and does that with a timed event within the core 
(high priority event, checks are low priority) being scheduled every 22 
hours + random seed * 3 hours. It sends a timestamp and the 
program_version, if such things are enabled. setting bare_update_check 
remains useless, as the program_version is being sent through user agent 
info too.




------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From subs at arahmantech.com  Wed Oct  6 12:39:16 2010
From: subs at arahmantech.com (Athiqur Rahman)
Date: Wed, 06 Oct 2010 11:39:16 +0100
Subject: check_asterisk plugin returning null
Message-ID: <4CAC51D4.6030906@arahmantech.com>

I am using the check_asterisk pluing that is found here 
http://www.voip-info.org/wiki/index.php?page_id=1864

When executing this script from bash it works like a charm

[root at watcher2 libexec]# ./check_asterisk -U sip:1111 at 192.168.53.10 -w 10 -c 50

SIP OK - Test Duration: 2.19 ms


I created the command

define command {

    command_name                   check_asterisk

    command_line                   $USER1$/check_asterisk -U $ARG1$ -P $ARG2$ -w 100 -c 500

    }


and then i created the service

define service{

        use                             generic-service

        host_name                       TVoIP1

        service_description             check_sip_asterisk

        display_name                    check for SIP on astersk

        check_command                   check_asterisk!sip:1111 at 192.168.53.10!5060

        }


This gives me critical alert on nagios with a status information of 'null'

I tried executing the check_asterisk from bash as user nagios and got 
the following

[nagios at watcher2 libexec]$ ./check_asterisk -U sip:1111 at 192.168.53.10 -w 10 -c 20

warning: need raw socket (root privileges) to receive all ICMP errors

SIP OK - Test Duration: 0.53 ms


The check_asteisk plugin uses sipsak, could this have anything to do 
with this? Any comments appreciated.

Thanks,







------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From iberkner at gmail.com  Wed Oct  6 13:36:17 2010
From: iberkner at gmail.com (iberkner at gmail.com)
Date: Wed, 6 Oct 2010 11:36:17 +0000
Subject: upgrade from 3.2.2 to 3.2.3 not working?
In-Reply-To: <4CAC54AA.9010201@univie.ac.at>
References: <AANLkTinM6gEkF3THdY5aEMDPn-xpzzyPz9qcQQUjUZwq@mail.gmail.com>	<1286217708.24371.1.camel@timmins>	<AANLkTindM9EGLxSw8ZTEe6_8TDs+vg9tcVcfosXFBPVh@mail.gmail.com>	<1286218736.5545.0.camel@timmins>	<AANLkTikY+W4OYh4m+uM_yRL+P+HCApoZ-_eK4cUZhv7C@mail.gmail.com><1286219501.14889.1.camel@timmins><4CAC54AA.9010201@univie.ac.at>
Message-ID: <832131729-1286364978-cardhu_decombobulator_blackberry.rim.net-1190275588-@bda833.bisx.prod.on.blackberry>

Yep, it cleared up. Thanks
Sent on the Sprint? Now Network from my BlackBerry?

-----Original Message-----
From: Michael Friedrich <michael.friedrich at univie.ac.at>
Date: Wed, 06 Oct 2010 12:51:22 
To: <nagios-users at lists.sourceforge.net>
Reply-To: Nagios Users List <nagios-users at lists.sourceforge.net>
Subject: Re: [Nagios-users] upgrade from 3.2.2 to 3.2.3 not working?

On 2010-10-04 21:11, Tony Yarusso wrote:
> On Mon, 2010-10-04 at 15:02 -0400, Ilan Berkner wrote:
>> You mean a cron job on nagios.org for notifying users of a new
>> version?
>
> No, on your system going out to nagios.org to compare your current
> version to that available.  It won't know you upgraded until the next
> time it runs and does the comparison, so for now it thinks the
> nagios.org version is still newer.

Nagios phones home, and does that with a timed event within the core 
(high priority event, checks are low priority) being scheduled every 22 
hours + random seed * 3 hours. It sends a timestamp and the 
program_version, if such things are enabled. setting bare_update_check 
remains useless, as the program_version is being sent through user agent 
info too.




------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From lomiz.mail at gmail.com  Wed Oct  6 14:23:04 2010
From: lomiz.mail at gmail.com (Enrico Zimol)
Date: Wed, 6 Oct 2010 14:23:04 +0200
Subject: check_asterisk plugin returning null
In-Reply-To: <4CAC51D4.6030906@arahmantech.com>
References: <4CAC51D4.6030906@arahmantech.com>
Message-ID: <AANLkTi=KW0YRQUukocfrFdEPVEF-LyR6om5UKDHqTDgR@mail.gmail.com>

On 6 October 2010 12:39, Athiqur Rahman <subs at arahmantech.com> wrote:
>
> The check_asteisk plugin uses sipsak, could this have anything to do
> with this? Any comments appreciated.

Probably there is bettere solution than this.
If the script needs priviledges try to add something like this on "visudo"

nagios  ALL=(ALL)       NOPASSWD:/usr/local/nagios/libexec/path_of_plugin

After that run the plugin with "sudo"

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From subs at arahmantech.com  Wed Oct  6 15:04:22 2010
From: subs at arahmantech.com (Athiqur Rahman)
Date: Wed, 06 Oct 2010 14:04:22 +0100
Subject: check_asterisk plugin returning null
In-Reply-To: <AANLkTi=KW0YRQUukocfrFdEPVEF-LyR6om5UKDHqTDgR@mail.gmail.com>
References: <4CAC51D4.6030906@arahmantech.com>
	<AANLkTi=KW0YRQUukocfrFdEPVEF-LyR6om5UKDHqTDgR@mail.gmail.com>
Message-ID: <4CAC73D6.6060207@arahmantech.com>

Enrico Zimol wrote:
> On 6 October 2010 12:39, Athiqur Rahman <subs at arahmantech.com> wrote:
>   
>> The check_asteisk plugin uses sipsak, could this have anything to do
>> with this? Any comments appreciated.
>>     
>
> Probably there is bettere solution than this.
> If the script needs priviledges try to add something like this on "visudo"
>
> nagios  ALL=(ALL)       NOPASSWD:/usr/local/nagios/libexec/path_of_plugin
>
> After that run the plugin with "sudo"
>   

I added the nagios to sudo

nagios  ALL=(ALL)       NOPASSWD:/usr/local/nagios/libexec/check_asterisk


and have changed the command to

define command {

    command_name                   check_asterisk

    command_line                   /usr/bin/sudo $USER1$/check_asterisk -U $ARG1$ -P $ARG2$ -w 100 -c 500

    } 


But I still get the same problem. I tried doing this check over nrpe as 
well, but still does not work.



> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>   


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From lomiz.mail at gmail.com  Wed Oct  6 15:30:08 2010
From: lomiz.mail at gmail.com (Enrico Zimol)
Date: Wed, 6 Oct 2010 15:30:08 +0200
Subject: check_asterisk plugin returning null
In-Reply-To: <4CAC73D6.6060207@arahmantech.com>
References: <4CAC51D4.6030906@arahmantech.com>
	<AANLkTi=KW0YRQUukocfrFdEPVEF-LyR6om5UKDHqTDgR@mail.gmail.com>
	<4CAC73D6.6060207@arahmantech.com>
Message-ID: <AANLkTim6uybRX0v5gXNO82Ax7CtJzjrt8Crqvs-s-HjR@mail.gmail.com>

On 6 October 2010 15:04, Athiqur Rahman <subs at arahmantech.com> wrote:
>
> ? ?}
>
>o
> But I still get the same problem. I tried doing this check over nrpe as
> well, but still does not work.

If you do:
su - nagios

and after

sudo /path/to/plugin

?

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From subs at arahmantech.com  Wed Oct  6 17:03:17 2010
From: subs at arahmantech.com (Athiqur Rahman)
Date: Wed, 06 Oct 2010 16:03:17 +0100
Subject: check_asterisk plugin returning null
In-Reply-To: <AANLkTim6uybRX0v5gXNO82Ax7CtJzjrt8Crqvs-s-HjR@mail.gmail.com>
References: <4CAC51D4.6030906@arahmantech.com>	<AANLkTi=KW0YRQUukocfrFdEPVEF-LyR6om5UKDHqTDgR@mail.gmail.com>	<4CAC73D6.6060207@arahmantech.com>
	<AANLkTim6uybRX0v5gXNO82Ax7CtJzjrt8Crqvs-s-HjR@mail.gmail.com>
Message-ID: <4CAC8FB5.5060008@arahmantech.com>

Enrico Zimol wrote:
> On 6 October 2010 15:04, Athiqur Rahman <subs at arahmantech.com> wrote:
>   
>>    }
>>
>> o
>> But I still get the same problem. I tried doing this check over nrpe as
>> well, but still does not work.
>>     
>
> If you do:
> su - nagios
>
> and after
>
> sudo /path/to/plugin
>
> ?
>   

after adding nagios to sudo, and executing the command as you mention 
above I no longer get the warning

warning: need raw socket (root privileges) to receive all ICMP errors


Everything works smoothly from the command line.

But, the main issue that I am having is that on the nagios interface I 
am getting '(null)' status information.

FYI i am using nagios 3.2.1

> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>   


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From lomiz.mail at gmail.com  Wed Oct  6 17:35:37 2010
From: lomiz.mail at gmail.com (Enrico Zimol)
Date: Wed, 6 Oct 2010 17:35:37 +0200
Subject: check_asterisk plugin returning null
In-Reply-To: <4CAC8FB5.5060008@arahmantech.com>
References: <4CAC51D4.6030906@arahmantech.com>
	<AANLkTi=KW0YRQUukocfrFdEPVEF-LyR6om5UKDHqTDgR@mail.gmail.com>
	<4CAC73D6.6060207@arahmantech.com>
	<AANLkTim6uybRX0v5gXNO82Ax7CtJzjrt8Crqvs-s-HjR@mail.gmail.com>
	<4CAC8FB5.5060008@arahmantech.com>
Message-ID: <AANLkTinAmcHkpvMRTeuXN85qCsdJeEJuKN54pBitX7tc@mail.gmail.com>

On 6 October 2010 17:03, Athiqur Rahman <subs at arahmantech.com> wrote:
> etting '(null)' status information

I've no idea, that was a stuff that resolved me a problem.
Sorry =/

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From olourkin-nagios at yahoo.com  Wed Oct  6 18:34:27 2010
From: olourkin-nagios at yahoo.com (olourkin-nagios at yahoo.com)
Date: Wed, 6 Oct 2010 09:34:27 -0700 (PDT)
Subject: check_asterisk plugin returning null
In-Reply-To: <4CAC51D4.6030906@arahmantech.com>
References: <4CAC51D4.6030906@arahmantech.com>
Message-ID: <334517.5914.qm@web30806.mail.mud.yahoo.com>

Bit of a shot in the dark here, but I notice that in your examples from the 
command line, you use -U, -w and -c.  But the Nagios service you define also 
adds in a -P option (port, I'm guessing).  If you haven't already tried manually 
running from the command line with the -P option, it would be worth a shot.

Cheers
Erik


----- Original Message ----
From: Athiqur Rahman <subs at arahmantech.com>
To: Nagios Users Mailinglist <nagios-users at lists.sourceforge.net>
Sent: Wed, October 6, 2010 3:39:16 AM
Subject: [Nagios-users] check_asterisk plugin returning null

I am using the check_asterisk pluing that is found here 
http://www.voip-info.org/wiki/index.php?page_id=1864

When executing this script from bash it works like a charm

[root at watcher2 libexec]# ./check_asterisk -U sip:1111 at 192.168.53.10 -w 10 -c 50

SIP OK - Test Duration: 2.19 ms


I created the command

define command {

    command_name                   check_asterisk

    command_line                   $USER1$/check_asterisk -U $ARG1$ -P $ARG2$ -w 
100 -c 500

    }


and then i created the service

define service{

        use                             generic-service

        host_name                       TVoIP1

        service_description             check_sip_asterisk

        display_name                    check for SIP on astersk

        check_command                   
check_asterisk!sip:1111 at 192.168.53.10!5060

        }


This gives me critical alert on nagios with a status information of 'null'

I tried executing the check_asterisk from bash as user nagios and got 
the following

[nagios at watcher2 libexec]$ ./check_asterisk -U sip:1111 at 192.168.53.10 -w 10 -c 
20

warning: need raw socket (root privileges) to receive all ICMP errors

SIP OK - Test Duration: 0.53 ms


The check_asteisk plugin uses sipsak, could this have anything to do 
with this? Any comments appreciated.

Thanks,







------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From stefan at fuhrmann.homedns.org  Wed Oct  6 19:43:13 2010
From: stefan at fuhrmann.homedns.org (Stefan Fuhrmann)
Date: Wed, 6 Oct 2010 19:43:13 +0200
Subject: bad monitoring remote windows
In-Reply-To: <201009291828.40193.stefan@fuhrmann.homedns.org>
References: <201009291828.40193.stefan@fuhrmann.homedns.org>
Message-ID: <201010061943.14203.stefan@fuhrmann.homedns.org>

Hello all,

I now had some time to look what the failure is. I found:

 kernel: [689026.670555] check_nt[12295]: segfault at 0 ip b75ab713 sp 
bf992f3c error 4 in libc-2.11.1.so[b7577000+153000]


hui... what to do?

tia stefan



Am Mittwoch, 29. September 2010, 18:28:39 schrieb Stefan Fuhrmann:
> Hello all,
> 
> I m having a distributed net with site- to- site sslvpn's.
> 
> 
> centralfirewall ----> remote Firewall-----> win2003/2008 servers
>            \
>        service-net
> 
>  Nagios is located in service net and is doing nt and mysql_health checks
> to that windows machines. Monitoring the Linux firewalls seems no Problem
> :)
> 
> but having alot of troule with the win machines: Often I have
> check_nt:		 			could not fetch information from server
> check_mysql_health:		CRITICAL - unable to get replication info
> 
> and then all is running well. When I take manually a look then all is
> running fine. I play around with timeouts with no luck. Ping are most of
> the time okay....
> So im not able to fix it.
> nagios 3.2.0 on ubuntu-server10.04
> 
> Can someone help?
> 
> tia
> stefan
> 
> ---------------------------------------------------------------------------
> --- Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From geraldonetto-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org  Wed Oct  6 21:08:59 2010
From: geraldonetto-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Geraldo Netto)
Date: Wed, 6 Oct 2010 16:08:59 -0300
Subject: wireshark capturing nagios packets?
Message-ID: <AANLkTikzU1-Ct_aTf_8TD34AQewP3wYbZWN9bD2+-J_X@mail.gmail.com>

hi!

i'm Geraldo, an undergrad student from s?o paulo, brazil
and i'd like to know if any of you have some experience using
wireshark to capture nagios packets
once i couldn't see any reference(supported protocols) to nagios protocol...
btw, where can i find more information on nagios protocol?
and sorry for crossposting wireshark and nagios lists...

kind regards and best wishes,

Geraldo
Non dvcor, dvco => Sapere Aude
S?o Paulo, Brasil, -3gmt
site: http://exdev.sf.net/
___________________________________________________________________________
Sent via:    Wireshark-users mailing list <wireshark-users-IZ8446WsY0/dtAWm4Da02A at public.gmane.org>
Archives:    http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
             mailto:wireshark-users-request-IZ8446WsY0/dtAWm4Da02A at public.gmane.org?subject=unsubscribe




From meshkruaj at gmail.com  Wed Oct  6 21:46:14 2010
From: meshkruaj at gmail.com (tathashe)
Date: Wed, 6 Oct 2010 21:46:14 +0200
Subject: wireshark capturing nagios packets?
In-Reply-To: <AANLkTikzU1-Ct_aTf_8TD34AQewP3wYbZWN9bD2+-J_X@mail.gmail.com>
References: <AANLkTikzU1-Ct_aTf_8TD34AQewP3wYbZWN9bD2+-J_X@mail.gmail.com>
Message-ID: <AANLkTinGfXFnKKY1saC2bWgzwKfwjFH=JbK=sDbNxu5o@mail.gmail.com>

nagios is not a protocol per se . its uses already well known protocols .
it depends on what type of check you want to capture packets
if the check is performed using snmp that filter snmp packets on wireshark
if check uses nrpe , nsca then filter the IP and the port respectively

regards .



On 6 October 2010 21:08, Geraldo Netto <geraldonetto at gmail.com> wrote:

> hi!
>
> i'm Geraldo, an undergrad student from s?o paulo, brazil
> and i'd like to know if any of you have some experience using
> wireshark to capture nagios packets
> once i couldn't see any reference(supported protocols) to nagios
> protocol...
> btw, where can i find more information on nagios protocol?
> and sorry for crossposting wireshark and nagios lists...
>
> kind regards and best wishes,
>
> Geraldo
> Non dvcor, dvco => Sapere Aude
> S?o Paulo, Brasil, -3gmt
> site: http://exdev.sf.net/
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101006/e4bab5fe/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From m.borsani at it.net  Thu Oct  7 09:18:20 2010
From: m.borsani at it.net (Marco Borsani)
Date: Thu, 7 Oct 2010 09:18:20 +0200
Subject: R:  check_asterisk plugin returning null
In-Reply-To: <4CAC8FB5.5060008@arahmantech.com>
References: <4CAC51D4.6030906@arahmantech.com>	<AANLkTi=KW0YRQUukocfrFdEPVEF-LyR6om5UKDHqTDgR@mail.gmail.com>	<4CAC73D6.6060207@arahmantech.com>	<AANLkTim6uybRX0v5gXNO82Ax7CtJzjrt8Crqvs-s-HjR@mail.gmail.com>
	<4CAC8FB5.5060008@arahmantech.com>
Message-ID: <4919.92942193082$1286437419@news.gmane.org>

I have just downloaded check_asterisk plugin and... really I don't
understand how does it work.

Any numeric url I use , it will return same message:

./check_asterisk -U sip:000 at XXX.XXX.XXX.XXX -w 1 -c 2
SIP OK - Test Duration: 0.52 ms

./check_asterisk -U sip:333 at XXX.XXX.XXX.XXX -w 1 -c 2
SIP OK - Test Duration: 0.45 ms

./check_asterisk -U sip:123 at XXX.XXX.XXX.XXX -w 1 -c 2
SIP OK - Test Duration: 0.48 ms

./check_asterisk -U sip:6789 at XXX.XXX.XXX.XXX -w 1 -c 2
SIP OK - Test Duration: 0.47 ms

Anyone can tell me why ?

Thanks

Marco

-----Messaggio originale-----
Da: Athiqur Rahman [mailto:subs at arahmantech.com] 
Inviato: mercoled? 6 ottobre 2010 17:03
A: Nagios Users List
Oggetto: Re: [Nagios-users] check_asterisk plugin returning null

Enrico Zimol wrote:
> On 6 October 2010 15:04, Athiqur Rahman <subs at arahmantech.com> wrote:
>   
>>    }
>>
>> o
>> But I still get the same problem. I tried doing this check over nrpe as
>> well, but still does not work.
>>     
>
> If you do:
> su - nagios
>
> and after
>
> sudo /path/to/plugin
>
> ?
>   

after adding nagios to sudo, and executing the command as you mention 
above I no longer get the warning

warning: need raw socket (root privileges) to receive all ICMP errors


Everything works smoothly from the command line.

But, the main issue that I am having is that on the nagios interface I 
am getting '(null)' status information.

FYI i am using nagios 3.2.1

>
----------------------------------------------------------------------------
--
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>   


----------------------------------------------------------------------------
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From steve at dedicatedserversaustralia.com.au  Thu Oct  7 07:48:22 2010
From: steve at dedicatedserversaustralia.com.au (Steve Kemp)
Date: Thu, 7 Oct 2010 16:48:22 +1100
Subject: is there a way to pass contact username thru url to
	status.cgi for authentication?
Message-ID: <!&!AAAAAAAAAAAYAAAAAAAAAABO1xE+B1VDuqZjsvJ7BpTCgAAAEAAAAEbwewnLRtpIhh9JpsaqlssBAAAAAA==@dedicatedserversaustralia.com.au>

Im looking for a way to allow remote access to Nagios based on specific
clients (contacts) in Nagios without using http authentication

 

The remote access is being displayed in another site using <object> tags

 

I don't however want them to have access to any data not relating to their
specific servers.

 

So for example:

 

http://www.domain.com/nagios/cgi-bin/status.cgi?host=server1.clientsdomain.c
om.au
<http://www.domain.com/nagios/cgi-bin/status.cgi?host=server1.clientsdomain.
com.au&style=detail> &style=detail is what I would like to load but the cgis
can only show the data relating to the contacts servers.

 

In Firefox and Chrome I can pass authentication thru the browser via
http://user:pass@ but this isn't allowed in IE, and isn't ideal or secure
anyway.

 

Is there a way to pass the contact variable thru to the browser ie
http://www.domain.com/nagios/cgi-bin/status.cgi?host=server1.clientsdomain.c
om.au
<http://www.domain.com/nagios/cgi-bin/status.cgi?host=server1.clientsdomain.
com.au&style=detail&contact=xyz> &style=detail&contact=xyz so that while the
user isn't given a popup login box they are still restricted to only seeing
data relating to their server or servers

 

I have hunted high and low for a way around this and have had no luck so
far..

 

Regards

 

Steve Kemp

Dedicated Servers Australia


Description: ded-aus-logo

www.dedicatedserversaustralia.com.au

Tel: +61 7 30187567  Fax: +61 7 38476684

Support: https://accounts.dedicatedserversaustralia.com.au 

Sales Email: dedaus.sales at dedicatedserversaustralia.com.au

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101007/f1a49296/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 7714 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101007/f1a49296/attachment.gif>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From dit.dash at gmail.com  Thu Oct  7 13:13:40 2010
From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum)
Date: Thu, 7 Oct 2010 07:13:40 -0400
Subject: is there a way to pass contact username thru url
 to status.cgi for authentication?
In-Reply-To: <!&!AAAAAAAAAAAYAAAAAAAAAABO1xE+B1VDuqZjsvJ7BpTCgAAAEAAAAEbwewnLRtpIhh9JpsaqlssBAAAAAA==@dedicatedserversaustralia.com.au>
References: <!&!AAAAAAAAAAAYAAAAAAAAAABO1xE+B1VDuqZjsvJ7BpTCgAAAEAAAAEbwewnLRtpIhh9JpsaqlssBAAAAAA==@dedicatedserversaustralia.com.au>
Message-ID: <AANLkTimNNnCwYPW2UMTVtrhRAGkn-VOrk3uZHJ_yikP7@mail.gmail.com>

Yes
http://nagiosuser:nagiospassword at nagioshost.domain
/nagios/cgi-bin/status.cgi\?host=server...

Note the backslash before the question mark.

BTW, I think IE blocks this for what MicroSloth calls "security reasons"

On Thu, Oct 7, 2010 at 1:48 AM, Steve Kemp <
steve at dedicatedserversaustralia.com.au> wrote:

> Im looking for a way to allow remote access to Nagios based on specific
> clients (contacts) in Nagios without using http authentication
>
>
>
> The remote access is being displayed in another site using <object> tags
>
>
>
> I don?t however want them to have access to any data not relating to their
> specific servers.
>
>
>
> So for example:
>
>
>
>
> http://www.domain.com/nagios/cgi-bin/status.cgi?host=server1.clientsdomain.com.au&style=detailis what I would like to load but the cgis can only show the data relating to
> the contacts servers.
>
>
>
> In Firefox and Chrome I can pass authentication thru the browser via
> http://user:pass@ but this isn?t allowed in IE, and isn?t ideal or secure
> anyway.
>
>
>
> Is there a way to pass the contact variable thru to the browser ie
> http://www.domain.com/nagios/cgi-bin/status.cgi?host=server1.clientsdomain.com.au&style=detail&contact=xyzso that while the user isn?t given a popup login box they are still
> restricted to only seeing data relating to their server or servers
>
>
>
> I have hunted high and low for a way around this and have had no luck so
> far?.
>
>
>
> Regards
>
>
>
> *Steve Kemp*
>
> *Dedicated Servers Australia*
>
> [image: Description: ded-aus-logo]
>
> *www.dedicatedserversaustralia.com.au*
>
> *Tel:* *+61 7 30187567*  *Fax:* *+61 7 38476684*
>
> *Support: **https://accounts.dedicatedserversaustralia.com.au*
>
> *Sales Email:* *dedaus.sales at dedicatedserversaustralia.com.au*
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101007/81fb4363/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 7714 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101007/81fb4363/attachment.gif>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From gavin at openfusion.com.au  Thu Oct  7 13:38:50 2010
From: gavin at openfusion.com.au (Gavin Carr)
Date: Thu, 7 Oct 2010 12:38:50 +0100
Subject: is there a way to pass contact username thru url
 to status.cgi for authentication?
In-Reply-To: <!&!AAAAAAAAAAAYAAAAAAAAAABO1xE+B1VDuqZjsvJ7BpTCgAAAEAAAAEbwewnLRtpIhh9JpsaqlssBAAAAAA==@dedicatedserversaustralia.com.au>
References: <!&!AAAAAAAAAAAYAAAAAAAAAABO1xE+B1VDuqZjsvJ7BpTCgAAAEAAAAEbwewnLRtpIhh9JpsaqlssBAAAAAA==@dedicatedserversaustralia.com.au>
Message-ID: <20101007113849.GL6480@openfusion.com.au>

Hi Steve,

I don't think you can do this at the nagios level, because nagios just
uses standard webserver authentication, deferring to apache (or whatever).

So what you need to figure out is a way to hook your credentials into some 
apache (if that's what you're using?) authentication module. If you're 
really just wanting the nagios webserver to trust your 'contact' parameter
and use that (which obviously is *completely* insecure/hackable etc.), you
should just be able to write a trivial apache module in C or perl to do
just that.

Or you pass the password as well, and actually authenticate each time (i.e.
basic authentication, but without the popup). Or you look at a ticket-based 
SSO-type approach (like my mod_auth_tkt, or mod_auth_cas, or similar). Any
of these work fine with nagios.

Cheers,
Gavin


On Thu, Oct 07, 2010 at 04:48:22PM +1100, Steve Kemp wrote:
> Im looking for a way to allow remote access to Nagios based on specific
> clients (contacts) in Nagios without using http authentication
> 
> The remote access is being displayed in another site using <object> tags
> 
> I don't however want them to have access to any data not relating to their
> specific servers.
> 
> So for example:
> 
> http://www.domain.com/nagios/cgi-bin/status.cgi?host=server1.clientsdomain.c
> om.au
> <http://www.domain.com/nagios/cgi-bin/status.cgi?host=server1.clientsdomain.
> com.au&style=detail> &style=detail is what I would like to load but the cgis
> can only show the data relating to the contacts servers.
> 
> In Firefox and Chrome I can pass authentication thru the browser via
> http://user:pass@ but this isn't allowed in IE, and isn't ideal or secure
> anyway.
> 
> Is there a way to pass the contact variable thru to the browser ie
> http://www.domain.com/nagios/cgi-bin/status.cgi?host=server1.clientsdomain.c
> om.au
> <http://www.domain.com/nagios/cgi-bin/status.cgi?host=server1.clientsdomain.
> com.au&style=detail&contact=xyz> &style=detail&contact=xyz so that while the
> user isn't given a popup login box they are still restricted to only seeing
> data relating to their server or servers


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From geraldonetto at gmail.com  Thu Oct  7 17:12:49 2010
From: geraldonetto at gmail.com (Geraldo Netto)
Date: Thu, 7 Oct 2010 12:12:49 -0300
Subject: wireshark capturing nagios packets?
In-Reply-To: <AANLkTinGfXFnKKY1saC2bWgzwKfwjFH=JbK=sDbNxu5o@mail.gmail.com>
References: <AANLkTikzU1-Ct_aTf_8TD34AQewP3wYbZWN9bD2+-J_X@mail.gmail.com>
	<AANLkTinGfXFnKKY1saC2bWgzwKfwjFH=JbK=sDbNxu5o@mail.gmail.com>
Message-ID: <AANLkTim2Yj==6tYp=5P3s0WCGnWwhp-oHgo6U2soqzKi@mail.gmail.com>

Hi Tathashe/All,

oh, thanks for your insights Tathashe!

kind regards and best wishes,

Geraldo
Non dvcor, dvco => Sapere Aude
S?o Paulo, Brasil, -3gmt
site: http://exdev.sf.net/

On 6 October 2010 16:46, tathashe <meshkruaj at gmail.com> wrote:
> nagios is not a protocol per se . its uses already well known protocols .
> it depends on what type of check you want to capture packets
> if the check is performed using snmp that filter snmp packets on wireshark
> if check uses nrpe , nsca then filter the IP and the port respectively
>
> regards .
>
>
>
> On 6 October 2010 21:08, Geraldo Netto <geraldonetto at gmail.com> wrote:
>>
>> hi!
>>
>> i'm Geraldo, an undergrad student from s?o paulo, brazil
>> and i'd like to know if any of you have some experience using
>> wireshark to capture nagios packets
>> once i couldn't see any reference(supported protocols) to nagios
>> protocol...
>> btw, where can i find more information on nagios protocol?
>> and sorry for crossposting wireshark and nagios lists...
>>
>> kind regards and best wishes,
>>
>> Geraldo
>> Non dvcor, dvco => Sapere Aude
>> S?o Paulo, Brasil, -3gmt
>> site: http://exdev.sf.net/
>>
>>
>> ------------------------------------------------------------------------------
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1, ?ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and ?rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today.
>> http://p.sf.net/sfu/beautyoftheweb
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ?ECMAScript5, and DOM L2 & L3.
> Spend less time writing and ?rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From Hasan.Ceylan at dowjones.com  Thu Oct  7 19:04:27 2010
From: Hasan.Ceylan at dowjones.com (Ceylan, Hasan)
Date: Thu, 7 Oct 2010 13:04:27 -0400
Subject: installing and configuring nagios
Message-ID: <7E83B330B8C69546ACC670C1AE3C06CA722E025ED8@SBKMXSMB06.win.dowjones.net>

Hello:

I am very new to Nagios, I would like to know what exactly it does.  What version is better, and where is the installation guide. Can somebody direct me to the right location and documentation?

Best Regards,

Hasan Ceylan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101007/08587586/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From jpratt at norwich.edu  Thu Oct  7 19:22:13 2010
From: jpratt at norwich.edu (James Pratt)
Date: Thu, 7 Oct 2010 13:22:13 -0400
Subject: installing and configuring nagios
Message-ID: <24B6509E4191AF44B60A24EAA3B4AD49A20BD2@nuexchg.norwich.edu>

From: Ceylan, Hasan [mailto:Hasan.Ceylan at dowjones.com] 
Sent: Thursday, October 07, 2010 1:04 PM
To: 'nagios-users at lists.sourceforge.net'
Subject: Re: [Nagios-users] installing and configuring nagios

Hello:
?
I am very new to Nagios, I would like to know what exactly it does.? What version is better, and where is the installation guide. Can somebody direct me to the right location and documentation?
?
Best Regards,
?
Hasan Ceylan


----

http://www.nagios.org   should have all that and then some... 

- Basically, it's incredibly awesome software to monitor other systems, devices, your server room's temperature, etc, etc... (or,,, perhaps....  the color of your face as you try to set it up & configure it without having first RTFM'ed!! ... :)

cheers!
James



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jim at jimavery.me.uk  Thu Oct  7 20:35:34 2010
From: jim at jimavery.me.uk (Jim Avery)
Date: Thu, 7 Oct 2010 19:35:34 +0100
Subject: installing and configuring nagios
In-Reply-To: <7E83B330B8C69546ACC670C1AE3C06CA722E025ED8@SBKMXSMB06.win.dowjones.net>
References: <7E83B330B8C69546ACC670C1AE3C06CA722E025ED8@SBKMXSMB06.win.dowjones.net>
Message-ID: <AANLkTi=X7QQHVBtOn+fXPOg=HbzDCqLgL=XgroS1rN2R@mail.gmail.com>

On 7 October 2010 18:04, Ceylan, Hasan <Hasan.Ceylan at dowjones.com> wrote:
> Hello:
>
>
>
> I am very new to Nagios, I would like to know what exactly it does.? What
> version is better, and where is the installation guide. Can somebody direct
> me to the right location and documentation?

Hi, and welcome.

Probably the best place to start is:

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

I won't even try to tell you which version is better.  Personally I
use Nagios Core with PNP4Nagios for graphing, NagVis for dashboards
and a few other neat add-ons.

If you find it hard going understanding Nagios, I recommend the book
"Nagios" by Wolfgang Barth published by No Starch Press.  ... and of
course ask in here if you get stuck.

hth,

Jim

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From iberkner at gmail.com  Thu Oct  7 23:41:13 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Thu, 7 Oct 2010 17:41:13 -0400
Subject: check_ping service question
Message-ID: <AANLkTik9i361aSiA2mGNKVB=CqYVs1tBum2i0sxRLDnE@mail.gmail.com>

newbie question...

I have a service defined in my services.cfg file that looks like this:

define service {
use generic-service
host_name myserver
service_description PING
check_command check_ping!100.0,20%!500.0,60%
}

in my hosts file have "myserver" defined with an address tag:
www.myserver.com

when the check_ping command runs, does it check the ping status against
www.myserver.com even though I'm not specifically specifying the host in the
check_ping command?

thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101007/68ec2631/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From td3201 at gmail.com  Fri Oct  8 02:13:24 2010
From: td3201 at gmail.com (Terry)
Date: Thu, 7 Oct 2010 19:13:24 -0500
Subject: check_ping service question
In-Reply-To: <AANLkTik9i361aSiA2mGNKVB=CqYVs1tBum2i0sxRLDnE@mail.gmail.com>
References: <AANLkTik9i361aSiA2mGNKVB=CqYVs1tBum2i0sxRLDnE@mail.gmail.com>
Message-ID: <AANLkTiks6LWRc+XZQ5_3f=PnuaWcxR1Y0axXgaZPJ1n1@mail.gmail.com>

On Thu, Oct 7, 2010 at 4:41 PM, Ilan Berkner <iberkner at gmail.com> wrote:
> newbie question...
> I have a service defined in my services.cfg file that looks like this:
> define service {
> use generic-service
> host_name myserver
> service_description PING
> check_command check_ping!100.0,20%!500.0,60%
> }
> in my hosts file have "myserver" defined with an address tag:
> www.myserver.com
> when the check_ping command runs, does it check the ping status against
> www.myserver.com even though I'm not specifically specifying the host in the
> check_ping command?
> thanks
> ------------------------------------------------------------------------------

Yes, it will.  Check the check_ping command and you will see
%HOSTADDRESS% as the argument to it.  I thought you had to explicitly
enable DNS lookups in the main nagios configuration section though.
May want to check on that.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From GJFRATER at bechtel.com  Fri Oct  8 17:14:45 2010
From: GJFRATER at bechtel.com (Frater, Greg J)
Date: Fri, 8 Oct 2010 08:14:45 -0700
Subject: trying to fix problem with excessive latency
In-Reply-To: <4BF44D83.6050704@fatooh.org>
References: <4BF33F14.9070605@fatooh.org>
	<4BF34149.3060006@iweb.com><4BF4325D.108@fatooh.org>
	<4BF44D83.6050704@fatooh.org>
Message-ID: <872CB0AEB377C240A112DD7C10B2592909A0CA03@wtps0171.amers.ibechtel.com>

Hi All, 

This is just a me too post to hopefully help others down the road! 

>>>> I have inherited maintenance of a medium-sized Nagios installation.

>>>> We currently have 649 hosts and 5415 services. Our setup works 
>>>> nicely, with one exception: Nagios falls behind on host/service 
>>>> checks. Our usual latency once Nagios has been running for a while 
>>>> is about 190-200 seconds. Our Nagios host is reasonably powerful
and 
>>>> isn't struggling; it seems that Nagios itself is limited somehow.

We are similar in size 530 hosts, 3300 service checks with a service
check latency of around 300 seconds and 350 for hosts.  There are no
obvious performance bottlenecks on our sever the closest thing to it for
us was the CPU's ave of around 30% utilization across 4 procs with 4 GB
of RAM.  Our current configuration did not have any latency issues
running Nagios 3.1.2, our latency issues started a couple of weeks ago
with an upgrade to 3.2.2. 

>It looks like use_large_installation_tweaks did the trick. I could have
sworn I tried that before; likely I set it to 0 instead of 1 or
something foolish like that.

We've avoided this in an effort to keep our configuration as plain as
possible and because I remember reading that this was not expected to be
effective unless you had something like 1000+ hosts and many more
service checks.  Apparently that is not correct, at least under 3.2.2.

>Anyway, I wanted to test the individual components of
large_installation_tweaks to see what helped.
>* child_processes_fork_twice=0: latency drops from 149 to 18

This change took our latency from ~300s to .228 for services and ~350
seconds to .458 for hosts

>* free_child_process_memory=0:  latency drops from 149 to 0.6

I made this change with the 'child_processes_fork_twice=0' change still
in place and saw no measurable drop in latencies.

>* disabling summary macros in environment variables doesn't seem to be
>  individually configurable, but I expect that's disabled already by
>  enable_environment_macros=0.

Did not do this, was not deemed necessary

>So, thanks again to everybody who helped. Latency is now 0.35% of what
it used to be.
>
>-Corey

Ditto, this was a big help to us as well, thanks.

-greg

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From patrick.morris at hp.com  Fri Oct  8 22:10:04 2010
From: patrick.morris at hp.com (Morris, Patrick)
Date: Fri, 08 Oct 2010 13:10:04 -0700
Subject: check_ping service question
In-Reply-To: <AANLkTik9i361aSiA2mGNKVB=CqYVs1tBum2i0sxRLDnE@mail.gmail.com>
References: <AANLkTik9i361aSiA2mGNKVB=CqYVs1tBum2i0sxRLDnE@mail.gmail.com>
Message-ID: <4CAF7A9C.6060407@hp.com>

  On 10/7/2010 2:41 PM, Ilan Berkner wrote:
> newbie question...
>
> I have a service defined in my services.cfg file that looks like this:
>
> define service {
> use generic-service
> host_name myserver
> service_description PING
> check_command check_ping!100.0,20%!500.0,60%
> }
>
> in my hosts file have "myserver" defined with an address tag: 
> www.myserver.com <http://www.myserver.com>
>
> when the check_ping command runs, does it check the ping status 
> against www.myserver.com <http://www.myserver.com> even though I'm not 
> specifically specifying the host in the check_ping command?
>

The "check_ping" command in your service definition is *not* a reference 
to the "check_ping" plugin, it's a reference to the "check_ping" check 
command defined somewhere else in your config.  Normally that command 
will call a plugin (in this case, most likely check_ping) with some set 
of arguments, which in most cases include the address of the host on 
which the service was defined.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101008/fea207d5/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From iberkner at gmail.com  Sat Oct  9 00:16:56 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Fri, 8 Oct 2010 18:16:56 -0400
Subject: check_ping service question
In-Reply-To: <4CAF7A9C.6060407@hp.com>
References: <AANLkTik9i361aSiA2mGNKVB=CqYVs1tBum2i0sxRLDnE@mail.gmail.com>
	<4CAF7A9C.6060407@hp.com>
Message-ID: <AANLkTimcQdGzaP4nAJNkBF-irXhf+=a9DTUDNEwW6PWb@mail.gmail.com>

got it, thanks

On Fri, Oct 8, 2010 at 4:10 PM, Morris, Patrick <patrick.morris at hp.com>wrote:

>  On 10/7/2010 2:41 PM, Ilan Berkner wrote:
>
> newbie question...
>
>  I have a service defined in my services.cfg file that looks like this:
>
>  define service {
> use generic-service
> host_name myserver
> service_description PING
> check_command check_ping!100.0,20%!500.0,60%
> }
>
>  in my hosts file have "myserver" defined with an address tag:
> www.myserver.com
>
>  when the check_ping command runs, does it check the ping status against
> www.myserver.com even though I'm not specifically specifying the host in
> the check_ping command?
>
>
> The "check_ping" command in your service definition is *not* a reference to
> the "check_ping" plugin, it's a reference to the "check_ping" check command
> defined somewhere else in your config.  Normally that command will call a
> plugin (in this case, most likely check_ping) with some set of arguments,
> which in most cases include the address of the host on which the service was
> defined.
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101008/5cb7a55d/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From Eliot.Picken at wenaas.co.uk  Sat Oct  9 00:34:57 2010
From: Eliot.Picken at wenaas.co.uk (Eliot.Picken at wenaas.co.uk)
Date: Fri, 8 Oct 2010 23:34:57 +0100
Subject: AUTO: Eliot Picken is out of the office (returning
	12/10/2010)
Message-ID: <OF85A1885A.B7170DDB-ON802577B6.007C0CFE-802577B6.007C0CFE@kwintet.com>


I am out of the office until 12/10/2010.

I am currently out of the office, and I will respond to your email upon my
return. Your email has not been forwarded.

For all enquiries, please contact Alex Lawrie on +44 (0) 1224 894 000





Note: This is an automated response to your message  "Re: [Nagios-users]
check_ping service question" sent on 10/8/2010 11:16:56 PM.

This is the only notification you will receive while this person is away.


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From himanshuarora7 at gmail.com  Sun Oct 10 16:20:21 2010
From: himanshuarora7 at gmail.com (Himanshu Arora)
Date: Sun, 10 Oct 2010 19:50:21 +0530
Subject: Installing Nagios XI
Message-ID: <AANLkTi=Zk2uXX+xvLoOUomDzOCR_D8JZt1VawY1tY=BT@mail.gmail.com>

Can someone please help me installing Nagios XI. Trying to install the trial
version on my test enviroment.

If someone can send me the download link and proper steps to install and
configure the XI version would be really helpful to me.



Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101010/e357eb2a/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From mark.elsen at gmail.com  Sun Oct 10 16:39:03 2010
From: mark.elsen at gmail.com (Mark Elsen)
Date: Sun, 10 Oct 2010 16:39:03 +0200
Subject: Installing Nagios XI
In-Reply-To: <AANLkTi=Zk2uXX+xvLoOUomDzOCR_D8JZt1VawY1tY=BT@mail.gmail.com>
References: <AANLkTi=Zk2uXX+xvLoOUomDzOCR_D8JZt1VawY1tY=BT@mail.gmail.com>
Message-ID: <AANLkTik0E13+-n-9ii-KMEDWQg24CwuFGLyew2qxsvDK@mail.gmail.com>

> Can someone please help me installing Nagios XI. Trying to install the trial
> version on my test enviroment.
> If someone can send me the download link and proper steps to install and
> configure the XI version would be really helpful to me.
>

 - What about following the needed info and download-links on :

                 www.nagios.com

M.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From michael.friedrich at univie.ac.at  Sun Oct 10 17:12:02 2010
From: michael.friedrich at univie.ac.at (Michael Friedrich)
Date: Sun, 10 Oct 2010 17:12:02 +0200
Subject: Installing Nagios XI
In-Reply-To: <AANLkTi=Zk2uXX+xvLoOUomDzOCR_D8JZt1VawY1tY=BT@mail.gmail.com>
References: <AANLkTi=Zk2uXX+xvLoOUomDzOCR_D8JZt1VawY1tY=BT@mail.gmail.com>
Message-ID: <4CB1D7C2.9010207@univie.ac.at>

On 2010-10-10 16:20, Himanshu Arora wrote:
> Can someone please help me installing Nagios XI. Trying to install the 
> trial version on my test enviroment.
>
> If someone can send me the download link and proper steps to install 
> and configure the XI version would be really helpful to me.

go ask nagios enterprises support.

support.nagios.com

>
>
>
> Thanks,
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2&  L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101010/5d7a5c67/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From tyarusso at nagios.com  Sun Oct 10 22:00:16 2010
From: tyarusso at nagios.com (Tony Yarusso)
Date: Sun, 10 Oct 2010 15:00:16 -0500
Subject: Installing Nagios XI
In-Reply-To: <AANLkTi=Zk2uXX+xvLoOUomDzOCR_D8JZt1VawY1tY=BT@mail.gmail.com>
References: <AANLkTi=Zk2uXX+xvLoOUomDzOCR_D8JZt1VawY1tY=BT@mail.gmail.com>
Message-ID: <1286740816.15182.2.camel@timmins>

On Sun, 2010-10-10 at 19:50 +0530, Himanshu Arora wrote:
> Can someone please help me installing Nagios XI. Trying to install the
> trial version on my test enviroment.
> 
> 
> If someone can send me the download link and proper steps to install
> and configure the XI version would be really helpful to me.

The easiest way is to use the pre-prepared VMware image available on
http://library.nagios.com/library/products/nagiosxi/download .  If you
need to do a manual installation, you can use the instructions available
on
http://library.nagios.com/library/products/nagiosxi/documentation/252-manual-installation-instructions-for-nagios-xi .

For follow-up, you can post on the XI General Support forum at
http://support.nagios.com/forum/viewforum.php?f=6 .

-- 
Tony Yarusso
Technical Team
___
Nagios Enterprises, LLC
Email:  tyarusso at nagios.com
Web:    www.nagios.com


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From michal.lackovic at cz.schneider-electric.com  Mon Oct 11 10:48:31 2010
From: michal.lackovic at cz.schneider-electric.com (michal.lackovic at cz.schneider-electric.com)
Date: Mon, 11 Oct 2010 10:48:31 +0200
Subject: escalation question
Message-ID: <OFDBD19328.58223466-ONC12577B9.00300843-C12577B9.00306381@schneider-electric.com>

Hi All,

Is there any way how to create service escalation in the following way:

hostgroup_name          Group1,Group2
service_description             *
contact_group                   Managers

Basically I would need to escalate all service problems on the hosts which 
are members of Group1 and Group2 to the managers.

thanks in advance
Michal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101011/8807a13d/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From subs at arahmantech.com  Mon Oct 11 14:51:56 2010
From: subs at arahmantech.com (Athiqur Rahman)
Date: Mon, 11 Oct 2010 13:51:56 +0100
Subject: check_asterisk plugin returning null SOLVED
In-Reply-To: <334517.5914.qm@web30806.mail.mud.yahoo.com>
References: <4CAC51D4.6030906@arahmantech.com>
	<334517.5914.qm@web30806.mail.mud.yahoo.com>
Message-ID: <4CB3086C.2090801@arahmantech.com>

OK I have solved the issue. The plugin works only if you execute it 
within its own directory. If the PWD is not the same as the PWD of the 
executable plugin, then it does not work, even if you specify the full 
path to the executable.

I changed the line
use lib "/usr/lib/nagios/plugins";

to
use lib "/usr/local/nagios/libexec";

That fixed the problem, no longer getting null value


olourkin-nagios at yahoo.com wrote:
> Bit of a shot in the dark here, but I notice that in your examples from the 
> command line, you use -U, -w and -c.  But the Nagios service you define also 
> adds in a -P option (port, I'm guessing).  If you haven't already tried manually 
> running from the command line with the -P option, it would be worth a shot.
>
> Cheers
> Erik
>
>
> ----- Original Message ----
> From: Athiqur Rahman <subs at arahmantech.com>
> To: Nagios Users Mailinglist <nagios-users at lists.sourceforge.net>
> Sent: Wed, October 6, 2010 3:39:16 AM
> Subject: [Nagios-users] check_asterisk plugin returning null
>
> I am using the check_asterisk pluing that is found here 
> http://www.voip-info.org/wiki/index.php?page_id=1864
>
> When executing this script from bash it works like a charm
>
> [root at watcher2 libexec]# ./check_asterisk -U sip:1111 at 192.168.53.10 -w 10 -c 50
>
> SIP OK - Test Duration: 2.19 ms
>
>
> I created the command
>
> define command {
>
>     command_name                   check_asterisk
>
>     command_line                   $USER1$/check_asterisk -U $ARG1$ -P $ARG2$ -w 
> 100 -c 500
>
>     }
>
>
> and then i created the service
>
> define service{
>
>         use                             generic-service
>
>         host_name                       TVoIP1
>
>         service_description             check_sip_asterisk
>
>         display_name                    check for SIP on astersk
>
>         check_command                   
> check_asterisk!sip:1111 at 192.168.53.10!5060
>
>         }
>
>
> This gives me critical alert on nagios with a status information of 'null'
>
> I tried executing the check_asterisk from bash as user nagios and got 
> the following
>
> [nagios at watcher2 libexec]$ ./check_asterisk -U sip:1111 at 192.168.53.10 -w 10 -c 
> 20
>
> warning: need raw socket (root privileges) to receive all ICMP errors
>
> SIP OK - Test Duration: 0.53 ms
>
>
> The check_asteisk plugin uses sipsak, could this have anything to do 
> with this? Any comments appreciated.
>
> Thanks,
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>   


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From td3201 at gmail.com  Mon Oct 11 15:31:27 2010
From: td3201 at gmail.com (Terry)
Date: Mon, 11 Oct 2010 08:31:27 -0500
Subject: escalation question
In-Reply-To: <OFDBD19328.58223466-ONC12577B9.00300843-C12577B9.00306381@schneider-electric.com>
References: <OFDBD19328.58223466-ONC12577B9.00300843-C12577B9.00306381@schneider-electric.com>
Message-ID: <AANLkTim=dq56p=Vft0T_5==ivfW4tjXbCDPXN_i6iDRZ@mail.gmail.com>

On Mon, Oct 11, 2010 at 3:48 AM,
<michal.lackovic at cz.schneider-electric.com> wrote:
> Hi All,
>
> Is there any way how to create service escalation in the following way:
>
> hostgroup_name ? ? ? ? ? ? ? ?Group1,Group2
> service_description ? ? ? ? ? ? ? ?*
> contact_group ? ? ? ? ? ? ? ? ? ? ? ?Managers
>
> Basically I would need to escalate all service problems on the hosts which
> are members of Group1 and Group2 to the managers.
>
> thanks in advance
> Michal
>
> ------------------------------------------------------------------------------

Yes, you're exactly right.  We took it a step further and put all
hosts in a single group then globbed it as you did above:

define serviceescalation{
        hostgroup_name          allhosts
        service_description     .*
        contacts                foo,foo2
        first_notification      1
        last_notification       1
        notification_interval   1
        escalation_options      w,u,c
        }
define hostgroup {
        hostgroup_name  allhosts
        alias           allhosts
        members         .*
        }
use_regexp_matching=1

I think that's all you need to enable globbing.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From will.pink at gmail.com  Mon Oct 11 16:22:18 2010
From: will.pink at gmail.com (william pink)
Date: Mon, 11 Oct 2010 15:22:18 +0100
Subject: Availability report
In-Reply-To: <AANLkTinf24+k1OCC2mPJsSBpq7KYhZUTkc9SE9BSzqMo@mail.gmail.com>
References: <AANLkTinf24+k1OCC2mPJsSBpq7KYhZUTkc9SE9BSzqMo@mail.gmail.com>
Message-ID: <AANLkTinNbeNuRVi9wzPSD9uqpNco4jGDHt6fo9a5fd=y@mail.gmail.com>

Hi,

I am running availability reports on two different services but with the
same command and they are throwing up different reports

The command is

check_http -H $HOSTADDRESS$ -w 1 -c 10 -t 30

check_http -H www.foo.com -w 1 -c 10 -t 30

Both are using the same website so I am stumped in how they could be
different (one report says it was down for 15 hours 24 minutes! whereas the
other says it was down for 24 minutes)

Any help appreciated

Thanks,
Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101011/53ccee84/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From td3201 at gmail.com  Mon Oct 11 16:42:00 2010
From: td3201 at gmail.com (Terry)
Date: Mon, 11 Oct 2010 09:42:00 -0500
Subject: Availability report
In-Reply-To: <AANLkTinNbeNuRVi9wzPSD9uqpNco4jGDHt6fo9a5fd=y@mail.gmail.com>
References: <AANLkTinf24+k1OCC2mPJsSBpq7KYhZUTkc9SE9BSzqMo@mail.gmail.com>
	<AANLkTinNbeNuRVi9wzPSD9uqpNco4jGDHt6fo9a5fd=y@mail.gmail.com>
Message-ID: <AANLkTim+8nY+5=tW1JA39w0ktSjJN=2FB6wrqYsrD0XT@mail.gmail.com>

On Mon, Oct 11, 2010 at 9:22 AM, william pink <will.pink at gmail.com> wrote:
> Hi,
>
> I am running availability reports on two different services but with the
> same command and they are throwing up different reports
>
> The command is
>
> check_http -H $HOSTADDRESS$ -w 1 -c 10 -t 30
>
> check_http -H www.foo.com -w 1 -c 10 -t 30
>
> Both are using the same website so I am stumped in how they could be
> different (one report says it was down for 15 hours 24 minutes! whereas the
> other says it was down for 24 minutes)
>
> Any help appreciated
>
> Thanks,
> Will
> ------------------------------------------------------------------------------

Without further information, sounds like the assume initial state may
be different for the two reports?

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From rewt at dvdmenus.net  Mon Oct 11 17:29:07 2010
From: rewt at dvdmenus.net (John Antram)
Date: Mon, 11 Oct 2010 11:29:07 -0400
Subject: Nagios alert via Twitter - authorization issue
Message-ID: <4CB32D43.9010708@dvdmenus.net>

  Hello everyone! Before I attempt to re-invent the wheel with getting 
curl:// command lines to authenticate to the new twitter API, has anyone 
solved it?

I'm in the middle of moving part of our network to our new building and 
just noticed I don't have any tweet-ed alerts since they put the 
security on the API.

My command looks like this in command.cfg:

define command {
         command_name    host-notify-by-twitter
         command_line    /usr/bin/curl --basic --user "<user:password>" 
--data-ascii "status=[Nagios] $HOSTSTATE$ alert for $HOSTNAME$ at 
$SHORTDATETIME$" http://twitter.com/statuses/update.json >> /dev/null
}

Thanks everyone!

John Antram
rewt at dvdmenus.net
Subatomic Digital
Essex/Williston Vermont
www.dvdmenus.net


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jim at jimavery.me.uk  Mon Oct 11 18:01:26 2010
From: jim at jimavery.me.uk (Jim Avery)
Date: Mon, 11 Oct 2010 17:01:26 +0100
Subject: Availability report
In-Reply-To: <AANLkTinNbeNuRVi9wzPSD9uqpNco4jGDHt6fo9a5fd=y@mail.gmail.com>
References: <AANLkTinf24+k1OCC2mPJsSBpq7KYhZUTkc9SE9BSzqMo@mail.gmail.com>
	<AANLkTinNbeNuRVi9wzPSD9uqpNco4jGDHt6fo9a5fd=y@mail.gmail.com>
Message-ID: <AANLkTimYYrtj6Ubuo3wO6nNiVYGM3PvwnDo8Zmh46cuG@mail.gmail.com>

On 11 October 2010 15:22, william pink <will.pink at gmail.com> wrote:
> Hi,
>
> I am running availability reports on two different services but with the
> same command and they are throwing up different reports
>
> The command is
>
> check_http -H $HOSTADDRESS$ -w 1 -c 10 -t 30
>
> check_http -H www.foo.com -w 1 -c 10 -t 30
>
> Both are using the same website so I am stumped in how they could be
> different (one report says it was down for 15 hours 24 minutes! whereas the
> other says it was down for 24 minutes)
>
> Any help appreciated
>
> Thanks,
> Will

Something wrong with name resolution?

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From will.pink at gmail.com  Mon Oct 11 18:07:29 2010
From: will.pink at gmail.com (william pink)
Date: Mon, 11 Oct 2010 17:07:29 +0100
Subject: Availability report
In-Reply-To: <AANLkTimYYrtj6Ubuo3wO6nNiVYGM3PvwnDo8Zmh46cuG@mail.gmail.com>
References: <AANLkTinf24+k1OCC2mPJsSBpq7KYhZUTkc9SE9BSzqMo@mail.gmail.com>
	<AANLkTinNbeNuRVi9wzPSD9uqpNco4jGDHt6fo9a5fd=y@mail.gmail.com>
	<AANLkTimYYrtj6Ubuo3wO6nNiVYGM3PvwnDo8Zmh46cuG@mail.gmail.com>
Message-ID: <AANLkTim9WaHYgxgV35hM=TUOMtLsjqsSpYun5hqYQT7E@mail.gmail.com>

On Mon, Oct 11, 2010 at 5:01 PM, Jim Avery <jim at jimavery.me.uk> wrote:

> On 11 October 2010 15:22, william pink <will.pink at gmail.com> wrote:
> > Hi,
> >
> > I am running availability reports on two different services but with the
> > same command and they are throwing up different reports
> >
> > The command is
> >
> > check_http -H $HOSTADDRESS$ -w 1 -c 10 -t 30
> >
> > check_http -H www.foo.com -w 1 -c 10 -t 30
> >
> > Both are using the same website so I am stumped in how they could be
> > different (one report says it was down for 15 hours 24 minutes! whereas
> the
> > other says it was down for 24 minutes)
> >
> > Any help appreciated
> >
> > Thanks,
> > Will
>
> Something wrong with name resolution?
>

Sorry I sent this message a long time ago but it got rejected by the mailing
list as I wasn't a member, I can't seem to reproduce the error so I can only
presume it was due to assume initial state was different.

Many thanks for your input!

WIll
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101011/d6caca3e/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From trm.nagios at gmail.com  Mon Oct 11 18:11:43 2010
From: trm.nagios at gmail.com (trm asn)
Date: Mon, 11 Oct 2010 21:41:43 +0530
Subject: How to monitor Windows Network Mapped Drive
In-Reply-To: <AANLkTinfBc0S7UqQs1sga60KzthEYcP-VuxDav7EwAgF@mail.gmail.com>
References: <AANLkTi=UHucdxOnEqh_xyB3j7oS2fe2O9Ms7bfkuEJwW@mail.gmail.com>
	<AANLkTinfBc0S7UqQs1sga60KzthEYcP-VuxDav7EwAgF@mail.gmail.com>
Message-ID: <AANLkTikY11kEe1uhm2k=3mmWZgjVsarSFBhJubr+AjBc@mail.gmail.com>

On 29 September 2010 01:53, Jim Avery <jim at jimavery.me.uk> wrote:

>  On 28 September 2010 18:18, trm asn <trm.nagios at gmail.com> wrote:
> > Dear List,
> >
> > I have a windows 2003 server , where I have mapped 5 network drives using
> a
> > differs user(not as administrator) into that server . Now I wanted to
> > monitor those drives( P,Q,R.......).  But I am getting  Status=UNKNOWN &
> > Status Information=Free disk space : Invalid drive . But for C & D drive
> > it's working perfectly .
> >
> > Is there any other way to monitor Mapped drive in windows using Nagios &
> > Nsclient++
>
> There are at least two ways to monitor drives using NSClient++ .  One
> uses the check_nt plugin and the other uses check_nrpe.  I expect
> you're using the former but might benefit from using the latter.
>
> See:
> http://nsclient.org/nscp/wiki/CheckDriveSize
>
> hth,
>
> Jim
>
Hi,

I have installed NRPE_NT , & it's responding properly. But I wanted to
supply *Win32_MappedLogicalDisk *WMI with nagios. I got the script from MSDN
. But how can i implement with nagios. means what will be the VBscript that
will accept ARG and respond on basis of that.

like : ./check_nrpe -H x.x.x.x -c get_map_disk  -a 127.0.0.1 P:,Q:
80,90:70,60


/\
dE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101011/f610b9c7/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From zarrelli at linux.it  Mon Oct 11 17:44:49 2010
From: zarrelli at linux.it (Giorgio Zarrelli)
Date: Mon, 11 Oct 2010 17:44:49 +0200
Subject: Availability report
In-Reply-To: <AANLkTinNbeNuRVi9wzPSD9uqpNco4jGDHt6fo9a5fd=y@mail.gmail.com>
References: <AANLkTinf24+k1OCC2mPJsSBpq7KYhZUTkc9SE9BSzqMo@mail.gmail.com>
	<AANLkTinNbeNuRVi9wzPSD9uqpNco4jGDHt6fo9a5fd=y@mail.gmail.com>
Message-ID: <DCE4E932-1ECE-443C-83DF-6DB5409FB591@linux.it>

If they use different ip addresses it could be a network outage or one of virtual sites being throwed down but not the web server.

Ciao,

Giorgio

Il giorno 11/ott/2010, alle ore 16:22, william pink <will.pink at gmail.com> ha scritto:

> Hi,
> 
> I am running availability reports on two different services but with the same command and they are throwing up different reports 
> 
> The command is
> 
> check_http -H $HOSTADDRESS$ -w 1 -c 10 -t 30
> 
> check_http -H www.foo.com -w 1 -c 10 -t 30
> 
> Both are using the same website so I am stumped in how they could be different (one report says it was down for 15 hours 24 minutes! whereas the other says it was down for 24 minutes)
> 
> Any help appreciated
> 
> Thanks,
> Will
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101011/a4aea15a/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From prandal at herefordshire.gov.uk  Mon Oct 11 17:56:36 2010
From: prandal at herefordshire.gov.uk (Randal, Phil)
Date: Mon, 11 Oct 2010 16:56:36 +0100
Subject: Nagios alert via Twitter - authorization issue
In-Reply-To: <4CB32D43.9010708@dvdmenus.net>
References: <4CB32D43.9010708@dvdmenus.net>
Message-ID: <76415AED4CCF214F80FD9B0DA9A9EE450185E553@HC-MBX01.herefordshire.gov.uk>

I haven't tested this myself yet, but take a look at this solution which uses OAuth authentication:

http://0wned.it/2010/10/07/tweeting-alerts-from-nagios/

Cheers,

Phil

-- 
Phil Randal | Infrastructure Engineer 
NHS Herefordshire & Herefordshire Council? | Deputy Chief Executive's Office | I.C.T. Services Division 
Thorn Office Centre, Rotherwas, Hereford, HR2 6JT 
Tel: 01432 260160


-----Original Message-----
From: John Antram [mailto:rewt at dvdmenus.net] 
Sent: 11 October 2010 16:29
To: Nagios Users List
Subject: [Nagios-users] Nagios alert via Twitter - authorization issue


  Hello everyone! Before I attempt to re-invent the wheel with getting curl:// command lines to authenticate to the new twitter API, has anyone solved it?

I'm in the middle of moving part of our network to our new building and just noticed I don't have any tweet-ed alerts since they put the security on the API.

My command looks like this in command.cfg:

define command {
         command_name    host-notify-by-twitter
         command_line    /usr/bin/curl --basic --user "<user:password>" 
--data-ascii "status=[Nagios] $HOSTSTATE$ alert for $HOSTNAME$ at $SHORTDATETIME$" http://twitter.com/statuses/update.json >> /dev/null }

Thanks everyone!

John Antram
rewt at dvdmenus.net
Subatomic Digital
Essex/Williston Vermont
www.dvdmenus.net


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
Any opinion expressed in this e-mail or any attached files are those of the individual and not necessarily those of Herefordshire Council.
You should be aware that Herefordshire Council monitors its email service.
This e-mail and any attached files are confidential and intended solely for the use of the addressee. This communication may contain material protected by law from being passed on. If you are not the intended recipient and have received this e-mail in error, you are advised that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please contact the sender immediately and destroy all copies of it.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From will.pink at gmail.com  Mon Oct 11 18:37:46 2010
From: will.pink at gmail.com (william pink)
Date: Mon, 11 Oct 2010 17:37:46 +0100
Subject: Service dependency's
Message-ID: <AANLkTimUVA1YowQH3yDna6=BFsg2xiMv5__2KLZxZgtj@mail.gmail.com>

Hi,

I have a long list of sites which I monitor with check_http, the sites are
part of one application and usually if one site goes down they are all down.
What I want to do is configure servicedependency so I can minimise the
amount of notifications going out but obviously notify if individual sites
go down too.

This is what I have currently

define servicedependency{
        hostgroup_name                  win-sites
        service_description             HTTP Check
        dependent_hostgroup_name        win-sites
        dependent_service_description   HTTP2 Check
        notification_failure_criteria   c,u
        execution_failure_criteria      o,c,w,u,p
        }

HTTP check & HTTP2 check are doing the same thing.

What would be the best way to deal with this?

Thanks,
Will
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101011/c91292f3/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From rms at sibs.pt  Mon Oct 11 18:13:20 2010
From: rms at sibs.pt (Rui Miguel Silva Seabra)
Date: Mon, 11 Oct 2010 17:13:20 +0100
Subject: Nagios alert via Twitter - authorization issue
In-Reply-To: <4CB32D43.9010708@dvdmenus.net>
References: <4CB32D43.9010708@dvdmenus.net>
Message-ID: <1286813600.7556.4.camel@roque>

That will not work anymore because Twitter is run by idiots who think
Oauth is the be all end all of security. It isn't.

It is perhaps a good compromise if you don't want to give your user and
password to a foreign website in order to have it do things on your
behalf but for local applications it actually *reduces* security by
imposing a more complicated method than http basic auth via https (BTW,
you should use https with basic auth always, and not http as you have)
full weird workflows.

I suggest the following:
  1) create an account in https://identi.ca/ (a Free Software social
network)
  2) use your command with the following difference in the url:
     https://identi.ca/api/statuses/update.json
     (they have a compatible api).

Best regards,
Rui

Seg, 2010-10-11 ?s 11:29 -0400, John Antram escreveu:
> Hello everyone! Before I attempt to re-invent the wheel with getting 
> curl:// command lines to authenticate to the new twitter API, has anyone 
> solved it?
> 
> I'm in the middle of moving part of our network to our new building and 
> just noticed I don't have any tweet-ed alerts since they put the 
> security on the API.
> 
> My command looks like this in command.cfg:
> 
> define command {
>          command_name    host-notify-by-twitter
>          command_line    /usr/bin/curl --basic --user "<user:password>" 
> --data-ascii "status=[Nagios] $HOSTSTATE$ alert for $HOSTNAME$ at 
> $SHORTDATETIME$" http://twitter.com/statuses/update.json >> /dev/null
> }
> 
> Thanks everyone!
> 
> John Antram
> rewt at dvdmenus.net
> Subatomic Digital
> Essex/Williston Vermont
> www.dvdmenus.net
> 
> 
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From work at paul.dubuc.org  Mon Oct 11 23:02:02 2010
From: work at paul.dubuc.org (Paul M. Dubuc)
Date: Mon, 11 Oct 2010 17:02:02 -0400
Subject: escalation question
In-Reply-To: <AANLkTim=dq56p=Vft0T_5==ivfW4tjXbCDPXN_i6iDRZ@mail.gmail.com>
References: <OFDBD19328.58223466-ONC12577B9.00300843-C12577B9.00306381@schneider-electric.com>
	<AANLkTim=dq56p=Vft0T_5==ivfW4tjXbCDPXN_i6iDRZ@mail.gmail.com>
Message-ID: <4CB37B4A.6020701@paul.dubuc.org>

Terry wrote:
> On Mon, Oct 11, 2010 at 3:48 AM,
> <michal.lackovic at cz.schneider-electric.com>  wrote:
>> Hi All,
>>
>> Is there any way how to create service escalation in the following way:
>>
>> hostgroup_name                Group1,Group2
>> service_description                *
>> contact_group                        Managers
>>
>> Basically I would need to escalate all service problems on the hosts which
>> are members of Group1 and Group2 to the managers.
>>
>> thanks in advance
>> Michal
>>
>> ------------------------------------------------------------------------------
>
> Yes, you're exactly right.  We took it a step further and put all
> hosts in a single group then globbed it as you did above:
>
> define serviceescalation{
>          hostgroup_name          allhosts
>          service_description     .*
>          contacts                foo,foo2
>          first_notification      1
>          last_notification       1
>          notification_interval   1
>          escalation_options      w,u,c
>          }
> define hostgroup {
>          hostgroup_name  allhosts
>          alias           allhosts
>          members         .*
>          }
> use_regexp_matching=1
>
> I think that's all you need to enable globbing.

Thanks for this example.

I'm trying to do something similar with an allhosts hostgroup definition and 
it doesn't seem to work unless all hosts in the allhosts group also have 
services defined for them.  In this case I get an error like

Error: Could not find a service matching host name 'AXSP51' and description 
'.*' (config file 
'/vol/omni/nagios-3.2.1/config/test/objects/contacts/Contacts.cfg', starting 
on line 74)
Error: Could not expand services specified in service escalation (config file 
'/vol/omni/nagios-3.2.1/config/test/objects/contacts/Contacts.cfg', starting 
on line 74)

AXSP51 has no services defined for it, but I monitor it as a parent for hosts 
that do.  Do I need to maintain a host group to use instead of allhosts just 
for the hosts that have services defined for them, or is there a more 
convenient (i.e., less error prone) way around this?

Thanks,
Paul Dubuc


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From td3201 at gmail.com  Mon Oct 11 23:17:47 2010
From: td3201 at gmail.com (Terry)
Date: Mon, 11 Oct 2010 16:17:47 -0500
Subject: escalation question
In-Reply-To: <4CB37B4A.6020701@paul.dubuc.org>
References: <OFDBD19328.58223466-ONC12577B9.00300843-C12577B9.00306381@schneider-electric.com>
	<AANLkTim=dq56p=Vft0T_5==ivfW4tjXbCDPXN_i6iDRZ@mail.gmail.com>
	<4CB37B4A.6020701@paul.dubuc.org>
Message-ID: <AANLkTin+aeA8=bvGWYx3Zp3PC6AOzFfCkMiaE=gkMEBM@mail.gmail.com>

On Mon, Oct 11, 2010 at 4:02 PM, Paul M. Dubuc <work at paul.dubuc.org> wrote:
> Terry wrote:
>>
>> On Mon, Oct 11, 2010 at 3:48 AM,
>> <michal.lackovic at cz.schneider-electric.com> ?wrote:
>>>
>>> Hi All,
>>>
>>> Is there any way how to create service escalation in the following way:
>>>
>>> hostgroup_name ? ? ? ? ? ? ? ?Group1,Group2
>>> service_description ? ? ? ? ? ? ? ?*
>>> contact_group ? ? ? ? ? ? ? ? ? ? ? ?Managers
>>>
>>> Basically I would need to escalate all service problems on the hosts
>>> which
>>> are members of Group1 and Group2 to the managers.
>>>
>>> thanks in advance
>>> Michal
>>>
>>>
>>> ------------------------------------------------------------------------------
>>
>> Yes, you're exactly right. ?We took it a step further and put all
>> hosts in a single group then globbed it as you did above:
>>
>> define serviceescalation{
>> ? ? ? ? hostgroup_name ? ? ? ? ?allhosts
>> ? ? ? ? service_description ? ? .*
>> ? ? ? ? contacts ? ? ? ? ? ? ? ?foo,foo2
>> ? ? ? ? first_notification ? ? ?1
>> ? ? ? ? last_notification ? ? ? 1
>> ? ? ? ? notification_interval ? 1
>> ? ? ? ? escalation_options ? ? ?w,u,c
>> ? ? ? ? }
>> define hostgroup {
>> ? ? ? ? hostgroup_name ?allhosts
>> ? ? ? ? alias ? ? ? ? ? allhosts
>> ? ? ? ? members ? ? ? ? .*
>> ? ? ? ? }
>> use_regexp_matching=1
>>
>> I think that's all you need to enable globbing.
>
> Thanks for this example.
>
> I'm trying to do something similar with an allhosts hostgroup definition and
> it doesn't seem to work unless all hosts in the allhosts group also have
> services defined for them. ?In this case I get an error like
>
> Error: Could not find a service matching host name 'AXSP51' and description
> '.*' (config file
> '/vol/omni/nagios-3.2.1/config/test/objects/contacts/Contacts.cfg', starting
> on line 74)
> Error: Could not expand services specified in service escalation (config
> file '/vol/omni/nagios-3.2.1/config/test/objects/contacts/Contacts.cfg',
> starting on line 74)
>
> AXSP51 has no services defined for it, but I monitor it as a parent for
> hosts that do. ?Do I need to maintain a host group to use instead of
> allhosts just for the hosts that have services defined for them, or is there
> a more convenient (i.e., less error prone) way around this?
>
> Thanks,
> Paul Dubuc
>
>

I just created a passive check to get around this if I remember correctly:

define service{
        hostgroup_name                  allhosts
        service_description             trap
        servicegroups                   trap
        is_volatile                     1
        flap_detection_enabled          0
        active_checks_enabled           0
        passive_checks_enabled          1
        max_check_attempts              1
        check_period                    24x7
        check_command                   check_none
}

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jwiggins at salon.com  Tue Oct 12 04:15:06 2010
From: jwiggins at salon.com (Jonathan Wiggins)
Date: Mon, 11 Oct 2010 19:15:06 -0700
Subject: can't get host to display in Host Detail panel
In-Reply-To: <4CA33570.1090905@flatto.net>
References: <E630F997-24D9-459B-9AB4-BCF3A25E8D5A@salon.com>	<8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local>	<C72DED69-73E6-4298-ABB8-51DF9D533DB0@salon.com>	<8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local>	<1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com>	<4C99CA06.9040400@flatto.net>	<F39BA980-830D-4C21-A6B1-B131F4DA0CFD@salon.com>	<D7CE7F8A-A4BD-4199-B47A-57E07B5F2FD2@salon.com>	<4CA0C234.7050302@flatto.net>	<BCC989FF-285D-4BC5-92C7-7B9C30B504CB@salon.com>	<4CA1B3F7.2070606@flatto.net>
	<02B80625-B645-4C15-A3CC-9D2679F206C2@salon.com>
	<4CA33570.1090905@flatto.net>
Message-ID: <BE2B892C-6E5A-49B2-A62E-B832D83EC22F@salon.com>


On Sep 29, 2010, at 5:47 AM, Assaf Flatto wrote:

> 
>> Assaf - thanks for your time and patience outlining those steps:
>> 
> 
> That is what the list is about .
> 
>> I was able to at least get the connectivity between Nagios server and the monitored host to show a valid connection:
>> 
>> /usr/local/nagios/libexec/check_nrpe -H 10.0.100.139 -c check_users
>> USERS OK - 1 users currently logged in |users=1;5;10;0
>> 
>> there were a few things wrong on the monitoring server, or at least what I changed:
>> 
>> * changed ownership of nrpe.cfg to nagios.nagios
>> * modified xinetd.d/nrpe to show Nagios server IP as allowed connection
>> 
>> I struggled with a few other things, and connection attempts, before I realized I hadn't restarted the nrpe service after modifying the xinetd.d/nrpe file.
>> 
>> I did notice that the plugin location from another server is different than the one that is missing:
>> /usr/lib64/nagios/plugins vs /usr/local/nagios/libexec/  (guess this has something to do with the way it was compiled)
> 
> NRPE by default is placing the path as the lib64  in the nrpe.cfg sample file , while all other  packages use the local path - this is something that you get used to "ignore-modify " with time .
>> Guess I have to wait now a few mins before the host shows in the panel? as its not showing now even after 10 mins.  Restarting xinetd shows this in /var/log/messages:
>> 
>> xinetd[22518]: bind failed (Address already in use (errno = 98)). service = nrpe (is this a bug or anything in xinetd? I saw that referenced on a few other forums)
>> 
>> nrpe service is running and listening though on 5666
> I have always run nrpe as a stand alone daemon , never with xinetd , to have better control on what is running and how it is run .
> 
> From what i remember about xinetd , it has an internal "keep-alive" mechanism that waits till all connections are terminated before it releases a port (again , i may be wrong ) you  need to stop it and wait till the port is no longer shown as active , and then restart it .
> 
> Or move to a standalone daemon - that will allow you to control the nrpe separately from any other service and  better debug the issue.
> 
> 
> 



I had to take a break from this project, but now I'm circling back to it.

I am able to connect from the nagios server to the monitored node (this server has (2) IP's as it's eth0 has an IP alias bound to it, hence checking both IP's):

bash-3.1# /usr/local/nagios/libexec/check_nrpe -H 10.0.100.139
NRPE v2.12
bash-3.1# /usr/local/nagios/libexec/check_nrpe -H 10.0.100.138
NRPE v2.12

I can use another event handler:

bash-3.1# /usr/local/nagios/libexec/check_nrpe -H 10.0.100.139 -c check_users
USERS OK - 1 users currently logged in |users=1;5;10;0
bash-3.1# /usr/local/nagios/libexec/check_nrpe -H 10.0.100.138 -c check_users
USERS OK - 1 users currently logged in |users=1;5;10;0

I can also telnet from the Nagios server to the monitored host:

bash-3.1# telnet 10.0.100.139 5666
Trying 10.0.100.139...
Connected to 10.0.100.139 (10.0.100.139).

but... 

I am still getting an SSL failure on the handshake?

Oct 11 19:12:43 mywebserverB nrpe[17659]: Error: Could not complete SSL handshake

But back to xinetd; does seem that its not binding or starting with NRPE correctly (not sure if this is why its not connecting)

{missing server in host panel}:

Oct 11 18:28:37 mywebserverB xinetd[23960]: Exiting...
Oct 11 18:28:38 mywebserverB xinetd[24300]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Oct 11 18:28:38 mywebserverB xinetd[24300]: Started working: 0 available services



{server showing in host panel}:

Oct 11 18:32:34 mywebserverA xinetd[3579]: Exiting...
Oct 11 18:32:34 mywebserverA xinetd[28455]: xinetd Version 2.3.14 started with libwrap loadavg labeled-networking options compiled in.
Oct 11 18:32:34 mywebserverA xinetd[28455]: Started working: 1 available service


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101011/2d990744/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From diego.roccia at gmail.com  Tue Oct 12 09:28:16 2010
From: diego.roccia at gmail.com (diego.roccia at gmail.com)
Date: Tue, 12 Oct 2010 07:28:16 +0000
Subject: can't get host to display in Host Detail panel
In-Reply-To: <BE2B892C-6E5A-49B2-A62E-B832D83EC22F@salon.com>
References: <E630F997-24D9-459B-9AB4-BCF3A25E8D5A@salon.com>	<8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local>	<C72DED69-73E6-4298-ABB8-51DF9D533DB0@salon.com>	<8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local>	<1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com>	<4C99CA06.9040400@flatto.net>	<F39BA980-830D-4C21-A6B1-B131F4DA0CFD@salon.com>	<D7CE7F8A-A4BD-4199-B47A-57E07B5F2FD2@salon.com>	<4CA0C234.7050302@flatto.net>	<BCC989FF-285D-4BC5-92C7-7B9C30B504CB@salon.com>
	<4CA1B3F7.2070606@flatto.net><02B80625-B645-4C15-A3CC-9D2679F206C2@salon.com><4CA33570.1090905@flatto.net><BE2B892C-6E5A-49B2-A62E-B832D83EC22F@salon.com>
Message-ID: <1047958975-1286868497-cardhu_decombobulator_blackberry.rim.net-1638557445-@bda081.bisx.produk.on.blackberry>

If you run nrpe via xinetd, the standalone service has to be stoppedm if it's not, xinetd can't bind the port.
Regarding the plugin location, you can change it in nrpe.cfg

Sent from my BlackBerry? wireless device

-----Original Message-----
From: Jonathan Wiggins <jwiggins at salon.com>
Date: Mon, 11 Oct 2010 19:15:06 
To: Nagios Users List<nagios-users at lists.sourceforge.net>
Reply-To: Nagios Users List <nagios-users at lists.sourceforge.net>
Subject: Re: [Nagios-users] can't get host to display in Host Detail panel

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From steve at sliderule.demon.co.uk  Tue Oct 12 09:30:38 2010
From: steve at sliderule.demon.co.uk (steve at sliderule.demon.co.uk)
Date: Tue, 12 Oct 2010 08:30:38 +0100
Subject: Location of ssi files (Nagios Core 3.2.2 on FreeBSD
	8.1-RELEASE #0)
Message-ID: <E1P5ZJm-00001c-9P@pr-webmail-1.mail.demon.net>

  Hi,

I am trying to integrate nagiosgraph with nagios. Mostly this is working except for enabling pop-ups which requires the use of a custom header file.

I have followed the instructions on the Nagiosgraph site
(http://nagiosgraph.svn.sourceforge.net/viewvc/nagiosgraph/trunk/nagiosgraph/INSTALL)
to no avail.

I can see no evidence that  the common-header.ssi file is being read or its contents are being served. There are no errors the the apache error log and I can't find a nagios error log.

The path to the ssi file is: /usr/local/www/nagios/ssi/common-header.ssi

Can anyone tell be how to find out where nagios is looking for the ssi files?

Any other help or suggestions greatly appreciated.

Steve.



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From yuehung at cht.com.tw  Tue Oct 12 10:05:30 2010
From: yuehung at cht.com.tw (=?UTF-8?B?5YqJ5bKz5rOT?=)
Date: Tue, 12 Oct 2010 16:05:30 +0800
Subject: display partial hostgroups ?
Message-ID: <4CB416CA.506@cht.com.tw>


hi all,

is it possible to display partial hostgroups which include only hosts 
owned by specific users?
it seems that Nagios always display "whole" hostgroups, that is, if a 
group includes some hosts which is not owned by a user, this user can't 
see this group in Nagios even though there are hosts which also belong 
to this group.

thanks


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From quanta.linux at gmail.com  Tue Oct 12 18:36:23 2010
From: quanta.linux at gmail.com (quanta)
Date: Tue, 12 Oct 2010 16:36:23 +0000
Subject: Nagvis 1.5.1 installation question
In-Reply-To: <F76F46ADD6410C4BBBB7F0A6E4A331A303A27A31@PHSXMB26.partners.org>
References: <F76F46ADD6410C4BBBB7F0A6E4A331A303A27A31@PHSXMB26.partners.org>
Message-ID: <4CB48E87.7080408@gmail.com>

  Make sure you install check_mk successfully and the socket file was 
created:

# file /usr/local/nagios/var/rw/live
/usr/local/nagios/var/rw/live: socket

On 07/30/2010 07:38 PM, Kaplan, Andrew H. wrote:
>
> Hi there --
>
> I am going through the motions of installing NagVis 1.5.1 onto our 
> Nagios 3.1.2 server. I have completed the installation of the
>
> check_mk 1.1.6p1 software, and made sure to select the default 
> settings for it. When I run the install script for NagVis, all
>
> prerequisites are found, and I make sure to select mklivestatus as the 
> Backend. However, when the installer gets to the
>
> Livestatus Socket, it looks for it in the /usr/local/nagios/rw/live 
> directory, but says it is missing.
>
> The installer lists the valid socket formats, and asks me to enter the 
> MKLivestatus socket. I am not familiar with what that
>
> would be, and whether or not check_mk should be started in daemon mode 
> or in some other way.
>
> Can someone provide some insight into this? Thanks.
>
>
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the e-mail
> contains patient information, please contact the Partners Compliance HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in error
> but does not contain patient information, please contact the sender and properly
> dispose of the e-mail.
>
>
> ------------------------------------------------------------------------------
> The Palm PDK Hot Apps Program offers developers who use the
> Plug-In Development Kit to bring their C/C++ apps to Palm for a share
> of $1 Million in cash or HP Products. Visit us here for more details:
> http://p.sf.net/sfu/dev2dev-palm
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101012/f6ab6bdc/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From quanta.linux at gmail.com  Tue Oct 12 18:52:04 2010
From: quanta.linux at gmail.com (quanta)
Date: Tue, 12 Oct 2010 16:52:04 +0000
Subject: Nagios supervising nagios?
In-Reply-To: <4C5D9F48.8030203@markas-al-nour.org>
References: <29881.188.155.91.212.1281023438.squirrel@mail.markas-al-nour.org>	<4C5AE90E.5070408@herb-j.com>	<4C5B1C04.7050108@markas-al-nour.org>	<4C5B283B.1000400@herb-j.com>
	<4C5D9F48.8030203@markas-al-nour.org>
Message-ID: <4CB49234.5090504@gmail.com>

  Have a look at: http://nagios.sourceforge.net/docs/3_0/distributed.html

On 08/07/2010 06:00 PM, Linus Gasser wrote:
> Le 05.08.10 23:08, Herb J. a ?crit :
>>> Hmm, in fact, do you have to configure the central collector to let him
>>> know what the other collectors are doing?
>>>
>>
>> All collectors are configured with the same check commands and
>> templates, but the remote collectors only know about their specific list
>> of hosts and services to monitor. The central collector knows about all
>> hosts, services, service check commands, etc. (Since Nagios ignores
>> passive data for hosts and services it doesn't recognize, it has to know
>> about everything being monitored.) However, the central collector is
>> configured to not run any active checks (except for monitoring the other
>> collectors) and is configured to accept passive check data. The remote
>> collectors are configured to run active service checks on their list of
>> servers (ignoring passive data since they don't receive any) and does
>> not generate any alerts or notifications. All of this is done by having
>> the central collector use slightly modified host and service templates.
> Too bad - I'll continue playing with NagiosCentral then, I don't want to
> configure all services twice... Thank you very much for your
> explanations, you spared me quite some headaches - now I know it's not
> what I'm looking for ;)
>
> Linus
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From subscription at kkeane.com  Tue Oct 12 14:16:38 2010
From: subscription at kkeane.com (Kevin Keane)
Date: Tue, 12 Oct 2010 05:16:38 -0700
Subject: Detecting Windows Backups?
Message-ID: <B5632960467A4C48B4DBF3D2512358A74D153782E1@akechi-denki.ad.nctechcenter.com>

I'm wondering if there is a way to detect if a Windows backup is currently running. Every night during the backup window, my checks for disk and CPU activity go haywire. That is expected, of course.

What I'm looking for is a way to get Nagios to either automatically schedule a downtime when the backup starts, or to use a service dependency or something like that to suppress these false alarms.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101012/af8488b2/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From maxhetrick at verizon.net  Tue Oct 12 15:31:09 2010
From: maxhetrick at verizon.net (Max Hetrick)
Date: Tue, 12 Oct 2010 09:31:09 -0400
Subject: Detecting Windows Backups?
In-Reply-To: <B5632960467A4C48B4DBF3D2512358A74D153782E1@akechi-denki.ad.nctechcenter.com>
References: <B5632960467A4C48B4DBF3D2512358A74D153782E1@akechi-denki.ad.nctechcenter.com>
Message-ID: <4CB4631D.1080401@verizon.net>

On 10/12/2010 08:16 AM, Kevin Keane wrote:
> I?m wondering if there is a way to detect if a Windows backup is
> currently running. Every night during the backup window, my checks for
> disk and CPU activity go haywire. That is expected, of course.
>
> What I?m looking for is a way to get Nagios to either automatically
> schedule a downtime when the backup starts, or to use a service
> dependency or something like that to suppress these false alarms.

Does your backup run at the same time every night?

Max


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From maxhetrick at verizon.net  Tue Oct 12 15:40:45 2010
From: maxhetrick at verizon.net (Max Hetrick)
Date: Tue, 12 Oct 2010 09:40:45 -0400
Subject: Detecting Windows Backups?
In-Reply-To: <B5632960467A4C48B4DBF3D2512358A74D153782E1@akechi-denki.ad.nctechcenter.com>
References: <B5632960467A4C48B4DBF3D2512358A74D153782E1@akechi-denki.ad.nctechcenter.com>
Message-ID: <4CB4655D.503@verizon.net>

On 10/12/2010 08:16 AM, Kevin Keane wrote:
> I?m wondering if there is a way to detect if a Windows backup is
> currently running. Every night during the backup window, my checks for
> disk and CPU activity go haywire. That is expected, of course.
>
> What I?m looking for is a way to get Nagios to either automatically
> schedule a downtime when the backup starts, or to use a service
> dependency or something like that to suppress these false alarms.

I had to dig up the link for the script I use for scheduling downtime 
remotely.

Anyways, if you know your backup times are always the same, or always 
the same window, I'd just use a cron job to run this nagios_downtime 
script written in Perl.

http://nagios.larsmichelsen.com/nagios-downtime/

Regards,
Max



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jcasale at activenetwerx.com  Tue Oct 12 15:46:30 2010
From: jcasale at activenetwerx.com (Joseph L. Casale)
Date: Tue, 12 Oct 2010 13:46:30 +0000
Subject: Detecting Windows Backups?
In-Reply-To: <B5632960467A4C48B4DBF3D2512358A74D153782E1@akechi-denki.ad.nctechcenter.com>
References: <B5632960467A4C48B4DBF3D2512358A74D153782E1@akechi-denki.ad.nctechcenter.com>
Message-ID: <CA5A491E9DEFBE4CB777DE97E21575E9071A89B6@prato.activenetwerx.local>

>I'm wondering if there is a way to detect if a Windows backup is currently running.
>Every night during the backup window, my checks for disk and CPU activity go haywire.
>That is expected, of course.
>
>What I'm looking for is a way to get Nagios to either automatically schedule a
>downtime when the backup starts, or to use a service dependency or something
>like that to suppress these false alarms.

Check/notification schedules, but if you find a way to drop a host into maintenance
mode programmatically, post back! I have wanted to know how to do this. I haven't
looked in to it much, but I assume one could do it with the cgi's?



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From Kristan.Webb at bbc.co.uk  Tue Oct 12 13:56:03 2010
From: Kristan.Webb at bbc.co.uk (Kristan Webb)
Date: Tue, 12 Oct 2010 12:56:03 +0100
Subject: Disabling Nagios in the event of network card
	failure.
Message-ID: <469133DFA60D7C4DB131A09BCB270A5602B211E4@bbcxue501.national.core.bbc.co.uk>

Hi All,

Hopefully an easy query.

We run Nagios 3 on an Ubuntu box and I'm looking for a way to stop
Nagios falsely reporting services/hosts as down/unknown if, for example,
the network cable was pulled out of the server / the card failed. This
has happened recently for over an hour and now all hosts/services have a
false hours downtime. 
I'm not too bothered, but I like to try and keep things as neat as
possible.

Does anyone know of a way of preventing this? All I can think is some
way of detecting when the server has lost network and then automatically
quitting / disabling Nagios?

Thanks in advance.

Kris


http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101012/dc84bde0/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From maxhetrick at verizon.net  Tue Oct 12 16:38:47 2010
From: maxhetrick at verizon.net (Max Hetrick)
Date: Tue, 12 Oct 2010 10:38:47 -0400
Subject: Disabling Nagios in the event of network card
 failure.
In-Reply-To: <469133DFA60D7C4DB131A09BCB270A5602B211E4@bbcxue501.national.core.bbc.co.uk>
References: <469133DFA60D7C4DB131A09BCB270A5602B211E4@bbcxue501.national.core.bbc.co.uk>
Message-ID: <4CB472F7.7090701@verizon.net>

On 10/12/2010 07:56 AM, Kristan Webb wrote:
> Hi All,
>
> Hopefully an easy query.
>
> We run Nagios 3 on an Ubuntu box and I'm looking for a way to stop
> Nagios falsely reporting services/hosts as down/unknown if, for example,
> the network cable was pulled out of the server / the card failed. This
> has happened recently for over an hour and now all hosts/services have a
> false hours downtime.
>
> I'm not too bothered, but I like to try and keep things as neat as
> possible.
>
> Does anyone know of a way of preventing this? All I can think is some
> way of detecting when the server has lost network and then automatically
> quitting / disabling Nagios?

This is pretty much the entire point of Nagios, that is to report when 
something has failed.

If you're intentionally taking down the network on the host, then I 
would suggest scheduling downtime for that host if you or others know 
you're going to take it down for a period of time, otherwise, Nagios is 
doing it's job.

Regards,
Max

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From allanc at chickenandporn.com  Tue Oct 12 17:14:03 2010
From: allanc at chickenandporn.com (Allan Clark)
Date: Tue, 12 Oct 2010 08:14:03 -0700
Subject: Disabling Nagios in the event of network card
	failure.
In-Reply-To: <4CB472F7.7090701@verizon.net>
References: <469133DFA60D7C4DB131A09BCB270A5602B211E4@bbcxue501.national.core.bbc.co.uk>
	<4CB472F7.7090701@verizon.net>
Message-ID: <AANLkTikK+8yk51QjCS_t3BfpRLR6Rtqjv8s8m7THoDcE@mail.gmail.com>

On Tue, Oct 12, 2010 at 07:38, Max Hetrick <maxhetrick at verizon.net> wrote:
> On 10/12/2010 07:56 AM, Kristan Webb wrote:
>> Hi All,
>>
>> Hopefully an easy query.
>>
>> We run Nagios 3 on an Ubuntu box and I'm looking for a way to stop
>> Nagios falsely reporting services/hosts as down/unknown if, for example,
>> the network cable was pulled out of the server / the card failed. This
>> has happened recently for over an hour and now all hosts/services have a
>> false hours downtime.
>>
>> I'm not too bothered, but I like to try and keep things as neat as
>> possible.
>>
>> Does anyone know of a way of preventing this? All I can think is some
>> way of detecting when the server has lost network and then automatically
>> quitting / disabling Nagios?
>
> This is pretty much the entire point of Nagios, that is to report when
> something has failed.
>
> If you're intentionally taking down the network on the host, then I
> would suggest scheduling downtime for that host if you or others know
> you're going to take it down for a period of time, otherwise, Nagios is
> doing it's job.

Although I agree with Max, perhaps making all services dependent on a
check for the NIC working would convert that period during which the
NIC fails into different state.

Allan
-- 
allanc at chickenandporn.com? "??" http://linkedin.com/in/goldfish

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From giles at coochey.net  Tue Oct 12 16:59:45 2010
From: giles at coochey.net (Giles Coochey)
Date: Tue, 12 Oct 2010 16:59:45 +0200
Subject: Disabling Nagios in the event of network card
 failure.
In-Reply-To: <4CB472F7.7090701@verizon.net>
References: <469133DFA60D7C4DB131A09BCB270A5602B211E4@bbcxue501.national.core.bbc.co.uk>
	<4CB472F7.7090701@verizon.net>
Message-ID: <bbeb4481a10fe1845ffe0df9c6cb4330.squirrel@gate.coochey.net>

On Tue, October 12, 2010 16:38, Max Hetrick wrote:
> On 10/12/2010 07:56 AM, Kristan Webb wrote:
>> Hi All,
>>
>> Hopefully an easy query.
>>
>> We run Nagios 3 on an Ubuntu box and I'm looking for a way to stop
>> Nagios falsely reporting services/hosts as down/unknown if, for example,
>> the network cable was pulled out of the server / the card failed. This
>> has happened recently for over an hour and now all hosts/services have a
>> false hours downtime.
>>
>> I'm not too bothered, but I like to try and keep things as neat as
>> possible.
>>
>> Does anyone know of a way of preventing this? All I can think is some
>> way of detecting when the server has lost network and then automatically
>> quitting / disabling Nagios?
>
> This is pretty much the entire point of Nagios, that is to report when
> something has failed.
>
> If you're intentionally taking down the network on the host, then I
> would suggest scheduling downtime for that host if you or others know
> you're going to take it down for a period of time, otherwise, Nagios is
> doing it's job.
>

I thought you could do some generic test to check the network connectivity
(ping default gateway, for instance) and make that test the parent or
grand^x-father of all other tests.
That way if you lose connectivity, that test will fail, others will become
unknown.



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From madlists at teaparty.net  Tue Oct 12 17:05:19 2010
From: madlists at teaparty.net (Tom Yates)
Date: Tue, 12 Oct 2010 16:05:19 +0100 (BST)
Subject: Detecting Windows Backups?
In-Reply-To: <CA5A491E9DEFBE4CB777DE97E21575E9071A89B6@prato.activenetwerx.local>
References: <B5632960467A4C48B4DBF3D2512358A74D153782E1@akechi-denki.ad.nctechcenter.com>
	<CA5A491E9DEFBE4CB777DE97E21575E9071A89B6@prato.activenetwerx.local>
Message-ID: <alpine.LFD.2.00.1010121600250.5305@localhost6.localdomain6>

On Tue, 12 Oct 2010, Joseph L. Casale wrote:

> Check/notification schedules, but if you find a way to drop a host into 
> maintenance mode programmatically, post back! I have wanted to know how 
> to do this. I haven't looked in to it much, but I assume one could do it 
> with the cgi's?

i have a tiny piece of perl which produces a scheduled downtime for a 
defined service on a defined host from x minutes in the future to y 
minutes in the future.  you run it with the relevant arguments and feed 
the output straight to your command file, which in my case is 
/usr/local/nagios/var/rw/nagios.cmd .

it works very nicely out of cron, i use to automatically schedule 2-300 
downtime windows a week.  hacking it to schedule host downtime instead 
would be trivial; sorry if that's not what you meant by "drop a host into 
maintenance mode programmatically".

if that might be of interest to anyone let me know and i'll put it up 
somewhere.  it's not very complex!


-- 

   Tom Yates  -  http://www.teaparty.net

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From subscription at kkeane.com  Tue Oct 12 18:11:23 2010
From: subscription at kkeane.com (Kevin Keane)
Date: Tue, 12 Oct 2010 09:11:23 -0700
Subject: Detecting Windows Backups?
In-Reply-To: <alpine.LFD.2.00.1010121600250.5305@localhost6.localdomain6>
References: <B5632960467A4C48B4DBF3D2512358A74D153782E1@akechi-denki.ad.nctechcenter.com>
	<CA5A491E9DEFBE4CB777DE97E21575E9071A89B6@prato.activenetwerx.local>
	<alpine.LFD.2.00.1010121600250.5305@localhost6.localdomain6>
Message-ID: <B5632960467A4C48B4DBF3D2512358A74D153782E7@akechi-denki.ad.nctechcenter.com>

Thank you very much! I'm really more interested in keying off the actual backup, rather than a specific time. The reason is that I may not always have control over when the backup window occurs.

-----Original Message-----
From: Tom Yates [mailto:madlists at teaparty.net] 
Sent: Tuesday, October 12, 2010 8:05 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Detecting Windows Backups?

On Tue, 12 Oct 2010, Joseph L. Casale wrote:

> Check/notification schedules, but if you find a way to drop a host 
> into maintenance mode programmatically, post back! I have wanted to 
> know how to do this. I haven't looked in to it much, but I assume one 
> could do it with the cgi's?

i have a tiny piece of perl which produces a scheduled downtime for a defined service on a defined host from x minutes in the future to y minutes in the future.  you run it with the relevant arguments and feed the output straight to your command file, which in my case is /usr/local/nagios/var/rw/nagios.cmd .

it works very nicely out of cron, i use to automatically schedule 2-300 downtime windows a week.  hacking it to schedule host downtime instead would be trivial; sorry if that's not what you meant by "drop a host into maintenance mode programmatically".

if that might be of interest to anyone let me know and i'll put it up somewhere.  it's not very complex!


-- 

   Tom Yates  -  http://www.teaparty.net

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mark.elsen at gmail.com  Tue Oct 12 20:12:38 2010
From: mark.elsen at gmail.com (Mark Elsen)
Date: Tue, 12 Oct 2010 20:12:38 +0200
Subject: Implementing live title-bar in NAGIOS
Message-ID: <AANLkTinZz=PhgNiMdPC1XjgO09wiexe87ErH8oNxH4Wk@mail.gmail.com>

 - I wonder if  the developers would ever contemplate , implementing ,
a live title-bar in NAGIOS,
including for instance the all service/host problems counter(s) ?

M.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From madlists at teaparty.net  Tue Oct 12 20:54:22 2010
From: madlists at teaparty.net (Tom Yates)
Date: Tue, 12 Oct 2010 19:54:22 +0100 (BST)
Subject: Detecting Windows Backups?
In-Reply-To: <c6354dd1-67bb-4b60-a8bf-b69af69b9cfb@scio.com.mx>
References: <c6354dd1-67bb-4b60-a8bf-b69af69b9cfb@scio.com.mx>
Message-ID: <alpine.LFD.2.00.1010121949350.2827@risby.home.teaparty.net>

On Tue, 12 Oct 2010, Jorge Pa?eda wrote:

> I will like to take a look to the script. It sounds that would be 
> helpful for the maintenance windows that we do to our servers been 
> monitored by Nagios.
>
> Could you provide me with the perl script?

sure, it's attached (i hope).  it's invoked as:

./generic-downtime.pl host service startmin endmin reason

where startmin and endmin are the minutes *from now* when scheduled 
downtime is to start and end.  any field containing spaces should be 
double-quoted.  here are some examples from my prod crontabs:

# no netbackup load alerts mon-thur nights or any weekend
0 15 * * 1,2,3,4  /usr/local/bin/generic-downtime.pl netbackup load 180 1020 "load unimportant outside core hours" >> /usr/local/nagios/var/rw/nagios.cmd
0 15 * * 5 /usr/local/bin/generic-downtime.pl netbackup load 180 4080 "load unimportant outside core hours" >> /usr/local/nagios/var/rw/nagios.cmd
# ccm backups only run tue-sat  mornings
50 23 * * 6 /usr/local/bin/generic-downtime.pl netbackup "CCM backups" 10 3250 "system backups only run tue-sat mornings" >> /usr/local/nagios/var/rw/nagios.cmd

hope this is of some use.



   Tom Yates
   Cambridge, UK.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: generic-downtime.pl
Type: application/x-perl
Size: 1052 bytes
Desc: 
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101012/ceb622ab/attachment.bin>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From carl at carltm.com  Tue Oct 12 23:04:35 2010
From: carl at carltm.com (Carl T. Miller)
Date: Tue, 12 Oct 2010 17:04:35 -0400
Subject: Detecting Windows Backups?
In-Reply-To: <4CB4655D.503@verizon.net>
References: <B5632960467A4C48B4DBF3D2512358A74D153782E1@akechi-denki.ad.nctechcenter.com>
	<4CB4655D.503@verizon.net>
Message-ID: <3f16ebbb3505e8ab0d43482d5e5486bd.squirrel@www.carltm.com>

Max Hetrick wrote:
> Anyways, if you know your backup times are always the same, or always
> the same window, I'd just use a cron job to run this nagios_downtime
> script written in Perl.

My suggestion would be to create a new timeperiod that leaves
out the time when backups would occur.  That would prevent
notifications from going out and require almost no maintenance.

c



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jwiggins at salon.com  Wed Oct 13 01:04:55 2010
From: jwiggins at salon.com (Jonathan Wiggins)
Date: Tue, 12 Oct 2010 16:04:55 -0700
Subject: can't get host to display in Host Detail panel
In-Reply-To: <1047958975-1286868497-cardhu_decombobulator_blackberry.rim.net-1638557445-@bda081.bisx.produk.on.blackberry>
References: <E630F997-24D9-459B-9AB4-BCF3A25E8D5A@salon.com>	<8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local>	<C72DED69-73E6-4298-ABB8-51DF9D533DB0@salon.com>	<8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local>	<1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com>	<4C99CA06.9040400@flatto.net>	<F39BA980-830D-4C21-A6B1-B131F4DA0CFD@salon.com>	<D7CE7F8A-A4BD-4199-B47A-57E07B5F2FD2@salon.com>	<4CA0C234.7050302@flatto.net>	<BCC989FF-285D-4BC5-92C7-7B9C30B504CB@salon.com>
	<4CA1B3F7.2070606@flatto.net><02B80625-B645-4C15-A3CC-9D2679F206C2@salon.com><4CA33570.1090905@flatto.net><BE2B892C-6E5A-49B2-A62E-B832D83EC22F@salon.com>
	<1047958975-1286868497-cardhu_decombobulator_blackberry.rim.net-1638557445-@bda081.bisx.produk.on.blackberry>
Message-ID: <2199D0D6-4B20-44E6-A4AE-288061F865BC@salon.com>


On Oct 12, 2010, at 12:28 AM, diego.roccia at gmail.com wrote:

> If you run nrpe via xinetd, the standalone service has to be stoppedm if it's not, xinetd can't bind the port.
> Regarding the plugin location, you can change it in nrpe.cfg
> 
> Sent from my BlackBerry? wireless device
> 

I followed this suggestion, shut down xinetd, ran nrpe as a stand-alone, also added the nagios server in hosts.allow, and got good results (although no host in control panel)


able to run remote service checks:

bash-3.1# !1021
/usr/local/nagios/libexec/check_nrpe -H 10.0.100.139 -c check_users
USERS OK - 1 users currently logged in |users=1;5;10;0
bash-3.1# !1013
/usr/local/nagios/libexec/check_nrpe -H 10.0.100.138 -c check_users
USERS OK - 1 users currently logged in |users=1;5;10;0

able to telnet to 5666:

bash-3.1# telnet 10.0.100.138 5666
Trying 10.0.100.138...
Connected to 10.0.100.138 (10.0.100.138).
Escape character is '^]'.

checked the host.cfg file for this server and another server ( that is showing) to compare.. everything looks correct:

{not showing}
define host{
	use linux-server ; Inherit default values from a template
        host_name web02 ; The name we're giving to this server
        alias web02 ; A longer name for the server
        address 10.0.100.139 ; IP address of the server
}

define service{
        use generic-service
        host_name                       web02
        service_description             Home Page
        check_command                   check_http!ww2
}

{showing}

define host{
	use linux-server ; Inherit default values from a template
        host_name web03 ; The name we're giving to this server
        alias web03 ; A longer name for the server
        address 10.0.100.144 ; IP address of the server
}
define service{
        use generic-service
        host_name                       web03
        service_description             Home Page
        check_command                   check_http!ww2
}

tail /var/log/messages: (this part looks good)

Oct 12 15:50:33 sacdcweb02 nrpe[15883]: Starting up daemon
Oct 12 15:50:33 sacdcweb02 nrpe[15883]: Listening for connections on port 5666 
Oct 12 15:50:33 sacdcweb02 nrpe[15883]: Allowing connections from: 127.0.0.1,10.0.100.130

but then I see this also in the logs

nrpe[11817]: Unable to open config file '/usr/local/nagios/etc/nrpe.cfg' for reading

when I do a "locate nrpe.cfg", its only found in one location:  /etc/nagios/nrpe.cfg   --- looking at that file below- looks normal to me, and where is the application pulling this other nrpe.cfg location from, and how to change it? ((Or does that really not matter in this issue - seems like it would - and I need to focus elsewhere>?))



log_facility=daemon


pid_file=/var/run/nrpe/nrpe.pid


server_port=5666


#server_address=127.0.0.1

 
nrpe_user=nagios

nrpe_group=nagios  


allowed_hosts=127.0.0.1,10.0.100.130

dont_blame_nrpe=0

# command_prefix=/usr/bin/sudo

  
debug=0 --> 1


command_timeout=60

connection_timeout=300


#allow_weak_random_seed=1
 
#include=<somefile.cfg>


include_dir=/etc/nrpe.d/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101012/5efc4ad3/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From lists at matthewjwhite.co.uk  Wed Oct 13 00:59:41 2010
From: lists at matthewjwhite.co.uk (Matt White)
Date: Tue, 12 Oct 2010 23:59:41 +0100
Subject: Detecting Windows Backups?
In-Reply-To: <B5632960467A4C48B4DBF3D2512358A74D153782E7@akechi-denki.ad.nctechcenter.com>
References: <B5632960467A4C48B4DBF3D2512358A74D153782E1@akechi-denki.ad.nctechcenter.com>
	<CA5A491E9DEFBE4CB777DE97E21575E9071A89B6@prato.activenetwerx.local>
	<alpine.LFD.2.00.1010121600250.5305@localhost6.localdomain6>
	<B5632960467A4C48B4DBF3D2512358A74D153782E7@akechi-denki.ad.nctechcenter.com>
Message-ID: <313BAF5407E567438608F6666AD8E4E00319492858BD@HOME-VIR-EX07.home.bisnet>

Hi Kevin,

What do you use for backups?

I just setup backup exec to send SNMP traps to my monitoring server. The processed trap then interfaces with my Opsview install to update a check.

You should be able to do something similar so that when the "Job Started" trap is received the state changes on a dependant check and stops then when a JobSuccess, JobCompleteExceptions, JobFailured, JobCancelled trap is received the state turns back to OK and you can continue monitoring.

I don't know about other backup softwares however this could be helpful,

The other option would be to have a check to see if the ntbackup/relevant .exe file is running using the NSClient agent and then if it is change state this way? 

-----Original Message-----
From: Kevin Keane [mailto:subscription at kkeane.com] 
Sent: 12 October 2010 17:11
To: Nagios Users List
Subject: Re: [Nagios-users] Detecting Windows Backups?

Thank you very much! I'm really more interested in keying off the actual backup, rather than a specific time. The reason is that I may not always have control over when the backup window occurs.

-----Original Message-----
From: Tom Yates [mailto:madlists at teaparty.net]
Sent: Tuesday, October 12, 2010 8:05 AM
To: Nagios Users List
Subject: Re: [Nagios-users] Detecting Windows Backups?

On Tue, 12 Oct 2010, Joseph L. Casale wrote:

> Check/notification schedules, but if you find a way to drop a host 
> into maintenance mode programmatically, post back! I have wanted to 
> know how to do this. I haven't looked in to it much, but I assume one 
> could do it with the cgi's?

i have a tiny piece of perl which produces a scheduled downtime for a defined service on a defined host from x minutes in the future to y minutes in the future.  you run it with the relevant arguments and feed the output straight to your command file, which in my case is /usr/local/nagios/var/rw/nagios.cmd .

it works very nicely out of cron, i use to automatically schedule 2-300 downtime windows a week.  hacking it to schedule host downtime instead would be trivial; sorry if that's not what you meant by "drop a host into maintenance mode programmatically".

if that might be of interest to anyone let me know and i'll put it up somewhere.  it's not very complex!


-- 

   Tom Yates  -  http://www.teaparty.net

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From yu.watanabe at jp.fujitsu.com  Wed Oct 13 02:20:17 2010
From: yu.watanabe at jp.fujitsu.com (Yu Watanabe)
Date: Wed, 13 Oct 2010 09:20:17 +0900
Subject: Deploying Nagios on Windows box
Message-ID: <201010130020.AA02583@S2007337.jp.fujitsu.com>

Hello all

Has anyone has a experience for deploying a Nagios 3.x + apache on a windows box using Cygwin?
Perhaps, Windows Server 2003 (32bit,64bit) or  later?

Thanks !
Yu Watanabe


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From maxhetrick at verizon.net  Wed Oct 13 03:14:51 2010
From: maxhetrick at verizon.net (Max Hetrick)
Date: Tue, 12 Oct 2010 21:14:51 -0400
Subject: Deploying Nagios on Windows box
In-Reply-To: <201010130020.AA02583@S2007337.jp.fujitsu.com>
References: <201010130020.AA02583@S2007337.jp.fujitsu.com>
Message-ID: <4CB5080B.8090804@verizon.net>

On 10/12/2010 08:20 PM, Yu Watanabe wrote:
> Hello all
>
> Has anyone has a experience for deploying a Nagios 3.x + apache on a windows box using Cygwin?
> Perhaps, Windows Server 2003 (32bit,64bit) or  later?

I don't think you're going to be able to do so, at least not easily, but 
I did run across this on Nagios Exchange. It looks very experimental, so 
beware, but maybe a possibility for you.

http://exchange.nagios.org/directory/Distributions/Nagios-Core-32bit-Windows-Installer/details

Regards,
Max


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From yu.watanabe at jp.fujitsu.com  Wed Oct 13 03:37:19 2010
From: yu.watanabe at jp.fujitsu.com (Yu Watanabe)
Date: Wed, 13 Oct 2010 10:37:19 +0900
Subject: Deploying Nagios on Windows box
In-Reply-To: <4CB5080B.8090804@verizon.net>
References: <4CB5080B.8090804@verizon.net>
Message-ID: <201010130137.AA02586@S2007337.jp.fujitsu.com>

Hello Max.

Thank you for the reply.

Would there be any other suggestion for directly deploying nagios on Windows?

I know that as a ultimate solution , using vmware server and CentOS might be better..

Thanks!
Yu Watanabe

Max Hetrick ????????:
>On 10/12/2010 08:20 PM, Yu Watanabe wrote:
>> Hello all
>>
>> Has anyone has a experience for deploying a Nagios 3.x + apache on a windows box using Cygwin?
>> Perhaps, Windows Server 2003 (32bit,64bit) or  later?
>
>I don't think you're going to be able to do so, at least not easily, but 
>I did run across this on Nagios Exchange. It looks very experimental, so 
>beware, but maybe a possibility for you.
>
>http://exchange.nagios.org/directory/Distributions/Nagios-Core-32bit-Windows-Installer/details
>
>Regards,
>Max
>
>
>------------------------------------------------------------------------------
>Beautiful is writing same markup. Internet Explorer 9 supports
>standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>Spend less time writing and  rewriting code and more time creating great
>experiences on the web. Be a part of the beta today.
>http://p.sf.net/sfu/beautyoftheweb
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at 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
>


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From quanta.linux at gmail.com  Wed Oct 13 13:16:30 2010
From: quanta.linux at gmail.com (quanta)
Date: Wed, 13 Oct 2010 11:16:30 +0000
Subject: Using two nagios servers...
In-Reply-To: <618F928F9E2D824AAB26DCAA0F25221F02875748@HYD-MKD-MBX02.wipro.com>
References: <E9985DFC8B07BD499B945BD1CB3E3C440DD7F3B6@ex3ms2.geninfo.com>
	<618F928F9E2D824AAB26DCAA0F25221F02875748@HYD-MKD-MBX02.wipro.com>
Message-ID: <4CB5950E.8000500@gmail.com>

  Try something like this:

#!/bin/sh

RETURN_STATUS=`/usr/local/nagios/libexec/check_nrpe -H <primary_host> -c 
check_nagios | awk -F: '{ print $1 }' | awk '{ print $2 }'`
if [ $RETURN_STATUS != "OK" ]; then
     sed -i 's/enable_notifications=0/enable_notifications=1/' 
/usr/local/nagios/etc/nagios.cfg
     sed -i 's/execute_service_checks=0/execute_service_checks=1/' 
/usr/local/nagios/etc/nagios.cfg
else
     sed -i 's/enable_notifications=1/enable_notifications=0/' 
/usr/local/nagios/etc/nagios.cfg
     sed -i 's/execute_service_checks=1/execute_service_checks=0/' 
/usr/local/nagios/etc/nagios.cfg
fi
sudo /etc/init.d/nagios reload

Note: you must add nagios user to sudoers group (without password prompt).


On 08/16/2010 02:44 PM, ravishankar.gundlapali at wipro.com wrote:
>
> Hi,
>
> Even I run Nagios on Virtual machines.
>
> Please let me know where can I get the support for running cron job on 
> my secondary Nagios server to monitor the Nagios service on primary 
> Nagios server?
>
> Thanks,
>
> Ravi G
>
> *From:* Chris Beattie [mailto:cbeattie at geninfo.com]
> *Sent:* Monday, August 16, 2010 6:51 PM
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Using two nagios servers...
>
> Your servers will probably be fine servicing the extra Nagios polling, 
> unless they are overloaded already.
>
> Since I run Nagios on virtual machines, however, I tried to keep the 
> load on my failover Nagios server minimized.  My failover Nagios 
> server runs a cron job that uses the check_nagios plugin to monitor 
> the state of the primary Nagios server.  If the primary server is up 
> and running, the failover server will just rsync the state and 
> configuration files from the primary.  If the primary server becomes 
> unavailable, the cron job will start the Nagios service on the 
> failover server and keep it running until it detects the primary has 
> recovered.
>
> *From:* ravishankar.gundlapali at wipro.com 
> [mailto:ravishankar.gundlapali at wipro.com]
> *Sent:* Monday, August 16, 2010 7:45 AM
> *To:* nagios-users at lists.sourceforge.net
> *Subject:* [Nagios-users] Using two nagios servers...
>
> Hi All,
>
> I am planning to configure all the servers in my client environment in 
> two Nagios servers(in two different locations) in order to create Back up.
>
> Please let me know whether there will be any overload on the servers 
> as two Nagios servers will be polling them.
>
> Thanks,
>
> Ravi G
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101013/c914442c/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From michal.lackovic at cz.schneider-electric.com  Wed Oct 13 09:42:15 2010
From: michal.lackovic at cz.schneider-electric.com (michal.lackovic at cz.schneider-electric.com)
Date: Wed, 13 Oct 2010 09:42:15 +0200
Subject: escalation question
In-Reply-To: <AANLkTim=dq56p=Vft0T_5==ivfW4tjXbCDPXN_i6iDRZ@mail.gmail.com>
References: <OFDBD19328.58223466-ONC12577B9.00300843-C12577B9.00306381@schneider-electric.com>
	<AANLkTim=dq56p=Vft0T_5==ivfW4tjXbCDPXN_i6iDRZ@mail.gmail.com>
Message-ID: <OF6F5260BB.D2564377-ONC12577BB.002A287D-C12577BB.002A5276@schneider-electric.com>

Many thanks Terry ! It works like a charm now

Michal






Terry <td3201 at gmail.com> 
10/11/2010 03:31 PM
Please respond to
Nagios Users List <nagios-users at lists.sourceforge.net>


To
Nagios Users List <nagios-users at lists.sourceforge.net>
cc

Subject
Re: [Nagios-users] escalation question






On Mon, Oct 11, 2010 at 3:48 AM,
<michal.lackovic at cz.schneider-electric.com> wrote:
> Hi All,
>
> Is there any way how to create service escalation in the following way:
>
> hostgroup_name                Group1,Group2
> service_description                *
> contact_group                        Managers
>
> Basically I would need to escalate all service problems on the hosts 
which
> are members of Group1 and Group2 to the managers.
>
> thanks in advance
> Michal
>
> 
------------------------------------------------------------------------------

Yes, you're exactly right.  We took it a step further and put all
hosts in a single group then globbed it as you did above:

define serviceescalation{
        hostgroup_name          allhosts
        service_description     .*
        contacts                foo,foo2
        first_notification      1
        last_notification       1
        notification_interval   1
        escalation_options      w,u,c
        }
define hostgroup {
        hostgroup_name  allhosts
        alias           allhosts
        members         .*
        }
use_regexp_matching=1

I think that's all you need to enable globbing.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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 email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101013/e045410f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From carlo.maesen at maastrichtuniversity.nl  Wed Oct 13 14:03:51 2010
From: carlo.maesen at maastrichtuniversity.nl (Maesen Carlo (ICTS))
Date: Wed, 13 Oct 2010 14:03:51 +0200
Subject: check_nt -v COUNTER not working
Message-ID: <6ABFFD29FEDBB3478B6986988638E74F018E47431C@UM-MAIL4109.unimaas.nl>

Hello,

The output of the following command :
check_nt -H serverx -p 12489 -s password -v COUNTER -l "\\Server\\Files open","Open files is %.f  " -w 800 -c 900
is:
Open files is 701   | 'Open files is %.f  '=701.000000%;800.000000;900.000000;

But in Nagios this check has the status "Critical" . What may be the cause ?

define command{
        command_name    check_nt_openfiles
        command_line   $USER1$/check_nt -H $HOSTADDRESS$ -p 12489 -s password -v COUNTER -l "\\Server\\Files open","Open files is %.f " -w $ARG1$ -c $ARG2$
}

define service{
        use                     service-prod
        host_name               serverx
        service_description     Counter OpenFiles
        check_command           check_nt_openfiles!300!300
        }

We are running nagios 3.2.0 on SLES11

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101013/371ada5d/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From steve at sliderule.demon.co.uk  Wed Oct 13 14:16:32 2010
From: steve at sliderule.demon.co.uk (steve at sliderule.demon.co.uk)
Date: Wed, 13 Oct 2010 13:16:32 +0100
Subject: Location of ssi files (Nagios Core 3.2.2 on FreeBSD
	8.1-RELEASE #0) - UPDATED
Message-ID: <E1P60G0-000EUo-SS@pr-webmail-1.mail.demon.net>

   Hi,

I am trying to integrate nagiosgraph with nagios. Mostly this is working except for enabling pop-ups which requires the use of a custom header file.

I have followed the instructions on the Nagiosgraph site
(http://nagiosgraph.svn.sourceforge.net/viewvc/nagiosgraph/trunk/nagiosgraph/INSTALL)
to no avail.

I can see no evidence that  the common-header.ssi file is being read or its contents are being served. There are no errors the the apache error log and I can't find a nagios error log.

[update]
I saved the output of status.cgi and pasted the contents of common-header.ssi into it below the body tag and put it on the nagios server. When server to a web browser it looked and worked perfectly. I'm pretty sure this means that nagios is not looking for its ssi directory at /usr/local/www/nagios/ssi

The path to the ssi file is: /usr/local/www/nagios/ssi/common-header.ssi

Can anyone tell be how to find out where nagios is really looking for the ssi files?

Any other help or suggestions greatly appreciated.

Steve.



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From lists at xodus.org  Wed Oct 13 13:47:32 2010
From: lists at xodus.org (Marc Powell)
Date: Wed, 13 Oct 2010 06:47:32 -0500
Subject: Deploying Nagios on Windows box
In-Reply-To: <201010130020.AA02583@S2007337.jp.fujitsu.com>
References: <201010130020.AA02583@S2007337.jp.fujitsu.com>
Message-ID: <1A685911-3F8A-45CE-87C8-76A531D023E7@xodus.org>


On Oct 12, 2010, at 7:20 PM, Yu Watanabe wrote:

> Hello all
> 
> Has anyone has a experience for deploying a Nagios 3.x + apache on a windows box using Cygwin?
> Perhaps, Windows Server 2003 (32bit,64bit) or  later?

I don't but searching my archives shows that it's been done successfully before (nagios-3) and that there may be a pre-compiled version of the plugins for cygwin. Search the archives for the thread "problem in installing Nagios with cygwin" around April 20, 2009.


--
Marc


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From chrishudson at gmail.com  Wed Oct 13 16:04:33 2010
From: chrishudson at gmail.com (Chris Hudson)
Date: Wed, 13 Oct 2010 09:04:33 -0500
Subject: new guy
Message-ID: <AANLkTinkpaohDme9QVdmF73dHf+K4yJ5wCvABRK+9zWv@mail.gmail.com>

Hi, my name is Chris and I am new to Nagios, and to the nagios-users list. I
hope to learn a lot here, since I am new to Nagios and just coming up to
speed.

Thanks,
Chris Hudson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101013/f02ad036/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From joern.gaertner at wirecard.com  Wed Oct 13 16:42:40 2010
From: joern.gaertner at wirecard.com (Gaertner, Joern)
Date: Wed, 13 Oct 2010 16:42:40 +0200
Subject: Notifications problem?!?
Message-ID: <57EC2288B707B54BA411E6576365B532029DB80B@esrv151.wirecard.lan>

Hi,

I have a nagios check that needs a special kind of notification.

The check runs 24/7 but there should only be notifications during business hours (8-18)  ? so far no problem.

But the user wants to also get a notification at the start of the business hours if there was any problem noticed by the check during the non-notification time.

Is there an elegant solution of this problem in any of your minds?

Cheers

J?rn


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From chrishudson at gmail.com  Wed Oct 13 17:52:37 2010
From: chrishudson at gmail.com (Chris Hudson)
Date: Wed, 13 Oct 2010 10:52:37 -0500
Subject: How to list members of a hostgroup?
Message-ID: <AANLkTi=HnauPLTtDj21MybRH1Cy3RNat_epiP8r9BsM9@mail.gmail.com>

Hi, I'm new to Nagios and have a question.
I need to get a list of all the members of a hostgroup.
I have looked in the hostgroups.cfg file, but it only has two directives for
each group:  name and alias (I would have expected a "members" directive,
with a list of hosts in that group, but no).
 Is there a place I can get this information?

Thanks,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101013/1ee483d7/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From robert.wolfe at robertwolfe.org  Wed Oct 13 19:06:52 2010
From: robert.wolfe at robertwolfe.org (Robert Wolfe)
Date: Wed, 13 Oct 2010 13:06:52 -0400
Subject: new guy
References: <AANLkTinkpaohDme9QVdmF73dHf+K4yJ5wCvABRK+9zWv@mail.gmail.com>
Message-ID: <50BE9C7135A64147819E42376C136B2629A7@dc1.wolfe.local>

Welcome aboard, Chris!

________________________________

From: Chris Hudson [mailto:chrishudson at gmail.com]
Sent: Wed 10/13/2010 10:04 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] new guy


Hi, my name is Chris and I am new to Nagios, and to the nagios-users list. I hope to learn a lot here, since I am new to Nagios and just coming up to speed. 
 
Thanks, 
Chris Hudson 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101013/5d32c0bc/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From robert.wolfe at robertwolfe.org  Wed Oct 13 19:08:02 2010
From: robert.wolfe at robertwolfe.org (Robert Wolfe)
Date: Wed, 13 Oct 2010 13:08:02 -0400
Subject: How to list members of a hostgroup?
References: <AANLkTi=HnauPLTtDj21MybRH1Cy3RNat_epiP8r9BsM9@mail.gmail.com>
Message-ID: <50BE9C7135A64147819E42376C136B2629A8@dc1.wolfe.local>

For each group, you should have a configuration file.  The hosts are defined in those files (someone please correct me if I am wrong here).

________________________________

From: Chris Hudson [mailto:chrishudson at gmail.com]
Sent: Wed 10/13/2010 11:52 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] How to list members of a hostgroup?


Hi, I'm new to Nagios and have a question.  
I need to get a list of all the members of a hostgroup.  
I have looked in the hostgroups.cfg file, but it only has two directives for each group:  name and alias (I would have expected a "members" directive, with a list of hosts in that group, but no).  
 Is there a place I can get this information?  
 
Thanks, 
Chris 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101013/0771ed59/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From iberkner at gmail.com  Wed Oct 13 19:07:41 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Wed, 13 Oct 2010 13:07:41 -0400
Subject: how do i only get notified on critical issues?
Message-ID: <AANLkTimYiFAKX4sJEWTcSy45zwj2dRpZgPv5ocOn_TeA@mail.gmail.com>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101013/875861a0/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From kdavison at innosphere.ca  Wed Oct 13 19:37:50 2010
From: kdavison at innosphere.ca (Kevin Davison)
Date: Wed, 13 Oct 2010 13:37:50 -0400
Subject: How to determine the login duration of current user?
Message-ID: <AE242DF3177857408DD66BC68549EB950B16D0FD77@mail01.internal.innosphere.ca>

We have a large number of XP Virtual Machines that are used for various software testing requirements. The testers are supposed to notify their supervisor when an XP instance is no longer required. Unfortunately that isn't working very well. The end result is that there are a large number of XP instances sitting doing nothing for long periods of time. Ideally, I'd love to receive a notification in the event that any XP instance hasn't been used for x period of time.

As the machines are accessed by the testers solely via RDP, I was thinking that if I could determine how long it had been since someone had logged into the machine I would be able to judge which machines had been abandoned and remove them.

I was mulling over using a WMI check to pull what I need from Win32_NetworkLoginProfile but I'm not getting anything returned that I know how to make use of.

Has anyone had a need to perform a check like this in the past or can anyone offer any advice as to where else I should start looking?

Kevin Davison
Network Administrator
Innosphere SDG Ltd.
147 Wyndham St. N., Ste 306
Guelph, ON, N1H 4E9
(519) 766-9726 X223
Email: kdavison at innosphere.ca<mailto:kdavison at innosphere.ca>
Website: www.innosphere.ca

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101013/e171a8ff/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From carlos at dsag.jazztel.es  Wed Oct 13 19:51:26 2010
From: carlos at dsag.jazztel.es (Carlos de Santa-Ana Garcia)
Date: Wed, 13 Oct 2010 19:51:26 +0200
Subject: how do i only get notified on critical issues?
In-Reply-To: <AANLkTimYiFAKX4sJEWTcSy45zwj2dRpZgPv5ocOn_TeA@mail.gmail.com>
References: <AANLkTimYiFAKX4sJEWTcSy45zwj2dRpZgPv5ocOn_TeA@mail.gmail.com>
Message-ID: <4CB5F19E.1000206@dsag.jazztel.es>

  Hi

In contacts section you have service notification with some options, C W 
U, C is critical, W is warning, U is unknow, delete all but C


define contact{
         name                            generic-contact
         service_notification_period     24x7
         host_notification_period        24x7
         service_notification_options    w,u,c,r,f,s<---------HERE
         host_notification_options       d,u,r,f,s
         service_notification_commands   notify-service-by-email
         host_notification_commands      notify-host-by-email
         register                        0
         }

Greets.


El 13/10/2010 19:07, Ilan Berkner escribi?:

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From iberkner at gmail.com  Wed Oct 13 19:54:25 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Wed, 13 Oct 2010 13:54:25 -0400
Subject: how do i only get notified on critical issues?
In-Reply-To: <4CB5F19E.1000206@dsag.jazztel.es>
References: <AANLkTimYiFAKX4sJEWTcSy45zwj2dRpZgPv5ocOn_TeA@mail.gmail.com>
	<4CB5F19E.1000206@dsag.jazztel.es>
Message-ID: <AANLkTik0uxfn2cip6jpmztYwiur8YwQ6XPMCwZovFrZV@mail.gmail.com>

Perfect, thanks.

On Wed, Oct 13, 2010 at 1:51 PM, Carlos de Santa-Ana Garcia <
carlos at dsag.jazztel.es> wrote:

>  Hi
>
> In contacts section you have service notification with some options, C W
> U, C is critical, W is warning, U is unknow, delete all but C
>
>
> define contact{
>         name                            generic-contact
>         service_notification_period     24x7
>         host_notification_period        24x7
>         service_notification_options    w,u,c,r,f,s<---------HERE
>         host_notification_options       d,u,r,f,s
>         service_notification_commands   notify-service-by-email
>         host_notification_commands      notify-host-by-email
>         register                        0
>         }
>
> Greets.
>
>
> El 13/10/2010 19:07, Ilan Berkner escribi?:
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101013/3f156f91/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From andrew.ford at wachovia.com  Wed Oct 13 20:11:21 2010
From: andrew.ford at wachovia.com (Ford, Andy)
Date: Wed, 13 Oct 2010 14:11:21 -0400
Subject: nsca packets disappear between xinetd and the daemon
Message-ID: <E1241453F6FAC445851863E8AC0000FC01DA7EC070@MEIS1MSX034001.noam.msds.wachovia.net>

I've got a system that accepts and processes nsca packets from a number of collectors successfully.
Everything is using nsca-2.7.2.

I added a new collector recently and it's not able to get data into the central nagios system via nsca.

I recompiled the send_nsca client with the DEBUG flag enabled and get this output, which looks good:

Connected okay...
Got init packet from server
Initialized encryption routines
Done sending data
1 data packet(s) sent to host successfully.
Cleaned up encryption routines

On the central server, the xinetd logs look like the packets are being accepted:

10/10/13 at 11:01:29: START: nsca from=<not working collector in question IP>
10/10/13 at 11:01:29: EXIT: nsca status=0

But then nothing seems to show up the nsca log. All the other collector's data logs in the nsca log very nicely.

Where should I look to debug my problem?

Andy Ford
Network Security Compliance & Automation, Wells Fargo & Co.
314-600-7025
andrew.ford at wachovia.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101013/e0e28b82/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From jim at jimavery.me.uk  Wed Oct 13 22:21:46 2010
From: jim at jimavery.me.uk (Jim Avery)
Date: Wed, 13 Oct 2010 21:21:46 +0100
Subject: How to determine the login duration of current
	user?
In-Reply-To: <AE242DF3177857408DD66BC68549EB950B16D0FD77@mail01.internal.innosphere.ca>
References: <AE242DF3177857408DD66BC68549EB950B16D0FD77@mail01.internal.innosphere.ca>
Message-ID: <AANLkTi=fyfSJjx32PUstoAYhcwGNUP1akKVRR+3bDZD0@mail.gmail.com>

On 13 October 2010 18:37, Kevin Davison <kdavison at innosphere.ca> wrote:
> We have a large number of XP Virtual Machines that are used for various
> software testing requirements. The testers are supposed to notify their
> supervisor when an XP instance is no longer required. Unfortunately that
> isn?t working very well. The end result is that there are a large number of
> XP instances sitting doing nothing for long periods of time. Ideally, I?d
> love to receive a notification in the event that any XP instance hasn?t been
> used for x period of time.
>
>
>
> As the machines are accessed by the testers solely via RDP, I was thinking
> that if I could determine how long it had been since someone had logged into
> the machine I would be able to judge which machines had been abandoned and
> remove them.
>
>
>
> I was mulling over using a WMI check to pull what I need from
> Win32_NetworkLoginProfile but I?m not getting anything returned that I know
> how to make use of.
>
>
>
> Has anyone had a need to perform a check like this in the past or can anyone
> offer any advice as to where else I should start looking?


Is an entry made in one of the Windows Event Logs whenever a user logs
in?  If so I guess you could use CheckEventLog in NSClient++ to warn
if there have been no logins in x days.  For an example, see the
section "Check if a script is running as it should" on the page
describing the old syntax:

http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog/old

hth,

Jim

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From bhavna.patel at merck.com  Wed Oct 13 22:25:54 2010
From: bhavna.patel at merck.com (Patel, Bhavna)
Date: Wed, 13 Oct 2010 16:25:54 -0400
Subject: Need help on running combination of Nagios, Nconf,
	and Nagiosgraph
Message-ID: <EB20AE35ABB8E84B9C5CEA822B5379D064A3CF@usctmx1176.merck.com>


Hi,

I am new to Nagios and I am having problem to put all this applications
together. I have very limited knowledge of all this tools and
availability, so I need experts help on this. Here are the steps that I
went thru:
 
I installed Nagios in one of my Linux server. 

In the same machine but different directory I Installed Nconf to add
about 70 hosts with about five services for each hosts. I have to add
about 200 more hosts.

I used CSV (comma-separated values) file to store the data. 

Now, I need graph so I installed Nagiosgraph and I am trying to make it
work since last two weeks, but it is not working. When I reload nagios,
it runs fine and I see the icon to brows to the graph, but when I click
on it, I get following error:

 (Server error!
		The server encountered an internal error and was unable
to complete your request. Either the server is overloaded or there was
an error in a CGI script. )
If you think I didn't select right tool to add hosts and for graph, what
is better tools to add bunch of servers and to get the graphs. I also
have some switches to monitor too. 

Thanks




Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station,
New Jersey, USA 08889), and/or its affiliates Direct contact information
for affiliates is available at 
http://www.merck.com/contact/contacts.html) that may be confidential,
proprietary copyrighted and/or legally privileged. It is intended solely
for the use of the individual or entity named on this message. If you are
not the intended recipient, and have received this message in error,
please notify us immediately by reply e-mail and then delete it from 
your system.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101013/d2a95b31/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From jim at jimavery.me.uk  Wed Oct 13 22:33:15 2010
From: jim at jimavery.me.uk (Jim Avery)
Date: Wed, 13 Oct 2010 21:33:15 +0100
Subject: Notifications problem?!?
In-Reply-To: <57EC2288B707B54BA411E6576365B532029DB80B@esrv151.wirecard.lan>
References: <57EC2288B707B54BA411E6576365B532029DB80B@esrv151.wirecard.lan>
Message-ID: <AANLkTi=-ND9mz+JMi2a5YWanWX-2cTUQHbf_x4dX1w-e@mail.gmail.com>

On 13 October 2010 15:42, Gaertner, Joern <joern.gaertner at wirecard.com> wrote:
> Hi,
>
> I have a nagios check that needs a special kind of notification.
>
> The check runs 24/7 but there should only be notifications during business hours (8-18) ?? so far no problem.
>
> But the user wants to also get a notification at the start of the business hours if there was any problem noticed by the check during the non-notification time.
>
> Is there an elegant solution of this problem in any of your minds?
>
> Cheers
>
> J?rn

Send the notifications out-of-hours by email.  The user will pick up
the email when they login in the morning!

I'm sorry if that sounds a bit trite, but I've thought the same thing
myself in the past and then thought duh!

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jim at jimavery.me.uk  Wed Oct 13 22:41:52 2010
From: jim at jimavery.me.uk (Jim Avery)
Date: Wed, 13 Oct 2010 21:41:52 +0100
Subject: How to list members of a hostgroup?
In-Reply-To: <AANLkTi=HnauPLTtDj21MybRH1Cy3RNat_epiP8r9BsM9@mail.gmail.com>
References: <AANLkTi=HnauPLTtDj21MybRH1Cy3RNat_epiP8r9BsM9@mail.gmail.com>
Message-ID: <AANLkTimC8afnWkbbY8JzXfbYvZ8-4OVAtbsKVqu3o=8Y@mail.gmail.com>

On 13 October 2010 16:52, Chris Hudson <chrishudson at gmail.com> wrote:
> Hi, I'm new to Nagios and have a question.
> I?need to get a list of all the members of a hostgroup.
> I have looked in the hostgroups.cfg file, but it only has two directives for
> each group:? name and alias (I would have expected a "members" directive,
> with a list of hosts in that group, but no).
> ?Is there a place I can get this information?
>
> Thanks,
> Chris

In the web front-end, click on Host Groups / Summary, then click on
the group you are interested in to see a summary of all the hosts in
that group.

hth,

Jim

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From kdavison at innosphere.ca  Wed Oct 13 23:02:08 2010
From: kdavison at innosphere.ca (Kevin Davison)
Date: Wed, 13 Oct 2010 17:02:08 -0400
Subject: How to determine the login duration of
	current	user?
In-Reply-To: <AANLkTi=fyfSJjx32PUstoAYhcwGNUP1akKVRR+3bDZD0@mail.gmail.com>
References: <AE242DF3177857408DD66BC68549EB950B16D0FD77@mail01.internal.innosphere.ca>
	<AANLkTi=fyfSJjx32PUstoAYhcwGNUP1akKVRR+3bDZD0@mail.gmail.com>
Message-ID: <AE242DF3177857408DD66BC68549EB950B16D0FDA5@mail01.internal.innosphere.ca>

I took a look at that and the machines aren't generating log entries when a user logs in. 

I also forgot to mention that since these XP's are just used for software testing, the machines aren't joined to a domain.

-----Original Message-----
From: Jim Avery [mailto:jim at jimavery.me.uk] 
Sent: October-13-10 4:22 PM
To: Nagios Users List
Subject: Re: [Nagios-users] How to determine the login duration of current user?

On 13 October 2010 18:37, Kevin Davison <kdavison at innosphere.ca> wrote:
> We have a large number of XP Virtual Machines that are used for various
> software testing requirements. The testers are supposed to notify their
> supervisor when an XP instance is no longer required. Unfortunately that
> isn't working very well. The end result is that there are a large number of
> XP instances sitting doing nothing for long periods of time. Ideally, I'd
> love to receive a notification in the event that any XP instance hasn't been
> used for x period of time.
>
>
>
> As the machines are accessed by the testers solely via RDP, I was thinking
> that if I could determine how long it had been since someone had logged into
> the machine I would be able to judge which machines had been abandoned and
> remove them.
>
>
>
> I was mulling over using a WMI check to pull what I need from
> Win32_NetworkLoginProfile but I'm not getting anything returned that I know
> how to make use of.
>
>
>
> Has anyone had a need to perform a check like this in the past or can anyone
> offer any advice as to where else I should start looking?


Is an entry made in one of the Windows Event Logs whenever a user logs
in?  If so I guess you could use CheckEventLog in NSClient++ to warn
if there have been no logins in x days.  For an example, see the
section "Check if a script is running as it should" on the page
describing the old syntax:

http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog/old

hth,

Jim

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From subscription at kkeane.com  Wed Oct 13 23:33:11 2010
From: subscription at kkeane.com (Kevin Keane)
Date: Wed, 13 Oct 2010 14:33:11 -0700
Subject: How to determine the login duration
	of	current	user?
In-Reply-To: <AE242DF3177857408DD66BC68549EB950B16D0FDA5@mail01.internal.innosphere.ca>
References: <AE242DF3177857408DD66BC68549EB950B16D0FD77@mail01.internal.innosphere.ca>
	<AANLkTi=fyfSJjx32PUstoAYhcwGNUP1akKVRR+3bDZD0@mail.gmail.com>
	<AE242DF3177857408DD66BC68549EB950B16D0FDA5@mail01.internal.innosphere.ca>
Message-ID: <B5632960467A4C48B4DBF3D2512358A74D16051D50@akechi-denki.ad.nctechcenter.com>

Do these virtual machines have to run 24/7? If not, you could automatically shut them down at 2 AM - either from your hypervisor, or with the shutdown.exe command.

When you do that, you could leave the VMs simply sitting there taking up disk space, or you can check the file date of the .VMDK file for that VM.

By the way, some vendors have yet another solution that might work for you. Has nothing to do with Nagios. You can auto-create virtual machines as needed. Basically, you just create one template XP VM image. Only when a user logs on, this template is cloned. When the user logs off, the clone is destroyed. The next time the same user logs on, he gets a completely fresh virgin copy of XP.

Citrix has something like this, and I believe Microsoft also is working on offering something similar. I'm sure VMWare does, too, but I haven't heard anything specific about it. 

-----Original Message-----
From: Kevin Davison [mailto:kdavison at innosphere.ca] 
Sent: Wednesday, October 13, 2010 2:02 PM
To: Nagios Users List
Subject: Re: [Nagios-users] How to determine the login duration of current user?

I took a look at that and the machines aren't generating log entries when a user logs in. 

I also forgot to mention that since these XP's are just used for software testing, the machines aren't joined to a domain.

-----Original Message-----
From: Jim Avery [mailto:jim at jimavery.me.uk]
Sent: October-13-10 4:22 PM
To: Nagios Users List
Subject: Re: [Nagios-users] How to determine the login duration of current user?

On 13 October 2010 18:37, Kevin Davison <kdavison at innosphere.ca> wrote:
> We have a large number of XP Virtual Machines that are used for 
> various software testing requirements. The testers are supposed to 
> notify their supervisor when an XP instance is no longer required. 
> Unfortunately that isn't working very well. The end result is that 
> there are a large number of XP instances sitting doing nothing for 
> long periods of time. Ideally, I'd love to receive a notification in 
> the event that any XP instance hasn't been used for x period of time.
>
>
>
> As the machines are accessed by the testers solely via RDP, I was 
> thinking that if I could determine how long it had been since someone 
> had logged into the machine I would be able to judge which machines 
> had been abandoned and remove them.
>
>
>
> I was mulling over using a WMI check to pull what I need from 
> Win32_NetworkLoginProfile but I'm not getting anything returned that I 
> know how to make use of.
>
>
>
> Has anyone had a need to perform a check like this in the past or can 
> anyone offer any advice as to where else I should start looking?


Is an entry made in one of the Windows Event Logs whenever a user logs in?  If so I guess you could use CheckEventLog in NSClient++ to warn if there have been no logins in x days.  For an example, see the section "Check if a script is running as it should" on the page describing the old syntax:

http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog/old

hth,

Jim

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From yu.watanabe at jp.fujitsu.com  Thu Oct 14 04:19:46 2010
From: yu.watanabe at jp.fujitsu.com (Yu Watanabe)
Date: Thu, 14 Oct 2010 11:19:46 +0900
Subject: Deploying Nagios on Windows box
In-Reply-To: <1A685911-3F8A-45CE-87C8-76A531D023E7@xodus.org>
References: <1A685911-3F8A-45CE-87C8-76A531D023E7@xodus.org>
Message-ID: <201010140219.AA02603@S2007337.jp.fujitsu.com>

Hello Marc.

Thank you for the reply.

I found the page but the pre-compiled link is out of date and not showing the page.

http://www.psychoticwolf.net/blog/2007/07/nagios_plugins_for_windows.php

In the archive it says not to compile the modules but I will give it a shot.

Thanks!
Yu Watanabe

Marc Powell ????????:
>
>On Oct 12, 2010, at 7:20 PM, Yu Watanabe wrote:
>
>> Hello all
>> 
>> Has anyone has a experience for deploying a Nagios 3.x + apache on a windows box using Cygwin?
>> Perhaps, Windows Server 2003 (32bit,64bit) or  later?
>
>I don't but searching my archives shows that it's been done successfully before (nagios-3) and that there may be a pre-compiled version of the plugins 
for cygwin. Search the archives for the thread "problem in installing Nagios with cygwin" around April 20, 2009.
>
>
>--
>Marc
>
>
>------------------------------------------------------------------------------
>Beautiful is writing same markup. Internet Explorer 9 supports
>standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>Spend less time writing and  rewriting code and more time creating great
>experiences on the web. Be a part of the beta today.
>http://p.sf.net/sfu/beautyoftheweb
>_______________________________________________
>Nagios-users mailing list
>Nagios-users at 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
>


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From joern.gaertner at wirecard.com  Thu Oct 14 11:55:04 2010
From: joern.gaertner at wirecard.com (Gaertner, Joern)
Date: Thu, 14 Oct 2010 11:55:04 +0200
Subject: Notifications problem?!?
In-Reply-To: <AANLkTi=-ND9mz+JMi2a5YWanWX-2cTUQHbf_x4dX1w-e@mail.gmail.com>
References: <57EC2288B707B54BA411E6576365B532029DB80B@esrv151.wirecard.lan>
	<AANLkTi=-ND9mz+JMi2a5YWanWX-2cTUQHbf_x4dX1w-e@mail.gmail.com>
Message-ID: <57EC2288B707B54BA411E6576365B532029DB983@esrv151.wirecard.lan>

This is the normal procedure we handle checks (if they are important) 
- work hours -> sms + email 
- off work hours -> email

But for this check the customer doesn't want to read emails first in the morning to know if there were issues - he wants a sms if there was a notification over night and if so he will read his emails.

That's unfortunately the requirement ...


Cheers

Joern



-----Original Message-----
From: Jim Avery [mailto:jim at jimavery.me.uk] 
Sent: Wednesday, October 13, 2010 10:33 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Notifications problem?!?

On 13 October 2010 15:42, Gaertner, Joern <joern.gaertner at wirecard.com> wrote:
> Hi,
>
> I have a nagios check that needs a special kind of notification.
>
> The check runs 24/7 but there should only be notifications during business hours (8-18) ?? so far no problem.
>
> But the user wants to also get a notification at the start of the business hours if there was any problem noticed by the check during the non-notification time.
>
> Is there an elegant solution of this problem in any of your minds?
>
> Cheers
>
> J?rn

Send the notifications out-of-hours by email.  The user will pick up the email when they login in the morning!

I'm sorry if that sounds a bit trite, but I've thought the same thing myself in the past and then thought duh!

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From Kristan.Webb at bbc.co.uk  Thu Oct 14 12:06:33 2010
From: Kristan.Webb at bbc.co.uk (Kristan Webb)
Date: Thu, 14 Oct 2010 11:06:33 +0100
Subject: Disabling Nagios in the event of network card
	failure.
In-Reply-To: <bbeb4481a10fe1845ffe0df9c6cb4330.squirrel@gate.coochey.net>
References: <469133DFA60D7C4DB131A09BCB270A5602B211E4@bbcxue501.national.core.bbc.co.uk><4CB472F7.7090701@verizon.net>
	<bbeb4481a10fe1845ffe0df9c6cb4330.squirrel@gate.coochey.net>
Message-ID: <469133DFA60D7C4DB131A09BCB270A5602B211F2@bbcxue501.national.core.bbc.co.uk>


> -----Original Message-----
> From: Giles Coochey [mailto:giles at coochey.net] 
> Sent: 12 October 2010 16:00
> To: Nagios Users List
> Subject: Re: [Nagios-users] Disabling Nagios in the event of 
> network card failure.
> 
> On Tue, October 12, 2010 16:38, Max Hetrick wrote:
> > On 10/12/2010 07:56 AM, Kristan Webb wrote:
> >> Hi All,
> >>
> >> Hopefully an easy query.
> >>
> >> We run Nagios 3 on an Ubuntu box and I'm looking for a way to stop 
> >> Nagios falsely reporting services/hosts as down/unknown if, for 
> >> example, the network cable was pulled out of the server / the card 
> >> failed. This has happened recently for over an hour and now all 
> >> hosts/services have a false hours downtime.
> >>
> >> I'm not too bothered, but I like to try and keep things as neat as 
> >> possible.
> >>
> >> Does anyone know of a way of preventing this? All I can 
> think is some 
> >> way of detecting when the server has lost network and then 
> >> automatically quitting / disabling Nagios?
> >
> > This is pretty much the entire point of Nagios, that is to 
> report when 
> > something has failed.
> >
> > If you're intentionally taking down the network on the host, then I 
> > would suggest scheduling downtime for that host if you or 
> others know 
> > you're going to take it down for a period of time, 
> otherwise, Nagios 
> > is doing it's job.
> >
> 
> I thought you could do some generic test to check the network 
> connectivity (ping default gateway, for instance) and make 
> that test the parent or grand^x-father of all other tests.
> That way if you lose connectivity, that test will fail, 
> others will become unknown.
> 
> 

This makes sense. I guess what I was asking is for Nagios not to even
return unknown, but on reflection this is silly.
I'll experiment with dependencies and at least that way hosts should end
up being unknown rather than critical.
Thanks for your help all.




> 
> --------------------------------------------------------------
> ----------------
> Beautiful is writing same markup. Internet Explorer 9 
> supports standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, 
> and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time 
> creating great experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
> 

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.
					

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From nagios at flatto.net  Thu Oct 14 12:53:07 2010
From: nagios at flatto.net (Assaf Flatto)
Date: Thu, 14 Oct 2010 11:53:07 +0100
Subject: can't get host to display in Host Detail panel
In-Reply-To: <2199D0D6-4B20-44E6-A4AE-288061F865BC@salon.com>
References: <E630F997-24D9-459B-9AB4-BCF3A25E8D5A@salon.com>	<8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local>	<C72DED69-73E6-4298-ABB8-51DF9D533DB0@salon.com>	<8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local>	<1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com>	<4C99CA06.9040400@flatto.net>	<F39BA980-830D-4C21-A6B1-B131F4DA0CFD@salon.com>	<D7CE7F8A-A4BD-4199-B47A-57E07B5F2FD2@salon.com>	<4CA0C234.7050302@flatto.net>	<BCC989FF-285D-4BC5-92C7-7B9C30B504CB@salon.com>	<4CA1B3F7.2070606@flatto.net><02B80625-B645-4C15-A3CC-9D2679F206C2@salon.com><4CA33570.1090905@flatto.net><BE2B892C-6E5A-49B2-A62E-B832D83EC22F@salon.com>	<1047958975-1286868497-cardhu_decombobulator_blackberry.rim.net-1638557445-@bda081.bisx.produk.on.blackberry>
	<2199D0D6-4B20-44E6-A4AE-288061F865BC@salon.com>
Message-ID: <4CB6E113.5020604@flatto.net>

  On 13/10/10 00:04, Jonathan Wiggins wrote:
> *<snip>*

the place to look is in the nrpe init script , usually found in the 
/etc/init.d directory

you are looking for the NrpeCfg parameter .

Make sure to point it to the nrpe.cfg file you found.

Assaf
> but then I see this also in the logs
> *
>
> *
> nrpe[11817]: Unable to open config file 
> '/usr/local/nagios/etc/nrpe.cfg' for reading
>
> when I do a "locate nrpe.cfg", its only found in one location: 
>  /etc/nagios/nrpe.cfg   --- looking at that file below- looks normal 
> to me, and where is the application pulling this other nrpe.cfg 
> location from, and how to change it? ((Or does that really not matter 
> in this issue - seems like it would - and I need to focus elsewhere>?))
>
>
>
> log_facility=daemon
>
>
> pid_file=/var/run/nrpe/nrpe.pid
>
>
> server_port=5666
>
>
> #server_address=127.0.0.1
>
> nrpe_user=nagios
>
> nrpe_group=nagios
>
>
> allowed_hosts=127.0.0.1,10.0.100.130
>
> dont_blame_nrpe=0
>
> # command_prefix=/usr/bin/sudo
>
> debug=0 --> 1
>
>
> command_timeout=60
>
> connection_timeout=300
>
>
> #allow_weak_random_seed=1
> #include=<somefile.cfg>
>
>
> include_dir=/etc/nrpe.d/
>

-- 
Never,Ever Cut A Deal With a Dragon


Next year I will be doing the London to Paris bike ride to
raise money for the DogTrust (www.dogstrust.co.uk) .
Please Sponsor me at http://www.justgiving.com/Assaf-Flatto

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101014/adb03ccc/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From noc at fohnet.co.uk  Thu Oct 14 12:30:43 2010
From: noc at fohnet.co.uk (Richard Clark)
Date: Thu, 14 Oct 2010 11:30:43 +0100
Subject: How to determine the login duration of	current
	user?
In-Reply-To: <B5632960467A4C48B4DBF3D2512358A74D16051D50@akechi-denki.ad.nctechcenter.com>
References: <AE242DF3177857408DD66BC68549EB950B16D0FD77@mail01.internal.innosphere.ca>
	<AANLkTi=fyfSJjx32PUstoAYhcwGNUP1akKVRR+3bDZD0@mail.gmail.com>
	<AE242DF3177857408DD66BC68549EB950B16D0FDA5@mail01.internal.innosphere.ca>
	<B5632960467A4C48B4DBF3D2512358A74D16051D50@akechi-denki.ad.nctechcenter.com>
Message-ID: <20101014103043.GA9575@fohnet.co.uk>

VMware's version of this is VDI - it's pretty good, but it's not cheap -
it needs a special kind of ESX license so you can't run those desktops
on your existing servers, they need to be on dedicated ESX/VDI servers.

On Wed, Oct 13, 2010 at 02:33:11PM -0700, Kevin Keane wrote:
> Do these virtual machines have to run 24/7? If not, you could automatically shut them down at 2 AM - either from your hypervisor, or with the shutdown.exe command.
> 
> When you do that, you could leave the VMs simply sitting there taking up disk space, or you can check the file date of the .VMDK file for that VM.
> 
> By the way, some vendors have yet another solution that might work for you. Has nothing to do with Nagios. You can auto-create virtual machines as needed. Basically, you just create one template XP VM image. Only when a user logs on, this template is cloned. When the user logs off, the clone is destroyed. The next time the same user logs on, he gets a completely fresh virgin copy of XP.
> 
> Citrix has something like this, and I believe Microsoft also is working on offering something similar. I'm sure VMWare does, too, but I haven't heard anything specific about it. 
> 
-- 
Richard Clark
richard at fohnet.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101014/3700796c/attachment.sig>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From jim at jimavery.me.uk  Thu Oct 14 13:42:34 2010
From: jim at jimavery.me.uk (Jim Avery)
Date: Thu, 14 Oct 2010 12:42:34 +0100
Subject: Notifications problem?!?
In-Reply-To: <57EC2288B707B54BA411E6576365B532029DB983@esrv151.wirecard.lan>
References: <57EC2288B707B54BA411E6576365B532029DB80B@esrv151.wirecard.lan>
	<AANLkTi=-ND9mz+JMi2a5YWanWX-2cTUQHbf_x4dX1w-e@mail.gmail.com>
	<57EC2288B707B54BA411E6576365B532029DB983@esrv151.wirecard.lan>
Message-ID: <AANLkTi=+wqygA+s67VeBmgQwV+h+Sb+Tn_XC273roCUr@mail.gmail.com>

On 14 October 2010 10:55, Gaertner, Joern <joern.gaertner at wirecard.com> wrote:
> This is the normal procedure we handle checks (if they are important)
> - work hours -> sms + email
> - off work hours -> email
>
> But for this check the customer doesn't want to read emails first in the morning to know if there were issues - he wants a sms if there was a notification over night and if so he will read his emails.
>
> That's unfortunately the requirement ...


Some people are just so difficult to please!

I don't think there's anything in Nagios itself which will do that for you.

I would set up a different notification command which writes all out
of hours notifications overnight to a file, then have an ordinary cron
job which runs first thing each morning and sends the SMS message (or
sends a passive check to Nagios so it can send the message) if there
is anything in that file.

Alternatively, if you run NDO then you could script a plugin which
runs from cron each morning and does a query of the nagios MySQL
database to see if there were any notifications out of hours...

cheers,

Jim

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From kdavison at innosphere.ca  Thu Oct 14 14:07:49 2010
From: kdavison at innosphere.ca (Kevin Davison)
Date: Thu, 14 Oct 2010 08:07:49 -0400
Subject: How to determine the login
	duration	of	current	user?
In-Reply-To: <B5632960467A4C48B4DBF3D2512358A74D16051D50@akechi-denki.ad.nctechcenter.com>
References: <B5632960467A4C48B4DBF3D2512358A74D16051D50@akechi-denki.ad.nctechcenter.com>
Message-ID: <AE242DF3177857408DD66BC68549EB950B16D15E1F@mail01.internal.innosphere.ca>

Technically, they do. The programmers who use them often work "when inspiration strikes". I encourage them to log out when they're done but the machines need to be available for an RDP connection 24/7. 


----- Original Message -----
From: Kevin Keane <subscription at kkeane.com>
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Sent: Wed Oct 13 17:33:11 2010
Subject: Re: [Nagios-users] How to determine the login duration	of	current	user?

Do these virtual machines have to run 24/7? If not, you could automatically shut them down at 2 AM - either from your hypervisor, or with the shutdown.exe command.

When you do that, you could leave the VMs simply sitting there taking up disk space, or you can check the file date of the .VMDK file for that VM.

By the way, some vendors have yet another solution that might work for you. Has nothing to do with Nagios. You can auto-create virtual machines as needed. Basically, you just create one template XP VM image. Only when a user logs on, this template is cloned. When the user logs off, the clone is destroyed. The next time the same user logs on, he gets a completely fresh virgin copy of XP.

Citrix has something like this, and I believe Microsoft also is working on offering something similar. I'm sure VMWare does, too, but I haven't heard anything specific about it. 

-----Original Message-----
From: Kevin Davison [mailto:kdavison at innosphere.ca] 
Sent: Wednesday, October 13, 2010 2:02 PM
To: Nagios Users List
Subject: Re: [Nagios-users] How to determine the login duration of current user?

I took a look at that and the machines aren't generating log entries when a user logs in. 

I also forgot to mention that since these XP's are just used for software testing, the machines aren't joined to a domain.

-----Original Message-----
From: Jim Avery [mailto:jim at jimavery.me.uk]
Sent: October-13-10 4:22 PM
To: Nagios Users List
Subject: Re: [Nagios-users] How to determine the login duration of current user?

On 13 October 2010 18:37, Kevin Davison <kdavison at innosphere.ca> wrote:
> We have a large number of XP Virtual Machines that are used for 
> various software testing requirements. The testers are supposed to 
> notify their supervisor when an XP instance is no longer required. 
> Unfortunately that isn't working very well. The end result is that 
> there are a large number of XP instances sitting doing nothing for 
> long periods of time. Ideally, I'd love to receive a notification in 
> the event that any XP instance hasn't been used for x period of time.
>
>
>
> As the machines are accessed by the testers solely via RDP, I was 
> thinking that if I could determine how long it had been since someone 
> had logged into the machine I would be able to judge which machines 
> had been abandoned and remove them.
>
>
>
> I was mulling over using a WMI check to pull what I need from 
> Win32_NetworkLoginProfile but I'm not getting anything returned that I 
> know how to make use of.
>
>
>
> Has anyone had a need to perform a check like this in the past or can 
> anyone offer any advice as to where else I should start looking?


Is an entry made in one of the Windows Event Logs whenever a user logs in?  If so I guess you could use CheckEventLog in NSClient++ to warn if there have been no logins in x days.  For an example, see the section "Check if a script is running as it should" on the page describing the old syntax:

http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog/old

hth,

Jim

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From diego.roccia at gmail.com  Thu Oct 14 14:33:44 2010
From: diego.roccia at gmail.com (Diego Roccia)
Date: Thu, 14 Oct 2010 14:33:44 +0200
Subject: can't get host to display in Host Detail panel
In-Reply-To: <4CB6E113.5020604@flatto.net>
References: <E630F997-24D9-459B-9AB4-BCF3A25E8D5A@salon.com>
	<8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local>
	<C72DED69-73E6-4298-ABB8-51DF9D533DB0@salon.com>
	<8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local>
	<1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com>
	<4C99CA06.9040400@flatto.net>
	<F39BA980-830D-4C21-A6B1-B131F4DA0CFD@salon.com>
	<D7CE7F8A-A4BD-4199-B47A-57E07B5F2FD2@salon.com>
	<4CA0C234.7050302@flatto.net>
	<BCC989FF-285D-4BC5-92C7-7B9C30B504CB@salon.com>
	<4CA1B3F7.2070606@flatto.net>
	<02B80625-B645-4C15-A3CC-9D2679F206C2@salon.com>
	<4CA33570.1090905@flatto.net>
	<BE2B892C-6E5A-49B2-A62E-B832D83EC22F@salon.com>
	<1047958975-1286868497-cardhu_decombobulator_blackberry.rim.net-1638557445-@bda081.bisx.produk.on.blackberry>
	<2199D0D6-4B20-44E6-A4AE-288061F865BC@salon.com>
	<4CB6E113.5020604@flatto.net>
Message-ID: <AANLkTimSUrEEevPDcHPVrid1QR=J-nqntyhk2HDj9TQg@mail.gmail.com>

Actually the init script is not ran if you're running it via xinetd.
you should look for server_args in /etc/xinet.d/nrpe (usually this is
the file name)

Diego

On Thu, Oct 14, 2010 at 12:53 PM, Assaf Flatto <nagios at flatto.net> wrote:
> On 13/10/10 00:04, Jonathan Wiggins wrote:
>
> <snip>
>
> the place to look is in the nrpe init script , usually found in the
> /etc/init.d directory
>
> you are looking for the NrpeCfg parameter .
>
> Make sure to point it to the nrpe.cfg file you found.
>
> Assaf
>
> but then I see this also in the logs
> nrpe[11817]: Unable to open config file '/usr/local/nagios/etc/nrpe.cfg' for
> reading
> when I do a "locate?nrpe.cfg", its only found in one location:
> ?/etc/nagios/nrpe.cfg ? --- looking at that file below- looks normal to me,
> and where is the application pulling this other nrpe.cfg location from, and
> how to change it? ((Or does that really not matter in this issue - seems
> like it would - and I need to focus elsewhere>?))
>
>
> log_facility=daemon
>
> pid_file=/var/run/nrpe/nrpe.pid
>
> server_port=5666
>
> #server_address=127.0.0.1
>
> nrpe_user=nagios
> nrpe_group=nagios
>
> allowed_hosts=127.0.0.1,10.0.100.130
> dont_blame_nrpe=0
> # command_prefix=/usr/bin/sudo
>
> debug=0 --> 1
>
> command_timeout=60
> connection_timeout=300
>
> #allow_weak_random_seed=1
>
> #include=<somefile.cfg>
>
> include_dir=/etc/nrpe.d/
>
> --
> Never,Ever Cut A Deal With a Dragon
>
>
> Next year I will be doing the London to Paris bike ride to
> raise money for the DogTrust (www.dogstrust.co.uk) .
> Please Sponsor me at http://www.justgiving.com/Assaf-Flatto
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ?ECMAScript5, and DOM L2 & L3.
> Spend less time writing and ?rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>



-- 
Diego Roccia
diego.roccia (at) gmail (dot) com

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From benny at bennyvision.com  Thu Oct 14 15:22:41 2010
From: benny at bennyvision.com (C. Bensend)
Date: Thu, 14 Oct 2010 08:22:41 -0500
Subject: How to determine the login duration of	current
 user?
In-Reply-To: <20101014103043.GA9575@fohnet.co.uk>
References: <AE242DF3177857408DD66BC68549EB950B16D0FD77@mail01.internal.innosphere.ca>
	<AANLkTi=fyfSJjx32PUstoAYhcwGNUP1akKVRR+3bDZD0@mail.gmail.com>
	<AE242DF3177857408DD66BC68549EB950B16D0FDA5@mail01.internal.innosphere.ca>
	<B5632960467A4C48B4DBF3D2512358A74D16051D50@akechi-denki.ad.nctechcenter.com>
	<20101014103043.GA9575@fohnet.co.uk>
Message-ID: <10e05a409f1d8183d2c7f4458ce0b4e7.squirrel@webmail.stinkweasel.net>


> VMware's version of this is VDI - it's pretty good, but it's not cheap -
> it needs a special kind of ESX license so you can't run those desktops
> on your existing servers, they need to be on dedicated ESX/VDI servers.

This statement is not accurate, at least not in our locale.  While
VDI *does* require a separate license, it will run just fine on
existing ESX infrastructure and does not have to be on a separate,
"special" ESX host.  We have many virtual desktops and some of them
are intermingled with our virtual servers.

Good idea/bad idea is still an exercise left up to the reader.  :)

Benny


-- 
"Because you have arms like noodles, while I am vigorous and
burly."                               -- Hodgins, "Bones"



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From diego.roccia at gmail.com  Thu Oct 14 15:34:18 2010
From: diego.roccia at gmail.com (Diego Roccia)
Date: Thu, 14 Oct 2010 15:34:18 +0200
Subject: How to determine the login duration of current
	user?
In-Reply-To: <10e05a409f1d8183d2c7f4458ce0b4e7.squirrel@webmail.stinkweasel.net>
References: <AE242DF3177857408DD66BC68549EB950B16D0FD77@mail01.internal.innosphere.ca>
	<AANLkTi=fyfSJjx32PUstoAYhcwGNUP1akKVRR+3bDZD0@mail.gmail.com>
	<AE242DF3177857408DD66BC68549EB950B16D0FDA5@mail01.internal.innosphere.ca>
	<B5632960467A4C48B4DBF3D2512358A74D16051D50@akechi-denki.ad.nctechcenter.com>
	<20101014103043.GA9575@fohnet.co.uk>
	<10e05a409f1d8183d2c7f4458ce0b4e7.squirrel@webmail.stinkweasel.net>
Message-ID: <AANLkTinx6gxf7YOA=aDFkPTXsAUThh4CNVYpBV49_1+t@mail.gmail.com>

  There's another solution: you could setup a logon script that sends
an nsca every time a user login to the server. Then, you can check the
service  freshness against a 1 or 2 days threshold. It's a completely
different approach, but I prefer to use passive checks when I need to
trigger user created events, as I think it makes more sense (and less
load and traffic) than checking continously the logs.

Diego


On Thu, Oct 14, 2010 at 3:22 PM, C. Bensend <benny at bennyvision.com> wrote:
>
>> VMware's version of this is VDI - it's pretty good, but it's not cheap -
>> it needs a special kind of ESX license so you can't run those desktops
>> on your existing servers, they need to be on dedicated ESX/VDI servers.
>
> This statement is not accurate, at least not in our locale. ?While
> VDI *does* require a separate license, it will run just fine on
> existing ESX infrastructure and does not have to be on a separate,
> "special" ESX host. ?We have many virtual desktops and some of them
> are intermingled with our virtual servers.
>
> Good idea/bad idea is still an exercise left up to the reader. ?:)
>
> Benny
>
>
> --
> "Because you have arms like noodles, while I am vigorous and
> burly." ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -- Hodgins, "Bones"
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ?ECMAScript5, and DOM L2 & L3.
> Spend less time writing and ?rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>



-- 
Diego Roccia
diego.roccia (at) gmail (dot) com

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From kdavison at innosphere.ca  Thu Oct 14 16:29:46 2010
From: kdavison at innosphere.ca (Kevin Davison)
Date: Thu, 14 Oct 2010 10:29:46 -0400
Subject: How to determine the login duration of
	current	user?
In-Reply-To: <AANLkTinx6gxf7YOA=aDFkPTXsAUThh4CNVYpBV49_1+t@mail.gmail.com>
References: <AE242DF3177857408DD66BC68549EB950B16D0FD77@mail01.internal.innosphere.ca>
	<AANLkTi=fyfSJjx32PUstoAYhcwGNUP1akKVRR+3bDZD0@mail.gmail.com>
	<AE242DF3177857408DD66BC68549EB950B16D0FDA5@mail01.internal.innosphere.ca>
	<B5632960467A4C48B4DBF3D2512358A74D16051D50@akechi-denki.ad.nctechcenter.com>
	<20101014103043.GA9575@fohnet.co.uk>
	<10e05a409f1d8183d2c7f4458ce0b4e7.squirrel@webmail.stinkweasel.net>
	<AANLkTinx6gxf7YOA=aDFkPTXsAUThh4CNVYpBV49_1+t@mail.gmail.com>
Message-ID: <AE242DF3177857408DD66BC68549EB950B16D0FDD9@mail01.internal.innosphere.ca>

I like the sound of that. I agree with you on the passive vs active issue. I often find that setting something up active gets me where I need to go faster and then I never get back to finding a passive way to do it. We'll need to make the modification to each of the VM's (~200) but I think that will do what I want. I'll take a look at doing that. Thank you very much!

-----Original Message-----
From: Diego Roccia [mailto:diego.roccia at gmail.com] 
Sent: October-14-10 9:34 AM
To: Nagios Users List
Subject: Re: [Nagios-users] How to determine the login duration of current user?

  There's another solution: you could setup a logon script that sends
an nsca every time a user login to the server. Then, you can check the
service  freshness against a 1 or 2 days threshold. It's a completely
different approach, but I prefer to use passive checks when I need to
trigger user created events, as I think it makes more sense (and less
load and traffic) than checking continously the logs.

Diego


On Thu, Oct 14, 2010 at 3:22 PM, C. Bensend <benny at bennyvision.com> wrote:
>
>> VMware's version of this is VDI - it's pretty good, but it's not cheap -
>> it needs a special kind of ESX license so you can't run those desktops
>> on your existing servers, they need to be on dedicated ESX/VDI servers.
>
> This statement is not accurate, at least not in our locale. ?While
> VDI *does* require a separate license, it will run just fine on
> existing ESX infrastructure and does not have to be on a separate,
> "special" ESX host. ?We have many virtual desktops and some of them
> are intermingled with our virtual servers.
>
> Good idea/bad idea is still an exercise left up to the reader. ?:)
>
> Benny
>
>
> --
> "Because you have arms like noodles, while I am vigorous and
> burly." ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -- Hodgins, "Bones"
>
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ?ECMAScript5, and DOM L2 & L3.
> Spend less time writing and ?rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>



-- 
Diego Roccia
diego.roccia (at) gmail (dot) com

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From nccomp at gmail.com  Thu Oct 14 16:28:03 2010
From: nccomp at gmail.com (Andrew Davis)
Date: Thu, 14 Oct 2010 10:28:03 -0400
Subject: Getting graphs for one host,
 but not another... but both in same hostgroup
Message-ID: <4CB71373.2020000@gmail.com>

  I've stumbled across something odd. We're using Nagios and PNP4Nagios 
to get trending and graphs. I have two clients in the same hostgroup. 
The hostgroup name is "linux-servers". Members are "osiris1" and 
"imhotep". I'm using NRPE to check each. Relevant config files are 
below. In a nutshell, I'm getting disk graphs for Osiris1, but not for 
Imhotep and I can't figure out why. To clarify... the disk graphs are 
there for both. However, for host Osiris1 they are populated with data. 
But for host Imhotep they are blank (not non-existent, existent, but 
blank/empty). Checking manually at the command line of the Nagios server 
shows the pipe and the subsequent data (tests at bottm of email). I 
could understand if was monitoring the hosts individually and had a typo 
in a config for one, but I'm monitoring them as a hostgroup and command 
line tests work, but one is giving graphs with results and the other 
blank graphs. Any thoughts?

*hosts.cfg* (/relevant portion/):

##### Linux Hosts #####
# -- Linux host
define host {
         name                    Linux-Servers
         register                0

         hostgroups              linux-servers
         check_command           check-host-alive
         icon_image              tux.png
         statusmap_image         tux.png
         icon_image_alt          Linux Server
         max_check_attempts      3
         check_period            24x7
         contact_groups          unixadmins
         notification_interval   120
         notification_period     24x7
         notification_options    d, u, r, f, s
}
define host {
         host_name               imhotep
         use                     Linux-Servers
         alias                   Imhotep (SLES)
         address                 10.1.1.57
         parents                 *changed_for_security_reasons*
}
define host {
         host_name               osiris1
         use                     Linux-Servers
         alias                   Osiris1 (SLES)
         address                 10.1.1.52
         parents                 *changed_for_security_reasons*
}

*hostgroups.cfg* (/relevant portion/):

##### Linux Servers #####
define hostgroup {
         hostgroup_name          linux-servers
         alias                   Linux Servers (Checked via NRPE)
         members                 imhotep, osiris1
}

*checkcommands.cfg* (/relevant portion/):

define command {
         command_name            check_nrpe
         command_line            $USER1$/check_nrpe -H $HOSTADDRESS$ -t 
60 -c $ARG1$
}

*services.cfg* (/relevant portion/):

define service {
         hostgroup_name                  linux-servers
         service_description             DISK
         check_command                   check_nrpe!check_disks
         max_check_attempts              3
         normal_check_interval           15
         retry_check_interval            5
         check_period                    24x7
         notification_interval           120
         notification_period             24x7
         notification_options            w, u, c, r, f, s
         contact_groups                  unixadmins
         action_url                      
/nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
}

Manual tests from Nagios command line:

[nagios at nephilim ]$ /usr/local/nagios/libexec/check_nrpe -H imhotep -c 
check_disks
DISK OK| /=37431MB;62067;65515;0;68964 /dev/shm=0MB;7187;7586;0;7986 
/srv=487666MB;857825;905482;0;953139 
/Process=771063MB;1151634;1215614;0;1279594 
/home=484743MB;974463;1028600;0;1082737 
/mnt/store=906386MB;1715990;1811323;0;1906656 
/data=397590MB;837857;884405;0;930953 
/mnt/archives=2715115MB;4618679;4875272;0;5131866
[nagios at nephilim ]$ /usr/local/nagios/libexec/check_nrpe -H osiris1 -c 
check_disks
DISK OK| /=5753MB;62067;65515;0;68964 /dev/shm=0MB;7013;7403;0;7793 
/mnt/store=906386MB;1715990;1811323;0;1906656 
/mnt/newxray=651767MB;837621;884155;0;930690 
/mnt/incell=1503651MB;1715990;1811323;0;1906656 
/mnt/newdata=788776MB;878368;927166;0;975965 
/share=560786MB;851256;898548;0;945840 
/data=397590MB;837857;884405;0;930953 
/home=484743MB;974463;1028600;0;1082737 
/mnt/archives=2715115MB;4618679;4875272;0;5131866 
/Peptide=452914MB;844445;891359;0;938273

Any thoughts? I'm stumped on this one... anyone know where PNP keeps its 
logs? I'm thinking I might be able to grep through the logs for the host 
with the blank graphs and find something...

-- 


   A. Davis
   Email:     nccomp at gmail.com

   "There is no limit to what a man can accomplish
    if he doesn't care who gets the credit." - Ronald Reagan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101014/be3f03cf/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From pangrazi at gmail.com  Thu Oct 14 16:58:12 2010
From: pangrazi at gmail.com (Greg Pangrazio)
Date: Thu, 14 Oct 2010 09:58:12 -0500
Subject: How to determine the login duration of current
	user?
In-Reply-To: <AE242DF3177857408DD66BC68549EB950B16D0FDD9@mail01.internal.innosphere.ca>
References: <AE242DF3177857408DD66BC68549EB950B16D0FD77@mail01.internal.innosphere.ca>
	<AANLkTi=fyfSJjx32PUstoAYhcwGNUP1akKVRR+3bDZD0@mail.gmail.com>
	<AE242DF3177857408DD66BC68549EB950B16D0FDA5@mail01.internal.innosphere.ca>
	<B5632960467A4C48B4DBF3D2512358A74D16051D50@akechi-denki.ad.nctechcenter.com>
	<20101014103043.GA9575@fohnet.co.uk>
	<10e05a409f1d8183d2c7f4458ce0b4e7.squirrel@webmail.stinkweasel.net>
	<AANLkTinx6gxf7YOA=aDFkPTXsAUThh4CNVYpBV49_1+t@mail.gmail.com>
	<AE242DF3177857408DD66BC68549EB950B16D0FDD9@mail01.internal.innosphere.ca>
Message-ID: <AANLkTim9JiaFkaZt2YpVFavNipywMn7Scny=BsKdO+84@mail.gmail.com>

Another option would be to check the number of logged in users via
check_nt or wmi.

Say you have the service check set to 5 min and the retry set to 5 min
(or what ever is convenient) you then divide the time "x" from above
by 5 and that is the number of retries before an alert.

As soon as someone logs in the service would go back to OK and the
"timeout" would restart.

not as elegant as the vmware solution but much cheaper.

Greg Pangrazio
pangrazi at gmail.com




On Thu, Oct 14, 2010 at 9:29 AM, Kevin Davison <kdavison at innosphere.ca> wrote:
> I like the sound of that. I agree with you on the passive vs active issue. I often find that setting something up active gets me where I need to go faster and then I never get back to finding a passive way to do it. We'll need to make the modification to each of the VM's (~200) but I think that will do what I want. I'll take a look at doing that. Thank you very much!
>
> -----Original Message-----
> From: Diego Roccia [mailto:diego.roccia at gmail.com]
> Sent: October-14-10 9:34 AM
> To: Nagios Users List
> Subject: Re: [Nagios-users] How to determine the login duration of current user?
>
> ?There's another solution: you could setup a logon script that sends
> an nsca every time a user login to the server. Then, you can check the
> service ?freshness against a 1 or 2 days threshold. It's a completely
> different approach, but I prefer to use passive checks when I need to
> trigger user created events, as I think it makes more sense (and less
> load and traffic) than checking continously the logs.
>
> Diego
>
>
> On Thu, Oct 14, 2010 at 3:22 PM, C. Bensend <benny at bennyvision.com> wrote:
>>
>>> VMware's version of this is VDI - it's pretty good, but it's not cheap -
>>> it needs a special kind of ESX license so you can't run those desktops
>>> on your existing servers, they need to be on dedicated ESX/VDI servers.
>>
>> This statement is not accurate, at least not in our locale. ?While
>> VDI *does* require a separate license, it will run just fine on
>> existing ESX infrastructure and does not have to be on a separate,
>> "special" ESX host. ?We have many virtual desktops and some of them
>> are intermingled with our virtual servers.
>>
>> Good idea/bad idea is still an exercise left up to the reader. ?:)
>>
>> Benny
>>
>>
>> --
>> "Because you have arms like noodles, while I am vigorous and
>> burly." ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -- Hodgins, "Bones"
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1, ?ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and ?rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today.
>> http://p.sf.net/sfu/beautyoftheweb
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>
>
>
>
> --
> Diego Roccia
> diego.roccia (at) gmail (dot) com
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ?ECMAScript5, and DOM L2 & L3.
> Spend less time writing and ?rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ?ECMAScript5, and DOM L2 & L3.
> Spend less time writing and ?rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From fragment90 at googlemail.com  Thu Oct 14 19:23:40 2010
From: fragment90 at googlemail.com (es)
Date: Thu, 14 Oct 2010 19:23:40 +0200
Subject: Getting graphs for one host,
 but not another... but both in same hostgroup
In-Reply-To: <4CB71373.2020000@gmail.com>
References: <4CB71373.2020000@gmail.com>
Message-ID: <4CB73C9C.6070804@googlemail.com>

  Simple check this site of the pnp4nagios documentation:

http://docs.pnp4nagios.org/pnp-0.4/verify

I think this will help you out finding and analysing the logfiles.


Am 14.10.2010 16:28, schrieb Andrew Davis:
> I've stumbled across something odd. We're using Nagios and PNP4Nagios 
> to get trending and graphs. I have two clients in the same hostgroup. 
> The hostgroup name is "linux-servers". Members are "osiris1" and 
> "imhotep". I'm using NRPE to check each. Relevant config files are 
> below. In a nutshell, I'm getting disk graphs for Osiris1, but not for 
> Imhotep and I can't figure out why. To clarify... the disk graphs are 
> there for both. However, for host Osiris1 they are populated with 
> data. But for host Imhotep they are blank (not non-existent, existent, 
> but blank/empty). Checking manually at the command line of the Nagios 
> server shows the pipe and the subsequent data (tests at bottm of 
> email). I could understand if was monitoring the hosts individually 
> and had a typo in a config for one, but I'm monitoring them as a 
> hostgroup and command line tests work, but one is giving graphs with 
> results and the other blank graphs. Any thoughts?
>
> *hosts.cfg* (/relevant portion/):
>
> ##### Linux Hosts #####
> # -- Linux host
> define host {
>         name                    Linux-Servers
>         register                0
>
>         hostgroups              linux-servers
>         check_command           check-host-alive
>         icon_image              tux.png
>         statusmap_image         tux.png
>         icon_image_alt          Linux Server
>         max_check_attempts      3
>         check_period            24x7
>         contact_groups          unixadmins
>         notification_interval   120
>         notification_period     24x7
>         notification_options    d, u, r, f, s
> }
> define host {
>         host_name               imhotep
>         use                     Linux-Servers
>         alias                   Imhotep (SLES)
>         address                 10.1.1.57
>         parents                 *changed_for_security_reasons*
> }
> define host {
>         host_name               osiris1
>         use                     Linux-Servers
>         alias                   Osiris1 (SLES)
>         address                 10.1.1.52
>         parents                 *changed_for_security_reasons*
> }
>
> *hostgroups.cfg* (/relevant portion/):
>
> ##### Linux Servers #####
> define hostgroup {
>         hostgroup_name          linux-servers
>         alias                   Linux Servers (Checked via NRPE)
>         members                 imhotep, osiris1
> }
>
> *checkcommands.cfg* (/relevant portion/):
>
> define command {
>         command_name            check_nrpe
>         command_line            $USER1$/check_nrpe -H $HOSTADDRESS$ -t 
> 60 -c $ARG1$
> }
>
> *services.cfg* (/relevant portion/):
>
> define service {
>         hostgroup_name                  linux-servers
>         service_description             DISK
>         check_command                   check_nrpe!check_disks
>         max_check_attempts              3
>         normal_check_interval           15
>         retry_check_interval            5
>         check_period                    24x7
>         notification_interval           120
>         notification_period             24x7
>         notification_options            w, u, c, r, f, s
>         contact_groups                  unixadmins
>         action_url                      
> /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$
> }
>
> Manual tests from Nagios command line:
>
> [nagios at nephilim ]$ /usr/local/nagios/libexec/check_nrpe -H imhotep -c 
> check_disks
> DISK OK| /=37431MB;62067;65515;0;68964 /dev/shm=0MB;7187;7586;0;7986 
> /srv=487666MB;857825;905482;0;953139 
> /Process=771063MB;1151634;1215614;0;1279594 
> /home=484743MB;974463;1028600;0;1082737 
> /mnt/store=906386MB;1715990;1811323;0;1906656 
> /data=397590MB;837857;884405;0;930953 
> /mnt/archives=2715115MB;4618679;4875272;0;5131866
> [nagios at nephilim ]$ /usr/local/nagios/libexec/check_nrpe -H osiris1 -c 
> check_disks
> DISK OK| /=5753MB;62067;65515;0;68964 /dev/shm=0MB;7013;7403;0;7793 
> /mnt/store=906386MB;1715990;1811323;0;1906656 
> /mnt/newxray=651767MB;837621;884155;0;930690 
> /mnt/incell=1503651MB;1715990;1811323;0;1906656 
> /mnt/newdata=788776MB;878368;927166;0;975965 
> /share=560786MB;851256;898548;0;945840 
> /data=397590MB;837857;884405;0;930953 
> /home=484743MB;974463;1028600;0;1082737 
> /mnt/archives=2715115MB;4618679;4875272;0;5131866 
> /Peptide=452914MB;844445;891359;0;938273
>
> Any thoughts? I'm stumped on this one... anyone know where PNP keeps 
> its logs? I'm thinking I might be able to grep through the logs for 
> the host with the blank graphs and find something...
> -- 
>
>
>    A. Davis
>    Email:nccomp at gmail.com
>
>    "There is no limit to what a man can accomplish
>     if he doesn't care who gets the credit." - Ronald Reagan
>
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2&  L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101014/fb7c57e5/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From yu.watanabe at jp.fujitsu.com  Fri Oct 15 12:29:42 2010
From: yu.watanabe at jp.fujitsu.com (Yu Watanabe)
Date: Fri, 15 Oct 2010 19:29:42 +0900
Subject: Shortening the reschedule preiod after the commit
Message-ID: <201010151029.AA02623@S2007337.jp.fujitsu.com>

Hello all.

I would like to get an advice about the rescheduling process after the restart.

As far as I see the nagios operation, checks that are scheduled
during the restart nagios are rescheduled after the restart.

However, if thougsands of services are defined in nagios, 
some of the checks are rescheduled way behind the queue.

Would there be a way to shorten the period of time for the reschedule?

Thanks!
Yu Watanabe


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From kdavison at innosphere.ca  Fri Oct 15 17:19:49 2010
From: kdavison at innosphere.ca (Kevin Davison)
Date: Fri, 15 Oct 2010 11:19:49 -0400
Subject: How to determine the login duration of
	current	user?
In-Reply-To: <AANLkTim9JiaFkaZt2YpVFavNipywMn7Scny=BsKdO+84@mail.gmail.com>
References: <AE242DF3177857408DD66BC68549EB950B16D0FD77@mail01.internal.innosphere.ca>
	<AANLkTi=fyfSJjx32PUstoAYhcwGNUP1akKVRR+3bDZD0@mail.gmail.com>
	<AE242DF3177857408DD66BC68549EB950B16D0FDA5@mail01.internal.innosphere.ca>
	<B5632960467A4C48B4DBF3D2512358A74D16051D50@akechi-denki.ad.nctechcenter.com>
	<20101014103043.GA9575@fohnet.co.uk>
	<10e05a409f1d8183d2c7f4458ce0b4e7.squirrel@webmail.stinkweasel.net>
	<AANLkTinx6gxf7YOA=aDFkPTXsAUThh4CNVYpBV49_1+t@mail.gmail.com>
	<AE242DF3177857408DD66BC68549EB950B16D0FDD9@mail01.internal.innosphere.ca>
	<AANLkTim9JiaFkaZt2YpVFavNipywMn7Scny=BsKdO+84@mail.gmail.com>
Message-ID: <AE242DF3177857408DD66BC68549EB950B16D0FE6B@mail01.internal.innosphere.ca>

I've been playing around with going a little further. I may have to script something after all.

Currently I'm using nrpe with CheckWMI to query the LastLogon in Win32_NetworkLoginProfile. This is working pretty good in testing...almost. The query returns the username and the date/time. So I get something like "david LastLogon:20101015111042". I can get a result by putting an impossible number for MaxWarn and MaxCrit. The snag here is now comparing that date/time to the current date/time and determining the difference.


# ./check_nrpe -H 192.168.10.208 -p 5666 -c CheckWMIValue -a 'Query=SELECT Caption, LastLogon FROM Win32_NetworkLoginProfile WHERE Caption="admin"' MaxWarn=5 MaxCrit=5 Check:LastLogon=LastLogon AliasCol=Caption
Admin LastLogon: 20100907155325 > critical

-----Original Message-----
From: Greg Pangrazio [mailto:pangrazi at gmail.com] 
Sent: October-14-10 10:58 AM
To: Nagios Users List
Subject: Re: [Nagios-users] How to determine the login duration of current user?

Another option would be to check the number of logged in users via
check_nt or wmi.

Say you have the service check set to 5 min and the retry set to 5 min
(or what ever is convenient) you then divide the time "x" from above
by 5 and that is the number of retries before an alert.

As soon as someone logs in the service would go back to OK and the
"timeout" would restart.

not as elegant as the vmware solution but much cheaper.

Greg Pangrazio
pangrazi at gmail.com




On Thu, Oct 14, 2010 at 9:29 AM, Kevin Davison <kdavison at innosphere.ca> wrote:
> I like the sound of that. I agree with you on the passive vs active issue. I often find that setting something up active gets me where I need to go faster and then I never get back to finding a passive way to do it. We'll need to make the modification to each of the VM's (~200) but I think that will do what I want. I'll take a look at doing that. Thank you very much!
>
> -----Original Message-----
> From: Diego Roccia [mailto:diego.roccia at gmail.com]
> Sent: October-14-10 9:34 AM
> To: Nagios Users List
> Subject: Re: [Nagios-users] How to determine the login duration of current user?
>
> ?There's another solution: you could setup a logon script that sends
> an nsca every time a user login to the server. Then, you can check the
> service ?freshness against a 1 or 2 days threshold. It's a completely
> different approach, but I prefer to use passive checks when I need to
> trigger user created events, as I think it makes more sense (and less
> load and traffic) than checking continously the logs.
>
> Diego
>
>
> On Thu, Oct 14, 2010 at 3:22 PM, C. Bensend <benny at bennyvision.com> wrote:
>>
>>> VMware's version of this is VDI - it's pretty good, but it's not cheap -
>>> it needs a special kind of ESX license so you can't run those desktops
>>> on your existing servers, they need to be on dedicated ESX/VDI servers.
>>
>> This statement is not accurate, at least not in our locale. ?While
>> VDI *does* require a separate license, it will run just fine on
>> existing ESX infrastructure and does not have to be on a separate,
>> "special" ESX host. ?We have many virtual desktops and some of them
>> are intermingled with our virtual servers.
>>
>> Good idea/bad idea is still an exercise left up to the reader. ?:)
>>
>> Benny
>>
>>
>> --
>> "Because you have arms like noodles, while I am vigorous and
>> burly." ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -- Hodgins, "Bones"
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1, ?ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and ?rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today.
>> http://p.sf.net/sfu/beautyoftheweb
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>
>
>
>
> --
> Diego Roccia
> diego.roccia (at) gmail (dot) com
>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ?ECMAScript5, and DOM L2 & L3.
> Spend less time writing and ?rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1, ?ECMAScript5, and DOM L2 & L3.
> Spend less time writing and ?rewriting code and more time creating great
> experiences on the web. Be a part of the beta today.
> http://p.sf.net/sfu/beautyoftheweb
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mirde at oppy.com  Fri Oct 15 19:11:33 2010
From: mirde at oppy.com (Mirza Dedic)
Date: Fri, 15 Oct 2010 10:11:33 -0700
Subject: Monitoring email messages in an Exchange environment?
Message-ID: <CF757435B64CD64798912313712C7B325A3B0EB357@van-mail01.vand1.oppy.com>

Hi,

I have a request where we want to "monitor" a mailbox, our environment is Exchange 2007 SP1, the end clients use Outlook 2007/2010.

Basically we have email that comes in which are simple "notification messages" from a server, but because it generates a lot of notification messages it is not idea to check every single one of them for errors, so we would like to scan them and filter on different error messages.

I could do this using consol.de's check_log plug-in, but for it to work I would need to be able to somehow export the messages in csv or txt to a directory from which it can "scan". Anyone done something like this, using Nagios care to share your method?

Thank you.

The Oppenheimer Group ---- CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From cbeattie at geninfo.com  Fri Oct 15 21:23:00 2010
From: cbeattie at geninfo.com (Chris Beattie)
Date: Fri, 15 Oct 2010 15:23:00 -0400
Subject: Using two nagios servers...
In-Reply-To: <4CB5950E.8000500@gmail.com>
References: <4CB5950E.8000500@gmail.com>
Message-ID: <E9985DFC8B07BD499B945BD1CB3E3C440DD7F494@ex3ms2.geninfo.com>

Wow, I completely forgot that I?d responded to this.  This is what I do.  If you use this script, you?ll want to change the notification e-mail address, where it will send notifications when the failover server decides it needs to take over and when it decides to yield to the primary if the primary has come back online.

 

-------------------------------------------------

Failover Configuration

 

On the failover server, install the same OS the same way it's installed on the

primary monitoring server, but set Nagios to not start in runlevels 3 and 5 or

else the failover checking script will generate e-mail notifications when the

failover server is rebooted (Nagios will start before the failover server

notices it's running on the primary, and the message will come when the fail-

over server shuts the failover Nagios down).

 

On the failover server, generate a public/private key pair.  This is necessary in

order to avoid having to type in a password every time the state of the Nagios

process on the primary server is checked:

 

       # ssh-keygen -t rsa

 

Take the default name and location (/root/.ssh/id_rsa and id_rsa.pub).  Do not enter

a passphrase.

 

Copy id_rsa.pub to the primary server:

 

       # rsync -avzu id_rsa.pub primaryserverhostname:/root/.ssh/

 

On the primary server, append the id_rsa.pub to authorized_keys2:

 

       cat id_rsa.pub >> $HOME/.ssh/authorized_keys2

       chmod 0600 authorized_keys2

 

Download, compile, and install Nagios on the failover server the same way it's

installed on the primary server.

 

Create a script named nagios_check.sh in /root/:

-----------------------

 

       #!/bin/bash

       nagiospath='/usr/local/nagios'

       alertaddress='you at yourdomain'

       maxfaillimit='3'

 

       touch failed_nagios_checks

       failedchecks=$(cat failed_nagios_checks)

 

       if [[ -z "${1}" ]]

       then

              echo Usage: nagios_check hostname

              exit

       fi

 

       nagiosstatusnow=$(${nagiospath}/libexec/check_by_ssh -H ${1} --command='/usr/local/nagios/libexec/check_nagios --filename=/usr/local/nagios/var/status.dat --expires=1 --command=nagios')

       nagiosstatus="${nagiosstatusnow%%:*}"

       nagiosrunninglocally=$(/etc/init.d/nagios status)

 

       if [[ "${nagiosstatus}" = "NAGIOS OK" ]]

       then

              echo -ne "[`date`] ${nagiosstatus} on ${1}. "

              if [[ "${nagiosrunninglocally%% *}" = "nagios" ]]

              then

                     echo -e Nagios is currently running on the failover server, and needs to be stopped.

                     /etc/init.d/nagios stop

                     /usr/bin/printf "%b" "[`date`] Nagios recovery on ${1} detected.  Stopping failover Nagios.\n\n${nagiosstatusnow}" | /bin/mail -s "Nagios recovery on ${1}" ${alertaddress}

              fi

              echo -e "Failed ${failedchecks} checks: synchronizing files.  Status: ${nagiosstatusnow} "

              echo 0 > failed_nagios_checks

              rsync --quiet --archive --compress --delete-during --exclude=var/spool/checkresults/* --exclude=var/archives/* --exclude=*~ --exclude=nagios.lock --exclude=nagios.cmd ${1}:${nagiospath} /usr/local

       else

              failedchecks=$((${failedchecks} + 1))

              echo ${failedchecks} > failed_nagios_checks

              if [[ "${failedchecks}" -lt "${maxfaillimit}" ]]

              then

                     echo -e "[`date`] Uh-oh! Failed ${failedchecks} out of ${maxfaillimit} checks.  Status: ${nagiosstatusnow} "

              fi

              if [[ "${failedchecks}" -ge "${maxfaillimit}" ]]

              then

                     echo -ne "[`date`] ${nagiosstatus} on ${1}. "

                     if [[ "${nagiosrunninglocally%% *}" = "No" ]]

                     then

                           echo -e " Failed ${failedchecks} checks, and needs to be started on the failover server. "

                           /etc/init.d/nagios start

                           /usr/bin/printf "%b" "[`date`] Nagios on ${1} has failed ${failedchecks} checks.  Starting Nagios on failover server.\n\n${nagiosstatusnow}" | /bin/mail -s "Nagios failure on ${1}" ${alertaddress}

                     else

                           echo -e "Failed ${failedchecks} checks, but is already running on the failover server. "

                     fi

              fi

       fi

 

-----------------------

 

Make it executable by root:

 

       chmod u+x nagios_check.sh

 

Run crontab -e as root and add this line:

 

       * * * * * /root/nagios_check.sh primaryserverhostname >> /var/log/nagios_check.log 2>&1

 

The *s set it to run every minute.  The output is redirected to a log file, and the 2>&1 redirects both STDOUT and STDERR.

 

At the top of the every minute now, the failover server will obtain a current replica of the

primary server's Nagios status (comments, acknowlegements, downtime, configuration files, etc).

 

Add a file in /etc/logrotate.d called nagios_check:

-----------------------

 

       /var/log/nagios_check.log {

           weekly

           missingok

           notifempty

       }

 

-----------------------

 

From: quanta [mailto:quanta.linux at gmail.com] 
Sent: Wednesday, October 13, 2010 7:17 AM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Using two nagios servers...

 

Try something like this:

#!/bin/sh

RETURN_STATUS=`/usr/local/nagios/libexec/check_nrpe -H <primary_host> -c check_nagios | awk -F: '{ print $1 }' | awk '{ print $2 }'`
if [ $RETURN_STATUS != "OK" ]; then
    sed -i 's/enable_notifications=0/enable_notifications=1/' /usr/local/nagios/etc/nagios.cfg
    sed -i 's/execute_service_checks=0/execute_service_checks=1/' /usr/local/nagios/etc/nagios.cfg
else
    sed -i 's/enable_notifications=1/enable_notifications=0/' /usr/local/nagios/etc/nagios.cfg
    sed -i 's/execute_service_checks=1/execute_service_checks=0/' /usr/local/nagios/etc/nagios.cfg
fi
sudo /etc/init.d/nagios reload

Note: you must add nagios user to sudoers group (without password prompt).


On 08/16/2010 02:44 PM, ravishankar.gundlapali at wipro.com wrote: 

Hi,

 

Even I run Nagios on Virtual machines.

 

Please let me know where can I get the support for running cron job on my secondary Nagios server to monitor the Nagios service on primary Nagios server?

 

Thanks,

Ravi G

 

From: Chris Beattie [mailto:cbeattie at geninfo.com] 
Sent: Monday, August 16, 2010 6:51 PM
To: Nagios Users List
Subject: Re: [Nagios-users] Using two nagios servers...

 

Your servers will probably be fine servicing the extra Nagios polling, unless they are overloaded already.

 

Since I run Nagios on virtual machines, however, I tried to keep the load on my failover Nagios server minimized.  My failover Nagios server runs a cron job that uses the check_nagios plugin to monitor the state of the primary Nagios server.  If the primary server is up and running, the failover server will just rsync the state and configuration files from the primary.  If the primary server becomes unavailable, the cron job will start the Nagios service on the failover server and keep it running until it detects the primary has recovered.

 

From: ravishankar.gundlapali at wipro.com [mailto:ravishankar.gundlapali at wipro.com] 
Sent: Monday, August 16, 2010 7:45 AM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Using two nagios servers...

 

Hi All,

 

I am planning to configure all the servers in my client environment in two Nagios servers(in two different locations) in order to create Back up.

 

Please let me know whether there will be any overload on the servers as two Nagios servers will be polling them.

 

 

Thanks,

Ravi G

 
 
------------------------------------------------------------------------------
This SF.net email is sponsored by 
 
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
 
 
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101015/e1c7981f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From lists at matthewjwhite.co.uk  Sat Oct 16 21:27:32 2010
From: lists at matthewjwhite.co.uk (Matt White)
Date: Sat, 16 Oct 2010 20:27:32 +0100
Subject: Monitoring email messages in an Exchange
	environment?
In-Reply-To: <CF757435B64CD64798912313712C7B325A3B0EB357@van-mail01.vand1.oppy.com>
References: <CF757435B64CD64798912313712C7B325A3B0EB357@van-mail01.vand1.oppy.com>
Message-ID: <313BAF5407E567438608F6666AD8E4E00319492858C2@HOME-VIR-EX07.home.bisnet>

Hi Mirza,

First I would look at setting up some server side rules in Outlook to move the non-critical messages to another folder or forward the critical ones based on subject/content to a mailbox then maybe tie that in with a plugin that checks for mail flow to a mailbox (you would need to allow pop/imap access to the mailbox for Nagios to check it)

I haven't tried this before but it will hopefully point you in the right direction.

Kind regards,
Matt

-----Original Message-----
From: Mirza Dedic [mailto:mirde at oppy.com] 
Sent: 15 October 2010 18:12
To: 'Nagios Users List'
Subject: [Nagios-users] Monitoring email messages in an Exchange environment?

Hi,

I have a request where we want to "monitor" a mailbox, our environment is Exchange 2007 SP1, the end clients use Outlook 2007/2010.

Basically we have email that comes in which are simple "notification messages" from a server, but because it generates a lot of notification messages it is not idea to check every single one of them for errors, so we would like to scan them and filter on different error messages.

I could do this using consol.de's check_log plug-in, but for it to work I would need to be able to somehow export the messages in csv or txt to a directory from which it can "scan". Anyone done something like this, using Nagios care to share your method?

Thank you.

The Oppenheimer Group ---- CONFIDENTIAL

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From yuehung at cht.com.tw  Sun Oct 17 03:41:00 2010
From: yuehung at cht.com.tw (=?UTF-8?B?5YqJ5bKz5rOT?=)
Date: Sun, 17 Oct 2010 09:41:00 +0800
Subject: display partial hostgroups ?
Message-ID: <4CBA542C.3040900@cht.com.tw>


hi all,

is it possible to display partial hostgroups which include only hosts 
owned by specific users?
it seems that Nagios always display "whole" hostgroups, that is, if a 
group includes some hosts which is not owned by a user, this user can't 
see this group in Nagios even though there are hosts which also belong 
to this group.

thanks


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mark.frost1 at pepsico.com  Sun Oct 17 06:10:27 2010
From: mark.frost1 at pepsico.com (Frost, Mark {PBC})
Date: Sun, 17 Oct 2010 00:10:27 -0400
Subject: question about slow startup and retained data
Message-ID: <BB690CA131D24C449394CA847A2CB0D781688E1F9B@PEPWMV00089.corp.pep.pvt>

After adding a fair number of hosts/services based on templates -- all with a number of dependent services -- we're seeing Nagios taking a fair amount of time to start up now.  We're using Nagios 3.2.1.  Startup times seemed to be in the vicinity of 4 minutes.  During that time Nagios chews up 100% of one CPU core and eventually 2 CPU cores, then settles down.  I assumed it was time for me to investigate the fast-startup options and deal with at least the dependency checking.

Note that this host in question is the "central" node in a distributed setup so virtually everything it gets is a passive check result.

When I tried starting with '-s', I found that the first block (Object Config Processing Times) went very quickly and then it hung on the second block (Retention Data Times) ran for a while as indicated.  Everything else after that seemed to go fairly quickly to my surprise.  So apparently, my problem is with retained data.

My relevant nagios.cfg entries are as follows:

retain_state_information=1
retention_update_interval=60
use_retained_program_state=1
use_retained_scheduling_info=1
retained_host_attribute_mask=0
retained_service_attribute_mask=0
retained_process_host_attribute_mask=0
retained_process_service_attribute_mask=0
retained_contact_host_attribute_mask=0
retained_contact_service_attribute_mask=0

So we definitely want to make use of historical data.   I see in the config file comment that using retained state may come at the cost of increased startup times.   None of the speedup options I see seem to say that they try to help startup time with retained status.   Am I stuck?  Do I either need to live with the 194-second processing time (and that will go up as we add more hosts/services over time) or do without retained data?

nagios -s output:

Object Config Source: Config files (uncached)

OBJECT CONFIG PROCESSING TIMES      (* = Potential for precache savings with -u option)
----------------------------------
Read:                 0.042305 sec
Resolve:              0.008222 sec  *
Recomb Contactgroups: 0.002196 sec  *
Recomb Hostgroups:    0.006549 sec  *
Dup Services:         0.026616 sec  *
Recomb Servicegroups: 0.289033 sec  *
Duplicate:            0.012538 sec  *
Inherit:              0.005349 sec  *
Recomb Contacts:      0.000000 sec  *
Sort:                 0.000001 sec  *
Register:             0.076975 sec
Free:                 0.008261 sec
                      ============
TOTAL:                0.478046 sec  * = 0.350505 sec (73.32%) estimated savings


RETENTION DATA TIMES
----------------------------------
Read and Process:     194.016362 sec
                      ============
TOTAL:                194.016362 sec


Timing information on configuration verification is listed below.

CONFIG VERIFICATION TIMES          (* = Potential for speedup with -x option)
----------------------------------
Object Relationships: 0.054524 sec
Circular Paths:       0.822133 sec  *
Misc:                 0.005159 sec
                      ============
TOTAL:                0.881816 sec  * = 0.822133 sec (93.2%) estimated savings


EVENT SCHEDULING TIMES
-------------------------------------
Get service info:        0.014405 sec
Get host info info:      0.001732 sec
Get service params:      0.000013 sec
Schedule service times:  0.000801 sec
Schedule service events: 0.000461 sec
Get host params:         0.000001 sec
Schedule host times:     0.000144 sec
Schedule host events:    0.000038 sec
                         ============
TOTAL:                   0.017595 sec


Projected scheduling information for host and service checks
is listed below.  This information assumes that you are going
to start running Nagios with your current config files.

HOST SCHEDULING INFORMATION
---------------------------
Total hosts:                     870
Total scheduled hosts:           19
Host inter-check delay method:   SMART
Average host check interval:     300.00 sec
Host inter-check delay:          15.79 sec
Max host check spread:           30 min
First scheduled check:           Sat Oct 16 23:26:24 2010
Last scheduled check:            Sat Oct 16 23:28:46 2010


SERVICE SCHEDULING INFORMATION
-------------------------------
Total services:                     7569
Total scheduled services:           34
Service inter-check delay method:   SMART
Average service check interval:     292.94 sec
Inter-check delay:                  8.62 sec
Interleave factor method:           SMART
Average services per host:          8.70
Service interleave factor:          1
Max service check spread:           30 min
First scheduled check:              Sat Oct 16 23:31:16 2010
Last scheduled check:               Sat Oct 16 23:33:26 2010


CHECK PROCESSING INFORMATION
----------------------------
Check result reaper interval:       2 sec
Max concurrent service checks:      Unlimited


PERFORMANCE SUGGESTIONS
-----------------------
I have no suggestions - things look okay.



Thanks

Mark

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101017/cc8dbf23/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From nagios at ljnet.dk  Mon Oct 18 06:48:49 2010
From: nagios at ljnet.dk (Leif J.)
Date: Mon, 18 Oct 2010 06:48:49 +0200
Subject: Problem with check_http
Message-ID: <4CBBD1B1.9050707@ljnet.dk>

  Hi,

After upgrading my Nagios server to Ubuntu 10.10 my check_http are on 1 
server not working anymore.

When I check certificate lifetime I'm getting following status in Nagios:
*/CRITICAL - Cannot make SSL connection
24232:error:140773F2:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert 
unexpected message:s23_clnt.c:602:
CRITICAL - Cannot retrieve server certificate.
/*
The server is a Tomcat as I remember.

What can I do so I again will be able to check certificate lifetime and 
so on ?

/Leif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101018/6ecfd904/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ras.kumar01 at gmail.com  Mon Oct 18 10:40:43 2010
From: ras.kumar01 at gmail.com (Rajesh Kumar)
Date: Mon, 18 Oct 2010 14:10:43 +0530
Subject: Reg: check_http
Message-ID: <AANLkTin+6M_kxMhQNR0bco61DQ9rXmHE3_6Z=7SS4Ruy@mail.gmail.com>

Hi ,

  This is Rajeshkumar. I have installed nagios-core in my CentOS Machine. I
did sample.cfg file in /usr/local/nagios/etc/objects, able to check ssh,
load average, ping & memory but unable to configure & verfiy check_http in
my client url.

How to configure check_http and Notification Mail


Thanks & Regards

B.Rajeshkumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101018/affbcd60/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From abdul.khader at ctrls.in  Mon Oct 18 14:11:04 2010
From: abdul.khader at ctrls.in (Abdul Khader)
Date: Mon, 18 Oct 2010 17:41:04 +0530
Subject: New perl module: Nagios::Plugin::WWW::Mechanize
Message-ID: <4CBC3958.4070503@ctrls.in>

  Dear All,
I see that this plug-in allows me to do synthetic transactions.
I would like to know if it is possible to use it for java based 
application server like tomcat.
My goal is to login to a page with a username and password, then go to 
the user's home page. If not successful, then send an email alert to the 
admin.

I would appreciate help in this regards.

Regards
Abdul Khader


Email secured by Anti Spam at CtrlS

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From abdul.khader at ctrls.in  Mon Oct 18 13:57:05 2010
From: abdul.khader at ctrls.in (Abdul Khader)
Date: Mon, 18 Oct 2010 17:27:05 +0530
Subject: synthetic transactions in nagios
Message-ID: <4CBC3611.5020906@ctrls.in>

  Dear All,
I am looking for a way to have synthetic transactions in nagios. I would 
like to login to sakai(educational software using tomcat as front-end 
and mysql a back-end). Nagios should be able to login as a user and then 
see if it is able to login and land into the user's home page. If not 
successful should send an email.

Regards
Abdul Khader


Email secured by Anti Spam at CtrlS

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From ae at op5.se  Mon Oct 18 15:07:36 2010
From: ae at op5.se (Andreas Ericsson)
Date: Mon, 18 Oct 2010 15:07:36 +0200
Subject: New perl module: Nagios::Plugin::WWW::Mechanize
In-Reply-To: <4CBC3958.4070503@ctrls.in>
References: <4CBC3958.4070503@ctrls.in>
Message-ID: <4CBC4698.8050103@op5.se>

On 10/18/2010 02:11 PM, Abdul Khader wrote:
>    Dear All,
> I see that this plug-in allows me to do synthetic transactions.
> I would like to know if it is possible to use it for java based
> application server like tomcat.

It's not. It has no JRE embedded in it, and coding a java engine
in perl would be almost as complex as it would be stupid.

> My goal is to login to a page with a username and password, then go to
> the user's home page. If not successful, then send an email alert to the
> admin.
> 

Look at java-based automation things instead, but be aware that
java-based checks are just plain horrible to run unless you can
get a java-daemon to accept queries from the command-line and
return the results to you. Java has a ridiculously high loadtime,
making it extremely unsuitable for writing command-line apps and
nagios plugins.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From brentgclarklist at gmail.com  Mon Oct 18 16:15:59 2010
From: brentgclarklist at gmail.com (Brent Clark)
Date: Mon, 18 Oct 2010 16:15:59 +0200
Subject: Nagios moves is next check next year.
Message-ID: <4CBC569F.4070204@gmail.com>

Hiya

I got this very weird issue and im hoping someone will be so kind as to 
assist me. Nagios is saying that is next check is in 2011.

Last Check Time:    2010-08-03 16:59:47
Check Type:    ACTIVE
Check Latency / Duration:    0.150 / 0.060 seconds
Next Scheduled Check:      2011-08-04 08:59:47
Last State Change:    2010-07-27 22:56:53
Last Notification:    N/A (notification 0)
Is This Service Flapping?
   NO
  (0.00% state change)
In Scheduled Downtime?
   NO
Last Update:    2010-10-18 16:10:54  ( 0d 0h 0m 3s ago)

Has anyone seeing this issue before. Why would nagios use this. My 
service is the 'generic service'

Kind Regards
Brent Clark

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From paul.peters at rbc.com  Mon Oct 18 18:50:49 2010
From: paul.peters at rbc.com (Peters, Paul)
Date: Mon, 18 Oct 2010 12:50:49 -0400
Subject: check_http started failing on one monitor
In-Reply-To: <4CBC569F.4070204@gmail.com>
References: <4CBC569F.4070204@gmail.com>
Message-ID: <5B425F03C1134B4D9465C8C0D08497CC99E3E3@SXGM-003.fg.rbc.com>


I have a monitor that has been using "check_http --ssl -H hostname" for
over a year, and it just started failing today for some reason.  It was
working fine up until an hour ago.  I have other hosts using the same
check without issue.  I have checked the same host through a wget,
telnet, and using "check_tcp -p 443 -H hostname", and they all work
fine.  I keep getting a socket connection timeout even if I extend that
to 30 seconds.  The certificate is even good for another 18 days.  Any
ideas?

-prp
_______________________________________________________________________

RBC Wealth Management does not accept buy, sell, or cancel orders by
e-mail, or any instructions by e-mail that would require your
signature. Information contained in this communication is not
considered an official record of your account and does not supersede
normal trade confirmations or statements. Any information provided has
been prepared from sources believed to be reliable but is not
guaranteed, does not represent all available data necessary for making
investment decisions and is for informational purposes only.
This message is intended only for residents of the states
in which the sender is registered as applicable to the content.

This e-mail may be privileged and/or confidential, and the sender does
not waive any related rights and obligations. Any distribution, use,
or copying of this e-mail or the information it contains by other than
an intended recipient is unauthorized. If you receive this e-mail in
error, please advise me (by return e-mail or otherwise) immediately.

Information received by or sent from this system is subject to review
by supervisory personnel, is retained and may be produced to
regulatory authorities or others with a legal right to the information.

Unless specified by the sender, e-mail messages are not encrypted. 
As such, client sensitive information sent to or received from your RBC
Wealth Management Financial Consultant electronically may not be secure.

With respect to the companies that are the subject of an equity
research report not authored by our firm that is included in this
electronic mail message, RBC Wealth Management is required to disclose
to you certain conflicts of interest.  Any such disclosures may be
obtained by either accessing our web site at

https://www.rbccm.com/GLDisclosure/PublicWeb/DisclosureLookup.aspx?EntityID=2  

or by mailing a request for such information to RBC Wealth Management
Research Publishing, 60 South Sixth Street, Mailstop P18, Minneapolis,
MN 55402.

RBC Wealth Management, a division of RBC Capital Markets Corporation.
Member NYSE/FINRA/SIPC.


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From paul.peters at rbc.com  Mon Oct 18 19:30:33 2010
From: paul.peters at rbc.com (Peters, Paul)
Date: Mon, 18 Oct 2010 13:30:33 -0400
Subject: check_http started failing on one monitor
In-Reply-To: <5B425F03C1134B4D9465C8C0D08497CC99E3E3@SXGM-003.fg.rbc.com>
References: <4CBC569F.4070204@gmail.com>
	<5B425F03C1134B4D9465C8C0D08497CC99E3E3@SXGM-003.fg.rbc.com>
Message-ID: <5B425F03C1134B4D9465C8C0D08497CC99E466@SXGM-003.fg.rbc.com>

Well it just started working again.  I will see what I can find since it
makes no sense. 

-----Original Message-----
From: Peters, Paul 
Sent: Monday, October 18, 2010 11:51 AM
To: Nagios Users List
Subject: [Nagios-users] check_http started failing on one monitor


I have a monitor that has been using "check_http --ssl -H hostname" for
over a year, and it just started failing today for some reason.  It was
working fine up until an hour ago.  I have other hosts using the same
check without issue.  I have checked the same host through a wget,
telnet, and using "check_tcp -p 443 -H hostname", and they all work
fine.  I keep getting a socket connection timeout even if I extend that
to 30 seconds.  The certificate is even good for another 18 days.  Any
ideas?

-prp
_______________________________________________________________________

RBC Wealth Management does not accept buy, sell, or cancel orders by
e-mail, or any instructions by e-mail that would require your
signature. Information contained in this communication is not
considered an official record of your account and does not supersede
normal trade confirmations or statements. Any information provided has
been prepared from sources believed to be reliable but is not
guaranteed, does not represent all available data necessary for making
investment decisions and is for informational purposes only.
This message is intended only for residents of the states
in which the sender is registered as applicable to the content.

This e-mail may be privileged and/or confidential, and the sender does
not waive any related rights and obligations. Any distribution, use,
or copying of this e-mail or the information it contains by other than
an intended recipient is unauthorized. If you receive this e-mail in
error, please advise me (by return e-mail or otherwise) immediately.

Information received by or sent from this system is subject to review
by supervisory personnel, is retained and may be produced to
regulatory authorities or others with a legal right to the information.

Unless specified by the sender, e-mail messages are not encrypted. 
As such, client sensitive information sent to or received from your RBC
Wealth Management Financial Consultant electronically may not be secure.

With respect to the companies that are the subject of an equity
research report not authored by our firm that is included in this
electronic mail message, RBC Wealth Management is required to disclose
to you certain conflicts of interest.  Any such disclosures may be
obtained by either accessing our web site at

https://www.rbccm.com/GLDisclosure/PublicWeb/DisclosureLookup.aspx?Entit
yID=2  

or by mailing a request for such information to RBC Wealth Management
Research Publishing, 60 South Sixth Street, Mailstop P18, Minneapolis,
MN 55402.

RBC Wealth Management, a division of RBC Capital Markets Corporation.
Member NYSE/FINRA/SIPC.


------------------------------------------------------------------------
------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that
run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jbrooks at oddelement.com  Tue Oct 19 16:22:23 2010
From: jbrooks at oddelement.com (Joel Brooks)
Date: Tue, 19 Oct 2010 10:22:23 -0400
Subject: question about macros
Message-ID: <AANLkTi=MF78JD3xgsTkyfqd3jcUmN4FOUbGV0xJhyYJD@mail.gmail.com>

hey gang,

can macros be used in configuration objects?

i.e. can i use $HOSTNAME$ in the display_name directive on a host object?

thx,

J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101019/82f782b3/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From work at paul.dubuc.org  Tue Oct 19 17:10:09 2010
From: work at paul.dubuc.org (Paul M. Dubuc)
Date: Tue, 19 Oct 2010 11:10:09 -0400
Subject: question about macros
In-Reply-To: <AANLkTi=MF78JD3xgsTkyfqd3jcUmN4FOUbGV0xJhyYJD@mail.gmail.com>
References: <AANLkTi=MF78JD3xgsTkyfqd3jcUmN4FOUbGV0xJhyYJD@mail.gmail.com>
Message-ID: <4CBDB4D1.8060301@paul.dubuc.org>


Joel Brooks wrote:
> hey gang,
>
> can macros be used in configuration objects?
>
> i.e. can i use $HOSTNAME$ in the display_name directive on a host object?
>

That would be nice, but I don't think you can.  You can use them in the 
command arguments in the check_command directive though.

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From diego.roccia at gmail.com  Tue Oct 19 17:28:10 2010
From: diego.roccia at gmail.com (Diego Roccia)
Date: Tue, 19 Oct 2010 17:28:10 +0200
Subject: question about macros
In-Reply-To: <4CBDB4D1.8060301@paul.dubuc.org>
References: <AANLkTi=MF78JD3xgsTkyfqd3jcUmN4FOUbGV0xJhyYJD@mail.gmail.com>
	<4CBDB4D1.8060301@paul.dubuc.org>
Message-ID: <AANLkTimM2LnWjVkENX2CPJroBjaqNws4X_r1DOtQD+F6@mail.gmail.com>

In the past I configured some custom variables to be shown in extinfo,
so that they are displayed in objects' details page.
So I think it should work. I've no time to test at this moment, but you could :)

On Tue, Oct 19, 2010 at 5:10 PM, Paul M. Dubuc <work at paul.dubuc.org> wrote:
>
> Joel Brooks wrote:
>> hey gang,
>>
>> can macros be used in configuration objects?
>>
>> i.e. can i use $HOSTNAME$ in the display_name directive on a host object?
>>
>
> That would be nice, but I don't think you can. ?You can use them in the
> command arguments in the check_command directive though.
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>



-- 
Diego Roccia
diego.roccia (at) gmail (dot) com

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From a31modela at hotmail.com  Tue Oct 19 21:20:54 2010
From: a31modela at hotmail.com (steve f)
Date: Tue, 19 Oct 2010 15:20:54 -0400
Subject: Question on setting up my own check
Message-ID: <BLU105-W906A7ECAF1BF728D0F930A25B0@phx.gbl>


Hello All,

  


I have the following script created to check free space on a remote legacy box via rsh. 

  

used=`sudo rsh $1 df -v |grep starlite6 | head -1 | awk '{print $4}'`

free=`sudo rsh $1 df -v |grep starlite6 | head -1 | awk '{print $5}'`

full=`echo $(($used+$free))`

percent=`echo $((( $free * 100 ) / $full))`

warn=`echo $((( $full * $2 ) / 100 ))`

crit=`echo $((( $full * $3 ) / 100 ))`

  

if [ "$warn" -gt "$crit" -o "$warn" -eq "$crit" ]; then

  echo "Unknown: [crit] must be larger than [warn]"

      exit 3

  

fi

  

if [ "$used" -lt "$warn" -o "$used" -eq "$warn" ]; then

  

      echo "OK. Free Space: `sudo rsh $1 df -v |grep starlite6 |head -1 | awk

'{print $5}'`B, $percent%"

exit 0

elif [ "$used" -gt "$warn" -a "$used" -lt "$crit" ]; then

      echo "Warning. Free Space: `sudo rsh $1 df -v |grep starlite6 | head -1 |

awk '{print $5}'`B, $percent%"

     exit 1

elif [ "$used" -gt "$crit" ]; then

      echo "Critical. Free Space: `sudo rsh $1 df -v |grep starlite6 | head -1 |

 awk '{print $5}'`B, $percent%"

     exit 2

 else

   echo "Unknown"

  exit 3

fi

  

 If I run this from the command line, I get the following response:

  

/usr/local/nagios/libexec # ./check_starlite_size LEGACYBOX 70 80

Critical. Free Space: 51090B, 2%

  

if nagios runs the script , I keep getting an unknown result on the central server ( distributed environment btw) 

from nagios.log on central server:

[1287511053] PASSIVE SERVICE CHECK: strXXXXsa;Starlite Size;3;Unknown

  

I assume that the issue is an incorrect format for the send_nsca file but cant figure out how to set it up correctly. I have the check added on the distributed server & the central server in command.cfg & services.cfg and the check does run so I assume its correct from that aspect, just not an expected format/info ..

  

Can anyone tell me what I am missing here ?
Thanks,
Steve
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101019/265c2312/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From a31modela at hotmail.com  Tue Oct 19 23:08:03 2010
From: a31modela at hotmail.com (steve f)
Date: Tue, 19 Oct 2010 17:08:03 -0400
Subject: Question on setting up my own check
In-Reply-To: <BLU105-W906A7ECAF1BF728D0F930A25B0@phx.gbl>
References: <BLU105-W906A7ECAF1BF728D0F930A25B0@phx.gbl>
Message-ID: <BLU105-W20F7BB054952DA03E1D43DA25B0@phx.gbl>


Spent some more time with it & now getting a little closer

I added this to my script on the dist server running the check:

CLOCK=`date +%s`
HOST=$1
SVC="Starlite Size"
STATUS=$3
OUTPUT=$4

Changed the following lines
exit 0          to    STATUS=0
exit 1          to    STATUS=1
exit 2          to    STATUS=2
exit 3          to     STATUS=3

the line(s) 
echo "OK. Free Space: `sudo rsh $1 df -v |grep starlite6 |head -1 | awk '{print $5}'`B, $percent%"
to
OUTPUT="OK. Free Space: `sudo rsh $1 df -v |grep starlite6 |head -1 | awk '{print $5}'`B, $percent%"

running the script manually gives me :

[1287522364] PROCESS_SERVICE_CHECK_RESULT;strXXXX;Starlite Size;2;Critical. Free Space: 51050B, 2%

Up on the central server, I am still getting unknown but a value of null

Closer I think but still not there.

Does the central server have to have the exact same check script on it or in a passive check, does the central server only care about the results?

Thanks,
Steve
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101019/dbc7302e/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ras.kumar01 at gmail.com  Wed Oct 20 08:08:19 2010
From: ras.kumar01 at gmail.com (Rajesh Kumar)
Date: Wed, 20 Oct 2010 11:38:19 +0530
Subject: Check_http
Message-ID: <AANLkTinjLP=_-N5WuVjPuGdB6129oZgTWMSfB3Qa+okF@mail.gmail.com>

Hi All
                I have configured Nagios Core in CentOS. I did
remotehost(retpro) services of cpu, memory, user, ssh and ping also but
unable to config check_http.
    How to configure remotehost http (url) and Notification Alert (If http
down). Pls verify my cfg file in /usr/local/nagios/etc/objects/retpro.cfg

define host{
        use                    linux-server
        host_name         retpro
        alias                  retpro
        address             192.168.1.116
        }
define service{
        use                                  generic-service
        host_name                       retpro
        service_description            PING
        check_command               check_ping!100.0,20%!500.0,60%
        normal_check_interval   5
        }
define service{
        use                                 generic-service
        host_name                       retpro
        service_description           Root Partition
        check_command              check_local_disk!20%!10%!/
        }
define service{
        use                                 generic-service
        host_name                       retpro
        service_description           SSH
        check_command              check_ssh
        notifications_enabled         1
        }
define service{
        use                                  generic-service
        host_name                       retpro
        service_description            Total Processes
        check_command               check_local_procs!250!400!RSZDT
        }
define service{
        use                                   generic-service
        host_name                        retpro
        service_description             Current Load
        check_command
check_local_load!5.0,4.0,3.0!10.0,6.0/4.0
        }

Thanks & Regards

B.Rajeshkumar
09894943041.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101020/9d0f9516/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From robert.wolfe at robertwolfe.org  Wed Oct 20 14:16:01 2010
From: robert.wolfe at robertwolfe.org (Robert Wolfe)
Date: Wed, 20 Oct 2010 08:16:01 -0400
Subject: Check_http
References: <AANLkTinjLP=_-N5WuVjPuGdB6129oZgTWMSfB3Qa+okF@mail.gmail.com>
Message-ID: <50BE9C7135A64147819E42376C136B2675FB@dc1.wolfe.local>

It doesn't look like you have check_http configured in this setup
(unless I am totally blind and don't see it).  Also, the other checks
(like the checks for disk space, users, etc) should be run using nrpe on
the remote host with nrpe returning that data back to Nagios (this is
how I have it set up both here at home and at work for our VoIP
monitoring server which runs the latest Nagios).

 

From: Rajesh Kumar [mailto:ras.kumar01 at gmail.com] 
Sent: Wednesday, October 20, 2010 2:08 AM
To: Nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Check_http

 

Hi All 
                I have configured Nagios Core in CentOS. I did
remotehost(retpro) services of cpu, memory, user, ssh and ping also but
unable to config check_http. 
    How to configure remotehost http (url) and Notification Alert (If
http down). Pls verify my cfg file in
/usr/local/nagios/etc/objects/retpro.cfg
 
define host{
        use                    linux-server
        host_name         retpro
        alias                  retpro
        address             192.168.1.116
        }

define service{
        use                                  generic-service
        host_name                       retpro 

        service_description            PING
        check_command               check_ping!100.0,20%!500.0,60%
        normal_check_interval   5
        }
define service{
        use                                 generic-service
        host_name                       retpro

        service_description           Root Partition
        check_command              check_local_disk!20%!10%!/
        }

define service{
        use                                 generic-service
        host_name                       retpro

        service_description           SSH
        check_command              check_ssh
        notifications_enabled         1
        }
define service{
        use                                  generic-service
        host_name                       retpro
        service_description            Total Processes
        check_command               check_local_procs!250!400!RSZDT
        }

define service{
        use                                   generic-service
        host_name                        retpro

        service_description             Current Load
        check_command
check_local_load!5.0,4.0,3.0!10.0,6.0/4.0
        }
 
Thanks & Regards
 
B.Rajeshkumar
09894943041.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101020/1a83aab0/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From csepanyifurjes at yahoo.com  Wed Oct 20 15:06:53 2010
From: csepanyifurjes at yahoo.com (Laszlo Csepanyi-Furjes)
Date: Wed, 20 Oct 2010 06:06:53 -0700 (PDT)
Subject: Services on statusmap
Message-ID: <265997.59197.qm@web52708.mail.re2.yahoo.com>

Hi,

I'm using Nagios core 3.2.3. I have couple of hosts in my system and there are web services installed in every hosts that I would like to monitor. I implemened own plug-in for that purpose. So far the configuration is going well. But now I'm bumping my head into the wall. In the statusmap I can see only the defined hosts. How can I get the services visible there? Is it possible at all with the core version or do I have to install something extra?

At least I found this picture: http://a9k.info/images/nagios.png
It contains Chat, Staff, etc those should be services, right? 

Please help!

Regards,
Laszlo


      

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From lists at xodus.org  Wed Oct 20 15:08:55 2010
From: lists at xodus.org (Marc Powell)
Date: Wed, 20 Oct 2010 08:08:55 -0500
Subject: Question on setting up my own check
In-Reply-To: <BLU105-W906A7ECAF1BF728D0F930A25B0@phx.gbl>
References: <BLU105-W906A7ECAF1BF728D0F930A25B0@phx.gbl>
Message-ID: <5F58C2D8-5C73-415B-A6E7-C8E3DEB6262F@xodus.org>


On Oct 19, 2010, at 2:20 PM, steve f wrote:

> Hello All,
> 
> I have the following script created to check free space on a remote legacy box via rsh. 
> 
> used=`sudo rsh $1 df -v |grep starlite6 | head -1 | awk '{print $4}'`
> free=`sudo rsh $1 df -v |grep starlite6 | head -1 | awk '{print $5}'`

Beyond just good programming practice, always use full paths to external programs within your scripts. $PATH may not be what you expect it to be, especially when being run by the nagios daemon which has a more restrictive environment.

# (paths may be different on your system)
used=`/usr/bin/sudo /usr/bin/rsh $1 /bin/df -v | /bin/grep starlite | /usr/bin/head -1 | /usr/bin/awk '{print $4}'`

(chop...)

>       echo "OK. Free Space: `sudo rsh $1 df -v |grep starlite6 |head -1 | awk
> '{print $5}'`B, $percent%"

You already have this value as $free; why not just use it instead of rsh'ing again?

>       echo "Warning. Free Space: `sudo rsh $1 df -v |grep starlite6 | head -1 |
> awk '{print $5}'`B, $percent%"

Same...

>       echo "Critical. Free Space: `sudo rsh $1 df -v |grep starlite6 | head -1 |
>  awk '{print $5}'`B, $percent%"

Same...

>  If I run this from the command line, I get the following response:
> 
> /usr/local/nagios/libexec # ./check_starlite_size LEGACYBOX 70 80
> Critical. Free Space: 51090B, 2%

Bad test. Never test the functionality of a plugin as root. root can rsh into the box but can the nagios user? Depending on how your command{} definition is set up, you probably want to make sure that the value 'LEGACYBOX' is exactly the same as what you have defined as the 'address' in the host{} definition.

> if nagios runs the script , I keep getting an unknown result on the central server ( distributed environment btw) 
> from nagios.log on central server:
> [1287511053] PASSIVE SERVICE CHECK: strXXXXsa;Starlite Size;3;Unknown
> 
> I assume that the issue is an incorrect format for the send_nsca file but cant figure out how to set it up correctly.

nsca has nothing to do with it since you aren't using it. Verify that the nagios user can rsh into the box and test your plugin as the nagios user, not root.


------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From t.h.amundsen at usit.uio.no  Wed Oct 20 15:34:47 2010
From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen)
Date: Wed, 20 Oct 2010 15:34:47 +0200
Subject: Question on setting up my own check
In-Reply-To: <5F58C2D8-5C73-415B-A6E7-C8E3DEB6262F@xodus.org> (Marc Powell's
	message of "Wed, 20 Oct 2010 08:08:55 -0500")
References: <BLU105-W906A7ECAF1BF728D0F930A25B0@phx.gbl>
	<5F58C2D8-5C73-415B-A6E7-C8E3DEB6262F@xodus.org>
Message-ID: <15t1v7lf0nc.fsf@tux.uio.no>

Marc Powell <lists at xodus.org> writes:

> On Oct 19, 2010, at 2:20 PM, steve f wrote:
>
>> Hello All,
>> 
>> I have the following script created to check free space on a remote legacy box via rsh. 
>> 
>> used=`sudo rsh $1 df -v |grep starlite6 | head -1 | awk '{print $4}'`
>> free=`sudo rsh $1 df -v |grep starlite6 | head -1 | awk '{print $5}'`
>
> Beyond just good programming practice, always use full paths to external programs within your scripts. $PATH may not be what you expect it to be, especially when being run by the nagios daemon which has a more restrictive environment.
>
> # (paths may be different on your system)
> used=`/usr/bin/sudo /usr/bin/rsh $1 /bin/df -v | /bin/grep starlite | /usr/bin/head -1 | /usr/bin/awk '{print $4}'`

Or... set PATH before doing anything else, e.g.

  #!/bin/bash
  PATH=/bin:/sbin:/usr/bin:/usr/sbin
  export PATH
  [...rest of script...]

This will enhance readability wrt. using full paths everywhere.

Cheers,
-- 
Trond H. Amundsen <t.h.amundsen at usit.uio.no>
Center for Information Technology Services, University of Oslo

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From duncan at dcl.co.uk  Wed Oct 20 16:09:16 2010
From: duncan at dcl.co.uk (Duncan Berriman)
Date: Wed, 20 Oct 2010 15:09:16 +0100
Subject: Wildcard Escalations
Message-ID: <00b301cb7060$619d9640$24d8c2c0$@dcl.co.uk>

Hi,

 

There seems to be some issues with Service Escalations and wildcards.

 

If you use wildcards on hosts every host has to have a service associated
with it otherwise the configuration does not validate.

 

Example

 

define serviceescalation{

        host_name               .*

        service_description     .*

        first_notification      1

        last_notification       99

        notification_interval   60

        contact_groups          admins

        escalation_period       24x7

        escalation_options      w,u,c,r

        }

 

Causes 

 

Error: Could not find a service matching host name 'pix' and description
'.*'

 

I got round that by creating a dummy service for items like firewalls and
routers which have no service as below.

 

define service{

    use generic-service

    # Hostname of remote system

    host_name pix

    service_description dummy

    is_volatile 0

    check_period 24x7

    max_check_attempts 1

    normal_check_interval 5

    retry_check_interval 1

    check_command check-dummy

}

 

Now I am trying to use wildcards on the service names within the
escalations, the validation fails on any host that does not have a service
that matches the wildcard.

 

define serviceescalation{

        host_name               .*

        service_description     .*Bandwidth.*

        first_notification      2

        last_notification       2

        notification_interval   60

        contact_groups          support

        escalation_period       24x7

        escalation_options      w,u,c,r

        }

 

Causes

 

Error: Could not find a service matching host name 'pix' and description
'.*Bandwidth.*

 

Why when a wildcard is in use should every host have to have a service and
every host have to have a service matching the wildcard? It makes no sense
(to me at least).

Is this a bug or is it designed to work this way? 

 

Is there any way to turn off these checks as they appear to me at least
incorrect and pointless?

 

Thanks

Duncan

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101020/8ed6ee09/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From work at paul.dubuc.org  Wed Oct 20 19:00:50 2010
From: work at paul.dubuc.org (Paul M. Dubuc)
Date: Wed, 20 Oct 2010 13:00:50 -0400
Subject: Services on statusmap
In-Reply-To: <265997.59197.qm@web52708.mail.re2.yahoo.com>
References: <265997.59197.qm@web52708.mail.re2.yahoo.com>
Message-ID: <4CBF2042.4000602@paul.dubuc.org>

Laszlo Csepanyi-Furjes wrote:
> Hi,
>
> I'm using Nagios core 3.2.3. I have couple of hosts in my system and there are web services installed in every hosts that I would like to monitor. I implemened own plug-in for that purpose. So far the configuration is going well. But now I'm bumping my head into the wall. In the statusmap I can see only the defined hosts. How can I get the services visible there? Is it possible at all with the core version or do I have to install something extra?
>
> At least I found this picture: http://a9k.info/images/nagios.png
> It contains Chat, Staff, etc those should be services, right?
>
> Please help!
>

I think the status map is only for hosts.  The "Up" and "Down" status you see 
on the diagram apply to hosts, not services.  (So Chat and Staff must be 
hosts.)  Service status is "OK", "Warning" "Critical", etc.  You can select a 
hosts (click) and double-click on it host to display its service status details.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From olourkin-nagios at yahoo.com  Wed Oct 20 23:44:42 2010
From: olourkin-nagios at yahoo.com (olourkin-nagios at yahoo.com)
Date: Wed, 20 Oct 2010 14:44:42 -0700 (PDT)
Subject: Wildcards in hostgroup definitions
Message-ID: <407432.15472.qm@web30802.mail.mud.yahoo.com>

Hi all -

Got a mystery regarding the use of regex matching that I hope someone on the 
listserv might clear.  We have the appropriate config options to use regex, and 
it works just fine for the members directive - ie. "members    .*" expands just 
as we'd expect.  

But "hostgroup_members    .*" returns an error along the lines of "Could not 
find member group '.*' specified in hostgroup....", leading us to believe that 
Nagios is simply ignoring regex matching for the hostgroup_members directive. 
 Anyone know if we're off our rockers, or if Nagios really does handle things 
this way?

Thanks,
Erik Larkin


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From iberkner at gmail.com  Thu Oct 21 05:01:54 2010
From: iberkner at gmail.com (Ilan Berkner)
Date: Wed, 20 Oct 2010 23:01:54 -0400
Subject: plugin to track ip_conntrack table?
Message-ID: <AANLkTi=BRQ3c=aFhRhvt7yLiT_ePC14MTitX16D89Yzc@mail.gmail.com>

Looking to track the number of connections in ip_conntrack?

Found this:

http://exchange.nagios.org/directory/Plugins/Uncategorized/Software/check_conntrack-2Esh/details

Am uncertain how to use it (reading through it) but wanted to know if that's
the only / best way?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101020/b4e5a5f4/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From himanshuarora7 at gmail.com  Thu Oct 21 07:22:18 2010
From: himanshuarora7 at gmail.com (Himanshu Arora)
Date: Thu, 21 Oct 2010 10:52:18 +0530
Subject: Error: Socket Timeout after 10 seconds | Using Sun
	Sparc as Nagios Client
Message-ID: <AANLkTik2_-vj-ivJ7thQs=uDjY98mjRNbOFua_3EK39R@mail.gmail.com>

Hi Folks,

Using Sun Sparc 10.5 as a Nagios Client and CentOS 5 on Server side and can
telnet the client from server and server from client on port 5666.
Installed NRPE 1.9 on sparc machine and running it via daemon, able to get
the nrpe response locally on sparc machine but when i try to get response at
server from the client by running ./check_nrpe -H <nagios-client-sparc-ip>
it gives me *"CHECK_NRPE: Socket timeout after 10 seconds"*

Just an FYI, i have openssl-1.0.0a-sol10-sparc-local installed on my sparc
machine and have no issues running NRPE locally.

Have no idea what m i doing wrong so far... would need your help knowing
what could be reason of this error message.


Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101021/e2eba123/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From jon at netdork.net  Thu Oct 21 07:42:30 2010
From: jon at netdork.net (Jonathan Angliss)
Date: Thu, 21 Oct 2010 00:42:30 -0500
Subject: Check_http
In-Reply-To: <AANLkTinjLP=_-N5WuVjPuGdB6129oZgTWMSfB3Qa+okF@mail.gmail.com>
References: <AANLkTinjLP=_-N5WuVjPuGdB6129oZgTWMSfB3Qa+okF@mail.gmail.com>
Message-ID: <i9ojsa$95q$1@dough.gmane.org>

On 10/20/10 01:08, Rajesh Kumar wrote:
> Hi All
>                  I have configured Nagios Core in CentOS. I did
> remotehost(retpro) services of cpu, memory, user, ssh and ping also but
> unable to config check_http.
>      How to configure remotehost http (url) and Notification Alert (If
> http down). Pls verify my cfg file in
> /usr/local/nagios/etc/objects/retpro.cfg

Monitoring remote services like HTTP, SSH, and the likes are covered in 
the manual, and there is probably already a sample setup in the default 
configs with CentOS:

   http://nagios.sourceforge.net/docs/3_0/monitoring-publicservices.html

But basically, it'll most likely look something like this:

define service {
	use			generic-service
	host_name		retpro
	service_description	HTTP
	check_command		check_http
}

If you're looking to monitor a specific page loads, you may need to 
create a new command, something like this:

define command {
   command_name		check_http_url
   command_line		$USER1$/check_http -H $HOSTADDRESS$ -u $ARG1$
}

define service {
	{usual service stuff}
	check_command	check_http_url!/testpage.php
}

> define service{
>          use                                 generic-service
>          host_name                       retpro
>          service_description           Root Partition
>          check_command              check_local_disk!20%!10%!/
>          }

As Robert Wolfe pointed out, this command is probably not doing what you 
think it is.  check_local_disk will most likely be doing disk checks 
against the server running nagios, making this a duplicate of a monitor 
you may already have in place.  You will need to use something like 
NRPE, or check_by_ssh to check remote hosts.  Your services for those 
real checks will likely look something like:

define service {
	use			generic-service
	host_name		retpro
	service_description	root partition
	check_command		check_nrpe!check_disk!20!10
}

This assumes a check_nrpe command has been defined.

-- 
Jonathan Angliss


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jon at netdork.net  Thu Oct 21 07:34:14 2010
From: jon at netdork.net (Jonathan Angliss)
Date: Thu, 21 Oct 2010 00:34:14 -0500
Subject: Error: Socket Timeout after 10 seconds | Using
 Sun Sparc as Nagios Client
In-Reply-To: <AANLkTik2_-vj-ivJ7thQs=uDjY98mjRNbOFua_3EK39R@mail.gmail.com>
References: <AANLkTik2_-vj-ivJ7thQs=uDjY98mjRNbOFua_3EK39R@mail.gmail.com>
Message-ID: <4CBFD0D6.5030704@netdork.net>

On 10/21/10 00:22, Himanshu Arora wrote:
> Hi Folks,
>
> Using Sun Sparc 10.5 as a Nagios Client and CentOS 5 on Server side and
> can telnet the client from server and server from client on port 5666.
> Installed NRPE 1.9 on sparc machine and running it via daemon, able to
> get the nrpe response locally on sparc machine but when i try to get
> response at server from the client by running ./check_nrpe -H
> <nagios-client-sparc-ip> it gives me *"CHECK_NRPE: Socket timeout after
> 10 seconds"*
>
> Just an FYI, i have openssl-1.0.0a-sol10-sparc-local installed on my
> sparc machine and have no issues running NRPE locally.
>
> Have no idea what m i doing wrong so far... would need your help knowing
> what could be reason of this error message.

Have you checked to make sure it's listening on more than 
localhost/127.0.0.1 (server_address)? Any firewalls on the box? Did you 
add the nagios host to the allowed_hosts?

-- 
Jonathan Angliss

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jon at netdork.net  Thu Oct 21 07:50:08 2010
From: jon at netdork.net (Jonathan Angliss)
Date: Thu, 21 Oct 2010 00:50:08 -0500
Subject: Question on setting up my own check
In-Reply-To: <BLU105-W906A7ECAF1BF728D0F930A25B0@phx.gbl>
References: <BLU105-W906A7ECAF1BF728D0F930A25B0@phx.gbl>
Message-ID: <i9okak$b1m$1@dough.gmane.org>

On 10/19/10 14:20, steve f wrote:
> Hello All,
>
> I have the following script created to check free space on a remote
> legacy box via rsh.
>
> used=`sudo rsh $1 df -v |grep starlite6 | head -1 | awk '{print $4}'`

====8<----
snip
====8<----

> If I run this from the command line, I get the following response:
>
> /usr/local/nagios/libexec # ./check_starlite_size LEGACYBOX 70 80
> Critical. Free Space: 51090B, 2%
>
> if nagios runs the script , I keep getting an unknown result on the
> central server ( distributed environment btw)
> from nagios.log on central server:
> [1287511053] PASSIVE SERVICE CHECK: strXXXXsa;Starlite Size;3;Unknown

So a "local" server is executing the check remotely on that host, then 
using NSCA to pass it back to the central server? What does the server 
that sends the command back say?

> I assume that the issue is an incorrect format for the send_nsca file
> but cant figure out how to set it up correctly. I have the check added
> on the distributed server & the central server in command.cfg &
> services.cfg and the check does run so I assume its correct from that
> aspect, just not an expected format/info ..
>
> Can anyone tell me what I am missing here ?
> Thanks,
> Steve

In addition to Marc and Trond's recommendations, another gotcha is sudo 
may have the requiretty setting enabled by default, this can cause some 
issues too.

-- 
Jonathan Angliss


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From shankumajumdar at gmail.com  Thu Oct 21 08:00:56 2010
From: shankumajumdar at gmail.com (shanku majumdar)
Date: Thu, 21 Oct 2010 11:30:56 +0530
Subject: Error: Socket Timeout after 10 seconds | Using
 Sun Sparc as Nagios Client
In-Reply-To: <AANLkTik2_-vj-ivJ7thQs=uDjY98mjRNbOFua_3EK39R@mail.gmail.com>
References: <AANLkTik2_-vj-ivJ7thQs=uDjY98mjRNbOFua_3EK39R@mail.gmail.com>
Message-ID: <AANLkTikiAgvR5kgaXc5RvdBn8T-CuXMWvGcAHfDQU8ir@mail.gmail.com>

This error usually represents that the system you r trying to reach is
unreachable.

Try to check the NRPE xinetd configuration for proper IP address of the
client.

Also check if you have any firewall which is causing the issue.

On Thu, Oct 21, 2010 at 10:52 AM, Himanshu Arora
<himanshuarora7 at gmail.com>wrote:

> Hi Folks,
>
> Using Sun Sparc 10.5 as a Nagios Client and CentOS 5 on Server side and can
> telnet the client from server and server from client on port 5666.
> Installed NRPE 1.9 on sparc machine and running it via daemon, able to get
> the nrpe response locally on sparc machine but when i try to get response at
> server from the client by running ./check_nrpe -H <nagios-client-sparc-ip>
> it gives me *"CHECK_NRPE: Socket timeout after 10 seconds"*
>
> Just an FYI, i have openssl-1.0.0a-sol10-sparc-local installed on my sparc
> machine and have no issues running NRPE locally.
>
> Have no idea what m i doing wrong so far... would need your help knowing
> what could be reason of this error message.
>
>
> Thanks,
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>



-- 
*Warm regards,*
*Shanku Majumdar
*"Freedom lies in being bold."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101021/16c07e02/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From csepanyifurjes at yahoo.com  Thu Oct 21 09:06:52 2010
From: csepanyifurjes at yahoo.com (Laszlo Csepanyi-Furjes)
Date: Thu, 21 Oct 2010 00:06:52 -0700 (PDT)
Subject: Services on statusmap
In-Reply-To: <4CBF2042.4000602@paul.dubuc.org>
References: <4CBF2042.4000602@paul.dubuc.org>
Message-ID: <941903.20889.qm@web52706.mail.re2.yahoo.com>

Hi,

Thanks for your help! So it looks the statusmap will not be good for me to visualize the service statuses. All that I have found is this:

http://exchange.nagios.org/directory/Patches/Nagios/Show-service-state-in-statusmap-%252D-Nagios-3-2Ex/details


I installed that patch and at least I can see different background color if one of the associated services is down. 

What about the Extended status map? Does anyone have any experience with that? Can I see the services on that extended map?

http://sourceforge.net/projects/nexsm/


-Laszlo




--- On Wed, 10/20/10, Paul M. Dubuc <work at paul.dubuc.org> wrote:

> From: Paul M. Dubuc <work at paul.dubuc.org>
> Subject: Re: [Nagios-users] Services on statusmap
> To: "Nagios Users List" <nagios-users at lists.sourceforge.net>
> Cc: "Laszlo Csepanyi-Furjes" <csepanyifurjes at yahoo.com>
> Date: Wednesday, October 20, 2010, 8:00 PM
> Laszlo Csepanyi-Furjes wrote:
> > Hi,
> >
> > I'm using Nagios core 3.2.3. I have couple of hosts in
> my system and there are web services installed in every
> hosts that I would like to monitor. I implemened own plug-in
> for that purpose. So far the configuration is going well.
> But now I'm bumping my head into the wall. In the statusmap
> I can see only the defined hosts. How can I get the services
> visible there? Is it possible at all with the core version
> or do I have to install something extra?
> >
> > At least I found this picture: http://a9k.info/images/nagios.png
> > It contains Chat, Staff, etc those should be services,
> right?
> >
> > Please help!
> >
> 
> I think the status map is only for hosts.? The "Up"
> and "Down" status you see 
> on the diagram apply to hosts, not services.? (So Chat
> and Staff must be 
> hosts.)? Service status is "OK", "Warning" "Critical",
> etc.? You can select a 
> hosts (click) and double-click on it host to display its
> service status details.
> 


      

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From rutger at blokje.net  Thu Oct 21 09:52:03 2010
From: rutger at blokje.net (Rutger Blom)
Date: Thu, 21 Oct 2010 09:52:03 +0200
Subject: Services on statusmap
In-Reply-To: <941903.20889.qm@web52706.mail.re2.yahoo.com>
References: <4CBF2042.4000602@paul.dubuc.org>
	<941903.20889.qm@web52706.mail.re2.yahoo.com>
Message-ID: <AANLkTim5iFM4etWDmaNta1YOeXU3usLR8xa6UgNXk_S-@mail.gmail.com>

Did you have a look at NagVis?

Rutger

On Thu, Oct 21, 2010 at 9:06 AM, Laszlo Csepanyi-Furjes <
csepanyifurjes at yahoo.com> wrote:

> Hi,
>
> Thanks for your help! So it looks the statusmap will not be good for me to
> visualize the service statuses. All that I have found is this:
>
>
> http://exchange.nagios.org/directory/Patches/Nagios/Show-service-state-in-statusmap-%252D-Nagios-3-2Ex/details
>
>
> I installed that patch and at least I can see different background color if
> one of the associated services is down.
>
> What about the Extended status map? Does anyone have any experience with
> that? Can I see the services on that extended map?
>
> http://sourceforge.net/projects/nexsm/
>
>
> -Laszlo
>
>
>
>
> --- On Wed, 10/20/10, Paul M. Dubuc <work at paul.dubuc.org> wrote:
>
> > From: Paul M. Dubuc <work at paul.dubuc.org>
> > Subject: Re: [Nagios-users] Services on statusmap
> > To: "Nagios Users List" <nagios-users at lists.sourceforge.net>
> > Cc: "Laszlo Csepanyi-Furjes" <csepanyifurjes at yahoo.com>
> > Date: Wednesday, October 20, 2010, 8:00 PM
> > Laszlo Csepanyi-Furjes wrote:
> > > Hi,
> > >
> > > I'm using Nagios core 3.2.3. I have couple of hosts in
> > my system and there are web services installed in every
> > hosts that I would like to monitor. I implemened own plug-in
> > for that purpose. So far the configuration is going well.
> > But now I'm bumping my head into the wall. In the statusmap
> > I can see only the defined hosts. How can I get the services
> > visible there? Is it possible at all with the core version
> > or do I have to install something extra?
> > >
> > > At least I found this picture: http://a9k.info/images/nagios.png
> > > It contains Chat, Staff, etc those should be services,
> > right?
> > >
> > > Please help!
> > >
> >
> > I think the status map is only for hosts.  The "Up"
> > and "Down" status you see
> > on the diagram apply to hosts, not services.  (So Chat
> > and Staff must be
> > hosts.)  Service status is "OK", "Warning" "Critical",
> > etc.  You can select a
> > hosts (click) and double-click on it host to display its
> > service status details.
> >
>
>
>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>



-- 
Rutger Blom
Luzernv?gen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com

<http://delicious.com/rbml77>  <http://www.facebook.com/rutgerblom>
<http://foursquare.com/user/rutgerblom> <http://www.linkedin.com/in/rutgerblom>
<http://picasaweb.google.com/rutger.blom> <http://twitter.com/rutgerblom>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101021/305eda3b/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From duncan at dcl.co.uk  Thu Oct 21 11:11:44 2010
From: duncan at dcl.co.uk (Duncan Berriman)
Date: Thu, 21 Oct 2010 10:11:44 +0100
Subject: Wildcards in hostgroup definitions
In-Reply-To: <407432.15472.qm@web30802.mail.mud.yahoo.com>
References: <407432.15472.qm@web30802.mail.mud.yahoo.com>
Message-ID: <013901cb70ff$fb4ba080$f1e2e180$@dcl.co.uk>

Hi Erik,

Appears to work just fine for me if I am testing your case correctly.

Perhaps you could post the config file (or snip of) that's causing the
issue.

Duncan

-----Original Message-----
From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com] 
Sent: 20 October 2010 22:45
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Wildcards in hostgroup definitions

Hi all -

Got a mystery regarding the use of regex matching that I hope someone on the
listserv might clear.  We have the appropriate config options to use regex,
and 
it works just fine for the members directive - ie. "members    .*" expands
just 
as we'd expect.  

But "hostgroup_members    .*" returns an error along the lines of "Could not

find member group '.*' specified in hostgroup....", leading us to believe
that Nagios is simply ignoring regex matching for the hostgroup_members
directive. 
 Anyone know if we're off our rockers, or if Nagios really does handle
things this way?

Thanks,
Erik Larkin


----------------------------------------------------------------------------
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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 message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From himanshuarora7 at gmail.com  Thu Oct 21 12:15:49 2010
From: himanshuarora7 at gmail.com (Himanshu Arora)
Date: Thu, 21 Oct 2010 15:45:49 +0530
Subject: Error: Socket Timeout after 10 seconds | Using
 Sun Sparc as Nagios Client
Message-ID: <AANLkTikdOSWWru=ZbZCHFUtN-gejnfS3bHamddSE=MLD@mail.gmail.com>

Thanks for your kind responses guys...

Have got this resolved at mt own... was having wrong version of NRPE
installed on sparc machine. i was using nrpe-1.9_5-sol9-sparc-local where i
was supposed to use NRPE for sparc 10.5.


Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101021/96ded9a8/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From lists at xodus.org  Thu Oct 21 14:09:01 2010
From: lists at xodus.org (Marc Powell)
Date: Thu, 21 Oct 2010 07:09:01 -0500
Subject: Question on setting up my own check
In-Reply-To: <15t1v7lf0nc.fsf@tux.uio.no>
References: <BLU105-W906A7ECAF1BF728D0F930A25B0@phx.gbl>
	<5F58C2D8-5C73-415B-A6E7-C8E3DEB6262F@xodus.org>
	<15t1v7lf0nc.fsf@tux.uio.no>
Message-ID: <D54EEA78-869B-4762-92AB-BE80D9B503D8@xodus.org>


On Oct 20, 2010, at 8:34 AM, Trond Hasle Amundsen wrote:

>> Beyond just good programming practice, always use full paths to external programs within your scripts. $PATH may not be what you expect it to be, especially when being run by the nagios daemon which has a more restrictive environment.
>> 
>> # (paths may be different on your system)
>> used=`/usr/bin/sudo /usr/bin/rsh $1 /bin/df -v | /bin/grep starlite | /usr/bin/head -1 | /usr/bin/awk '{print $4}'`
> 
> Or... set PATH before doing anything else, e.g.
> 
>  #!/bin/bash
>  PATH=/bin:/sbin:/usr/bin:/usr/sbin
>  export PATH
>  [...rest of script...]
> 
> This will enhance readability wrt. using full paths everywhere.

A good start, for sure but I'm a bit more paranoid than that from experience. If $badguy manages to create /bin/sudo -> /tmp/fakesudo, his will be run due to path order and you've just facilitated providing your password to him or doing other nasty stuff, potentially as root.

--
Marc
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From bryan.berry at gmail.com  Thu Oct 21 16:15:09 2010
From: bryan.berry at gmail.com (Bryan Berry)
Date: Thu, 21 Oct 2010 16:15:09 +0200
Subject: comparing nagios and zenoss
Message-ID: <AANLkTikLQ3mAqWLBF+BGWu0T+rfZ_1YtWaVBReuyRN5G@mail.gmail.com>

My boss wants me to compare nagios and zenoss for monitoring our network.
Hopefully soon I will be able to set up some vms to test them out side by
side. Unfortunately, I still don't have sufficient access rights to install
virtualization software due to bureaucracy at my new employer. For this
reason I probably won't be able to test it out until next week.

In the meantime, for those of you nagios users who have used zenoss, how do
you compare the two and why do you prefer/choose one over the other?

Most e-mail threads I have seen discussing the two start with "I haven't
used zenoss but I really love Nagios."  For this reason, I am particularly
interested to hear from people that have used both.

thanks

Bryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101021/ac7be197/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From joern.gaertner at wirecard.com  Thu Oct 21 16:56:25 2010
From: joern.gaertner at wirecard.com (Gaertner, Joern)
Date: Thu, 21 Oct 2010 16:56:25 +0200
Subject: comparing nagios and zenoss
In-Reply-To: <AANLkTikLQ3mAqWLBF+BGWu0T+rfZ_1YtWaVBReuyRN5G@mail.gmail.com>
References: <AANLkTikLQ3mAqWLBF+BGWu0T+rfZ_1YtWaVBReuyRN5G@mail.gmail.com>
Message-ID: <57EC2288B707B54BA411E6576365B53202A62AEF@esrv151.wirecard.lan>

I think this is one good reason:

 

http://www.zenoss.com/product/pricing

 

Cheers

 

Joern

 

 

From: Bryan Berry [mailto:bryan.berry at gmail.com] 
Sent: Thursday, October 21, 2010 4:15 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] comparing nagios and zenoss

 

My boss wants me to compare nagios and zenoss for monitoring our network. Hopefully soon I will be able to set up some vms to test them out side by side. Unfortunately, I still don't have sufficient access rights to install virtualization software due to bureaucracy at my new employer. For this reason I probably won't be able to test it out until next week.

 

In the meantime, for those of you nagios users who have used zenoss, how do you compare the two and why do you prefer/choose one over the other?

 

Most e-mail threads I have seen discussing the two start with "I haven't used zenoss but I really love Nagios."  For this reason, I am particularly interested to hear from people that have used both.

 

thanks

 

Bryan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101021/7917c319/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From davide.blasi at infracom.it  Thu Oct 21 17:10:41 2010
From: davide.blasi at infracom.it (Davide Blasi)
Date: Thu, 21 Oct 2010 17:10:41 +0200
Subject: Service dependency for nrpe on nagios 3.2.3
Message-ID: <20101021171041.556a5569@infracom.it>


Hi list,

I'm installing a large infrastructure using nagios 3.2.3.
My goal will be to create a service dependency of all services checked via nrpe (like check disk) dependent of nrpe on same host without having to define one service dependency for each host.

I found ( by google ) this fantastic link where there is a great patch but it is for nagios 3.0.6 and xdata/xodtemplate.c was changed and not "patch-able" : 
http://markmail.org/message/uuvfhlddnezotudy#query:+page:1+mid:v6jqqb4njbinj4ta+state:results

After reading http://nagios.sourceforge.net/docs/3_0/objecttricks.html#servicedependency :
   "If you want to create service dependencies for multiple services that are dependent on services on the same host, leave the dependent_host_name and 	dependent_hostgroup_name directives empty."

I tried to write this configuration  :

define servicedependency{
       hostgroup_name                  backoffice
       service_description             NRPE
       dependent_service_description   DISK
       execution_failure_criteria      w,u,c
       notification_failure_criteria   w,u,c
       }

but if one NRPE of any host in host group go down every disk of every host in host group will not be checked

Do you have any suggestion to help me ?

Thank you in advance 
Dave

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From olourkin-nagios at yahoo.com  Thu Oct 21 18:07:18 2010
From: olourkin-nagios at yahoo.com (olourkin-nagios at yahoo.com)
Date: Thu, 21 Oct 2010 09:07:18 -0700 (PDT)
Subject: Wildcards in hostgroup definitions
In-Reply-To: <013901cb70ff$fb4ba080$f1e2e180$@dcl.co.uk>
References: <407432.15472.qm@web30802.mail.mud.yahoo.com>
	<013901cb70ff$fb4ba080$f1e2e180$@dcl.co.uk>
Message-ID: <936852.64011.qm@web30803.mail.mud.yahoo.com>

Thanks for checking it out, Duncan.  Here are the config snippets to illustrate 
the mystery:

define hostgroup {
        hostgroup_name          ecomUs
        alias                   ecom servers - US
        members                 .*
}

- This works.  We get an ecomUs hostgroup with all our hosts.


define hostgroup {
        hostgroup_name          ecomUs
        alias                    ecom servers - US
        hostgroup_members       .*
}

- This doesn't work.  We get this error after running a config verification: 
 "Error: Could not find member group '.*' specified in hostgroup (config file 
'/etc/nagios/conf.d/tier12/env-specific/vdev/hostgroup.d/ecomUs.cfg', starting 
on line 7)."

Cheers,
Erik


----- Original Message ----
From: Duncan Berriman <duncan at dcl.co.uk>
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Sent: Thu, October 21, 2010 2:11:44 AM
Subject: Re: [Nagios-users] Wildcards in hostgroup definitions

Hi Erik,

Appears to work just fine for me if I am testing your case correctly.

Perhaps you could post the config file (or snip of) that's causing the
issue.

Duncan

-----Original Message-----
From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com] 
Sent: 20 October 2010 22:45
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Wildcards in hostgroup definitions

Hi all -

Got a mystery regarding the use of regex matching that I hope someone on the
listserv might clear.  We have the appropriate config options to use regex,
and 
it works just fine for the members directive - ie. "members    .*" expands
just 
as we'd expect.  

But "hostgroup_members    .*" returns an error along the lines of "Could not

find member group '.*' specified in hostgroup....", leading us to believe
that Nagios is simply ignoring regex matching for the hostgroup_members
directive. 
Anyone know if we're off our rockers, or if Nagios really does handle
things this way?

Thanks,
Erik Larkin


----------------------------------------------------------------------------
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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 message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From nagios at flatto.net  Thu Oct 21 18:10:17 2010
From: nagios at flatto.net (Assaf Flatto)
Date: Thu, 21 Oct 2010 17:10:17 +0100
Subject: Wildcards in hostgroup definitions
In-Reply-To: <936852.64011.qm@web30803.mail.mud.yahoo.com>
References: <407432.15472.qm@web30802.mail.mud.yahoo.com>	<013901cb70ff$fb4ba080$f1e2e180$@dcl.co.uk>
	<936852.64011.qm@web30803.mail.mud.yahoo.com>
Message-ID: <4CC065E9.1010706@flatto.net>

  Why do you have the '.' before the '*' ?

is that on purpose or just  a tab representation ?

Try removing the '.' and test again .

Assaf


On 21/10/10 17:07, olourkin-nagios at yahoo.com wrote:
> Thanks for checking it out, Duncan.  Here are the config snippets to illustrate
> the mystery:
>
> define hostgroup {
>          hostgroup_name          ecomUs
>          alias                   ecom servers - US
>          members                 .*
> }
>
> - This works.  We get an ecomUs hostgroup with all our hosts.
>
>
> define hostgroup {
>          hostgroup_name          ecomUs
>          alias                    ecom servers - US
>          hostgroup_members       .*
> }
>
> - This doesn't work.  We get this error after running a config verification:
>   "Error: Could not find member group '.*' specified in hostgroup (config file
> '/etc/nagios/conf.d/tier12/env-specific/vdev/hostgroup.d/ecomUs.cfg', starting
> on line 7)."
>
> Cheers,
> Erik
>
>
> ----- Original Message ----
> From: Duncan Berriman<duncan at dcl.co.uk>
> To: Nagios Users List<nagios-users at lists.sourceforge.net>
> Sent: Thu, October 21, 2010 2:11:44 AM
> Subject: Re: [Nagios-users] Wildcards in hostgroup definitions
>
> Hi Erik,
>
> Appears to work just fine for me if I am testing your case correctly.
>
> Perhaps you could post the config file (or snip of) that's causing the
> issue.
>
> Duncan
>
> -----Original Message-----
> From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com]
> Sent: 20 October 2010 22:45
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Wildcards in hostgroup definitions
>
> Hi all -
>
> Got a mystery regarding the use of regex matching that I hope someone on the
> listserv might clear.  We have the appropriate config options to use regex,
> and
> it works just fine for the members directive - ie. "members    .*" expands
> just
> as we'd expect.
>
> But "hostgroup_members    .*" returns an error along the lines of "Could not
>
> find member group '.*' specified in hostgroup....", leading us to believe
> that Nagios is simply ignoring regex matching for the hostgroup_members
> directive.
> Anyone know if we're off our rockers, or if Nagios really does handle
> things this way?
>
> Thanks,
> Erik Larkin
>

-- 
Never,Ever Cut A Deal With a Dragon


Next year I will be doing the London to Paris bike ride to
raise money for the DogTrust (www.dogstrust.co.uk) .
Please Sponsor me at http://www.justgiving.com/Assaf-Flatto


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From duncan at dcl.co.uk  Thu Oct 21 18:42:23 2010
From: duncan at dcl.co.uk (Duncan Berriman)
Date: Thu, 21 Oct 2010 17:42:23 +0100
Subject: Wildcards in hostgroup definitions
In-Reply-To: <4CC065E9.1010706@flatto.net>
References: <407432.15472.qm@web30802.mail.mud.yahoo.com>	<013901cb70ff$fb4ba080$f1e2e180$@dcl.co.uk>	<936852.64011.qm@web30803.mail.mud.yahoo.com>
	<4CC065E9.1010706@flatto.net>
Message-ID: <025601cb713e$efa24010$cee6c030$@dcl.co.uk>

.* is correct that's a proper regex expression.

Duncan

-----Original Message-----
From: Assaf Flatto [mailto:nagios at flatto.net] 
Sent: 21 October 2010 17:10
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Wildcards in hostgroup definitions

  Why do you have the '.' before the '*' ?

is that on purpose or just  a tab representation ?

Try removing the '.' and test again .

Assaf


On 21/10/10 17:07, olourkin-nagios at yahoo.com wrote:
> Thanks for checking it out, Duncan.  Here are the config snippets to 
> illustrate the mystery:
>
> define hostgroup {
>          hostgroup_name          ecomUs
>          alias                   ecom servers - US
>          members                 .*
> }
>
> - This works.  We get an ecomUs hostgroup with all our hosts.
>
>
> define hostgroup {
>          hostgroup_name          ecomUs
>          alias                    ecom servers - US
>          hostgroup_members       .*
> }
>
> - This doesn't work.  We get this error after running a config
verification:
>   "Error: Could not find member group '.*' specified in hostgroup 
> (config file 
> '/etc/nagios/conf.d/tier12/env-specific/vdev/hostgroup.d/ecomUs.cfg',
starting on line 7)."
>
> Cheers,
> Erik
>
>
> ----- Original Message ----
> From: Duncan Berriman<duncan at dcl.co.uk>
> To: Nagios Users List<nagios-users at lists.sourceforge.net>
> Sent: Thu, October 21, 2010 2:11:44 AM
> Subject: Re: [Nagios-users] Wildcards in hostgroup definitions
>
> Hi Erik,
>
> Appears to work just fine for me if I am testing your case correctly.
>
> Perhaps you could post the config file (or snip of) that's causing the 
> issue.
>
> Duncan
>
> -----Original Message-----
> From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com]
> Sent: 20 October 2010 22:45
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Wildcards in hostgroup definitions
>
> Hi all -
>
> Got a mystery regarding the use of regex matching that I hope someone 
> on the listserv might clear.  We have the appropriate config options 
> to use regex, and
> it works just fine for the members directive - ie. "members    .*" expands
> just
> as we'd expect.
>
> But "hostgroup_members    .*" returns an error along the lines of "Could
not
>
> find member group '.*' specified in hostgroup....", leading us to 
> believe that Nagios is simply ignoring regex matching for the 
> hostgroup_members directive.
> Anyone know if we're off our rockers, or if Nagios really does handle 
> things this way?
>
> Thanks,
> Erik Larkin
>

--
Never,Ever Cut A Deal With a Dragon


Next year I will be doing the London to Paris bike ride to
raise money for the DogTrust (www.dogstrust.co.uk) .
Please Sponsor me at http://www.justgiving.com/Assaf-Flatto


----------------------------------------------------------------------------
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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 message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From duncan at dcl.co.uk  Thu Oct 21 18:56:47 2010
From: duncan at dcl.co.uk (Duncan Berriman)
Date: Thu, 21 Oct 2010 17:56:47 +0100
Subject: Wildcards in hostgroup definitions
In-Reply-To: <936852.64011.qm@web30803.mail.mud.yahoo.com>
References: <407432.15472.qm@web30802.mail.mud.yahoo.com>	<013901cb70ff$fb4ba080$f1e2e180$@dcl.co.uk>
	<936852.64011.qm@web30803.mail.mud.yahoo.com>
Message-ID: <025701cb7140$f2cedd00$d86c9700$@dcl.co.uk>

Looks ok to me  - my test was

define hostgroup{
        hostgroup_name  ALL-SERVERS ; The name of the hostgroup
        alias  ALL-SERVERS ; The name of the hostgroup
        hostgroup_members         .*
        }

That parses ok but I end up with nothing in the group when I look at the
nagios display.

If I use individual members it works and they appear in the nagios display.

Looks like it doesn't work at any rate. 

I just upgrade to the latest version as I was having issues with wildcards
but I think that was more down to my understanding. I've been trying to use
them for escalations. I think I finally got there (I think - time will tell)
but I had to add a lot of service groups to make it work the way I wanted.

Duncan

-----Original Message-----
From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com] 
Sent: 21 October 2010 17:07
To: Nagios Users List
Subject: Re: [Nagios-users] Wildcards in hostgroup definitions

Thanks for checking it out, Duncan.  Here are the config snippets to
illustrate the mystery:

define hostgroup {
        hostgroup_name          ecomUs
        alias                   ecom servers - US
        members                 .*
}

- This works.  We get an ecomUs hostgroup with all our hosts.


define hostgroup {
        hostgroup_name          ecomUs
        alias                    ecom servers - US
        hostgroup_members       .*
}

- This doesn't work.  We get this error after running a config verification:

 "Error: Could not find member group '.*' specified in hostgroup (config
file '/etc/nagios/conf.d/tier12/env-specific/vdev/hostgroup.d/ecomUs.cfg',
starting on line 7)."

Cheers,
Erik


----- Original Message ----
From: Duncan Berriman <duncan at dcl.co.uk>
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Sent: Thu, October 21, 2010 2:11:44 AM
Subject: Re: [Nagios-users] Wildcards in hostgroup definitions

Hi Erik,

Appears to work just fine for me if I am testing your case correctly.

Perhaps you could post the config file (or snip of) that's causing the
issue.

Duncan

-----Original Message-----
From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com]
Sent: 20 October 2010 22:45
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Wildcards in hostgroup definitions

Hi all -

Got a mystery regarding the use of regex matching that I hope someone on the
listserv might clear.  We have the appropriate config options to use regex,
and 
it works just fine for the members directive - ie. "members    .*" expands
just
as we'd expect.  

But "hostgroup_members    .*" returns an error along the lines of "Could not

find member group '.*' specified in hostgroup....", leading us to believe
that Nagios is simply ignoring regex matching for the hostgroup_members
directive. 
Anyone know if we're off our rockers, or if Nagios really does handle things
this way?

Thanks,
Erik Larkin


----------------------------------------------------------------------------
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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 message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.


----------------------------------------------------------------------------
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


----------------------------------------------------------------------------
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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 message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mgagne at iweb.com  Thu Oct 21 20:41:52 2010
From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=)
Date: Thu, 21 Oct 2010 14:41:52 -0400
Subject: [PATCH] Same host servicegroups dependencies
In-Reply-To: <1287686199-4895-1-git-send-email-mgagne@iweb.com>
References: <20101021171041.556a5569@infracom.it>
	<1287686199-4895-1-git-send-email-mgagne@iweb.com>
Message-ID: <4CC08970.4010009@iweb.com>

---
  xdata/xodtemplate.c |   16 +++++++++++++++-
  1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/xdata/xodtemplate.c b/xdata/xodtemplate.c
index dc81044..dbcbb61 100644
--- a/xdata/xodtemplate.c
+++ b/xdata/xodtemplate.c
@@ -4264,6 +4264,7 @@ int xodtemplate_duplicate_objects(void){
   	char *service_descriptions=NULL;
  	int first_item=FALSE;
+	int same_host_servicedependency=FALSE;
    	/*************************************/
@@ -4554,6 +4555,11 @@ int xodtemplate_duplicate_objects(void){
  				my_free(temp_servicedependency->hostgroup_name);
  				}
  +			/* MG(20090902): Same host servicegroups dependencies */
+			same_host_servicedependency=FALSE;
+			if(temp_servicedependency->host_name==NULL && 
temp_servicedependency->hostgroup_name==NULL)
+				same_host_servicedependency=TRUE; +
  			/* duplicate service dependency entries */
  			first_item=TRUE;
  		 
for(temp_masterservice=master_servicelist;temp_masterservice!=NULL;temp_masterservice=temp_masterservice->next){
@@ -4740,6 +4746,10 @@ int xodtemplate_duplicate_objects(void){
  					my_free(temp_servicedependency->dependent_service_description);
  					temp_servicedependency->dependent_service_description=(char 
*)strdup(temp_dependentservice->name2);
  +					/* MG(20090902): Same host servicegroups dependencies */
+					if(same_host_servicedependency==TRUE)
+					 
temp_servicedependency->host_name=(char*)strdup(temp_dependentservice->name1);
+
  					/* clear the dependent servicegroup */
  					temp_servicedependency->have_dependent_servicegroup_name=FALSE;
  					my_free(temp_servicedependency->dependent_servicegroup_name);
@@ -4754,7 +4764,11 @@ int xodtemplate_duplicate_objects(void){
  					}
   				/* duplicate service dependency definition */
-			 
result=xodtemplate_duplicate_servicedependency(temp_servicedependency,temp_servicedependency->host_name,temp_servicedependency->service_description,NULL,NULL,temp_dependentservice->name1,temp_dependentservice->name2,NULL,NULL);
+				/* MG(20090902): Same host servicegroups dependencies */
+				if(same_host_servicedependency==TRUE)
+				 
result=xodtemplate_duplicate_servicedependency(temp_servicedependency,temp_dependentservice->name1,temp_servicedependency->service_description,NULL,NULL,temp_dependentservice->name1,temp_dependentservice->name2,NULL,NULL);
+				else
+				 
result=xodtemplate_duplicate_servicedependency(temp_servicedependency,temp_servicedependency->host_name,temp_servicedependency->service_description,NULL,NULL,temp_dependentservice->name1,temp_dependentservice->name2,NULL,NULL);
   				/* exit on error */
  				if(result==ERROR){
-- 
1.6.3.3


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mgagne at iweb.com  Thu Oct 21 20:41:39 2010
From: mgagne at iweb.com (=?UTF-8?B?TWF0aGlldSBHYWduw6k=?=)
Date: Thu, 21 Oct 2010 14:41:39 -0400
Subject: Service dependency for nrpe on nagios 3.2.3
In-Reply-To: <20101021162014.06940fec@infracom.it>
References: <20101021162014.06940fec@infracom.it>
Message-ID: <4CC08963.3090404@iweb.com>

Hi David,

I applied the patch to HEAD but did not have the chance to test it. 
However I'm confident it will work fine.

Hopefully this patch will be applied to the HEAD of Nagios as it is 
really useful to us. :)

--
Mathieu

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From tonvoon at gmail.com  Thu Oct 21 22:02:23 2010
From: tonvoon at gmail.com (Ton Voon)
Date: Thu, 21 Oct 2010 21:02:23 +0100
Subject: Service dependency for nrpe on nagios 3.2.3
In-Reply-To: <4CC08963.3090404@iweb.com>
References: <20101021162014.06940fec@infracom.it> <4CC08963.3090404@iweb.com>
Message-ID: <B9833326-D775-4AC6-9777-6EA49F9CF70C@gmail.com>


On 21 Oct 2010, at 19:41, Mathieu Gagn? wrote:

> I applied the patch to HEAD but did not have the chance to test it.
> However I'm confident it will work fine.
>
> Hopefully this patch will be applied to the HEAD of Nagios as it is
> really useful to us. :)

That's a very useful feature. In Opsview, you set the dependency at  
the service check level and it generates all the service dependencies  
automatically (screencast at http://bit.ly/c8EiW1 )

But your patch would make it easier for all Nagios users.

I'll make you a deal: if you can provide a test case which includes  
this service dependency configuration and the expected object.cache  
file, I'll apply this to CVS.

See testing information at http://wiki.nagios.org/index.php/Nagios_Core_Developer_Guidelines#Configuration_file_tests

Ton


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From olourkin-nagios at yahoo.com  Thu Oct 21 22:03:19 2010
From: olourkin-nagios at yahoo.com (olourkin-nagios at yahoo.com)
Date: Thu, 21 Oct 2010 13:03:19 -0700 (PDT)
Subject: Wildcards in hostgroup definitions
In-Reply-To: <025701cb7140$f2cedd00$d86c9700$@dcl.co.uk>
References: <407432.15472.qm@web30802.mail.mud.yahoo.com>
	<013901cb70ff$fb4ba080$f1e2e180$@dcl.co.uk>
	<936852.64011.qm@web30803.mail.mud.yahoo.com>
	<025701cb7140$f2cedd00$d86c9700$@dcl.co.uk>
Message-ID: <83268.24072.qm@web30802.mail.mud.yahoo.com>

Thanks again Duncan, it's good to at least know you got the same result.  


----- Original Message ----
From: Duncan Berriman <duncan at dcl.co.uk>
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Sent: Thu, October 21, 2010 9:56:47 AM
Subject: Re: [Nagios-users] Wildcards in hostgroup definitions

Looks ok to me  - my test was

define hostgroup{
        hostgroup_name  ALL-SERVERS ; The name of the hostgroup
        alias  ALL-SERVERS ; The name of the hostgroup
        hostgroup_members         .*
        }

That parses ok but I end up with nothing in the group when I look at the
nagios display.

If I use individual members it works and they appear in the nagios display.

Looks like it doesn't work at any rate. 

I just upgrade to the latest version as I was having issues with wildcards
but I think that was more down to my understanding. I've been trying to use
them for escalations. I think I finally got there (I think - time will tell)
but I had to add a lot of service groups to make it work the way I wanted.

Duncan

-----Original Message-----
From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com] 
Sent: 21 October 2010 17:07
To: Nagios Users List
Subject: Re: [Nagios-users] Wildcards in hostgroup definitions

Thanks for checking it out, Duncan.  Here are the config snippets to
illustrate the mystery:

define hostgroup {
        hostgroup_name          ecomUs
        alias                   ecom servers - US
        members                 .*
}

- This works.  We get an ecomUs hostgroup with all our hosts.


define hostgroup {
        hostgroup_name          ecomUs
        alias                    ecom servers - US
        hostgroup_members       .*
}

- This doesn't work.  We get this error after running a config verification:

"Error: Could not find member group '.*' specified in hostgroup (config
file '/etc/nagios/conf.d/tier12/env-specific/vdev/hostgroup.d/ecomUs.cfg',
starting on line 7)."

Cheers,
Erik


----- Original Message ----
From: Duncan Berriman <duncan at dcl.co.uk>
To: Nagios Users List <nagios-users at lists.sourceforge.net>
Sent: Thu, October 21, 2010 2:11:44 AM
Subject: Re: [Nagios-users] Wildcards in hostgroup definitions

Hi Erik,

Appears to work just fine for me if I am testing your case correctly.

Perhaps you could post the config file (or snip of) that's causing the
issue.

Duncan

-----Original Message-----
From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com]
Sent: 20 October 2010 22:45
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Wildcards in hostgroup definitions

Hi all -

Got a mystery regarding the use of regex matching that I hope someone on the
listserv might clear.  We have the appropriate config options to use regex,
and 
it works just fine for the members directive - ie. "members    .*" expands
just
as we'd expect.  

But "hostgroup_members    .*" returns an error along the lines of "Could not

find member group '.*' specified in hostgroup....", leading us to believe
that Nagios is simply ignoring regex matching for the hostgroup_members
directive. 
Anyone know if we're off our rockers, or if Nagios really does handle things
this way?

Thanks,
Erik Larkin


----------------------------------------------------------------------------
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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 message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.


----------------------------------------------------------------------------
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


----------------------------------------------------------------------------
--
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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 message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From michal.lackovic at cz.schneider-electric.com  Fri Oct 22 10:01:00 2010
From: michal.lackovic at cz.schneider-electric.com (michal.lackovic at cz.schneider-electric.com)
Date: Fri, 22 Oct 2010 10:01:00 +0200
Subject: re-notification problem
Message-ID: <OF23B78314.20376CBC-ONC12577C4.002A6808-C12577C4.002C09D5@schneider-electric.com>

Dear community,

I just noticed that my system (Nagios 3.2.0) don't re-notify the 
contacts.However it sends notification to escalation contacts.
So what id does is that it sends first notification to the host contact 
then after next 4 hours it sends notification to escalation contact and 
keep sending every 4 hours.
As far as I know, if the notification interval is 240 minutes and first 
escalation is triggered after 2 notifications are sent to the host contact 
then the escalation contact should get first notification after 480 
minutes. Correct?

My setup:
First notification to the contacts --> re-notify after 4 hours - re-notify 
after 4 hours and and send escalation to leader

Service template:

define service {
       name                                     Service group 1
       service_description                      24x7,3,10,2
       max_check_attempts                       3
       check_interval                           10
       retry_interval                           2
       active_checks_enabled                    1
       passive_checks_enabled                   0
       check_period                             24x7
       obsess_over_service                      0
       check_freshness                          0
       flap_detection_enabled                   0
       notification_interval                    240
       notification_period                      24x7
       notification_options                     w,r,c,s
       notifications_enabled                    1
       register                                 0


Service definition:

define service {
        hostgroup_name          CENTRAL DC,
        service_description             Storage
        display_name                    Storage
        servicegroups                   NRPE agents,Storage
        use                             Service group 1
        check_command           check_nt_storage!90%!95%
        host_name                       !WDEUR01,!WDEUR02
        register                        1
        }

Escalation definition:

define serviceescalation {^M
        hostgroup_name SLOVAKIA,CZECH,POLAND,BULGARIA,GREECE,!GATEWAY
        service_description                     .*
        contacts                                Northern CEE EUO leader
        first_notification                      2
        last_notification                       0
        notification_interval                   240
        escalation_period                       24x7
        escalation_options                      w,c
        } 

thanks in advance for your advice

Michal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101022/35dc415c/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From michal.lackovic at cz.schneider-electric.com  Fri Oct 22 11:51:30 2010
From: michal.lackovic at cz.schneider-electric.com (michal.lackovic at cz.schneider-electric.com)
Date: Fri, 22 Oct 2010 11:51:30 +0200
Subject: re-notification problem
In-Reply-To: <OF23B78314.20376CBC-ONC12577C4.002A6808-C12577C4.002C09D5@schneider-electric.com>
References: <OF23B78314.20376CBC-ONC12577C4.002A6808-C12577C4.002C09D5@schneider-electric.com>
Message-ID: <OF14C3B31F.FE5328AF-ONC12577C4.00360CB6-C12577C4.003627BC@schneider-electric.com>

The notification appears to work normally if the service escalation config 
is omitted.
Is there any relation between it?

Michal 






Michal Lackovic/CZ/Schneider at Europe 
10/22/2010 10:01 AM
Please respond to
Nagios Users List <nagios-users at lists.sourceforge.net>


To
nagios-users at lists.sourceforge.net
cc

Subject
[Nagios-users] re-notification problem






Dear community, 

I just noticed that my system (Nagios 3.2.0) don't re-notify the 
contacts.However it sends notification to escalation contacts. 
So what id does is that it sends first notification to the host contact 
then after next 4 hours it sends notification to escalation contact and 
keep sending every 4 hours. 
As far as I know, if the notification interval is 240 minutes and first 
escalation is triggered after 2 notifications are sent to the host contact 
then the escalation contact should get first notification after 480 
minutes. Correct? 

My setup: 
First notification to the contacts --> re-notify after 4 hours - re-notify 
after 4 hours and and send escalation to leader 

Service template: 

define service { 
       name                                          Service group 1 
       service_description                           24x7,3,10,2 
       max_check_attempts                            3 
       check_interval                                10 
       retry_interval                                2 
       active_checks_enabled                         1 
       passive_checks_enabled                        0 
       check_period                                  24x7 
       obsess_over_service                           0 
       check_freshness                               0 
       flap_detection_enabled                        0 
       notification_interval                         240 
       notification_period                           24x7 
       notification_options                          w,r,c,s 
       notifications_enabled                         1 
       register                                    0 


Service definition: 

define service { 
        hostgroup_name                CENTRAL DC, 
        service_description                Storage 
        display_name                        Storage 
        servicegroups                        NRPE agents,Storage 
        use                                Service group 1 
        check_command                check_nt_storage!90%!95% 
        host_name                        !WDEUR01,!WDEUR02 
        register                        1 
        } 

Escalation definition: 

define serviceescalation {^M 
        hostgroup_name SLOVAKIA,CZECH,POLAND,BULGARIA,GREECE,!GATEWAY 
        service_description                     .* 
        contacts                                Northern CEE EUO leader 
        first_notification                      2 
        last_notification                       0 
        notification_interval                   240 
        escalation_period                       24x7 
        escalation_options                      w,c 
        } 

thanks in advance for your advice 

Michal 
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America 
contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in 
marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101022/9c8fdc0d/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From duncan at dcl.co.uk  Fri Oct 22 12:15:11 2010
From: duncan at dcl.co.uk (Duncan Berriman)
Date: Fri, 22 Oct 2010 11:15:11 +0100
Subject: re-notification problem
In-Reply-To: <OF14C3B31F.FE5328AF-ONC12577C4.00360CB6-C12577C4.003627BC@schneider-electric.com>
References: <OF23B78314.20376CBC-ONC12577C4.002A6808-C12577C4.002C09D5@schneider-electric.com>
	<OF14C3B31F.FE5328AF-ONC12577C4.00360CB6-C12577C4.003627BC@schneider-electric.com>
Message-ID: <001c01cb71d2$02a8f850$07fae8f0$@dcl.co.uk>

Escalations take over from contacts so your contacts won't be re-advised as
far as I know.

 

By my understanding (which is limited as I've only just implemented
escalations recently) you need to ensure your contacts are included in your
escalations.

 

Duncan

 

From: michal.lackovic at cz.schneider-electric.com
[mailto:michal.lackovic at cz.schneider-electric.com] 
Sent: 22 October 2010 10:52
To: Nagios Users List
Subject: Re: [Nagios-users] re-notification problem

 

The notification appears to work normally if the service escalation config
is omitted. 
Is there any relation between it? 

Michal 







Michal Lackovic/CZ/Schneider at Europe 

10/22/2010 10:01 AM 


Please respond to
Nagios Users List <nagios-users at lists.sourceforge.net>


To

nagios-users at lists.sourceforge.net 


cc

	

Subject

[Nagios-users] re-notification problem

 

		




Dear community, 

I just noticed that my system (Nagios 3.2.0) don't re-notify the
contacts.However it sends notification to escalation contacts. 
So what id does is that it sends first notification to the host contact then
after next 4 hours it sends notification to escalation contact and keep
sending every 4 hours. 
As far as I know, if the notification interval is 240 minutes and first
escalation is triggered after 2 notifications are sent to the host contact
then the escalation contact should get first notification after 480 minutes.
Correct? 

My setup: 
First notification to the contacts --> re-notify after 4 hours - re-notify
after 4 hours and and send escalation to leader 

Service template: 

define service { 
      name                                          Service group 1 
      service_description                           24x7,3,10,2 
      max_check_attempts                            3 
      check_interval                                10 
      retry_interval                                2 
      active_checks_enabled                         1 
      passive_checks_enabled                        0 
      check_period                                  24x7 
      obsess_over_service                           0 
      check_freshness                               0 
      flap_detection_enabled                        0 
      notification_interval                         240 
      notification_period                           24x7 
      notification_options                          w,r,c,s 
      notifications_enabled                         1 
      register                                    0 


Service definition: 

define service { 
       hostgroup_name                CENTRAL DC, 
       service_description                Storage 
       display_name                        Storage 
       servicegroups                        NRPE agents,Storage 
       use                                Service group 1 
       check_command                check_nt_storage!90%!95% 
       host_name                        !WDEUR01,!WDEUR02 
       register                        1 
       } 

Escalation definition: 

define serviceescalation {^M 
       hostgroup_name
SLOVAKIA,CZECH,POLAND,BULGARIA,GREECE,!GATEWAY 
       service_description                     .* 
       contacts                                Northern CEE EUO leader 
       first_notification                      2 
       last_notification                       0 
       notification_interval                   240 
       escalation_period                       24x7 
       escalation_options                      w,c 
       }       

thanks in advance for your advice 

Michal 
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________------
------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
 <http://p.sf.net/sfu/nokia-dev2dev>
http://p.sf.net/sfu/nokia-dev2dev___________________________________________
____
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
 <https://lists.sourceforge.net/lists/listinfo/nagios-users>
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 message has been scanned for viruses and 
dangerous content by  <http://www.mailscanner.info/> MailScanner, and is 
believed to be clean. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101022/a4ae3e43/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From michal.lackovic at cz.schneider-electric.com  Fri Oct 22 12:33:15 2010
From: michal.lackovic at cz.schneider-electric.com (michal.lackovic at cz.schneider-electric.com)
Date: Fri, 22 Oct 2010 12:33:15 +0200
Subject: re-notification problem
In-Reply-To: <001c01cb71d2$02a8f850$07fae8f0$@dcl.co.uk>
References: <OF23B78314.20376CBC-ONC12577C4.002A6808-C12577C4.002C09D5@schneider-electric.com>
	<OF14C3B31F.FE5328AF-ONC12577C4.00360CB6-C12577C4.003627BC@schneider-electric.com>
	<001c01cb71d2$02a8f850$07fae8f0$@dcl.co.uk>
Message-ID: <OFBE334C3D.B3187AF6-ONC12577C4.00399116-C12577C4.0039FA3D@schneider-electric.com>

Thanks for excellent hint !
All I had to do it is to add "+" to the contact definition

Escalation definition: 

define serviceescalation {^M 
       hostgroup_name SLOVAKIA,CZECH,POLAND,BULGARIA,GREECE,!GATEWAY 
       service_description                     .* 
       contacts                                +Northern CEE EUO leader 
       first_notification                      2 
       last_notification                       0 
       notification_interval                   240 
       escalation_period                       24x7 
       escalation_options                      w,c 


Michal






"Duncan Berriman" <duncan at dcl.co.uk> 
10/22/2010 12:15 PM
Please respond to
Nagios Users List <nagios-users at lists.sourceforge.net>


To
"'Nagios Users List'" <nagios-users at lists.sourceforge.net>
cc

Subject
Re: [Nagios-users] re-notification problem






Escalations take over from contacts so your contacts won?t be re-advised 
as far as I know.
 
By my understanding (which is limited as I?ve only just implemented 
escalations recently) you need to ensure your contacts are included in 
your escalations.
 
Duncan
 
From: michal.lackovic at cz.schneider-electric.com [
mailto:michal.lackovic at cz.schneider-electric.com] 
Sent: 22 October 2010 10:52
To: Nagios Users List
Subject: Re: [Nagios-users] re-notification problem
 
The notification appears to work normally if the service escalation config 
is omitted. 
Is there any relation between it? 

Michal 





Michal Lackovic/CZ/Schneider at Europe 
10/22/2010 10:01 AM 


Please respond to
Nagios Users List <nagios-users at lists.sourceforge.net>



To
nagios-users at lists.sourceforge.net 
cc

Subject
[Nagios-users] re-notification problem
 








Dear community, 

I just noticed that my system (Nagios 3.2.0) don't re-notify the 
contacts.However it sends notification to escalation contacts. 
So what id does is that it sends first notification to the host contact 
then after next 4 hours it sends notification to escalation contact and 
keep sending every 4 hours. 
As far as I know, if the notification interval is 240 minutes and first 
escalation is triggered after 2 notifications are sent to the host contact 
then the escalation contact should get first notification after 480 
minutes. Correct? 

My setup: 
First notification to the contacts --> re-notify after 4 hours - re-notify 
after 4 hours and and send escalation to leader 

Service template: 

define service { 
      name                                          Service group 1 
      service_description                           24x7,3,10,2 
      max_check_attempts                            3 
      check_interval                                10 
      retry_interval                                2 
      active_checks_enabled                         1 
      passive_checks_enabled                        0 
      check_period                                  24x7 
      obsess_over_service                           0 
      check_freshness                               0 
      flap_detection_enabled                        0 
      notification_interval                         240 
      notification_period                           24x7 
      notification_options                          w,r,c,s 
      notifications_enabled                         1 
      register                                    0 


Service definition: 

define service { 
       hostgroup_name                CENTRAL DC, 
       service_description                Storage 
       display_name                        Storage 
       servicegroups                        NRPE agents,Storage 
       use                                Service group 1 
       check_command                check_nt_storage!90%!95% 
       host_name                        !WDEUR01,!WDEUR02 
       register                        1 
       } 

Escalation definition: 

define serviceescalation {^M 
       hostgroup_name SLOVAKIA,CZECH,POLAND,BULGARIA,GREECE,!GATEWAY 
       service_description                     .* 
       contacts                                Northern CEE EUO leader 
       first_notification                      2 
       last_notification                       0 
       notification_interval                   240 
       escalation_period                       24x7 
       escalation_options                      w,c 
       } 

thanks in advance for your advice 

Michal 
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America 
contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in 
marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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 message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America 
contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in 
marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101022/b52cc4c2/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From benny.somali at firstnational.ca  Fri Oct 22 17:34:06 2010
From: benny.somali at firstnational.ca (Benny Somali)
Date: Fri, 22 Oct 2010 11:34:06 -0400
Subject: Check_OpenManage INTERNAL ERROR
Message-ID: <C5E7DCDC2680BF40A31C7C055A829EFD03810C4F@fnmail.firstnational.ca>

I would like to report an INTERNAL ERROR when running check_openmanage
only on this server.

It works fine with other servers.

Below is the debug result:

 

C:\Program Files\NSClient++\scripts>check_openmanage.exe -d

   System:      PowerEdge 6800

   ServiceTag:  XXXXX71                       OMSA version:    5.5.0

   BIOS/date:   A06 09/02/2008           Plugin version:  3.6.0

------------------------------------------------------------------------
-----

   Storage Components

========================================================================
=====

  STATE  |    ID    |  MESSAGE TEXT

---------+----------+---------------------------------------------------
-----

      OK |        0 | Controller 0 [PERC 4e/Di] is Ready

      OK |    0:0:0 | Physical Disk 0:0 [73GB] on ctrl 0 is Online

      OK |    0:0:1 | Physical Disk 0:1 [73GB] on ctrl 0 is Online

      OK |    0:1:0 | Physical Disk 1:0 [73GB] on ctrl 0 is Online

      OK |    0:1:1 | Physical Disk 1:1 [0GB] on ctrl 0 is Ready
(Dedicated HS)

      OK |    0:1:2 | Physical Disk 1:2 [73GB] on ctrl 0 is Online

      OK |    0:1:3 | Physical Disk 1:3 [146GB] on ctrl 0 is Online

      OK |    0:1:4 | Physical Disk 1:4 [73GB] on ctrl 0 is Online

      OK |    0:1:5 | Physical Disk 1:5 [300GB] on ctrl 0 is Online

      OK |    0:1:8 | Physical Disk 1:8 [300GB] on ctrl 0 is Online

      OK |    0:1:9 | Physical Disk 1:9 [300GB] on ctrl 0 is Online

      OK |   0:1:10 | Physical Disk 1:10 [300GB] on ctrl 0 is Online

      OK |   0:1:11 | Physical Disk 1:11 [300GB] on ctrl 0 is Ready
(Global HS)

      OK |      0:0 | Logical Drive 'Windows Disk 0' [RAID-1, 68.24 GB]
is Ready

 

      OK |      0:1 | Logical Drive 'Windows Disk 1' [RAID-10, 136.48
GB] is Ready

      OK |      0:2 | Logical Drive 'Windows Disk 2' [RAID-10, 558.75
GB] is Ready

      OK |      0:0 | Cache Battery 0 in controller 0 is Ready

      OK |      0:0 | Connector 0 [SCSI Channel RAID Mode] on controller
0 is Ready

      OK |      0:1 | Connector 1 [SCSI Channel RAID Mode] on controller
0 is Ready

      OK |      0:0 | Enclosure 0:0 [Backplane] on controller 0 is Ready

      OK |      0:1 | Enclosure 0:1 [Backplane] on controller 0 is Ready

------------------------------------------------------------------------
-----

   Chassis Components

========================================================================
=====

  STATE  |  ID  |  MESSAGE TEXT

---------+------+-------------------------------------------------------
-----

      OK |    0 | Memory module 0 [Mem Card A/DIMM_1A, 1024 MB] is Ok

      OK |    1 | Memory module 1 [Mem Card A/DIMM_1B, 1024 MB] is Ok

      OK |    2 | Memory module 2 [Mem Card B/DIMM_1A, 1024 MB] is Ok

      OK |    3 | Memory module 3 [Mem Card B/DIMM_1B, 1024 MB] is Ok

      OK |    0 | Chassis fan 0 [BMC FAN 1]: 3525

      OK |    1 | Chassis fan 1 [BMC FAN 2]: 3525

      OK |    2 | Chassis fan 2 [BMC FAN 3]: 3525

      OK |    3 | Chassis fan 3 [BMC FAN 4]: 3450

      OK |    4 | Chassis fan 4 [BMC FAN 5]: 3525

      OK |    5 | Chassis fan 5 [BMC FAN 6]: 3525

      OK |    0 | Power Supply 0 [AC]: Presence Detected

      OK |    1 | Power Supply 1 [AC]: Presence Detected

      OK |    2 | Power Supply 2 [VRM]: Presence Detected

      OK |    3 | Power Supply 3 [VRM]: Presence Detected

      OK |    4 | Power Supply 4 [VRM]: Presence Detected

      OK |    0 | Temperature Probe 0 [PROC_1 Temp] reads 34 C
(max=120/125)

      OK |    1 | Temperature Probe 1 [PROC_2 Temp] reads 38 C
(max=120/125)

      OK |    2 | Temperature Probe 2 [BMC Ambient Temp] reads 22 C
(min=10/5, max=49/54)

      OK |    3 | Temperature Probe 3 [BMC Planar Temp] reads 31 C
(min=10/5, max=69/74)

      OK |    0 | Processor 0 [Intel Xeon MP 3.00GHz] is Present

      OK |    1 | Processor 1 [Intel Xeon MP 3.00GHz] is Present

      OK |    0 | Voltage sensor 0 [BMC CMOS Battery] is 3.031 V

      OK |    1 | Voltage sensor 1 [BMC ROMB Battery] is Good

      OK |    2 | Voltage sensor 2 [BMC VCACHE 1 PG] is Good

      OK |    3 | Voltage sensor 3 [PROC_1 VCORE] is Good

      OK |    4 | Voltage sensor 4 [PROC_2 VCORE] is Good

      OK |    5 | Voltage sensor 5 [BMC PROC VTT PG] is Good

      OK |    6 | Voltage sensor 6 [BMC 1.5V PG] is Good

      OK |    7 | Voltage sensor 7 [BMC 1.8V VIDEO PG] is Good

      OK |    8 | Voltage sensor 8 [BMC 3.3V PG] is Good

      OK |    9 | Voltage sensor 9 [BMC 1.8V PG] is Good

      OK |   10 | Voltage sensor 10 [BMC 5V PG] is Good

      OK |   11 | Voltage sensor 11 [BMC 1.35V PG] is Good

      OK |   12 | Voltage sensor 12 [BMC AC Current] is Good

      OK |    0 | Chassis intrusion 0 detection: Ok (Chassis is closed)

------------------------------------------------------------------------
-----

   Other messages

========================================================================
=====

  STATE  |  MESSAGE TEXT

---------+--------------------------------------------------------------
-----

      OK | ESM log health is Ok (less than 80% full)

 

INTERNAL ERROR: substr outside of string at script/check_openmanage line
1502.

INTERNAL ERROR: Use of uninitialized value in lc at
script/check_openmanage line

 1502.

C:\Program Files\NSClient++\scripts>

 

I have run omreports.exe as suggested after reading the messages archive
and it ran without any error.

Please advise the possible cause.

 

Thanks.

 

Regards,

Benny Somali

 




This message may contain information that is privileged, 
confidential and restricted from disclosure under applicable law. 
This message is intended only for the use of the individual or 
entity to which it is addressed. If the reader of this message is 
not the intended recipient, or the employee or agent responsible 
for delivering the message to the intended recipient, you are 
notified that any dissemination, distribution or copying of this 
communication is strictly prohibited. If you have received this 
communication in error, please notify the sender immediately 
by email and delete the original message. 

Thank you.

Le present message peut contenir des renseignements privilegies, 
confidentiels et soustraits a la communication en vertu de la loi 
applicable. Le message ne s'adresse qu'au destinataire dont le nom 
apparait. Si vous n'etes pas le recipiendaire a qui le message 
s'adresse, ni l'employe ou le representant charge de le lui remettre, 
veuillez prendre note que toute communication, distribution ou 
reproduction de ce message est strictement interdite. Si ce message 
vous a ete transmis par erreur, veuillez en informer l'expediteur 
immediatement par courriel et supprimer le message original. 

Merci.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101022/0907872f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From milktoast at gmail.com  Fri Oct 22 18:50:34 2010
From: milktoast at gmail.com (Jason)
Date: Fri, 22 Oct 2010 11:50:34 -0500
Subject: check_dxml_drvstate
Message-ID: <AANLkTi=ZuJSc-_YDk+i02dbnp_3RA_fZ4bBhzt+aHA0F@mail.gmail.com>

We put the check_dxml_drvstate in place and when we run a check manually we
get a complete reply


<http://forums.meulie.net/viewtopic.php?f=62&t=6620#>Driver xxx.yyy.zzz.aaa
is RUNNING. Cache file /var/opt/novell/eDirectory/data/dib/46957.TAO is 72
bytes (50000/1000000). Last Heartbeat occured 9221 seconds ago at 2010-10-21
14:44:49 CDT (360/900).


but when I look on my nagios page it reports like this (missing info like
the TAO file name and the seconds)


<http://forums.meulie.net/viewtopic.php?f=62&t=6620#>Driver xxx.yyy.zzz.aaa
is RUNNING.
Cache file /var/opt/novell/eDirectory/data/dib/.TAO is bytes
(50000/1000000).
Last Heartbeat occured seconds ago at (360/900).


Anyone know how to fix this?

Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101022/bd71accb/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From t.h.amundsen at usit.uio.no  Fri Oct 22 21:29:05 2010
From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen)
Date: Fri, 22 Oct 2010 21:29:05 +0200
Subject: Check_OpenManage INTERNAL ERROR
In-Reply-To: <C5E7DCDC2680BF40A31C7C055A829EFD03810C4F@fnmail.firstnational.ca>
	(Benny Somali's message of "Fri, 22 Oct 2010 11:34:06 -0400")
References: <C5E7DCDC2680BF40A31C7C055A829EFD03810C4F@fnmail.firstnational.ca>
Message-ID: <15t4ocec9ha.fsf@tux.uio.no>

Benny Somali <benny.somali at firstnational.ca> writes:

> INTERNAL ERROR: substr outside of string at script/check_openmanage line 1502.
> INTERNAL ERROR: Use of uninitialized value in lc at script/check_openmanage line 1502.

Hi Benny,

Thanks for reporting this. The error is related to the vendor of
physical disks as reported by omreport. What does 'omreport storage
pdisk controller=0' say? I'm guessing that the Vendor field is empty or
missing for one of the disks.

Finding the root cause would be interesting. Can you tell if the disk in
question is an original disk supplied by Dell? If it isn't, this could
be the reason that the vendor field is empty/missing, i.e. Openmanage
doesn't recognize it. If it is a Dell drive, we're probably dealing with
a rare Openmanage oddity.

In any case, check_openmanage should handle this situation more
gracefully. I'll provide a patched version for you to test on Monday.

Cheers,
-- 
Trond H. Amundsen <t.h.amundsen at usit.uio.no>
Center for Information Technology Services, University of Oslo

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From benny.somali at firstnational.ca  Fri Oct 22 21:37:28 2010
From: benny.somali at firstnational.ca (Benny Somali)
Date: Fri, 22 Oct 2010 15:37:28 -0400
Subject: Check_OpenManage INTERNAL ERROR
In-Reply-To: <15t4ocec9ha.fsf@tux.uio.no>
References: <C5E7DCDC2680BF40A31C7C055A829EFD03810C4F@fnmail.firstnational.ca>
	<15t4ocec9ha.fsf@tux.uio.no>
Message-ID: <C5E7DCDC2680BF40A31C7C055A829EFD03810CE9@fnmail.firstnational.ca>

Hi Trond,

Yes, you are right.
There is pdisk #1 that has empty vendor ID field.
The disk in question was original Dell disk, however, it seemed to be
bad now.
We have an opened trouble ticket with Dell and expect to get a
replacement disk.

Thanks.
 
Regards,
Benny Somali
 

> -----Original Message-----
> From: Trond Hasle Amundsen [mailto:t.h.amundsen at usit.uio.no]
> Sent: Friday, October 22, 2010 3:29 PM
> To: Nagios Users List
> Subject: Re: [Nagios-users] Check_OpenManage INTERNAL ERROR
> 
> Benny Somali <benny.somali at firstnational.ca> writes:
> 
> > INTERNAL ERROR: substr outside of string at script/check_openmanage
line
> 1502.
> > INTERNAL ERROR: Use of uninitialized value in lc at
script/check_openmanage
> line 1502.
> 
> Hi Benny,
> 
> Thanks for reporting this. The error is related to the vendor of
> physical disks as reported by omreport. What does 'omreport storage
> pdisk controller=0' say? I'm guessing that the Vendor field is empty
or
> missing for one of the disks.
> 
> Finding the root cause would be interesting. Can you tell if the disk
in
> question is an original disk supplied by Dell? If it isn't, this could
> be the reason that the vendor field is empty/missing, i.e. Openmanage
> doesn't recognize it. If it is a Dell drive, we're probably dealing
with
> a rare Openmanage oddity.
> 
> In any case, check_openmanage should handle this situation more
> gracefully. I'll provide a patched version for you to test on Monday.
> 
> Cheers,
> --
> Trond H. Amundsen <t.h.amundsen at usit.uio.no>
> Center for Information Technology Services, University of Oslo
> 
>
------------------------------------------------------------------------
------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and
Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi
Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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 message may contain information that is privileged, 
confidential and restricted from disclosure under applicable law. 
This message is intended only for the use of the individual or 
entity to which it is addressed. If the reader of this message is 
not the intended recipient, or the employee or agent responsible 
for delivering the message to the intended recipient, you are 
notified that any dissemination, distribution or copying of this 
communication is strictly prohibited. If you have received this 
communication in error, please notify the sender immediately 
by email and delete the original message. 

Thank you.

Le present message peut contenir des renseignements privilegies, 
confidentiels et soustraits a la communication en vertu de la loi 
applicable. Le message ne s'adresse qu'au destinataire dont le nom 
apparait. Si vous n'etes pas le recipiendaire a qui le message 
s'adresse, ni l'employe ou le representant charge de le lui remettre, 
veuillez prendre note que toute communication, distribution ou 
reproduction de ce message est strictement interdite. Si ce message 
vous a ete transmis par erreur, veuillez en informer l'expediteur 
immediatement par courriel et supprimer le message original. 

Merci.




------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From t.h.amundsen at usit.uio.no  Fri Oct 22 22:25:59 2010
From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen)
Date: Fri, 22 Oct 2010 22:25:59 +0200
Subject: Check_OpenManage INTERNAL ERROR
In-Reply-To: <C5E7DCDC2680BF40A31C7C055A829EFD03810CE9@fnmail.firstnational.ca>
	(Benny Somali's message of "Fri, 22 Oct 2010 15:37:28 -0400")
References: <C5E7DCDC2680BF40A31C7C055A829EFD03810C4F@fnmail.firstnational.ca>
	<15t4ocec9ha.fsf@tux.uio.no>
	<C5E7DCDC2680BF40A31C7C055A829EFD03810CE9@fnmail.firstnational.ca>
Message-ID: <15tvd4uasa0.fsf@tux.uio.no>

Benny Somali <benny.somali at firstnational.ca> writes:

> Yes, you are right.
> There is pdisk #1 that has empty vendor ID field.
> The disk in question was original Dell disk, however, it seemed to be
> bad now.
> We have an opened trouble ticket with Dell and expect to get a
> replacement disk.

Ah.. it makes sense that in some circumstances, if the disk is
sufficiently bad, Openmanage can't report the vendor.

I went ahead and patched this in the plugin. There is a beta version
(win32 binary) available here:

  http://folk.uio.no/trondham/software/beta/check_openmanage.exe

Please give it a try and let me know if it resolved this issue.

Cheers,
-- 
Trond H. Amundsen <t.h.amundsen at usit.uio.no>
Center for Information Technology Services, University of Oslo

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mlitwin at stubhub.com  Sat Oct 23 02:29:14 2010
From: mlitwin at stubhub.com (Litwin, Matthew)
Date: Fri, 22 Oct 2010 18:29:14 -0600
Subject: Scheduled checks falling far behind
Message-ID: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>

I have been chasing my tail trying to figure out why my RRD files were very sparsely populated, and I am realizing that my checks are falling behind of their scheduled times up to 3 times their set check interval. For example a service that should be checking every 5 minutes. In the example below, the time is 00:19:02, the last check was 00:10:30 and the next scheduled check time is 00:13:28. This means it is almost 6 minutes behind schedule and almost 9 minutes since the last check!

I find even if I shorten the check interval to say 3 minutes it still behaves about the same. The server has very low load and nagios is hardly working at all. (usually below 4% cpu) I haven't touch any of the tuning on this and from what I have read the default settings appear unthrottled. Is there any way to make it "work harder"?

--Service information--
Last Updated: Sat Oct 23 00:19:02 UTC 2010

--Service State Information--
Current Status:	
  OK  
 (for 7d 16h 14m 46s)
Status Information:	CPU STATISTICS OK : user=0.12% system=0.00% iowait=0.00% idle=99.88%
Performance Data:	0.12;0.00;0.00;99.88;80;90
Current Attempt:	1/3  (HARD state)
>>> Last Check Time:	10-23-2010 00:10:30  <<<<
Check Type:	ACTIVE
Check Latency / Duration:	612.633 / 2.052 seconds
>>> Next Scheduled Check:  	10-23-2010 00:13:28 <<<
Last State Change:	10-15-2010 08:04:16
Last Notification:	N/A (notification 0)
Is This Service Flapping?	
  NO  
 (0.00% state change)
In Scheduled Downtime?	
  NO  
Last Update:	10-23-2010 00:18:33  ( 0d 0h 0m 29s ago)



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mark.frost1 at pepsico.com  Sat Oct 23 03:53:33 2010
From: mark.frost1 at pepsico.com (Frost, Mark {PBC})
Date: Fri, 22 Oct 2010 21:53:33 -0400
Subject: Scheduled checks falling far behind
In-Reply-To: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
Message-ID: <BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>

Matthew,

You don't say, but my guess would be that you have high latencies.  That is for one of several reasons, Nagios is not able to run checks when it thinks it should.  You can see this information and other stats by looking at the Performance item near the bottom of the Nav pane in the Nagios web interface.

You can also run, if memory serves, the "nagiostats" command located in your Nagios "bin" directory to see this information as well.  I actually use that nagiostats data in a custom check and graph a lot of those latencies and other Nagios performance related info.

>From my own experience, I found that I did not pay attention to this information when I started using Nagios, then read about it, made a few tweaks to make it better then forgot about it.  Then as our installation grew and grew, I found that some things got worse again and I had to consider different tuning options.

I would recommend that you first read the "Tuning Nagios For Maximum Performance" section of the docs:

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

If nothing else, this will give you an idea of some things that can affect latencies.

Additionally, you may find that you see your average latencies, but then see something with a whopping huge max latency.  It can be hard to track down what that is in the UI.  I've just looked up that max latency and then quickly looked in the status.dat file to find the service that had that same matching latency and dug into that.  You could, for example, have a few checks that aren't really timing out so the check may take 10 minutes or more to complete which would really screw up your overall latencies.  Like the checks wouldn't have finished before the next time they were supposed to be run.

Mark

________________________________________
From: Litwin, Matthew [mlitwin at stubhub.com]
Sent: Friday, October 22, 2010 8:29 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Scheduled checks falling far behind

I have been chasing my tail trying to figure out why my RRD files were very sparsely populated, and I am realizing that my checks are falling behind of their scheduled times up to 3 times their set check interval. For example a service that should be checking every 5 minutes. In the example below, the time is 00:19:02, the last check was 00:10:30 and the next scheduled check time is 00:13:28. This means it is almost 6 minutes behind schedule and almost 9 minutes since the last check!

I find even if I shorten the check interval to say 3 minutes it still behaves about the same. The server has very low load and nagios is hardly working at all. (usually below 4% cpu) I haven't touch any of the tuning on this and from what I have read the default settings appear unthrottled. Is there any way to make it "work harder"?

--Service information--
Last Updated: Sat Oct 23 00:19:02 UTC 2010

--Service State Information--
Current Status:
  OK
 (for 7d 16h 14m 46s)
Status Information:     CPU STATISTICS OK : user=0.12% system=0.00% iowait=0.00% idle=99.88%
Performance Data:       0.12;0.00;0.00;99.88;80;90
Current Attempt:        1/3  (HARD state)
>>> Last Check Time:    10-23-2010 00:10:30  <<<<
Check Type:     ACTIVE
Check Latency / Duration:       612.633 / 2.052 seconds
>>> Next Scheduled Check:       10-23-2010 00:13:28 <<<
Last State Change:      10-15-2010 08:04:16
Last Notification:      N/A (notification 0)
Is This Service Flapping?
  NO
 (0.00% state change)
In Scheduled Downtime?
  NO
Last Update:    10-23-2010 00:18:33  ( 0d 0h 0m 29s ago)



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jon at netdork.net  Sat Oct 23 04:09:15 2010
From: jon at netdork.net (Jonathan Angliss)
Date: Fri, 22 Oct 2010 21:09:15 -0500
Subject: Scheduled checks falling far behind
In-Reply-To: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
Message-ID: <i9tg4g$5co$1@dough.gmane.org>

On 10/22/10 19:29, Litwin, Matthew wrote:
> I have been chasing my tail trying to figure out why my RRD files were
> very sparsely populated, and I am realizing that my checks are falling
> behind of their scheduled times up to 3 times their set check interval.
> For example a service that should be checking every 5 minutes. In the
> example below, the time is 00:19:02, the last check was 00:10:30 and the
> next scheduled check time is 00:13:28. This means it is almost 6 minutes
> behind schedule and almost 9 minutes since the last check!

> I find even if I shorten the check interval to say 3 minutes it still
> behaves about the same. The server has very low load and nagios is
> hardly working at all. (usually below 4% cpu) I haven't touch any of the
> tuning on this and from what I have read the default settings appear
> unthrottled. Is there any way to make it "work harder"?


> --Service information--
> Last Updated: Sat Oct 23 00:19:02 UTC 2010
>
> --Service State Information--
> Current Status:	
>    OK
>   (for 7d 16h 14m 46s)
> Status Information:	CPU STATISTICS OK : user=0.12% system=0.00% iowait=0.00% idle=99.88%
> Performance Data:	0.12;0.00;0.00;99.88;80;90
> Current Attempt:	1/3  (HARD state)
>>>> Last Check Time:	10-23-2010 00:10:30<<<<
> Check Type:	ACTIVE
> Check Latency / Duration:	612.633 / 2.052 seconds

This check latency is terribly high.  What is your overall latency look 
like on the tactical overview page?  How many hosts and services are you 
checking?

The doc on tuning has some hints on tweaking some settings that improve 
these numbers, worth a quick read...

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

-- 
Jonathan Angliss


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jonas.kellens at telenet.be  Sat Oct 23 11:38:30 2010
From: jonas.kellens at telenet.be (Jonas Kellens)
Date: Sat, 23 Oct 2010 11:38:30 +0200
Subject: Execute program on remote host
Message-ID: <4CC2AD16.7060900@telenet.be>

Hello list,

is the following setup possible :

host A : Nagios Server
host B : server being monitored
host C : backup server

If Nagios (host A) can not ping host B (or any other check via nrpe), 
can Nagios then execute a command on host C ??


I want Nagios to activate the backup server (host C), when the 
production server (host B) has problems.



Kind regards,
Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101023/48a93298/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ae at op5.se  Sat Oct 23 11:49:36 2010
From: ae at op5.se (Andreas Ericsson)
Date: Sat, 23 Oct 2010 11:49:36 +0200
Subject: Execute program on remote host
In-Reply-To: <4CC2AD16.7060900@telenet.be>
References: <4CC2AD16.7060900@telenet.be>
Message-ID: <4CC2AFB0.2070809@op5.se>

On 10/23/2010 11:38 AM, Jonas Kellens wrote:
> Hello list,
> 
> is the following setup possible :
> 
> host A : Nagios Server
> host B : server being monitored
> host C : backup server
> 
> If Nagios (host A) can not ping host B (or any other check via nrpe), 
> can Nagios then execute a command on host C ??
> 

Yes.
> 
> I want Nagios to activate the backup server (host C), when the 
> production server (host B) has problems.
> 

Look through the docs for eventhandlers.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jonas.kellens at telenet.be  Sat Oct 23 12:03:05 2010
From: jonas.kellens at telenet.be (Jonas Kellens)
Date: Sat, 23 Oct 2010 12:03:05 +0200
Subject: Execute program on remote host
In-Reply-To: <4CC2AFB0.2070809@op5.se>
References: <4CC2AD16.7060900@telenet.be> <4CC2AFB0.2070809@op5.se>
Message-ID: <4CC2B2D9.5040406@telenet.be>

On 10/23/2010 11:49 AM, Andreas Ericsson wrote:
> On 10/23/2010 11:38 AM, Jonas Kellens wrote:
>> I want Nagios to activate the backup server (host C), when the
>> production server (host B) has problems.
>>
>>      
> Look through the docs for eventhandlers.
>    

The documentation says :

define service{
     host_name            somehost
     service_description        HTTP
     max_check_attempts        4
     event_handler            restart-httpd
     ...other service variables...
     }

define command{
     command_name    restart-httpd
     command_line    
/usr/local/nagios/libexec/eventhandlers/restart-httpd  $SERVICESTATE$ 
$STATETYPE$ $SERVICEATTEMPT$
     }


Can you show me an example of executing a command on a remote host (and 
not executing on localhost) ??


Kind regards,

Jonas.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From ae at op5.se  Sat Oct 23 12:15:40 2010
From: ae at op5.se (Andreas Ericsson)
Date: Sat, 23 Oct 2010 12:15:40 +0200
Subject: Execute program on remote host
In-Reply-To: <4CC2B2D9.5040406@telenet.be>
References: <4CC2AD16.7060900@telenet.be> <4CC2AFB0.2070809@op5.se>
	<4CC2B2D9.5040406@telenet.be>
Message-ID: <4CC2B5CC.3090704@op5.se>

On 10/23/2010 12:03 PM, Jonas Kellens wrote:
> On 10/23/2010 11:49 AM, Andreas Ericsson wrote:
>> On 10/23/2010 11:38 AM, Jonas Kellens wrote:
>>> I want Nagios to activate the backup server (host C), when the
>>> production server (host B) has problems.
>>>
>>>
>> Look through the docs for eventhandlers.
>>
> 
> The documentation says :
> 
> define service{
>       host_name            somehost
>       service_description        HTTP
>       max_check_attempts        4
>       event_handler            restart-httpd
>       ...other service variables...
>       }
> 
> define command{
>       command_name    restart-httpd
>       command_line
> /usr/local/nagios/libexec/eventhandlers/restart-httpd  $SERVICESTATE$
> $STATETYPE$ $SERVICEATTEMPT$
>       }
> 
> 
> Can you show me an example of executing a command on a remote host (and
> not executing on localhost) ??
> 

The command will have to connect to the remote host and do its stuff there.
Setting up ssh keys without passwords should be well documented online. Try
googling for it.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mark.elsen at gmail.com  Sat Oct 23 12:43:58 2010
From: mark.elsen at gmail.com (Mark Elsen)
Date: Sat, 23 Oct 2010 12:43:58 +0200
Subject: Execute program on remote host
In-Reply-To: <4CC2AD16.7060900@telenet.be>
References: <4CC2AD16.7060900@telenet.be>
Message-ID: <AANLkTimuhM1G0qzsn9Hk5hem+P4foo2gWZF2RhT1aMgb@mail.gmail.com>

> Hello list,
>
> is the following setup possible :
>
> host A : Nagios Server
> host B : server being monitored
> host C : backup server
>
> If Nagios (host A) can not ping host B (or any other check via nrpe), can
> Nagios then execute a command on host C ??
>
>
> I want Nagios to activate the backup server (host C), when the production
> server (host B) has problems.
>
>

 Any define event handler for host B, is 'free' to do what it wants
for whatever condition the troublesomed host may have

M.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mlitwin at stubhub.com  Sat Oct 23 18:48:29 2010
From: mlitwin at stubhub.com (Litwin, Matthew)
Date: Sat, 23 Oct 2010 10:48:29 -0600
Subject: Scheduled checks falling far behind
In-Reply-To: <BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
Message-ID: <81C9AEBD-CC66-417F-A9CB-64D98DA2D4D2@stubhub.com>

Here are my stats... definitely have a problem if latencies are between 5-10 minutes!

check_reaper_frequency was set at 10, which seems high. I am going to try 5 as used in the core nagios guide and see what that does.

Nagios Stats 3.2.1
Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org)
Last Modified: 03-09-2010
License: GPL

CURRENT STATUS DATA
------------------------------------------------------
Status File:                            /usr/local/nagios/var/status.dat
Status File Age:                        0d 0h 0m 29s
Status File Version:                    3.2.1

Program Running Time:                   0d 0h 4m 9s
Nagios PID:                             17295
Used/High/Total Command Buffers:        0 / 0 / 4096

Total Services:                         4987
Services Checked:                       4987
Services Scheduled:                     4970
Services Actively Checked:              4987
Services Passively Checked:             0
Total Service State Change:             0.000 / 16.970 / 0.007 %
Active Service Latency:                 0.034 / 526.244 / 351.201 sec
Active Service Execution Time:          0.013 / 17.745 / 0.393 sec
Active Service State Change:            0.000 / 16.970 / 0.007 %
Active Services Last 1/5/15/60 min:     205 / 1353 / 3568 / 4970
Passive Service Latency:                0.000 / 0.000 / 0.000 sec
Passive Service State Change:           0.000 / 0.000 / 0.000 %
Passive Services Last 1/5/15/60 min:    0 / 0 / 0 / 0
Services Ok/Warn/Unk/Crit:              4969 / 11 / 1 / 6
Services Flapping:                      0
Services In Downtime:                   0

Total Hosts:                            241
Hosts Checked:                          241
Hosts Scheduled:                        241
Hosts Actively Checked:                 241
Host Passively Checked:                 0
Total Host State Change:                0.000 / 0.000 / 0.000 %
Active Host Latency:                    0.000 / 487.501 / 216.928 sec
Active Host Execution Time:             0.149 / 4.310 / 3.780 sec
Active Host State Change:               0.000 / 0.000 / 0.000 %
Active Hosts Last 1/5/15/60 min:        38 / 131 / 199 / 241
Passive Host Latency:                   0.000 / 0.000 / 0.000 sec
Passive Host State Change:              0.000 / 0.000 / 0.000 %
Passive Hosts Last 1/5/15/60 min:       0 / 0 / 0 / 0
Hosts Up/Down/Unreach:                  241 / 0 / 0
Hosts Flapping:                         0
Hosts In Downtime:                      0

Active Host Checks Last 1/5/15 min:     49 / 135 / 135
   Scheduled:                           48 / 131 / 131
   On-demand:                           1 / 4 / 4
   Parallel:                            48 / 131 / 131
   Serial:                              0 / 0 / 0
   Cached:                              1 / 4 / 4
Passive Host Checks Last 1/5/15 min:    0 / 0 / 0
Active Service Checks Last 1/5/15 min:  313 / 1353 / 1353
   Scheduled:                           313 / 1353 / 1353
   On-demand:                           0 / 0 / 0
   Cached:                              0 / 0 / 0
Passive Service Checks Last 1/5/15 min: 0 / 0 / 0

External Commands Last 1/5/15 min:      0 / 0 / 0

On Oct 22, 2010, at 6:53 PM, Frost, Mark {PBC} wrote:

> Matthew,
> 
> You don't say, but my guess would be that you have high latencies.  That is for one of several reasons, Nagios is not able to run checks when it thinks it should.  You can see this information and other stats by looking at the Performance item near the bottom of the Nav pane in the Nagios web interface.
> 
> You can also run, if memory serves, the "nagiostats" command located in your Nagios "bin" directory to see this information as well.  I actually use that nagiostats data in a custom check and graph a lot of those latencies and other Nagios performance related info.


> 
>> From my own experience, I found that I did not pay attention to this information when I started using Nagios, then read about it, made a few tweaks to make it better then forgot about it.  Then as our installation grew and grew, I found that some things got worse again and I had to consider different tuning options.
> 
> I would recommend that you first read the "Tuning Nagios For Maximum Performance" section of the docs:
> 
> http://nagios.sourceforge.net/docs/3_0/tuning.html
> 
> If nothing else, this will give you an idea of some things that can affect latencies.
> 
> Additionally, you may find that you see your average latencies, but then see something with a whopping huge max latency.  It can be hard to track down what that is in the UI.  I've just looked up that max latency and then quickly looked in the status.dat file to find the service that had that same matching latency and dug into that.  You could, for example, have a few checks that aren't really timing out so the check may take 10 minutes or more to complete which would really screw up your overall latencies.  Like the checks wouldn't have finished before the next time they were supposed to be run.
> 
> Mark
> 
> ________________________________________
> From: Litwin, Matthew [mlitwin at stubhub.com]
> Sent: Friday, October 22, 2010 8:29 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Scheduled checks falling far behind
> 
> I have been chasing my tail trying to figure out why my RRD files were very sparsely populated, and I am realizing that my checks are falling behind of their scheduled times up to 3 times their set check interval. For example a service that should be checking every 5 minutes. In the example below, the time is 00:19:02, the last check was 00:10:30 and the next scheduled check time is 00:13:28. This means it is almost 6 minutes behind schedule and almost 9 minutes since the last check!
> 
> I find even if I shorten the check interval to say 3 minutes it still behaves about the same. The server has very low load and nagios is hardly working at all. (usually below 4% cpu) I haven't touch any of the tuning on this and from what I have read the default settings appear unthrottled. Is there any way to make it "work harder"?
> 
> --Service information--
> Last Updated: Sat Oct 23 00:19:02 UTC 2010
> 
> --Service State Information--
> Current Status:
>  OK
> (for 7d 16h 14m 46s)
> Status Information:     CPU STATISTICS OK : user=0.12% system=0.00% iowait=0.00% idle=99.88%
> Performance Data:       0.12;0.00;0.00;99.88;80;90
> Current Attempt:        1/3  (HARD state)
>>>> Last Check Time:    10-23-2010 00:10:30  <<<<
> Check Type:     ACTIVE
> Check Latency / Duration:       612.633 / 2.052 seconds
>>>> Next Scheduled Check:       10-23-2010 00:13:28 <<<
> Last State Change:      10-15-2010 08:04:16
> Last Notification:      N/A (notification 0)
> Is This Service Flapping?
>  NO
> (0.00% state change)
> In Scheduled Downtime?
>  NO
> Last Update:    10-23-2010 00:18:33  ( 0d 0h 0m 29s ago)
> 
> 
> 
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mlitwin at stubhub.com  Sat Oct 23 19:16:14 2010
From: mlitwin at stubhub.com (Litwin, Matthew)
Date: Sat, 23 Oct 2010 11:16:14 -0600
Subject: Scheduled checks falling far behind
In-Reply-To: <81C9AEBD-CC66-417F-A9CB-64D98DA2D4D2@stubhub.com>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
	<81C9AEBD-CC66-417F-A9CB-64D98DA2D4D2@stubhub.com>
Message-ID: <D5E4B29B-C60F-421D-B9DE-5779EFADDAD7@stubhub.com>

For the Total Services, what are the three X / X / X values mean? Is it last 1/5/15 min?

On Oct 23, 2010, at 9:48 AM, Litwin, Matthew wrote:

> Here are my stats... definitely have a problem if latencies are between 5-10 minutes!
> 
> check_reaper_frequency was set at 10, which seems high. I am going to try 5 as used in the core nagios guide and see what that does.
> 
> Nagios Stats 3.2.1
> Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org)
> Last Modified: 03-09-2010
> License: GPL
> 
> CURRENT STATUS DATA
> ------------------------------------------------------
> Status File:                            /usr/local/nagios/var/status.dat
> Status File Age:                        0d 0h 0m 29s
> Status File Version:                    3.2.1
> 
> Program Running Time:                   0d 0h 4m 9s
> Nagios PID:                             17295
> Used/High/Total Command Buffers:        0 / 0 / 4096
> 
> Total Services:                         4987
> Services Checked:                       4987
> Services Scheduled:                     4970
> Services Actively Checked:              4987
> Services Passively Checked:             0
> Total Service State Change:             0.000 / 16.970 / 0.007 %
> Active Service Latency:                 0.034 / 526.244 / 351.201 sec
> Active Service Execution Time:          0.013 / 17.745 / 0.393 sec
> Active Service State Change:            0.000 / 16.970 / 0.007 %
> Active Services Last 1/5/15/60 min:     205 / 1353 / 3568 / 4970
> Passive Service Latency:                0.000 / 0.000 / 0.000 sec
> Passive Service State Change:           0.000 / 0.000 / 0.000 %
> Passive Services Last 1/5/15/60 min:    0 / 0 / 0 / 0
> Services Ok/Warn/Unk/Crit:              4969 / 11 / 1 / 6
> Services Flapping:                      0
> Services In Downtime:                   0
> 
> Total Hosts:                            241
> Hosts Checked:                          241
> Hosts Scheduled:                        241
> Hosts Actively Checked:                 241
> Host Passively Checked:                 0
> Total Host State Change:                0.000 / 0.000 / 0.000 %
> Active Host Latency:                    0.000 / 487.501 / 216.928 sec
> Active Host Execution Time:             0.149 / 4.310 / 3.780 sec
> Active Host State Change:               0.000 / 0.000 / 0.000 %
> Active Hosts Last 1/5/15/60 min:        38 / 131 / 199 / 241
> Passive Host Latency:                   0.000 / 0.000 / 0.000 sec
> Passive Host State Change:              0.000 / 0.000 / 0.000 %
> Passive Hosts Last 1/5/15/60 min:       0 / 0 / 0 / 0
> Hosts Up/Down/Unreach:                  241 / 0 / 0
> Hosts Flapping:                         0
> Hosts In Downtime:                      0
> 
> Active Host Checks Last 1/5/15 min:     49 / 135 / 135
>   Scheduled:                           48 / 131 / 131
>   On-demand:                           1 / 4 / 4
>   Parallel:                            48 / 131 / 131
>   Serial:                              0 / 0 / 0
>   Cached:                              1 / 4 / 4
> Passive Host Checks Last 1/5/15 min:    0 / 0 / 0
> Active Service Checks Last 1/5/15 min:  313 / 1353 / 1353
>   Scheduled:                           313 / 1353 / 1353
>   On-demand:                           0 / 0 / 0
>   Cached:                              0 / 0 / 0
> Passive Service Checks Last 1/5/15 min: 0 / 0 / 0
> 
> External Commands Last 1/5/15 min:      0 / 0 / 0
> 
> On Oct 22, 2010, at 6:53 PM, Frost, Mark {PBC} wrote:
> 
>> Matthew,
>> 
>> You don't say, but my guess would be that you have high latencies.  That is for one of several reasons, Nagios is not able to run checks when it thinks it should.  You can see this information and other stats by looking at the Performance item near the bottom of the Nav pane in the Nagios web interface.
>> 
>> You can also run, if memory serves, the "nagiostats" command located in your Nagios "bin" directory to see this information as well.  I actually use that nagiostats data in a custom check and graph a lot of those latencies and other Nagios performance related info.
> 
> 
>> 
>>> From my own experience, I found that I did not pay attention to this information when I started using Nagios, then read about it, made a few tweaks to make it better then forgot about it.  Then as our installation grew and grew, I found that some things got worse again and I had to consider different tuning options.
>> 
>> I would recommend that you first read the "Tuning Nagios For Maximum Performance" section of the docs:
>> 
>> http://nagios.sourceforge.net/docs/3_0/tuning.html
>> 
>> If nothing else, this will give you an idea of some things that can affect latencies.
>> 
>> Additionally, you may find that you see your average latencies, but then see something with a whopping huge max latency.  It can be hard to track down what that is in the UI.  I've just looked up that max latency and then quickly looked in the status.dat file to find the service that had that same matching latency and dug into that.  You could, for example, have a few checks that aren't really timing out so the check may take 10 minutes or more to complete which would really screw up your overall latencies.  Like the checks wouldn't have finished before the next time they were supposed to be run.
>> 
>> Mark
>> 
>> ________________________________________
>> From: Litwin, Matthew [mlitwin at stubhub.com]
>> Sent: Friday, October 22, 2010 8:29 PM
>> To: nagios-users at lists.sourceforge.net
>> Subject: [Nagios-users] Scheduled checks falling far behind
>> 
>> I have been chasing my tail trying to figure out why my RRD files were very sparsely populated, and I am realizing that my checks are falling behind of their scheduled times up to 3 times their set check interval. For example a service that should be checking every 5 minutes. In the example below, the time is 00:19:02, the last check was 00:10:30 and the next scheduled check time is 00:13:28. This means it is almost 6 minutes behind schedule and almost 9 minutes since the last check!
>> 
>> I find even if I shorten the check interval to say 3 minutes it still behaves about the same. The server has very low load and nagios is hardly working at all. (usually below 4% cpu) I haven't touch any of the tuning on this and from what I have read the default settings appear unthrottled. Is there any way to make it "work harder"?
>> 
>> --Service information--
>> Last Updated: Sat Oct 23 00:19:02 UTC 2010
>> 
>> --Service State Information--
>> Current Status:
>> OK
>> (for 7d 16h 14m 46s)
>> Status Information:     CPU STATISTICS OK : user=0.12% system=0.00% iowait=0.00% idle=99.88%
>> Performance Data:       0.12;0.00;0.00;99.88;80;90
>> Current Attempt:        1/3  (HARD state)
>>>>> Last Check Time:    10-23-2010 00:10:30  <<<<
>> Check Type:     ACTIVE
>> Check Latency / Duration:       612.633 / 2.052 seconds
>>>>> Next Scheduled Check:       10-23-2010 00:13:28 <<<
>> Last State Change:      10-15-2010 08:04:16
>> Last Notification:      N/A (notification 0)
>> Is This Service Flapping?
>> NO
>> (0.00% state change)
>> In Scheduled Downtime?
>> NO
>> Last Update:    10-23-2010 00:18:33  ( 0d 0h 0m 29s ago)
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
>> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>> http://p.sf.net/sfu/nokia-dev2dev
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>> ------------------------------------------------------------------------------
>> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
>> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
>> http://p.sf.net/sfu/nokia-dev2dev
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
> 
> 
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mlitwin at stubhub.com  Sat Oct 23 19:25:30 2010
From: mlitwin at stubhub.com (Litwin, Matthew)
Date: Sat, 23 Oct 2010 11:25:30 -0600
Subject: Scheduled checks falling far behind
In-Reply-To: <i9tg4g$5co$1@dough.gmane.org>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
	<i9tg4g$5co$1@dough.gmane.org>
Message-ID: <8719E2C8-CB5A-40AB-B14C-19B245DB8CFA@stubhub.com>


On Oct 22, 2010, at 7:09 PM, Jonathan Angliss wrote:

On 10/22/10 19:29, Litwin, Matthew wrote:

--Service information--
Last Updated: Sat Oct 23 00:19:02 UTC 2010

--Service State Information--
Current Status:
  OK
 (for 7d 16h 14m 46s)
Status Information: CPU STATISTICS OK : user=0.12% system=0.00% iowait=0.00% idle=99.88%
Performance Data: 0.12;0.00;0.00;99.88;80;90
Current Attempt: 1/3  (HARD state)
Last Check Time: 10-23-2010 00:10:30<<<<
Check Type: ACTIVE
Check Latency / Duration: 612.633 / 2.052 seconds

This check latency is terribly high.  What is your overall latency look
like on the tactical overview page?  How many hosts and services are you
checking?

The doc on tuning has some hints on tweaking some settings that improve
these numbers, worth a quick read...

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

It's funny that the performance check output which I have been going by (foolishly) doesn't indicate any problems, and honestly doesn't really tell me anything useful.

Nagios Core 3.2.1
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-09-2010
License: GPL

Website: http://www.nagios.org
Timing information on object configuration processing is listed
below.  You can use this information to see if precaching your
object configuration would be useful.

Object Config Source: Config files (uncached)

OBJECT CONFIG PROCESSING TIMES      (* = Potential for precache savings with -u option)
----------------------------------
Read:                 0.008913 sec
Resolve:              0.000526 sec  *
Recomb Contactgroups: 0.000075 sec  *
Recomb Hostgroups:    0.003510 sec  *
Dup Services:         0.024774 sec  *
Recomb Servicegroups: 0.048027 sec  *
Duplicate:            0.037472 sec  *
Inherit:              0.003409 sec  *
Recomb Contacts:      0.000000 sec  *
Sort:                 0.000001 sec  *
Register:             0.038721 sec
Free:                 0.003128 sec
                      ============
TOTAL:                0.168556 sec  * = 0.117794 sec (69.88%) estimated savings


RETENTION DATA TIMES
----------------------------------
Read and Process:     0.358370 sec
                      ============
TOTAL:                0.358370 sec


Timing information on configuration verification is listed below.

CONFIG VERIFICATION TIMES          (* = Potential for speedup with -x option)
----------------------------------
Object Relationships: 0.063165 sec
Circular Paths:       6.096125 sec  *
Misc:                 0.003806 sec
                      ============
TOTAL:                6.163096 sec  * = 6.096125 sec (98.9%) estimated savings


EVENT SCHEDULING TIMES
-------------------------------------
Get service info:        0.008075 sec
Get host info info:      0.000341 sec
Get service params:      0.000009 sec
Schedule service times:  0.007888 sec
Schedule service events: 0.055008 sec
Get host params:         0.000001 sec
Schedule host times:     0.000461 sec
Schedule host events:    0.010735 sec
                         ============
TOTAL:                   0.082518 sec


Projected scheduling information for host and service checks
is listed below.  This information assumes that you are going
to start running Nagios with your current config files.

HOST SCHEDULING INFORMATION
---------------------------
Total hosts:                     241
Total scheduled hosts:           241
Host inter-check delay method:   SMART
Average host check interval:     300.00 sec
Host inter-check delay:          1.24 sec
Max host check spread:           30 min
First scheduled check:           Sat Oct 23 16:39:54 2010
Last scheduled check:            Sat Oct 23 16:41:28 2010


SERVICE SCHEDULING INFORMATION
-------------------------------
Total services:                     4987
Total scheduled services:           4970
Service inter-check delay method:   SMART
Average service check interval:     296.38 sec
Inter-check delay:                  0.06 sec
Interleave factor method:           SMART
Average services per host:          20.69
Service interleave factor:          21
Max service check spread:           30 min
First scheduled check:              Sat Oct 23 16:40:08 2010
Last scheduled check:               Sat Oct 23 16:44:53 2010


CHECK PROCESSING INFORMATION
----------------------------
Check result reaper interval:       10 sec
Max concurrent service checks:      Unlimited


PERFORMANCE SUGGESTIONS
-----------------------
I have no suggestions - things look okay.


--
Jonathan Angliss


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mlitwin at stubhub.com  Sun Oct 24 00:31:36 2010
From: mlitwin at stubhub.com (Litwin, Matthew)
Date: Sat, 23 Oct 2010 16:31:36 -0600
Subject: Scheduled checks falling far behind
In-Reply-To: <BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
Message-ID: <B31E064E-F3CD-4DF1-8811-53CE881C5DC4@stubhub.com>


On Oct 22, 2010, at 6:53 PM, Frost, Mark {PBC} wrote:

> Matthew,
> 
> You don't say, but my guess would be that you have high latencies.  That is for one of several reasons, Nagios is not able to run checks when it thinks it should.  You can see this information and other stats by looking at the Performance item near the bottom of the Nav pane in the Nagios web interface.

Hi Mark,

I have set up MRTG to track nagios performace and it is reporting that latency for host and service checks are next to nothing and service execution time is just under 400 ms, however, host checks are coming back at around 4 seconds. Based on the samples that are in the MRTG section of the tuning guide, my stats would indicate that service execution times are fine, but that host execution checks are high.

nagiostat says this, and if I am reading it right, it contradicts what MRTG is report:


Nagios Stats 3.2.1
Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org)
Last Modified: 03-09-2010
License: GPL

CURRENT STATUS DATA
------------------------------------------------------
Status File:                            /usr/local/nagios/var/status.dat
Status File Age:                        0d 0h 0m 21s
Status File Version:                    3.2.1

Program Running Time:                   0d 5h 40m 15s
Nagios PID:                             5828
Used/High/Total Command Buffers:        0 / 0 / 4096

Total Services:                         4987
Services Checked:                       4987
Services Scheduled:                     4970
Services Actively Checked:              4987
Services Passively Checked:             0
Total Service State Change:             0.000 / 5.860 / 0.001 %
Active Service Latency:                 0.236 / 477.406 / 458.101 sec
Active Service Execution Time:          0.013 / 12.393 / 0.377 sec
Active Service State Change:            0.000 / 5.860 / 0.001 %
Active Services Last 1/5/15/60 min:     195 / 1799 / 4970 / 4970
Passive Service Latency:                0.000 / 0.000 / 0.000 sec
Passive Service State Change:           0.000 / 0.000 / 0.000 %
Passive Services Last 1/5/15/60 min:    0 / 0 / 0 / 0
Services Ok/Warn/Unk/Crit:              4971 / 10 / 1 / 5
Services Flapping:                      0
Services In Downtime:                   0

Total Hosts:                            241
Hosts Checked:                          241
Hosts Scheduled:                        241
Hosts Actively Checked:                 241
Host Passively Checked:                 0
Total Host State Change:                0.000 / 0.000 / 0.000 %
Active Host Latency:                    444.598 / 469.511 / 455.625 sec
Active Host Execution Time:             0.152 / 4.045 / 3.779 sec
Active Host State Change:               0.000 / 0.000 / 0.000 %
Active Hosts Last 1/5/15/60 min:        8 / 19 / 241 / 241
Passive Host Latency:                   0.000 / 0.000 / 0.000 sec
Passive Host State Change:              0.000 / 0.000 / 0.000 %
Passive Hosts Last 1/5/15/60 min:       0 / 0 / 0 / 0
Hosts Up/Down/Unreach:                  241 / 0 / 0
Hosts Flapping:                         0
Hosts In Downtime:                      0

Active Host Checks Last 1/5/15 min:     8 / 38 / 267
   Scheduled:                           8 / 33 / 249
   On-demand:                           0 / 5 / 18
   Parallel:                            8 / 33 / 249
   Serial:                              0 / 0 / 0
   Cached:                              0 / 5 / 18
Passive Host Checks Last 1/5/15 min:    0 / 0 / 0
Active Service Checks Last 1/5/15 min:  332 / 1949 / 5883
   Scheduled:                           332 / 1949 / 5883
   On-demand:                           0 / 0 / 0
   Cached:                              0 / 0 / 0
Passive Service Checks Last 1/5/15 min: 0 / 0 / 0

External Commands Last 1/5/15 min:      0 / 0 / 0



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mgagne at iweb.com  Sun Oct 24 01:07:42 2010
From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=)
Date: Sat, 23 Oct 2010 19:07:42 -0400
Subject: Scheduled checks falling far behind
In-Reply-To: <B31E064E-F3CD-4DF1-8811-53CE881C5DC4@stubhub.com>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
	<B31E064E-F3CD-4DF1-8811-53CE881C5DC4@stubhub.com>
Message-ID: <4CC36ABD.3020208@iweb.com>

On 2010-10-23 18:31, Litwin, Matthew wrote:
>
> I have set up MRTG to track nagios performace and it is reporting that latency for host and service checks are next to nothing and service execution time is just under 400 ms, however, host checks are coming back at around 4 seconds. Based on the samples that are in the MRTG section of the tuning guide, my stats would indicate that service execution times are fine, but that host execution checks are high.
>
> nagiostat says this, and if I am reading it right, it contradicts what MRTG is report:
 >

Make sure the "maximum" of your MRTG graphs are enough for your current 
latency values. I once thought there was no latency at all because MRTG 
refused to graph values over the default maximum value.

If you aren't using environment variables in your plugins, try disabling 
them. I disabled them on all my nagios servers and latency dropped to 
nothing.

-- 
Mathieu

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From benny at bennyvision.com  Sun Oct 24 02:43:54 2010
From: benny at bennyvision.com (C. Bensend)
Date: Sat, 23 Oct 2010 19:43:54 -0500
Subject: Scheduled checks falling far behind
In-Reply-To: <BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
Message-ID: <38a7854fcae8f62679e4d94466ab20c9.squirrel@webmail.stinkweasel.net>


> You can also run, if memory serves, the "nagiostats" command located in
> your Nagios "bin" directory to see this information as well.  I actually
> use that nagiostats data in a custom check and graph a lot of those
> latencies and other Nagios performance related info.

Boy, would I *love* to see your method for that!

I personally hacked the source of nagiostats to create a custom
plugin, but it's a horrible, horrible hack and I'd like to see
a cleaner, more scalable method.

Can you share?

Benny


-- 
"No matter how many shorts we have in the system, my guards will
be instructed to treat every surveillance camera malfunction as a
full-scale emergency."
                       -- Peter Anspach's Evil Overlord List, #67



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mlitwin at stubhub.com  Sun Oct 24 09:54:32 2010
From: mlitwin at stubhub.com (Litwin, Matthew)
Date: Sun, 24 Oct 2010 01:54:32 -0600
Subject: Scheduled checks falling far behind
In-Reply-To: <4CC36ABD.3020208@iweb.com>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
	<B31E064E-F3CD-4DF1-8811-53CE881C5DC4@stubhub.com>
	<4CC36ABD.3020208@iweb.com>
Message-ID: <C95732B5-414E-4C31-973D-D2B4CB01E8D9@stubhub.com>

You hit the nail on the head. Changing MaxBytes to a very large number made latency totally dwarf execution time.

So now what do I do?

On Oct 23, 2010, at 4:07 PM, Mathieu Gagn? wrote:

> On 2010-10-23 18:31, Litwin, Matthew wrote:
>> 
>> I have set up MRTG to track nagios performace and it is reporting that latency for host and service checks are next to nothing and service execution time is just under 400 ms, however, host checks are coming back at around 4 seconds. Based on the samples that are in the MRTG section of the tuning guide, my stats would indicate that service execution times are fine, but that host execution checks are high.
>> 
>> nagiostat says this, and if I am reading it right, it contradicts what MRTG is report:
>> 
> 
> Make sure the "maximum" of your MRTG graphs are enough for your current 
> latency values. I once thought there was no latency at all because MRTG 
> refused to graph values over the default maximum value.
> 
> If you aren't using environment variables in your plugins, try disabling 
> them. I disabled them on all my nagios servers and latency dropped to 
> nothing.
> 
> -- 
> Mathieu
> 
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mgagne at iweb.com  Sun Oct 24 19:58:54 2010
From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=)
Date: Sun, 24 Oct 2010 13:58:54 -0400
Subject: Scheduled checks falling far behind
In-Reply-To: <C95732B5-414E-4C31-973D-D2B4CB01E8D9@stubhub.com>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
	<B31E064E-F3CD-4DF1-8811-53CE881C5DC4@stubhub.com>
	<4CC36ABD.3020208@iweb.com>
	<C95732B5-414E-4C31-973D-D2B4CB01E8D9@stubhub.com>
Message-ID: <4CC473DE.7090502@iweb.com>

On 2010-10-24 03:54, Litwin, Matthew wrote:
> You hit the nail on the head. Changing MaxBytes to a very large number made latency totally dwarf execution time.
>
> So now what do I do?

Try disabling environment variables in nagios.cfg:
enable_environment_macros = 0

Our latency dropped from 20 minutes to 10 seconds after this change.

This guy had a similar issue back then:
http://marc.info/?l=nagios-devel&m=120393376922635

You should also try to enable large installation tweaks:
use_large_installation_tweaks=1

Documentation here:
http://nagios.sourceforge.net/docs/3_0/largeinstalltweaks.html

And adjust those configurations based on your installation:
check_result_reaper_frequency
max_concurrent_checks
max_host_check_spread
max_service_check_spread

-- 
Mathieu

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mlitwin at stubhub.com  Sun Oct 24 22:14:58 2010
From: mlitwin at stubhub.com (Litwin, Matthew)
Date: Sun, 24 Oct 2010 14:14:58 -0600
Subject: Scheduled checks falling far behind
In-Reply-To: <4CC473DE.7090502@iweb.com>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
	<B31E064E-F3CD-4DF1-8811-53CE881C5DC4@stubhub.com>
	<4CC36ABD.3020208@iweb.com>
	<C95732B5-414E-4C31-973D-D2B4CB01E8D9@stubhub.com>
	<4CC473DE.7090502@iweb.com>
Message-ID: <22473227-07BE-448F-A5EB-A3F959E108AC@stubhub.com>

Hi Matthieu (and anyone else who might want to throw their hat into the ring):

So after identifying that I have latency times that are around 500-600 seconds I have tried the tuning tips form the nagios docs, however I have fiddled with it and it while after the restart latency drops briefly, then just comes back up to the high levels again. At this point I have only been working with check_reaper_frequency and max_check_result_reaper_time by doubling and halving them from their default values. max_concurrent_checks remains at 0. Load on the server is very low. The machine is a 8 core machine so I really wish I could make better use of it. Load is a measly 1.5 on average. Finally, I tried enable_environment_macros = 0 which actually made it worse, once things quiesced after startup. use_large_installation_tweaks=1 did improve the latency by maybe %30 and I did actually start seeing RRD data come in solid for about 15 minutes but then it returned to being sparse again so while a modest improvement, it still doesn't fill RRD data to have useful data.

Any other tuning suggestions? I think I have done everything in the performance tweaks section that seems relevant, including all of those that have been suggested here.

In summary, I am looking for some way to make nagios "do more" with the system resources as the host is barely working at all. I really wish there was some way to just make nagios to have some ability to do things more in parallel for cases where a system has plenty of horsepower and RAM. If I have to resort to compiling things with different settings I would be open to trying it, but I just feel like I am grasping at straws now.

Here is an typical nagiostats:

srwp01mon001:bin$ date; nagiostats
Sun Oct 24 17:22:41 UTC 2010

Nagios Stats 3.2.1
Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org<http://www.nagios.org>)
Last Modified: 03-09-2010
License: GPL

CURRENT STATUS DATA
------------------------------------------------------
Status File:                            /usr/local/nagios/var/status.dat
Status File Age:                        0d 0h 0m 16s
Status File Version:                    3.2.1

Program Running Time:                   0d 0h 21m 54s
Nagios PID:                             9792
Used/High/Total Command Buffers:        0 / 0 / 4096

Total Services:                         4987
Services Checked:                       4987
Services Scheduled:                     4970
Services Actively Checked:              4987
Services Passively Checked:             0
Total Service State Change:             0.000 / 15.990 / 0.006 %
Active Service Latency:                 0.236 / 683.782 / 536.494 sec
Active Service Execution Time:          0.013 / 11.525 / 0.378 sec
Active Service State Change:            0.000 / 15.990 / 0.006 %
Active Services Last 1/5/15/60 min:     0 / 1565 / 4970 / 4970
Passive Service Latency:                0.000 / 0.000 / 0.000 sec
Passive Service State Change:           0.000 / 0.000 / 0.000 %
Passive Services Last 1/5/15/60 min:    0 / 0 / 0 / 0
Services Ok/Warn/Unk/Crit:              4972 / 10 / 1 / 4
Services Flapping:                      0
Services In Downtime:                   0

Total Hosts:                            241
Hosts Checked:                          241
Hosts Scheduled:                        241
Hosts Actively Checked:                 241
Host Passively Checked:                 0
Total Host State Change:                0.000 / 0.000 / 0.000 %
Active Host Latency:                    362.793 / 679.309 / 523.157 sec
Active Host Execution Time:             0.172 / 4.065 / 3.780 sec
Active Host State Change:               0.000 / 0.000 / 0.000 %
Active Hosts Last 1/5/15/60 min:        0 / 97 / 241 / 241
Passive Host Latency:                   0.000 / 0.000 / 0.000 sec
Passive Host State Change:              0.000 / 0.000 / 0.000 %
Passive Hosts Last 1/5/15/60 min:       0 / 0 / 0 / 0
Hosts Up/Down/Unreach:                  241 / 0 / 0
Hosts Flapping:                         0
Hosts In Downtime:                      0

Active Host Checks Last 1/5/15 min:     22 / 100 / 257
   Scheduled:                           22 / 97 / 242
   On-demand:                           0 / 3 / 15
   Parallel:                            22 / 97 / 242
   Serial:                              0 / 0 / 0
   Cached:                              0 / 3 / 15
Passive Host Checks Last 1/5/15 min:    0 / 0 / 0
Active Service Checks Last 1/5/15 min:  262 / 1779 / 5436
   Scheduled:                           262 / 1779 / 5436
   On-demand:                           0 / 0 / 0
   Cached:                              0 / 0 / 0
Passive Service Checks Last 1/5/15 min: 0 / 0 / 0

External Commands Last 1/5/15 min:      0 / 0 / 0

Here is nagios -s:

# /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg

Nagios Core 3.2.1
Copyright (c) 2009-2010 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-09-2010
License: GPL

Website: http://www.nagios.org
Timing information on object configuration processing is listed
below.  You can use this information to see if precaching your
object configuration would be useful.

Object Config Source: Config files (uncached)

OBJECT CONFIG PROCESSING TIMES      (* = Potential for precache savings with -u option)
----------------------------------
Read:                 0.008987 sec
Resolve:              0.000533 sec  *
Recomb Contactgroups: 0.000075 sec  *
Recomb Hostgroups:    0.003513 sec  *
Dup Services:         0.025789 sec  *
Recomb Servicegroups: 0.048340 sec  *
Duplicate:            0.037513 sec  *
Inherit:              0.003420 sec  *
Recomb Contacts:      0.000000 sec  *
Sort:                 0.000000 sec  *
Register:             0.038780 sec
Free:                 0.003135 sec
                      ============
TOTAL:                0.170086 sec  * = 0.119184 sec (70.07%) estimated savings


RETENTION DATA TIMES
----------------------------------
Read and Process:     0.352939 sec
                      ============
TOTAL:                0.352939 sec


Timing information on configuration verification is listed below.

CONFIG VERIFICATION TIMES          (* = Potential for speedup with -x option)
----------------------------------
Object Relationships: 0.063209 sec
Circular Paths:       5.735947 sec  *
Misc:                 0.003824 sec
                      ============
TOTAL:                5.802980 sec  * = 5.735947 sec (98.8%) estimated savings


EVENT SCHEDULING TIMES
-------------------------------------
Get service info:        0.007308 sec
Get host info info:      0.000356 sec
Get service params:      0.000011 sec
Schedule service times:  0.016611 sec
Schedule service events: 0.053224 sec
Get host params:         0.000002 sec
Schedule host times:     0.000752 sec
Schedule host events:    0.009029 sec
                         ============
TOTAL:                   0.087293 sec


Projected scheduling information for host and service checks
is listed below.  This information assumes that you are going
to start running Nagios with your current config files.

HOST SCHEDULING INFORMATION
---------------------------
Total hosts:                     241
Total scheduled hosts:           241
Host inter-check delay method:   SMART
Average host check interval:     199.92 sec
Host inter-check delay:          0.83 sec
Max host check spread:           30 min
First scheduled check:           Sun Oct 24 17:26:17 2010
Last scheduled check:            Sun Oct 24 17:28:46 2010


SERVICE SCHEDULING INFORMATION
-------------------------------
Total services:                     4987
Total scheduled services:           4970
Service inter-check delay method:   SMART
Average service check interval:     179.98 sec
Inter-check delay:                  0.04 sec
Interleave factor method:           SMART
Average services per host:          20.69
Service interleave factor:          21
Max service check spread:           30 min
First scheduled check:              Sun Oct 24 17:26:25 2010
Last scheduled check:               Sun Oct 24 17:29:24 2010


CHECK PROCESSING INFORMATION
----------------------------
Check result reaper interval:       30 sec
Max concurrent service checks:      Unlimited


PERFORMANCE SUGGESTIONS
-----------------------
I have no suggestions - things look okay.

Well, I hate to say it, but I think not!

On Oct 24, 2010, at 10:58 AM, Mathieu Gagn? wrote:

On 2010-10-24 03:54, Litwin, Matthew wrote:
You hit the nail on the head. Changing MaxBytes to a very large number made latency totally dwarf execution time.

So now what do I do?

Try disabling environment variables in nagios.cfg:
enable_environment_macros = 0

This didn't help at all, and may have made latency increase!


Our latency dropped from 20 minutes to 10 seconds after this change.

This guy had a similar issue back then:
http://marc.info/?l=nagios-devel&m=120393376922635

You should also try to enable large installation tweaks:
use_large_installation_tweaks=1




Documentation here:
http://nagios.sourceforge.net/docs/3_0/largeinstalltweaks.html

And adjust those configurations based on your installation:
check_result_reaper_frequency
max_concurrent_checks

As I mentioned, I have tried all sorts of permutations of this to no real effect.  I have max_concurrent_checks=0 (no limit) which is the default.

max_host_check_spread
max_service_check_spread

What does this do exactly that might effect latency? This seems only relevant to behavior after nagios starts up, correct?


--
Mathieu

Thanks again for yours and everyone else's advice up to this point,


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From ae at op5.se  Sun Oct 24 23:51:55 2010
From: ae at op5.se (Andreas Ericsson)
Date: Sun, 24 Oct 2010 23:51:55 +0200
Subject: Scheduled checks falling far behind
In-Reply-To: <D5E4B29B-C60F-421D-B9DE-5779EFADDAD7@stubhub.com>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>	<81C9AEBD-CC66-417F-A9CB-64D98DA2D4D2@stubhub.com>
	<D5E4B29B-C60F-421D-B9DE-5779EFADDAD7@stubhub.com>
Message-ID: <4CC4AA7B.9070300@op5.se>

On 10/23/2010 07:16 PM, Litwin, Matthew wrote:
> For the Total Services, what are the three X / X / X values mean? Is it last 1/5/15 min?
> 

It's min / max / average.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From ae at op5.se  Mon Oct 25 00:02:29 2010
From: ae at op5.se (Andreas Ericsson)
Date: Mon, 25 Oct 2010 00:02:29 +0200
Subject: Scheduled checks falling far behind
In-Reply-To: <22473227-07BE-448F-A5EB-A3F959E108AC@stubhub.com>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>	<B31E064E-F3CD-4DF1-8811-53CE881C5DC4@stubhub.com>	<4CC36ABD.3020208@iweb.com>	<C95732B5-414E-4C31-973D-D2B4CB01E8D9@stubhub.com>	<4CC473DE.7090502@iweb.com>
	<22473227-07BE-448F-A5EB-A3F959E108AC@stubhub.com>
Message-ID: <4CC4ACF5.70004@op5.se>

On 10/24/2010 10:14 PM, Litwin, Matthew wrote:
> Hi Matthieu (and anyone else who might want to throw their hat into
> the ring):
> 

I'll chip in. Your MUA seems to not wrap lines at all though, which
makes replying inline a bit tricky.

Note that you should wipe your status.sav files between restarts to
not let old latency affect the numbers you're seeing.

What system are you running this on? Nagios has been known to have
issues with older non-linux systems where thread libraries aren't
as forgiving as the nptl library shipped with glibc. Also, Nagios
should never run as a virtual guest.

As for the check_result_reaper_frequency things, we ship those unset
so they take the Nagios defaults. We used to have it at 2. I'm unsure
if removing the setting was a conscious choice or just by accident.

In general, you should keep your performance-data and checkresult
files on ramdisks. That will help preventing IO from becoming a
bottleneck.


> So after identifying that I have latency times that are around
> 500-600 seconds I have tried the tuning tips form the nagios docs,
> however I have fiddled with it and it while after the restart latency
> drops briefly, then just comes back up to the high levels again. At
> this point I have only been working with check_reaper_frequency and
> max_check_result_reaper_time by doubling and halving them from their
> default values. max_concurrent_checks remains at 0. Load on the
> server is very low. The machine is a 8 core machine so I really wish
> I could make better use of it. Load is a measly 1.5 on average.
> Finally, I tried enable_environment_macros = 0 which actually made it
> worse, once things quiesced after startup.
> use_large_installation_tweaks=1 did improve the latency by maybe %30
> and I did actually start seeing RRD data come in solid for about 15
> minutes but then it returned to being sparse again so while a modest
> improvement, it still doesn't fill RRD data to have useful data.
> 
> Any other tuning suggestions? I think I have done everything in the
> performance tweaks section that seems relevant, including all of
> those that have been suggested here.
> 

Make sure you haven't got "parallelize_check" set to 0 anywhere. That
will make Nagios try to run the checks one at a time, which obviously
doesn't work too well. If that's the case, you should have a latency
that corresponds to the amount of checks you're running times the
average check execution time minus the normal check-interval.

In other words; If you've got 900 checks in total, the average check
execution time is 1 second and you plan to run all checks in a 5 minute
interval (300 secs), you should get a latency of roughly 600 seconds.

If you've got it set for a few checks, Nagios will still fail to run
any other checks during the time the unparallelizeable check runs,
but it doesn't check if such checks are scheduled at the same time as
other checks when it schedules them, so latency will always be a bit
higher when not all checks are run in parallel.

> In summary, I am looking for some way to make nagios "do more" with
> the system resources as the host is barely working at all. I really
> wish there was some way to just make nagios to have some ability to
> do things more in parallel for cases where a system has plenty of
> horsepower and RAM. If I have to resort to compiling things with
> different settings I would be open to trying it, but I just feel like
> I am grasping at straws now.
> 

Are you using any eventbroker modules? If so, which ones and what
happens when you disable them?

What happens when you disable performance-data parsing and writing?

Is the system running as a virtual guest?

Do you have any checks with a check_interval that differs wildly
from the average check_interval? A while back there was a bug
that caused Nagios to spread the first service-check in a window
as big as the largest check_interval. Once all checks had been
executed, latency slowly normalized again. This doesn't seem to
match what you're describing, but it could be a similar bug
somewhere else. Using the same check_interval for all hosts and
services should tell if that's the case.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mlitwin at stubhub.com  Mon Oct 25 01:19:33 2010
From: mlitwin at stubhub.com (Litwin, Matthew)
Date: Sun, 24 Oct 2010 17:19:33 -0600
Subject: Scheduled checks falling far behind
In-Reply-To: <4CC4ACF5.70004@op5.se>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
	<B31E064E-F3CD-4DF1-8811-53CE881C5DC4@stubhub.com>
	<4CC36ABD.3020208@iweb.com>
	<C95732B5-414E-4C31-973D-D2B4CB01E8D9@stubhub.com>
	<4CC473DE.7090502@iweb.com>
	<22473227-07BE-448F-A5EB-A3F959E108AC@stubhub.com>
	<4CC4ACF5.70004@op5.se>
Message-ID: <BD85B67D-5C0D-4C5A-95B6-3ED4EA13F38C@stubhub.com>


On Oct 24, 2010, at 3:02 PM, Andreas Ericsson wrote:

> On 10/24/2010 10:14 PM, Litwin, Matthew wrote:
>> Hi Matthieu (and anyone else who might want to throw their hat into
>> the ring):
>> 
> 
> I'll chip in. Your MUA seems to not wrap lines at all though, which
> makes replying inline a bit tricky.

Sorry. Blame Apple. :-)

> 
> Note that you should wipe your status.sav files between restarts to
> not let old latency affect the numbers you're seeing.

I don't seem to have them on my system.
> 
> What system are you running this on? Nagios has been known to have
> issues with older non-linux systems where thread libraries aren't
> as forgiving as the nptl library shipped with glibc. Also, Nagios
> should never run as a virtual guest.

It is a 8 core x86 server running CentOS 5.3

> As for the check_result_reaper_frequency things, we ship those unset
> so they take the Nagios defaults. We used to have it at 2. I'm unsure
> if removing the setting was a conscious choice or just by accident.

I will give it a try, thanks.
> 
> In general, you should keep your performance-data and checkresult
> files on ramdisks. That will help preventing IO from becoming a
> bottleneck.

IO wait on the sever is  is on average 1% so I doubt that is the problem, but certainly worth investigating.
> 
> 
>> So after identifying that I have latency times that are around
>> 500-600 seconds I have tried the tuning tips form the nagios docs,
>> however I have fiddled with it and it while after the restart latency
>> drops briefly, then just comes back up to the high levels again. At
>> this point I have only been working with check_reaper_frequency and
>> max_check_result_reaper_time by doubling and halving them from their
>> default values. max_concurrent_checks remains at 0. Load on the
>> server is very low. The machine is a 8 core machine so I really wish
>> I could make better use of it. Load is a measly 1.5 on average.
>> Finally, I tried enable_environment_macros = 0 which actually made it
>> worse, once things quiesced after startup.
>> use_large_installation_tweaks=1 did improve the latency by maybe %30
>> and I did actually start seeing RRD data come in solid for about 15
>> minutes but then it returned to being sparse again so while a modest
>> improvement, it still doesn't fill RRD data to have useful data.
>> 
>> Any other tuning suggestions? I think I have done everything in the
>> performance tweaks section that seems relevant, including all of
>> those that have been suggested here.
>> 
> 
> Make sure you haven't got "parallelize_check" set to 0 anywhere. That
> will make Nagios try to run the checks one at a time, which obviously
> doesn't work too well. If that's the case, you should have a latency
> that corresponds to the amount of checks you're running times the
> average check execution time minus the normal check-interval.
> 
> In other words; If you've got 900 checks in total, the average check
> execution time is 1 second and you plan to run all checks in a 5 minute
> interval (300 secs), you should get a latency of roughly 600 seconds.
> 
> If you've got it set for a few checks, Nagios will still fail to run
> any other checks during the time the unparallelizeable check runs,
> but it doesn't check if such checks are scheduled at the same time as
> other checks when it schedules them, so latency will always be a bit
> higher when not all checks are run in parallel.
> 
>> In summary, I am looking for some way to make nagios "do more" with
>> the system resources as the host is barely working at all. I really
>> wish there was some way to just make nagios to have some ability to
>> do things more in parallel for cases where a system has plenty of
>> horsepower and RAM. If I have to resort to compiling things with
>> different settings I would be open to trying it, but I just feel like
>> I am grasping at straws now.
>> 
> 
> Are you using any eventbroker modules? If so, which ones and what
> happens when you disable them?

Not that I know of.
> 
> What happens when you disable performance-data parsing and writing?

Actually, that was what I am trying to get working properly. My RRD data files are sparse as a result.

> 
> Is the system running as a virtual guest?

No, it is a hard server.

> 
> Do you have any checks with a check_interval that differs wildly
> from the average check_interval?

All of my check_interval settings are 5 with a few that are a little bit less.

I am running 3.2.1

Documentation suggest I set the check_interval for hosts to 0. Is that appropriate?

> A while back there was a bug
> that caused Nagios to spread the first service-check in a window
> as big as the largest check_interval. Once all checks had been
> executed, latency slowly normalized again. This doesn't seem to
> match what you're describing, but it could be a similar bug
> somewhere else. Using the same check_interval for all hosts and
> services should tell if that's the case.
> 
> -- 
> Andreas Ericsson                   andreas.ericsson at op5.se
> OP5 AB                             www.op5.se
> Tel: +46 8-230225                  Fax: +46 8-230231
> 
> Considering the successes of the wars on alcohol, poverty, drugs and
> terror, I think we should give some serious thought to declaring war
> on peace.


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mlitwin at stubhub.com  Mon Oct 25 04:16:20 2010
From: mlitwin at stubhub.com (Litwin, Matthew)
Date: Sun, 24 Oct 2010 20:16:20 -0600
Subject: Scheduled checks falling far behind
In-Reply-To: <BD85B67D-5C0D-4C5A-95B6-3ED4EA13F38C@stubhub.com>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
	<B31E064E-F3CD-4DF1-8811-53CE881C5DC4@stubhub.com>
	<4CC36ABD.3020208@iweb.com>
	<C95732B5-414E-4C31-973D-D2B4CB01E8D9@stubhub.com>
	<4CC473DE.7090502@iweb.com>
	<22473227-07BE-448F-A5EB-A3F959E108AC@stubhub.com>	<4CC4ACF5.70004@op5.se>
	<BD85B67D-5C0D-4C5A-95B6-3ED4EA13F38C@stubhub.com>
Message-ID: <F9A8D609-D0B3-4FB1-BBD9-540BB33C9084@stubhub.com>

It would appear that running nagiosgraph in immediate mode was the latency cause. However, since batch mode has some problems that dash out big chunks of data that won't work either, so it looks like I will need to finds another solution, sadly, especially since I have invested so much time to solve this. :-C

On Oct 24, 2010, at 4:19 PM, Litwin, Matthew wrote:

> 
> On Oct 24, 2010, at 3:02 PM, Andreas Ericsson wrote:
> 
>> On 10/24/2010 10:14 PM, Litwin, Matthew wrote:
>>> Hi Matthieu (and anyone else who might want to throw their hat into
>>> the ring):
>>> 
>> 
>> I'll chip in. Your MUA seems to not wrap lines at all though, which
>> makes replying inline a bit tricky.
> 
> Sorry. Blame Apple. :-)
> 
>> 
>> Note that you should wipe your status.sav files between restarts to
>> not let old latency affect the numbers you're seeing.
> 
> I don't seem to have them on my system.
>> 
>> What system are you running this on? Nagios has been known to have
>> issues with older non-linux systems where thread libraries aren't
>> as forgiving as the nptl library shipped with glibc. Also, Nagios
>> should never run as a virtual guest.
> 
> It is a 8 core x86 server running CentOS 5.3
> 
>> As for the check_result_reaper_frequency things, we ship those unset
>> so they take the Nagios defaults. We used to have it at 2. I'm unsure
>> if removing the setting was a conscious choice or just by accident.
> 
> I will give it a try, thanks.
>> 
>> In general, you should keep your performance-data and checkresult
>> files on ramdisks. That will help preventing IO from becoming a
>> bottleneck.
> 
> IO wait on the sever is  is on average 1% so I doubt that is the problem, but certainly worth investigating.
>> 
>> 
>>> So after identifying that I have latency times that are around
>>> 500-600 seconds I have tried the tuning tips form the nagios docs,
>>> however I have fiddled with it and it while after the restart latency
>>> drops briefly, then just comes back up to the high levels again. At
>>> this point I have only been working with check_reaper_frequency and
>>> max_check_result_reaper_time by doubling and halving them from their
>>> default values. max_concurrent_checks remains at 0. Load on the
>>> server is very low. The machine is a 8 core machine so I really wish
>>> I could make better use of it. Load is a measly 1.5 on average.
>>> Finally, I tried enable_environment_macros = 0 which actually made it
>>> worse, once things quiesced after startup.
>>> use_large_installation_tweaks=1 did improve the latency by maybe %30
>>> and I did actually start seeing RRD data come in solid for about 15
>>> minutes but then it returned to being sparse again so while a modest
>>> improvement, it still doesn't fill RRD data to have useful data.
>>> 
>>> Any other tuning suggestions? I think I have done everything in the
>>> performance tweaks section that seems relevant, including all of
>>> those that have been suggested here.
>>> 
>> 
>> Make sure you haven't got "parallelize_check" set to 0 anywhere. That
>> will make Nagios try to run the checks one at a time, which obviously
>> doesn't work too well. If that's the case, you should have a latency
>> that corresponds to the amount of checks you're running times the
>> average check execution time minus the normal check-interval.
>> 
>> In other words; If you've got 900 checks in total, the average check
>> execution time is 1 second and you plan to run all checks in a 5 minute
>> interval (300 secs), you should get a latency of roughly 600 seconds.
>> 
>> If you've got it set for a few checks, Nagios will still fail to run
>> any other checks during the time the unparallelizeable check runs,
>> but it doesn't check if such checks are scheduled at the same time as
>> other checks when it schedules them, so latency will always be a bit
>> higher when not all checks are run in parallel.
>> 
>>> In summary, I am looking for some way to make nagios "do more" with
>>> the system resources as the host is barely working at all. I really
>>> wish there was some way to just make nagios to have some ability to
>>> do things more in parallel for cases where a system has plenty of
>>> horsepower and RAM. If I have to resort to compiling things with
>>> different settings I would be open to trying it, but I just feel like
>>> I am grasping at straws now.
>>> 
>> 
>> Are you using any eventbroker modules? If so, which ones and what
>> happens when you disable them?
> 
> Not that I know of.
>> 
>> What happens when you disable performance-data parsing and writing?
> 
> Actually, that was what I am trying to get working properly. My RRD data files are sparse as a result.
> 
>> 
>> Is the system running as a virtual guest?
> 
> No, it is a hard server.
> 
>> 
>> Do you have any checks with a check_interval that differs wildly
>> from the average check_interval?
> 
> All of my check_interval settings are 5 with a few that are a little bit less.
> 
> I am running 3.2.1
> 
> Documentation suggest I set the check_interval for hosts to 0. Is that appropriate?
> 
>> A while back there was a bug
>> that caused Nagios to spread the first service-check in a window
>> as big as the largest check_interval. Once all checks had been
>> executed, latency slowly normalized again. This doesn't seem to
>> match what you're describing, but it could be a similar bug
>> somewhere else. Using the same check_interval for all hosts and
>> services should tell if that's the case.
>> 
>> -- 
>> Andreas Ericsson                   andreas.ericsson at op5.se
>> OP5 AB                             www.op5.se
>> Tel: +46 8-230225                  Fax: +46 8-230231
>> 
>> Considering the successes of the wars on alcohol, poverty, drugs and
>> terror, I think we should give some serious thought to declaring war
>> on peace.
> 
> 
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mlitwin at stubhub.com  Mon Oct 25 05:11:07 2010
From: mlitwin at stubhub.com (Litwin, Matthew)
Date: Sun, 24 Oct 2010 21:11:07 -0600
Subject: tim format in nagios.log
Message-ID: <7339222E-0336-4164-B3BF-72E41D22290E@stubhub.com>

how can I change time from unix time to human readable?

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From stuart.browne at ausregistry.com.au  Mon Oct 25 05:50:35 2010
From: stuart.browne at ausregistry.com.au (Stuart Browne)
Date: Mon, 25 Oct 2010 14:50:35 +1100
Subject: tim format in nagios.log
In-Reply-To: <7339222E-0336-4164-B3BF-72E41D22290E@stubhub.com>
References: <7339222E-0336-4164-B3BF-72E41D22290E@stubhub.com>
Message-ID: <8CEF048B9EC83748B1517DC64EA130FB4396EFE758@off-win2003-01.ausregistrygroup.local>

> -----Original Message-----
> From: Litwin, Matthew [mailto:mlitwin at stubhub.com]
> Sent: Monday, 25 October 2010 14:11
> To: nagios-users at lists.sourceforge.net List
> Subject: [Nagios-users] tim format in nagios.log
> 
> how can I change time from unix time to human readable?

There are a number of ways.

>From a shell with GNU date (i.e. a linux box), you can use:

date -d '@<number>'

i.e.

[bekar at office-backup ~]$ date -d '@1287978546'
Mon Oct 25 14:49:06 EST 2010

There are ways in Perl and various other scripting and database languages as well.  Provide some more specifics on how you want to use it and we'll give you more details.

Stuart

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From ae at op5.se  Mon Oct 25 09:11:50 2010
From: ae at op5.se (Andreas Ericsson)
Date: Mon, 25 Oct 2010 09:11:50 +0200
Subject: Scheduled checks falling far behind
In-Reply-To: <B31E064E-F3CD-4DF1-8811-53CE881C5DC4@stubhub.com>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
	<B31E064E-F3CD-4DF1-8811-53CE881C5DC4@stubhub.com>
Message-ID: <4CC52DB6.4050502@op5.se>

On 10/24/2010 12:31 AM, Litwin, Matthew wrote:
> 
> On Oct 22, 2010, at 6:53 PM, Frost, Mark {PBC} wrote:
> 
>> Matthew,
>> 
>> You don't say, but my guess would be that you have high latencies.
>> That is for one of several reasons, Nagios is not able to run
>> checks when it thinks it should.  You can see this information and
>> other stats by looking at the Performance item near the bottom of
>> the Nav pane in the Nagios web interface.
> 
> Hi Mark,
> 
> I have set up MRTG to track nagios performace and it is reporting
> that latency for host and service checks are next to nothing and
> service execution time is just under 400 ms, however, host checks are
> coming back at around 4 seconds. Based on the samples that are in the
> MRTG section of the tuning guide, my stats would indicate that
> service execution times are fine, but that host execution checks are
> high.
> 

If you're not already using check_icmp instead of check_ping, switch
now so successful hostchecks complete early.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From ae at op5.se  Mon Oct 25 09:37:17 2010
From: ae at op5.se (Andreas Ericsson)
Date: Mon, 25 Oct 2010 09:37:17 +0200
Subject: Scheduled checks falling far behind
In-Reply-To: <BD85B67D-5C0D-4C5A-95B6-3ED4EA13F38C@stubhub.com>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
	<B31E064E-F3CD-4DF1-8811-53CE881C5DC4@stubhub.com>
	<4CC36ABD.3020208@iweb.com>
	<C95732B5-414E-4C31-973D-D2B4CB01E8D9@stubhub.com>
	<4CC473DE.7090502@iweb.com>
	<22473227-07BE-448F-A5EB-A3F959E108AC@stubhub.com>
	<4CC4ACF5.70004@op5.se>
	<BD85B67D-5C0D-4C5A-95B6-3ED4EA13F38C@stubhub.com>
Message-ID: <4CC533AD.8070504@op5.se>

On 10/25/2010 01:19 AM, Litwin, Matthew wrote:
> On Oct 24, 2010, at 3:02 PM, Andreas Ericsson wrote:
>>
>> Note that you should wipe your status.sav files between restarts to
>> not let old latency affect the numbers you're seeing.
> 
> I don't seem to have them on my system.

Perhaps you haven't enabled state retention then. If you have, there
should be something of the kind in nagios' /var directory. grep your
nagios.cfg for retent and see what comes up.

>>
>> What system are you running this on? Nagios has been known to have
>> issues with older non-linux systems where thread libraries aren't
>> as forgiving as the nptl library shipped with glibc. Also, Nagios
>> should never run as a virtual guest.
> 
> It is a 8 core x86 server running CentOS 5.3
> 

Not virtual and not what you'd call underdimensioned for the task, then.

>>
>> In general, you should keep your performance-data and checkresult
>> files on ramdisks. That will help preventing IO from becoming a
>> bottleneck.
> 
> IO wait on the sever is  is on average 1% so I doubt that is the
> problem, but certainly worth investigating.

That won't be it then.

>>
>>
>>> So after identifying that I have latency times that are around
>>> 500-600 seconds I have tried the tuning tips form the nagios docs,
>>> however I have fiddled with it and it while after the restart latency
>>> drops briefly, then just comes back up to the high levels again. At
>>> this point I have only been working with check_reaper_frequency and
>>> max_check_result_reaper_time by doubling and halving them from their
>>> default values. max_concurrent_checks remains at 0. Load on the
>>> server is very low. The machine is a 8 core machine so I really wish
>>> I could make better use of it. Load is a measly 1.5 on average.
>>> Finally, I tried enable_environment_macros = 0 which actually made it
>>> worse, once things quiesced after startup.
>>> use_large_installation_tweaks=1 did improve the latency by maybe %30
>>> and I did actually start seeing RRD data come in solid for about 15
>>> minutes but then it returned to being sparse again so while a modest
>>> improvement, it still doesn't fill RRD data to have useful data.
>>>
>>> Any other tuning suggestions? I think I have done everything in the
>>> performance tweaks section that seems relevant, including all of
>>> those that have been suggested here.
>>>
>>
>> Make sure you haven't got "parallelize_check" set to 0 anywhere. That
>> will make Nagios try to run the checks one at a time, which obviously
>> doesn't work too well. If that's the case, you should have a latency
>> that corresponds to the amount of checks you're running times the
>> average check execution time minus the normal check-interval.
>>

Since you didn't respond to this, I'll just assume you haven't got it
set to 0 for any host or service.

>>
>>> In summary, I am looking for some way to make nagios "do more" with
>>> the system resources as the host is barely working at all. I really
>>> wish there was some way to just make nagios to have some ability to
>>> do things more in parallel for cases where a system has plenty of
>>> horsepower and RAM. If I have to resort to compiling things with
>>> different settings I would be open to trying it, but I just feel like
>>> I am grasping at straws now.
>>>
>>
>> Are you using any eventbroker modules? If so, which ones and what
>> happens when you disable them?
> 
> Not that I know of.

grep broker /path/to/nagios.cfg

will tell you.

>>
>> What happens when you disable performance-data parsing and writing?
> 
> Actually, that was what I am trying to get working properly. My RRD
> data files are sparse as a result.

Even so, try disabling it for a bit and see if the way performance
data is handled is causing problems. What performance-data gathering
solution are you using?

>>
>> Do you have any checks with a check_interval that differs wildly
>> from the average check_interval?
> 
> All of my check_interval settings are 5 with a few that are a little bit less.
> 
> I am running 3.2.1
> 
> Documentation suggest I set the check_interval for hosts to 0. Is that appropriate?
> 

That will make Nagios only run host-checks when they're needed (ie,
when a services on the host changes from OK to any other state).
It's definitely worth trying.

It could also be worth setting check_for_updates=0 in your nagios.cfg.
The update checks are high priority events which will block checks
while it's running. It shouldn't matter, since those checks are run
with a 22 hour interval, but every little bit helps, I guess.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From NOC at eurofmc.com  Mon Oct 25 09:26:19 2010
From: NOC at eurofmc.com (Network Operation Center FMC Luxemburg)
Date: Mon, 25 Oct 2010 09:26:19 +0200
Subject: Monitoring scheduling
Message-ID: <4CC5311B.5040602@eurofmc.com>

Dear List,

Is there a way to scheduling a control ?

I.e : I've a server there is down from 00:00 to 02:00 (for backup 
operation) but during this time interval I would not receive alarms... 
Because this is  "normal" down service...

Any idea ?

Thanks,

Fran?ois

Network Operation Center

         LUXEMBURG

E-mail: NOC at eurofmc.com
--------------------------------------------------------------------

_DISCLAIMER_: This e-mail contains proprietary information some or all
of which may be legally privileged. It is for the intended recipient
only.  If an addressing or  transmission error  has misdirected this
e-mail, please notify the author by replying to this e-mail.  If you
are not the  intended recipient  you must not use, copy, distribute,
disclose, print, or rely on this e-mail.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101025/923fc3b8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smallfmc.gif
Type: image/gif
Size: 2324 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101025/923fc3b8/attachment.gif>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From mjanardhan at gmail.com  Mon Oct 25 10:07:29 2010
From: mjanardhan at gmail.com (Janardhan Molumuri)
Date: Mon, 25 Oct 2010 13:37:29 +0530
Subject: Monitoring scheduling
In-Reply-To: <4CC5311B.5040602@eurofmc.com>
References: <4CC5311B.5040602@eurofmc.com>
Message-ID: <AANLkTi=k3xA6MS4_xc6tjnqAvfoC9yvQsWRKWuJCY-jf@mail.gmail.com>

You can configure downtime for the host so that nagios won't show the alerts
on the console.

Take a look at http://nagios.sourceforge.net/docs/2_0/downtime.html to get
an idea.

On Mon, Oct 25, 2010 at 12:56 PM, Network Operation Center FMC Luxemburg <
NOC at eurofmc.com> wrote:

>  Dear List,
>
> Is there a way to scheduling a control ?
>
> I.e : I've a server there is down from 00:00 to 02:00 (for backup
> operation) but during this time interval I would not receive alarms...
> Because this is  "normal" down service...
>
> Any idea ?
>
> Thanks,
>
> Fran?ois
>
>  Network Operation Center
>
>         LUXEMBURG
>
> E-mail: NOC at eurofmc.com
>  --------------------------------------------------------------------
>
> *DISCLAIMER*: This e-mail contains proprietary information some or all
> of which may be legally privileged. It is for the intended recipient
> only.  If an addressing or  transmission error  has misdirected this
> e-mail, please notify the author by replying to this e-mail.  If you
> are not the  intended recipient  you must not use, copy, distribute,
> disclose, print, or rely on this e-mail.
>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>



-- 
-- JNR
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101025/3ce4d0d1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smallfmc.gif
Type: image/gif
Size: 2324 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101025/3ce4d0d1/attachment.gif>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From davide.blasi at infracom.it  Mon Oct 25 10:20:08 2010
From: davide.blasi at infracom.it (Davide Blasi)
Date: Mon, 25 Oct 2010 10:20:08 +0200
Subject: Monitoring scheduling
In-Reply-To: <4CC5311B.5040602@eurofmc.com>
References: <4CC5311B.5040602@eurofmc.com>
Message-ID: <20101025102008.2507ca2c@infracom.it>



Hi Fran?ois,

>Is there a way to scheduling a control ?
Yes, you have to configure properly the timeperiod property


>I.e : I've a server there is down from 00:00 to 02:00 (for backup operation) but during this time interval I would not receive alarms... Because this is  "normal" down service...
You can define a timeperiod called for example "backup-outage" like this :

define timeperiod{
        timeperiod_name backup-outage
        alias           Skip backup time period
        sunday          02:00-24:00
        monday          02:00-24:00
        tuesday         02:00-24:00
        wednesday       02:00-24:00
        thursday        02:00-24:00
        friday          02:00-24:00
        saturday        02:00-24:00
        }

and you can use it in your check_service in check_period property if you not want to run the check while backup is running
 or in your contact in service_notification_period property if you not want just to be notified for events

Dave

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From schneemann at b1-systems.de  Mon Oct 25 10:26:27 2010
From: schneemann at b1-systems.de (Christian Schneemann)
Date: Mon, 25 Oct 2010 10:26:27 +0200
Subject: Monitoring scheduling
In-Reply-To: <4CC5311B.5040602@eurofmc.com>
References: <4CC5311B.5040602@eurofmc.com>
Message-ID: <201010251026.27870.schneemann@b1-systems.de>

Hi,


On Monday, October 25, 2010 09:26:19 Network Operation Center FMC Luxemburg 
wrote:
> Dear List,
> 
> Is there a way to scheduling a control ?
> 
> I.e : I've a server there is down from 00:00 to 02:00 (for backup
> operation) but during this time interval I would not receive alarms...
> Because this is  "normal" down service...
> 
> Any idea ?

if it is the default you can take a timeperiod representing this. Instead of 
checking the server form 00:00-24:00 check it from 02:00-24:00.


Regards,
 Christian


> 
> Thanks,
> 
> Fran?ois
> 
> Network Operation Center
> 
>          LUXEMBURG
> 
> E-mail: NOC at eurofmc.com
> --------------------------------------------------------------------
> 
> _DISCLAIMER_: This e-mail contains proprietary information some or all
> of which may be legally privileged. It is for the intended recipient
> only.  If an addressing or  transmission error  has misdirected this
> e-mail, please notify the author by replying to this e-mail.  If you
> are not the  intended recipient  you must not use, copy, distribute,
> disclose, print, or rely on this e-mail.

-- 
Christian Schneemann                     
Linux Consultant & Developer
Tel.: +49-175-7250665
Mail: schneemann at b1-systems.de

B1 Systems GmbH
Osterfeldstra?e 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From nagios at ljnet.dk  Mon Oct 25 10:47:31 2010
From: nagios at ljnet.dk (Leif J.)
Date: Mon, 25 Oct 2010 10:47:31 +0200
Subject: Monitoring scheduling
In-Reply-To: <4CC5311B.5040602@eurofmc.com>
References: <4CC5311B.5040602@eurofmc.com>
Message-ID: <4CC54423.9060202@ljnet.dk>

What I do is that I have a script (coded by another person) that are 
running at a cron that every day schedule downtime on services I define.

That will do that is still checking and are registered as downtime but a 
Scheduled Downtime

But yeah, I do on for example printers that I put a diff. timeperiod on 
that so it are only checked between 07:00 - 17:00

/Leif

On 25-10-2010 09:26, Network Operation Center FMC Luxemburg wrote:
> Dear List,
>
> Is there a way to scheduling a control ?
>
> I.e : I've a server there is down from 00:00 to 02:00 (for backup 
> operation) but during this time interval I would not receive alarms... 
> Because this is  "normal" down service...
>
> Any idea ?
>
> Thanks,
>
> Fran?ois
>
> Network Operation Center
>
>         LUXEMBURG
>
> E-mail: NOC at eurofmc.com
> --------------------------------------------------------------------
> _DISCLAIMER_: This e-mail contains proprietary information some or all
> of which may be legally privileged. It is for the intended recipient
> only.  If an addressing or  transmission error  has misdirected this
> e-mail, please notify the author by replying to this e-mail.  If you
> are not the  intended recipient  you must not use, copy, distribute,
> disclose, print, or rely on this e-mail.
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps&  games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101025/50311815/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 2324 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101025/50311815/attachment.gif>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From kaushalshriyan at gmail.com  Mon Oct 25 10:56:53 2010
From: kaushalshriyan at gmail.com (Kaushal Shriyan)
Date: Mon, 25 Oct 2010 14:26:53 +0530
Subject: Oracle DB Server
Message-ID: <AANLkTim0Czw4qwZ7naxR4LPiAMh8m7oiJzHu7eoMeouW@mail.gmail.com>

Hi,

What all ports or URL's needs to be monitored for Oracle DB Server ?
Please suggest.

Kaushal

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From cosmin.neagu at omnilogic.ro  Mon Oct 25 11:10:35 2010
From: cosmin.neagu at omnilogic.ro (Cosmin Neagu)
Date: Mon, 25 Oct 2010 12:10:35 +0300
Subject: Help on check_telnet plugin
Message-ID: <4CC5498B.8080206@omnilogic.ro>

Hello,
I'm trying to use the plugin check_telnet from Nagios Exchange, but i'm 
having this error.

nagios at mon2:/usr/local/nagios/libexec$ ./check_telnet.pl -H 172.31.1.211
Can't call method "close" on an undefined value at ./check_telnet.pl 
line 120.

...and this is line 120:

$telnet->close;

Is anyone using this plugin with success? I know that i can check tcp 
port 23, but i was curious to see how this plugin works.

Can someone help me?

The OS is ubuntu 10.4, nagios v3.2.3

-- 
 Cosmin Neagu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_telnet.pl
Type: application/x-perl
Size: 2602 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101025/9b693380/attachment.bin>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From obryadinrv at gmail.com  Mon Oct 25 16:21:41 2010
From: obryadinrv at gmail.com (=?UTF-8?B?0KDQvtC80LDQvSDQntCx0YDRj9C00LjQvQ==?=)
Date: Mon, 25 Oct 2010 18:21:41 +0400
Subject: Question about use check_snmp plugin
In-Reply-To: <AANLkTikR9dLq2v1vbF_+cuBhUuJ1GEM1myyqM0btMw46@mail.gmail.com>
References: <AANLkTikR9dLq2v1vbF_+cuBhUuJ1GEM1myyqM0btMw46@mail.gmail.com>
Message-ID: <AANLkTikZk1DwqWGE4+NrteFxQFNCQXoZMxZQXykxDHq6@mail.gmail.com>

>
> Hi,
> my name is Roman.
> I have installed nagios plugins and I don't understand, why check_snmp is
> not working properly.
> for example, I use "-r" option (as describe in docs)
>
> port Fa0/14 on switch is *UP*
> inframonitor:/usr/local/icinga/libexec #
> /usr/local/icinga/libexec/check_snmp -H 192.168.111.60 -C xxxxx -o
> ifOperStatus.10014 -r *1* -m RFC1213-MIB
> SNMP *OK - 1* | RFC1213-MIB::ifOperStatus.10014=1
>
>
> port Fa0/10 on switch is *DOWN*
> inframonitor:/usr/local/icinga/libexec #
> /usr/local/icinga/libexec/check_snmp -H 192.168.111.60 -C xxxxx -o
> ifOperStatus.10010 -r *1* -m RFC1213-MIB
> SNMP *OK - 2* | RFC1213-MIB::ifOperStatus.10010=*2*
>
> Port fa0/10 is DOWN, but plugin returns the status OK(!). It is wrong.
>
> Can you help me to solve this problem?
>
> inframonitor:/usr/local/icinga/libexec # rpm -qa | grep net-snmp
> net-snmp-utils-5.4.2.1-9
> net-snmp-5.4.2.1-8.2.1
> net-snmp-libs-5.4.2.1-9
> net-snmp-mibs-5.4.2.1-9
>
> nagios-plugins-1.4.15
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101025/dacbf270/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From jpratt at norwich.edu  Mon Oct 25 16:31:51 2010
From: jpratt at norwich.edu (James Pratt)
Date: Mon, 25 Oct 2010 10:31:51 -0400
Subject: Question about use check_snmp plugin
In-Reply-To: <AANLkTikZk1DwqWGE4+NrteFxQFNCQXoZMxZQXykxDHq6@mail.gmail.com>
References: <AANLkTikR9dLq2v1vbF_+cuBhUuJ1GEM1myyqM0btMw46@mail.gmail.com>
	<AANLkTikZk1DwqWGE4+NrteFxQFNCQXoZMxZQXykxDHq6@mail.gmail.com>
Message-ID: <24B6509E4191AF44B60A24EAA3B4AD49A7DD33@nuexchg.norwich.edu>

Hi, while I cannot answer your question directly, I would advise giving these SNMP replacement plugins a look, as they simplified things considerably here, and are quite reliable IMO... 

http://nagios.manubulon.com/


Cheers,
James

From: ????? ??????? [mailto:obryadinrv at gmail.com] 
Sent: Monday, October 25, 2010 10:22 AM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Question about use check_snmp plugin

Hi,? 
my name is Roman.
I have installed nagios plugins and I don't understand, why check_snmp is not working properly.
for example, I use "-r" option (as describe in docs) 

port Fa0/14 on switch is UP
inframonitor:/usr/local/icinga/libexec # /usr/local/icinga/libexec/check_snmp -H 192.168.111.60 -C xxxxx -o ifOperStatus.10014 -r 1 -m RFC1213-MIB
SNMP OK - 1 | RFC1213-MIB::ifOperStatus.10014=1


port Fa0/10 on switch is DOWN
inframonitor:/usr/local/icinga/libexec # /usr/local/icinga/libexec/check_snmp -H 192.168.111.60 -C xxxxx -o ifOperStatus.10010 -r 1 -m RFC1213-MIB 
SNMP OK - 2 | RFC1213-MIB::ifOperStatus.10010=2

Port fa0/10 is DOWN, but plugin returns the status OK(!). It is wrong.

Can you help me to solve this problem?

inframonitor:/usr/local/icinga/libexec # rpm -qa | grep net-snmp
net-snmp-utils-5.4.2.1-9
net-snmp-5.4.2.1-8.2.1
net-snmp-libs-5.4.2.1-9
net-snmp-mibs-5.4.2.1-9

nagios-plugins-1.4.15

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From benny.somali at firstnational.ca  Mon Oct 25 16:27:07 2010
From: benny.somali at firstnational.ca (Benny Somali)
Date: Mon, 25 Oct 2010 10:27:07 -0400
Subject: Check_OpenManage INTERNAL ERROR
In-Reply-To: <15tvd4uasa0.fsf@tux.uio.no>
References: <C5E7DCDC2680BF40A31C7C055A829EFD03810C4F@fnmail.firstnational.ca><15t4ocec9ha.fsf@tux.uio.no><C5E7DCDC2680BF40A31C7C055A829EFD03810CE9@fnmail.firstnational.ca>
	<15tvd4uasa0.fsf@tux.uio.no>
Message-ID: <C5E7DCDC2680BF40A31C7C055A829EFD03810D9C@fnmail.firstnational.ca>

Hi Trond,

Works fine now.
By the way, the Status Information field is blank, is it related to the
max length of 1023 chars?

Thanks.
 
Regards,
Benny Somali
 

> -----Original Message-----
> From: Trond Hasle Amundsen [mailto:t.h.amundsen at usit.uio.no]
> Sent: Friday, October 22, 2010 4:26 PM
> To: Nagios Users List
> Subject: Re: [Nagios-users] Check_OpenManage INTERNAL ERROR
> 
> Benny Somali <benny.somali at firstnational.ca> writes:
> 
> > Yes, you are right.
> > There is pdisk #1 that has empty vendor ID field.
> > The disk in question was original Dell disk, however, it seemed to
be
> > bad now.
> > We have an opened trouble ticket with Dell and expect to get a
> > replacement disk.
> 
> Ah.. it makes sense that in some circumstances, if the disk is
> sufficiently bad, Openmanage can't report the vendor.
> 
> I went ahead and patched this in the plugin. There is a beta version
> (win32 binary) available here:
> 
>   http://folk.uio.no/trondham/software/beta/check_openmanage.exe
> 
> Please give it a try and let me know if it resolved this issue.
> 
> Cheers,
> --
> Trond H. Amundsen <t.h.amundsen at usit.uio.no>
> Center for Information Technology Services, University of Oslo
> 
>
------------------------------------------------------------------------
------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and
Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi
Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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 message may contain information that is privileged, 
confidential and restricted from disclosure under applicable law. 
This message is intended only for the use of the individual or 
entity to which it is addressed. If the reader of this message is 
not the intended recipient, or the employee or agent responsible 
for delivering the message to the intended recipient, you are 
notified that any dissemination, distribution or copying of this 
communication is strictly prohibited. If you have received this 
communication in error, please notify the sender immediately 
by email and delete the original message. 

Thank you.

Le present message peut contenir des renseignements privilegies, 
confidentiels et soustraits a la communication en vertu de la loi 
applicable. Le message ne s'adresse qu'au destinataire dont le nom 
apparait. Si vous n'etes pas le recipiendaire a qui le message 
s'adresse, ni l'employe ou le representant charge de le lui remettre, 
veuillez prendre note que toute communication, distribution ou 
reproduction de ce message est strictement interdite. Si ce message 
vous a ete transmis par erreur, veuillez en informer l'expediteur 
immediatement par courriel et supprimer le message original. 

Merci.




------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From benny.somali at firstnational.ca  Mon Oct 25 16:47:24 2010
From: benny.somali at firstnational.ca (Benny Somali)
Date: Mon, 25 Oct 2010 10:47:24 -0400
Subject: Check_OpenManage INTERNAL ERROR
In-Reply-To: <C5E7DCDC2680BF40A31C7C055A829EFD03810D9C@fnmail.firstnational.ca>
References: <C5E7DCDC2680BF40A31C7C055A829EFD03810C4F@fnmail.firstnational.ca><15t4ocec9ha.fsf@tux.uio.no><C5E7DCDC2680BF40A31C7C055A829EFD03810CE9@fnmail.firstnational.ca><15tvd4uasa0.fsf@tux.uio.no>
	<C5E7DCDC2680BF40A31C7C055A829EFD03810D9C@fnmail.firstnational.ca>
Message-ID: <C5E7DCDC2680BF40A31C7C055A829EFD03810DA5@fnmail.firstnational.ca>

Hi Trond,

Ignore my previous question.
It worked fine now.
I used a batch script and didn't add a line to turn the echo off so it
returned special characters.
So I added @echo off and the Status Information displayed.

Thanks.
 
Regards,
Benny Somali
 

> -----Original Message-----
> From: Benny Somali [mailto:benny.somali at firstnational.ca]
> Sent: Monday, October 25, 2010 10:27 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Check_OpenManage INTERNAL ERROR
> 
> Hi Trond,
> 
> Works fine now.
> By the way, the Status Information field is blank, is it related to
the
> max length of 1023 chars?
> 
> Thanks.
> 
> Regards,
> Benny Somali
> 
> 
> > -----Original Message-----
> > From: Trond Hasle Amundsen [mailto:t.h.amundsen at usit.uio.no]
> > Sent: Friday, October 22, 2010 4:26 PM
> > To: Nagios Users List
> > Subject: Re: [Nagios-users] Check_OpenManage INTERNAL ERROR
> >
> > Benny Somali <benny.somali at firstnational.ca> writes:
> >
> > > Yes, you are right.
> > > There is pdisk #1 that has empty vendor ID field.
> > > The disk in question was original Dell disk, however, it seemed to
> be
> > > bad now.
> > > We have an opened trouble ticket with Dell and expect to get a
> > > replacement disk.
> >
> > Ah.. it makes sense that in some circumstances, if the disk is
> > sufficiently bad, Openmanage can't report the vendor.
> >
> > I went ahead and patched this in the plugin. There is a beta version
> > (win32 binary) available here:
> >
> >   http://folk.uio.no/trondham/software/beta/check_openmanage.exe
> >
> > Please give it a try and let me know if it resolved this issue.
> >
> > Cheers,
> > --
> > Trond H. Amundsen <t.h.amundsen at usit.uio.no>
> > Center for Information Technology Services, University of Oslo
> >
> >
>
------------------------------------------------------------------------
> ------
> > Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> > Create new apps & games for the Nokia N8 for consumers in  U.S. and
> Canada
> > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi
> Store
> > http://p.sf.net/sfu/nokia-dev2dev
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at 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 message may contain information that is privileged,
> confidential and restricted from disclosure under applicable law.
> This message is intended only for the use of the individual or
> entity to which it is addressed. If the reader of this message is
> not the intended recipient, or the employee or agent responsible
> for delivering the message to the intended recipient, you are
> notified that any dissemination, distribution or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, please notify the sender immediately
> by email and delete the original message.
> 
> Thank you.
> 
> Le present message peut contenir des renseignements privilegies,
> confidentiels et soustraits a la communication en vertu de la loi
> applicable. Le message ne s'adresse qu'au destinataire dont le nom
> apparait. Si vous n'etes pas le recipiendaire a qui le message
> s'adresse, ni l'employe ou le representant charge de le lui remettre,
> veuillez prendre note que toute communication, distribution ou
> reproduction de ce message est strictement interdite. Si ce message
> vous a ete transmis par erreur, veuillez en informer l'expediteur
> immediatement par courriel et supprimer le message original.
> 
> Merci.
> 
> 
> 
> 
>
------------------------------------------------------------------------
------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and
Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi
Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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 message may contain information that is privileged, 
confidential and restricted from disclosure under applicable law. 
This message is intended only for the use of the individual or 
entity to which it is addressed. If the reader of this message is 
not the intended recipient, or the employee or agent responsible 
for delivering the message to the intended recipient, you are 
notified that any dissemination, distribution or copying of this 
communication is strictly prohibited. If you have received this 
communication in error, please notify the sender immediately 
by email and delete the original message. 

Thank you.

Le present message peut contenir des renseignements privilegies, 
confidentiels et soustraits a la communication en vertu de la loi 
applicable. Le message ne s'adresse qu'au destinataire dont le nom 
apparait. Si vous n'etes pas le recipiendaire a qui le message 
s'adresse, ni l'employe ou le representant charge de le lui remettre, 
veuillez prendre note que toute communication, distribution ou 
reproduction de ce message est strictement interdite. Si ce message 
vous a ete transmis par erreur, veuillez en informer l'expediteur 
immediatement par courriel et supprimer le message original. 

Merci.




------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From t.h.amundsen at usit.uio.no  Mon Oct 25 17:23:38 2010
From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen)
Date: Mon, 25 Oct 2010 17:23:38 +0200
Subject: Check_OpenManage INTERNAL ERROR
In-Reply-To: <C5E7DCDC2680BF40A31C7C055A829EFD03810D9C@fnmail.firstnational.ca>
	(Benny Somali's message of "Mon, 25 Oct 2010 10:27:07 -0400")
References: <C5E7DCDC2680BF40A31C7C055A829EFD03810C4F@fnmail.firstnational.ca>
	<15t4ocec9ha.fsf@tux.uio.no>
	<C5E7DCDC2680BF40A31C7C055A829EFD03810CE9@fnmail.firstnational.ca>
	<15tvd4uasa0.fsf@tux.uio.no>
	<C5E7DCDC2680BF40A31C7C055A829EFD03810D9C@fnmail.firstnational.ca>
Message-ID: <15t62wq8fet.fsf@tux.uio.no>

Benny Somali <benny.somali at firstnational.ca> writes:

> Works fine now.

Good, thanks for testing.

> By the way, the Status Information field is blank, is it related to
> the max length of 1023 chars?

Probably not. You shouldn't run into problems with the silly nrpe limit
for other than large servers with lots of performance data, and then
only the perfdata should be affected.

My guess is that the "State" field is also empty for the failed
disk. I have an updated beta for you here:

  http://folk.uio.no/trondham/software/beta/

If should now report that the disk is "Unknown State".

Regards,
-- 
Trond H. Amundsen <t.h.amundsen at usit.uio.no>
Center for Information Technology Services, University of Oslo

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From t.h.amundsen at usit.uio.no  Mon Oct 25 17:29:17 2010
From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen)
Date: Mon, 25 Oct 2010 17:29:17 +0200
Subject: Check_OpenManage INTERNAL ERROR
In-Reply-To: <C5E7DCDC2680BF40A31C7C055A829EFD03810DA5@fnmail.firstnational.ca>
	(Benny Somali's message of "Mon, 25 Oct 2010 10:47:24 -0400")
References: <C5E7DCDC2680BF40A31C7C055A829EFD03810C4F@fnmail.firstnational.ca>
	<15t4ocec9ha.fsf@tux.uio.no>
	<C5E7DCDC2680BF40A31C7C055A829EFD03810CE9@fnmail.firstnational.ca>
	<15tvd4uasa0.fsf@tux.uio.no>
	<C5E7DCDC2680BF40A31C7C055A829EFD03810D9C@fnmail.firstnational.ca>
	<C5E7DCDC2680BF40A31C7C055A829EFD03810DA5@fnmail.firstnational.ca>
Message-ID: <15t1v7e8f5e.fsf@tux.uio.no>

Benny Somali <benny.somali at firstnational.ca> writes:

> Ignore my previous question.

Too late, but no problem. My one-line patch is easily reversed :)

> It worked fine now.
> I used a batch script and didn't add a line to turn the echo off so it
> returned special characters.
> So I added @echo off and the Status Information displayed.

Good. Thanks again for reporting this and for testing the beta version.

Regards,
-- 
Trond H. Amundsen <t.h.amundsen at usit.uio.no>
Center for Information Technology Services, University of Oslo

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mlitwin at stubhub.com  Mon Oct 25 18:24:40 2010
From: mlitwin at stubhub.com (Litwin, Matthew)
Date: Mon, 25 Oct 2010 10:24:40 -0600
Subject: Scheduled checks falling far behind
In-Reply-To: <4CC533AD.8070504@op5.se>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
	<B31E064E-F3CD-4DF1-8811-53CE881C5DC4@stubhub.com>
	<4CC36ABD.3020208@iweb.com>
	<C95732B5-414E-4C31-973D-D2B4CB01E8D9@stubhub.com>
	<4CC473DE.7090502@iweb.com>
	<22473227-07BE-448F-A5EB-A3F959E108AC@stubhub.com>
	<4CC4ACF5.70004@op5.se>
	<BD85B67D-5C0D-4C5A-95B6-3ED4EA13F38C@stubhub.com>
	<4CC533AD.8070504@op5.se>
Message-ID: <0C3587E1-D7F3-4BE2-B3B6-44B75B2FA63D@stubhub.com>

>>> 
>>> What happens when you disable performance-data parsing and writing?
>> 
>> Actually, that was what I am trying to get working properly. My RRD
>> data files are sparse as a result.
> 
> Even so, try disabling it for a bit and see if the way performance
> data is handled is causing problems. What performance-data gathering
> solution are you using?

After turn this off, performance improved 10000%. No joke. The problem was clearly that.

So my problem now is figuring out to get nagiosgraph batch mode to work, which has been unsuccessful for almost two months of trying. I might try doing it with cron at this point. That will be today's adventure. <sigh>

Thank you very much for you help, Andreas! This whole process was a real learning experience.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mgagne at iweb.com  Mon Oct 25 22:25:47 2010
From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=)
Date: Mon, 25 Oct 2010 16:25:47 -0400
Subject: External commands documentation
Message-ID: <4CC5E7CB.3000909@iweb.com>

Anyone else getting a 404 on the documentation?

http://www.nagios.org/developerinfo/externalcommands/

-- 
Mathieu

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From ae at op5.se  Mon Oct 25 22:41:05 2010
From: ae at op5.se (Andreas Ericsson)
Date: Mon, 25 Oct 2010 22:41:05 +0200
Subject: External commands documentation
In-Reply-To: <4CC5E7CB.3000909@iweb.com>
References: <4CC5E7CB.3000909@iweb.com>
Message-ID: <4CC5EB61.6070704@op5.se>

On 10/25/2010 10:25 PM, Mathieu Gagn? wrote:
> Anyone else getting a 404 on the documentation?
> 
> http://www.nagios.org/developerinfo/externalcommands/
> 

http://git.op5.org/git/?p=nagios.git;a=tree;f=html/docs;h=aff3eb2971f561ea607d2403d608d46fadf73f96;hb=5af62a04ed72765bd62d64eab909f4e4a025e884

should work until it comes back online. Let me know if it doesn't
and I'll threaten our sysadmin with a red-hot poker until it's
fixed. He likes that, or so I'm told.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From mlitwin at stubhub.com  Tue Oct 26 02:50:42 2010
From: mlitwin at stubhub.com (Litwin, Matthew)
Date: Mon, 25 Oct 2010 18:50:42 -0600
Subject: Scheduled checks falling far behind
In-Reply-To: <BD85B67D-5C0D-4C5A-95B6-3ED4EA13F38C@stubhub.com>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
	<B31E064E-F3CD-4DF1-8811-53CE881C5DC4@stubhub.com>
	<4CC36ABD.3020208@iweb.com>
	<C95732B5-414E-4C31-973D-D2B4CB01E8D9@stubhub.com>
	<4CC473DE.7090502@iweb.com>
	<22473227-07BE-448F-A5EB-A3F959E108AC@stubhub.com>	<4CC4ACF5.70004@op5.se>
	<BD85B67D-5C0D-4C5A-95B6-3ED4EA13F38C@stubhub.com>
Message-ID: <DBB485A2-572C-49F9-8D42-0B409CD8B1EC@stubhub.com>

>> 
>> What happens when you disable performance-data parsing and writing?
> 
> Actually, that was what I am trying to get working properly. My RRD data files are sparse as a result.

Wow, after moving nagiosgraph back to batch mode from immediate mode latency dropped to nothing!

Now to see if the RRD files not being propagated with data (my initial problem which brought this all around)...
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jim at jimavery.me.uk  Tue Oct 26 09:06:01 2010
From: jim at jimavery.me.uk (Jim Avery)
Date: Tue, 26 Oct 2010 08:06:01 +0100
Subject: Oracle DB Server
In-Reply-To: <AANLkTim0Czw4qwZ7naxR4LPiAMh8m7oiJzHu7eoMeouW@mail.gmail.com>
References: <AANLkTim0Czw4qwZ7naxR4LPiAMh8m7oiJzHu7eoMeouW@mail.gmail.com>
Message-ID: <AANLkTinoosnO6viYs7U0fQ=PpssDgWNi+X7zQECVfHtH@mail.gmail.com>

On 25 October 2010 09:56, Kaushal Shriyan <kaushalshriyan at gmail.com> wrote:
> Hi,
>
> What all ports or URL's needs to be monitored for Oracle DB Server ?
> Please suggest.

Install the Oracle Instant Client on your Nagios server then you can
use the excellent check_oracle_health plugin to check Oracle
databases.

http://labs.consol.de/lang/en/nagios/check_oracle_health/

I used the following to help me install the Oracle Instant Client:
http://quimicefa.wordpress.com/2009/07/20/installing-oracle-instant-client-on-linux/

If you are not familiar with Oracle, you may need some help from your
Oracle DBA setting up a user to allow the queries and configuring the
tnsnames.ora file.

hth,

Jim

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From rg at ciphron.de  Tue Oct 26 10:06:27 2010
From: rg at ciphron.de (Robert Gratza)
Date: Tue, 26 Oct 2010 10:06:27 +0200
Subject: Nagios Web Interface - restrict service checks but
	show all hosts
Message-ID: <4CC68C03.1000505@ciphron.de>

Hello,

I am relative new to nagios and i wanted to ask, if it is somehow 
possible to show only the service checks a user is a contact of but also 
all hosts. (without all service checks beeing viewable)
We use Nagios 3.0.1 and find that this is not possible here. Is it a 
bug? If so, is it fixed in higher versions?

Thank You,

Robert Gratza

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From ae at op5.se  Tue Oct 26 11:07:39 2010
From: ae at op5.se (Andreas Ericsson)
Date: Tue, 26 Oct 2010 11:07:39 +0200
Subject: Nagios Web Interface - restrict service checks
 but show all hosts
In-Reply-To: <4CC68C03.1000505@ciphron.de>
References: <4CC68C03.1000505@ciphron.de>
Message-ID: <4CC69A5B.2070600@op5.se>

On 10/26/2010 10:06 AM, Robert Gratza wrote:
> Hello,
> 
> I am relative new to nagios and i wanted to ask, if it is somehow
> possible to show only the service checks a user is a contact of but also
> all hosts. (without all service checks beeing viewable)
> We use Nagios 3.0.1 and find that this is not possible here. Is it a
> bug? If so, is it fixed in higher versions?
> 

It's not possible and it's not a bug. That's exactly how it's supposed to
work according to the documentation. When docs and code match, it's by
design.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From imparato.andrea at gmail.com  Tue Oct 26 11:09:26 2010
From: imparato.andrea at gmail.com (Andrea Imparato)
Date: Tue, 26 Oct 2010 11:09:26 +0200
Subject: passive service and notification email
Message-ID: <1288084166.2854.2.camel@b0x>

Hello to all ml,


I have a simple request for you. I have a passive service check
scheduled on my nagios server and a cron script on my clients (they are
all natted) that send me the informations. The question is: which is the
parameter for nagios that say "after some period send me an email if you
see nothing happens?". Sorry but I found the documentation a bit
chaotic :\

Thank you


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From michael.friedrich at univie.ac.at  Tue Oct 26 11:51:36 2010
From: michael.friedrich at univie.ac.at (Michael Friedrich)
Date: Tue, 26 Oct 2010 11:51:36 +0200
Subject: External commands documentation
In-Reply-To: <4CC5E7CB.3000909@iweb.com>
References: <4CC5E7CB.3000909@iweb.com>
Message-ID: <4CC6A4A8.6080506@univie.ac.at>

On 25.10.2010 22:25, Mathieu Gagn? wrote:
> Anyone else getting a 404 on the documentation?
>
> http://www.nagios.org/developerinfo/externalcommands/
>
you can use Icinga's too

http://docs.icinga.org/latest/en/extcommands2.html

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From chrishudson at gmail.com  Tue Oct 26 15:44:03 2010
From: chrishudson at gmail.com (Chris Hudson)
Date: Tue, 26 Oct 2010 08:44:03 -0500
Subject: Oracle DB Server
In-Reply-To: <AANLkTinoosnO6viYs7U0fQ=PpssDgWNi+X7zQECVfHtH@mail.gmail.com>
References: <AANLkTim0Czw4qwZ7naxR4LPiAMh8m7oiJzHu7eoMeouW@mail.gmail.com>
	<AANLkTinoosnO6viYs7U0fQ=PpssDgWNi+X7zQECVfHtH@mail.gmail.com>
Message-ID: <AANLkTi=a4LT1PW6wLXqdWji9pWNGoar64gzm9OPyh1pB@mail.gmail.com>

Jim, thanks for your reply to Kaushal's request about Oracle databases.  I
am trying to do the same thing (configure Nagios to monitor Oracle dB's).
I already have the instant client installed on my Nagios server thanks to a
previous employee, and my dBa has edited my tnsnames.ora file on the Nagios
server; so now I am just trying to verify that the instant client is
configured properly.
I checked the directions in the second link you sent.  In step 4 it tells
you to cd to /etc/ld.so.conf and edit/create a file called oracle.conf and
insert the following path in the file:  /opt/oracle/lib
 Is this referring to a path on the Oracle server I will be checking,
because this path (/opt/oracle/lib) does not exist on my Nagios server.  The
instant client does get installed on the Nagios server, correct?

Thanks,
Chris Hudson



On Tue, Oct 26, 2010 at 2:06 AM, Jim Avery <jim at jimavery.me.uk> wrote:

> On 25 October 2010 09:56, Kaushal Shriyan <kaushalshriyan at gmail.com>
> wrote:
> > Hi,
> >
> > What all ports or URL's needs to be monitored for Oracle DB Server ?
> > Please suggest.
>
> Install the Oracle Instant Client on your Nagios server then you can
> use the excellent check_oracle_health plugin to check Oracle
> databases.
>
> http://labs.consol.de/lang/en/nagios/check_oracle_health/
>
> I used the following to help me install the Oracle Instant Client:
>
> http://quimicefa.wordpress.com/2009/07/20/installing-oracle-instant-client-on-linux/
>
> If you are not familiar with Oracle, you may need some help from your
> Oracle DBA setting up a user to allow the queries and configuring the
> tnsnames.ora file.
>
> hth,
>
> Jim
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101026/de6e9543/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From kaushalshriyan at gmail.com  Tue Oct 26 18:39:32 2010
From: kaushalshriyan at gmail.com (Kaushal Shriyan)
Date: Tue, 26 Oct 2010 22:09:32 +0530
Subject: Oracle DB Server
In-Reply-To: <AANLkTinoosnO6viYs7U0fQ=PpssDgWNi+X7zQECVfHtH@mail.gmail.com>
References: <AANLkTim0Czw4qwZ7naxR4LPiAMh8m7oiJzHu7eoMeouW@mail.gmail.com>
	<AANLkTinoosnO6viYs7U0fQ=PpssDgWNi+X7zQECVfHtH@mail.gmail.com>
Message-ID: <AANLkTikYnVeBtkqW5NT8QnhsM=upEt_foFzriLkyg4eT@mail.gmail.com>

On Tue, Oct 26, 2010 at 12:36 PM, Jim Avery <jim at jimavery.me.uk> wrote:
> On 25 October 2010 09:56, Kaushal Shriyan <kaushalshriyan at gmail.com> wrote:
>> Hi,
>>
>> What all ports or URL's needs to be monitored for Oracle DB Server ?
>> Please suggest.
>
> Install the Oracle Instant Client on your Nagios server then you can
> use the excellent check_oracle_health plugin to check Oracle
> databases.
>
> http://labs.consol.de/lang/en/nagios/check_oracle_health/
>
> I used the following to help me install the Oracle Instant Client:
> http://quimicefa.wordpress.com/2009/07/20/installing-oracle-instant-client-on-linux/
>
> If you are not familiar with Oracle, you may need some help from your
> Oracle DBA setting up a user to allow the queries and configuring the
> tnsnames.ora file.
>
> hth,
>
> Jim
>
Thanks Jim, I will implement it and update you with my inputs :)

Kaushal

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jim at jimavery.me.uk  Tue Oct 26 20:03:12 2010
From: jim at jimavery.me.uk (Jim Avery)
Date: Tue, 26 Oct 2010 19:03:12 +0100
Subject: Oracle DB Server
In-Reply-To: <AANLkTi=a4LT1PW6wLXqdWji9pWNGoar64gzm9OPyh1pB@mail.gmail.com>
References: <AANLkTim0Czw4qwZ7naxR4LPiAMh8m7oiJzHu7eoMeouW@mail.gmail.com>
	<AANLkTinoosnO6viYs7U0fQ=PpssDgWNi+X7zQECVfHtH@mail.gmail.com>
	<AANLkTi=a4LT1PW6wLXqdWji9pWNGoar64gzm9OPyh1pB@mail.gmail.com>
Message-ID: <AANLkTi=ynLrXyO5HomYXBb4xxRhbe4RZDaYzkat3QO7o@mail.gmail.com>

On 26 October 2010 14:44, Chris Hudson <chrishudson at gmail.com> wrote:
> Jim, thanks for your reply to Kaushal's request about Oracle databases.? I
> am trying to do the same thing (configure Nagios to monitor Oracle dB's).
> I already have the instant client installed on my Nagios server thanks to a
> previous employee, and my dBa has edited my tnsnames.ora file on the Nagios
> server; so now I am just trying to verify that the instant client is
> configured properly.
> I checked the directions in the second link you sent.? In step 4 it tells
> you to cd to /etc/ld.so.conf and edit/create a file called oracle.conf and
> insert the following path in the file:? /opt/oracle/lib
> ?Is this referring to a path on the Oracle server I?will be?checking,
> because this path (/opt/oracle/lib) does not exist on my Nagios server.

The oracle.conf file under /etc/ld.so.conf needs to point to whichever
directory contains the library files (*.so).

>? The
> instant client does get installed on the Nagios server, correct?

That's right.

You should be able to test the instant client is working by running
sqlplus and querying a database.  Your DBA can help you with that.  It
seems to work the same as the full size client.

hth,

Jim

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jim at jimavery.me.uk  Tue Oct 26 20:42:45 2010
From: jim at jimavery.me.uk (Jim Avery)
Date: Tue, 26 Oct 2010 19:42:45 +0100
Subject: passive service and notification email
In-Reply-To: <1288084166.2854.2.camel@b0x>
References: <1288084166.2854.2.camel@b0x>
Message-ID: <AANLkTinqrgPHkMKi_7_kRrkf9PsK7A=FLdHA0swjoHyL@mail.gmail.com>

On 26 October 2010 10:09, Andrea Imparato <imparato.andrea at gmail.com> wrote:
> Hello to all ml,
>
>
> I have a simple request for you. I have a passive service check
> scheduled on my nagios server and a cron script on my clients (they are
> all natted) that send me the informations. The question is: which is the
> parameter for nagios that say "after some period send me an email if you
> see nothing happens?". Sorry but I found the documentation a bit
> chaotic :\

See:

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

So the important bits are ...

Make sure it's a passive check:

active_checks_enabled	0
passive_checks_enabled	1

Check whether a fresh check has been received recently:

check_freshness		1
freshness_threshold	93600

Run this this if not fresh:

check_command		no-backup-report


In this case, instead of a normal check command, you have a command
defined which will always give you a non-ok warning:

define command{
	command_name	no-backup-report
	command_line	/usr/local/nagios/libexec/check_dummy 2 "CRITICAL:
Results of backup job were not reported!"
	}

Note the check_dummy plugin takes two arguments - the exit code you
want it to return (0=ok, 1=warning, 2=critical, 3=unknown) and the
check result text you want Nagios to display.

I normally do something similar, but with pedantically correct text like so:

define command{
	command_name	check_dummy-checkfail
	command_line	/usr/local/nagios/libexec/check_dummy 3 "UNKNOWN: Nagios
didn't receive a check result from the cron job on this server!"
	}

Whether you choose to use warning, critical or unknown is up to you.

hth,

Jim

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From himanshuarora7 at gmail.com  Wed Oct 27 07:08:01 2010
From: himanshuarora7 at gmail.com (Himanshu Arora)
Date: Wed, 27 Oct 2010 10:38:01 +0530
Subject: Nagios Core | VC Monitoring
Message-ID: <AANLkTimFfyXQ=pjQ53GN_5ugMrnd3aX-F4MdS2iW4GJZ@mail.gmail.com>

Wondering if it is possible to setup the monitoring for vmware,
i have 100s of guest operating systems running on ESX hosts and want to
monitor all guest os without installing agent on 'em.

and the requirement is to monitor atleast disk space or memory usage on
those guests, which plugin i should use.

My idea is to install the agent on virtual center coz it has all the
information about all the esx hosts plus info about all the guest operating
systems that esx is handling.
Please let me if thr is any other agent i can install to achieve this. or
suggest what else can be done.

Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101027/14e4ee81/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From nagios at ljnet.dk  Wed Oct 27 07:55:06 2010
From: nagios at ljnet.dk (Leif J.)
Date: Wed, 27 Oct 2010 07:55:06 +0200
Subject: Nagios Core | VC Monitoring
In-Reply-To: <AANLkTimFfyXQ=pjQ53GN_5ugMrnd3aX-F4MdS2iW4GJZ@mail.gmail.com>
References: <AANLkTimFfyXQ=pjQ53GN_5ugMrnd3aX-F4MdS2iW4GJZ@mail.gmail.com>
Message-ID: <4CC7BEBA.3060602@ljnet.dk>

  Agent or not, that is depending on what you want to check and how much 
information you can draw from virtual center.

For example I', checking hosts that are not in my serverpark, but still 
checking for example if I can reach them on http, how many credit we 
have left at our text provider and so on.

So yeah, you can check some stuff without agent

/Leif

Den 27-10-2010 07:08, Himanshu Arora skrev:
> Wondering if it is possible to setup the monitoring for vmware,
> i have 100s of guest operating systems running on ESX hosts and want 
> to monitor all guest os without installing agent on 'em.
>
> and the requirement is to monitor atleast disk space or memory usage 
> on those guests, which plugin i should use.
>
> My idea is to install the agent on virtual center coz it has all the 
> information about all the esx hosts plus info about all the guest 
> operating systems that esx is handling.
> Please let me if thr is any other agent i can install to achieve this. 
> or suggest what else can be done.
>
> Thanks,
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps&  games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101027/c7bf4f03/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From himanshuarora7 at gmail.com  Wed Oct 27 08:39:49 2010
From: himanshuarora7 at gmail.com (Himanshu Arora)
Date: Wed, 27 Oct 2010 12:09:49 +0530
Subject: Nagios Core | VC Monitoring
Message-ID: <AANLkTiniEo1jAEm_7F=6CxOwHS74_F8_FkpHt-3FSAk3@mail.gmail.com>

So how can i go about it Leif, any ideas...
Would really appreciate if you can elaborate a bit... if this can be
monitored through VC which i have it installed on windows server..

which addon did you use - NSclient any other agent and what are the plugins
can be used to get this done.


Thanks,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101027/db13e834/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From nagios at ljnet.dk  Wed Oct 27 09:17:51 2010
From: nagios at ljnet.dk (Leif J.)
Date: Wed, 27 Oct 2010 09:17:51 +0200
Subject: Nagios Core | VC Monitoring
In-Reply-To: <AANLkTiniEo1jAEm_7F=6CxOwHS74_F8_FkpHt-3FSAk3@mail.gmail.com>
References: <AANLkTiniEo1jAEm_7F=6CxOwHS74_F8_FkpHt-3FSAk3@mail.gmail.com>
Message-ID: <4CC7D21F.508@ljnet.dk>

I use a combination of:
NSClient++
SNMP
"Directly Check" (For example HTTP, HTTPS, Certificate Lifetime, POP3 
and IMAP)

I don't have VMWare yet, so I have no idea what you can pull out of the 
Virtual Center, but through NSClient++ you can build you own check line 
on the windows, that is have I for example are checking raid status on 
my HP servers and if a specific service are running in the windows. What 
I have learned is that you will never be finish by configure Nagios due 
to that you will suddenly find something where you find out that it will 
be great to monitor.

So exactly can monitor via VirtualCenter and SNMP or NSClient I have no 
idea, sorry.

/Leif

On 27-10-2010 08:39, Himanshu Arora wrote:
> So how can i go about it Leif, any ideas...
> Would really appreciate if you can elaborate a bit... if this can be 
> monitored through VC which i have it installed on windows server..
>
> which addon did you use - NSclient any other agent and what are the 
> plugins can be used to get this done.
>
>
> Thanks,
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps&  games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101027/5d0d53af/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ae at op5.se  Wed Oct 27 10:10:48 2010
From: ae at op5.se (Andreas Ericsson)
Date: Wed, 27 Oct 2010 10:10:48 +0200
Subject: Nagios Core | VC Monitoring
In-Reply-To: <AANLkTimFfyXQ=pjQ53GN_5ugMrnd3aX-F4MdS2iW4GJZ@mail.gmail.com>
References: <AANLkTimFfyXQ=pjQ53GN_5ugMrnd3aX-F4MdS2iW4GJZ@mail.gmail.com>
Message-ID: <4CC7DE88.6060804@op5.se>

On 10/27/2010 07:08 AM, Himanshu Arora wrote:
> Wondering if it is possible to setup the monitoring for vmware,
> i have 100s of guest operating systems running on ESX hosts and want to
> monitor all guest os without installing agent on 'em.
> 
> and the requirement is to monitor atleast disk space or memory usage on
> those guests, which plugin i should use.
> 
> My idea is to install the agent on virtual center coz it has all the
> information about all the esx hosts plus info about all the guest operating
> systems that esx is handling.
> Please let me if thr is any other agent i can install to achieve this. or
> suggest what else can be done.
> 

Try out check_esx3 from op5.
http://www.op5.org/community/plugin-inventory/op5-projects

It supports most, if not all, checks that our customers find it sane
and useful to run for their vmware servers.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From rutger at blokje.net  Wed Oct 27 09:11:29 2010
From: rutger at blokje.net (Rutger Blom)
Date: Wed, 27 Oct 2010 09:11:29 +0200
Subject: Nagios Core | VC Monitoring
In-Reply-To: <AANLkTiniEo1jAEm_7F=6CxOwHS74_F8_FkpHt-3FSAk3@mail.gmail.com>
References: <AANLkTiniEo1jAEm_7F=6CxOwHS74_F8_FkpHt-3FSAk3@mail.gmail.com>
Message-ID: <AANLkTi=tU-6_pQXjXkVrS3fMxpmZQHYpfE7_3rVXdW6h@mail.gmail.com>

Activate SNMP on the virtual machines (which is an OS component) and
do your monitoring via check_snmp.

Rutger

On Wednesday, October 27, 2010, Himanshu Arora <himanshuarora7 at gmail.com> wrote:
> So how can i go about it Leif, any ideas...?Would really appreciate if you can elaborate a bit... if this can be monitored through VC which i have it installed on windows server..
>
>
> which addon did you use - NSclient any other agent and what are the plugins can be used to get this done.
>
> Thanks,
>

-- 
Rutger Blom
Luzernv?gen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com
about.me/rutgerblom

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From tedwards at eso.org  Wed Oct 27 11:04:11 2010
From: tedwards at eso.org (Tim Edwards)
Date: Wed, 27 Oct 2010 11:04:11 +0200
Subject: Difference between check_multi output on host and
 output received by chech_by_ssh
Message-ID: <4CC7EB0B.60009@eso.org>

If I run the following command on a particular nagios client machine it
produces a whole lot of output, including that from our sendmail
mailqueue check:
/usr/local/nagios/checks/check_multi -f
/usr/local/nagios/checks//systemhealth.cmd -r 11 -l
/usr/local/nagios/checks/
..snip a whole lot of output
</td><td>system_mailqueue</td><td>OK: mailq is
empty</td></tr></table></div></div>|check_multi::check_multi::plugins=11
time=0.423339 system_load::check_load::load1=0.000;10.000;20.000;0;
load5=0.000;8.000;16.000;0; load15=0.000;6.000;12.000;0;
system_rootdisk::check_disk::/=1786MB;9420;9717;0;9916
system_allpartitions::default::/=1786MB;9420;9717;0;9916
/diska=150MB;9575;9877;0;10079 system_swap::check_swap::swap=0MB;0;0;0;0
system_users::check_users::users=2;15;25;0
system_time::check_ntp_time::offset=-0.002085s;60.000000;120.000000;
system_mailqueue::check_mailq::unsent=0;1;10;0

However when I run it from the nagios server I don't see the output from
our sendmail mailqueue check, which is the last check listed in our
/usr/local/nagios/checks/systemhealth.cmd file:

<td></td><td></td><td>system_mailqueue</td><td></td></tr></table></div></div>|check_multi::check_multi::plugins=11
time=0.309348 system_load::check_load::load1=0.000;10.000;20.000;0;
load5=0.000;8.000;16.000;0; load15=0.000;6.000;12.000;0;
system_rootdisk::check_disk::/=1786MB;9420;9717;0;9916
system_allpartitions::default::/=1786MB;9420;9717;0;9916
/diska=150MB;9575;9877;0;10079 system_swap::check_swap::swap=0MB;0;0;0;0
system_users::check_users::users=2;15;25;0
system_time::check_ntp_time::offset=-0.002565s;60.000000;120.000000;

Full commands and output at http://pastebin.com/vEWBa033

Anyone have any ideas what could be causing the difference?

Tim Edwards

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From lists at xodus.org  Wed Oct 27 13:39:42 2010
From: lists at xodus.org (Marc Powell)
Date: Wed, 27 Oct 2010 06:39:42 -0500
Subject: Difference between check_multi output on host
	and output received by chech_by_ssh
In-Reply-To: <4CC7EB0B.60009@eso.org>
References: <4CC7EB0B.60009@eso.org>
Message-ID: <F1D3D5E5-7A53-4A3B-B304-FB56D0066E3A@xodus.org>


On Oct 27, 2010, at 4:04 AM, Tim Edwards wrote:

snip...

> However when I run it from the nagios server I don't see the output from
> our sendmail mailqueue check, which is the last check listed in our
> /usr/local/nagios/checks/systemhealth.cmd file:
> 
> <td></td><td></td><td>system_mailqueue</td><td></td></tr></table></div></div>|check_multi::check_multi::plugins=11
> time=0.309348 system_load::check_load::load1=0.000;10.000;20.000;0;
> load5=0.000;8.000;16.000;0; load15=0.000;6.000;12.000;0;
> system_rootdisk::check_disk::/=1786MB;9420;9717;0;9916
> system_allpartitions::default::/=1786MB;9420;9717;0;9916
> /diska=150MB;9575;9877;0;10079 system_swap::check_swap::swap=0MB;0;0;0;0
> system_users::check_users::users=2;15;25;0
> system_time::check_ntp_time::offset=-0.002565s;60.000000;120.000000;
> 
> Full commands and output at http://pastebin.com/vEWBa033
> 
> Anyone have any ideas what could be causing the difference?

For your local test, you're running check_multi as 'root', which has permission to access sendmail's queue, whereas when nagios does it, it's being run as the 'nagios' user, which does not have access?

Your likely best course of action is change check_mailq to use sudo when calling /usr/bin/mailq and configure sudo to permit it. Google has quite a bit of info on 'nagios check_mailq permissions' but this page looks useful to you --

http://www.rickwargo.com/category/nagios/

Note also that you'll need to set '!requiretty' in sudoers as well.

--
Marc


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jwellband at gmail.com  Wed Oct 27 13:39:04 2010
From: jwellband at gmail.com (Jason W.)
Date: Wed, 27 Oct 2010 07:39:04 -0400
Subject: Oracle DB Server
In-Reply-To: <AANLkTi=ynLrXyO5HomYXBb4xxRhbe4RZDaYzkat3QO7o@mail.gmail.com>
References: <AANLkTim0Czw4qwZ7naxR4LPiAMh8m7oiJzHu7eoMeouW@mail.gmail.com>
	<AANLkTinoosnO6viYs7U0fQ=PpssDgWNi+X7zQECVfHtH@mail.gmail.com>
	<AANLkTi=a4LT1PW6wLXqdWji9pWNGoar64gzm9OPyh1pB@mail.gmail.com>
	<AANLkTi=ynLrXyO5HomYXBb4xxRhbe4RZDaYzkat3QO7o@mail.gmail.com>
Message-ID: <AANLkTimTR6ADGxcb=eAk-m_iKs6gKQafP5O7nvWKVVrd@mail.gmail.com>

On Tue, Oct 26, 2010 at 2:03 PM, Jim Avery <jim at jimavery.me.uk> wrote:
> On 26 October 2010 14:44, Chris Hudson <chrishudson at gmail.com> wrote:

>> you to cd to /etc/ld.so.conf and edit/create a file called oracle.conf and
>> insert the following path in the file:? /opt/oracle/lib
>> ?Is this referring to a path on the Oracle server I?will be?checking,
>> because this path (/opt/oracle/lib) does not exist on my Nagios server.
>
> The oracle.conf file under /etc/ld.so.conf needs to point to whichever
> directory contains the library files (*.so).

For the Instant Client (at least the RPM version), the correct path is
something like:

 /usr/lib/oracle/x.y.z.a/client/lib

e.g.

 /usr/lib/oracle/10.2.0.4/client/lib

Don't forget to (re-)run ldconfig for it to see your changes. I use

 ldconfig -v | grep clnt

to verify that ld.so can find the Oracle libs. If you see libclntsh.so
listed and pointing to a file, you should be good to go :)

-- 
HTH, YMMV, HANW :)

Jason

The path to enlightenment is /usr/bin/enlightenment.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From javier.domingo at focusonemotions.com  Wed Oct 27 13:39:54 2010
From: javier.domingo at focusonemotions.com (Javier Domingo)
Date: Wed, 27 Oct 2010 13:39:54 +0200
Subject: RECOVERY in advanced notifications configuration
	questions.
In-Reply-To: <AANLkTimqMieL7Rvv7jG+UGa5vr7r6v4XPH0PPHtZq4KG@mail.gmail.com>
References: <AANLkTimqMieL7Rvv7jG+UGa5vr7r6v4XPH0PPHtZq4KG@mail.gmail.com>
Message-ID: <AANLkTi=xXmiidCZ9E5KPVBHfBgaROY_4W7hRcr0rv6DO@mail.gmail.com>

Hi everybody:
 I'm working hardly with nagios 3.0.X over Debian Lenny.
 I have any questions. I don't find information about these issues
 about notification issues.
 I have any hosts with a first_notification_delay?of 60 minutes.
 Question 1: If a host goes in hard critical state I know that
 nagios waits 60 minutes to send the notification CRITICAL, but , What
 happens if host RECOVERS before the first_notification_delay? It send
 the RECOVERY notification or not?

 I have 7x24 monitoring Nagios about the same hosts. It's useful
 because I can know if they are turned on during the night. But for me
 is very important that those hosts must be turned on from 10 to 22
 during the day. I have configured a Notification Period to
 10:00-22:00.
 Question2: if a host goes to CRITICAL STATE at 21:59 Nagios will wait 60
 minutes to send me a notification but, will Nagios wait until the to 10
 of the day after to send the notification? If host Recovers at 9:00 in
 the morning of the day after, nagios will cancel the CRITICAL/RECOVERY
 notifications messages?

 Thanks a lot in advance. Sorry about my English.

 --
> Xavier Domingo Navarro

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From tonvoon at gmail.com  Wed Oct 27 13:54:11 2010
From: tonvoon at gmail.com (Ton Voon)
Date: Wed, 27 Oct 2010 12:54:11 +0100
Subject: Time scheduling bug
Message-ID: <A463FE75-6062-48C2-A049-B0D53AFC8CAF@gmail.com>

Hi!

Just a reminder for people that are running older versions of Nagios  
that since DST will be ending soon, the DST time scheduling bug may  
affect you.

The bug affects Nagios 3.2.0 and is fixed in Nagios 3.2.1.

More details at: http://bit.ly/cnhf5S

Ton


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From Matthias.Flacke at gmx.de  Wed Oct 27 16:04:24 2010
From: Matthias.Flacke at gmx.de (Matthias.Flacke at gmx.de)
Date: Wed, 27 Oct 2010 16:04:24 +0200 (MEST)
Subject: Difference between check_multi output on host
	and output received by chech_by_ssh
Message-ID: <201010271404.o9RE4Oq3006601@post.webmailer.de>


Hi Tim,

> However when I run it from the nagios server I don't see the output from
> our sendmail mailqueue check, which is the last check listed in our
> /usr/local/nagios/checks/systemhealth.cmd file:

The report option -r 11 (1+2+8) is not a good idea, because you left out -r 4 to show errors. 
So I would recommend -r 15 (1+2+4+8) in your case.

What is the result if you run check_mailq directly without check_multi:
$ ./checks/check_by_ssh -H 134.171.46.232 -C "/path/to/check_mailq -w 2 -c 4"

Cheers,
-Matthias

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From chrishudson at gmail.com  Wed Oct 27 16:38:47 2010
From: chrishudson at gmail.com (Chris Hudson)
Date: Wed, 27 Oct 2010 09:38:47 -0500
Subject: Nagios and OpenVMS servers
Message-ID: <AANLkTi=BOLxMXZVXz7LXzNXjebgEgEaTUnr0avq4btiR@mail.gmail.com>

Anyone here ever configure an OpenVMS server for snmp / Nagios?   Any info
at all would be greatly appreciated, I'm not having any luck at all.

Thanks,
Chris Hudson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101027/78c5898c/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From mark.frost1 at pepsico.com  Wed Oct 27 16:39:56 2010
From: mark.frost1 at pepsico.com (Frost, Mark {PBC})
Date: Wed, 27 Oct 2010 10:39:56 -0400
Subject: Scheduled checks falling far behind
In-Reply-To: <38a7854fcae8f62679e4d94466ab20c9.squirrel@webmail.stinkweasel.net>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
	<38a7854fcae8f62679e4d94466ab20c9.squirrel@webmail.stinkweasel.net>
Message-ID: <BB690CA131D24C449394CA847A2CB0D781A4FDE45D@PEPWMV00089.corp.pep.pvt>

Benny,

OK, well, I hope I'm not embarrassing myself with this.  It's a perl script and uses Ton Voon's nifty Nagios::Plugins module.  I run checks against things I want to know about.  Thinking about it, I guess it would be nice to have the failed hosts/services check alert on percentage of failures.  Maybe someday.

Mark

-----Original Message-----
From: C. Bensend [mailto:benny at bennyvision.com] 
Sent: Saturday, October 23, 2010 8:44 PM
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Scheduled checks falling far behind


> You can also run, if memory serves, the "nagiostats" command located in
> your Nagios "bin" directory to see this information as well.  I actually
> use that nagiostats data in a custom check and graph a lot of those
> latencies and other Nagios performance related info.

Boy, would I *love* to see your method for that!

I personally hacked the source of nagiostats to create a custom
plugin, but it's a horrible, horrible hack and I'd like to see
a cleaner, more scalable method.

Can you share?

Benny


-- 
"No matter how many shorts we have in the system, my guards will
be instructed to treat every surveillance camera malfunction as a
full-scale emergency."
                       -- Peter Anspach's Evil Overlord List, #67



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: check_nagios_stats.txt
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101027/7fdfdb7e/attachment.txt>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From tedwards at eso.org  Wed Oct 27 17:01:06 2010
From: tedwards at eso.org (Tim Edwards)
Date: Wed, 27 Oct 2010 17:01:06 +0200
Subject: Difference between check_multi output on host
 and output received by chech_by_ssh
In-Reply-To: <F1D3D5E5-7A53-4A3B-B304-FB56D0066E3A@xodus.org>
References: <4CC7EB0B.60009@eso.org>
	<F1D3D5E5-7A53-4A3B-B304-FB56D0066E3A@xodus.org>
Message-ID: <4CC83EB2.7020702@eso.org>

On 27/10/10 13:39, Marc Powell wrote:
> 
> On Oct 27, 2010, at 4:04 AM, Tim Edwards wrote:
> 
> snip...
> 
>> However when I run it from the nagios server I don't see the output from
>> our sendmail mailqueue check, which is the last check listed in our
>> /usr/local/nagios/checks/systemhealth.cmd file:
>>
>> <td></td><td></td><td>system_mailqueue</td><td></td></tr></table></div></div>|check_multi::check_multi::plugins=11
>> time=0.309348 system_load::check_load::load1=0.000;10.000;20.000;0;
>> load5=0.000;8.000;16.000;0; load15=0.000;6.000;12.000;0;
>> system_rootdisk::check_disk::/=1786MB;9420;9717;0;9916
>> system_allpartitions::default::/=1786MB;9420;9717;0;9916
>> /diska=150MB;9575;9877;0;10079 system_swap::check_swap::swap=0MB;0;0;0;0
>> system_users::check_users::users=2;15;25;0
>> system_time::check_ntp_time::offset=-0.002565s;60.000000;120.000000;
>>
>> Full commands and output at http://pastebin.com/vEWBa033
>>
>> Anyone have any ideas what could be causing the difference?
> 
> For your local test, you're running check_multi as 'root', which has permission to access sendmail's queue, whereas when nagios does it, it's being run as the 'nagios' user, which does not have access?
> 
> Your likely best course of action is change check_mailq to use sudo when calling /usr/bin/mailq and configure sudo to permit it. Google has quite a bit of info on 'nagios check_mailq permissions' but this page looks useful to you --
> 
> http://www.rickwargo.com/category/nagios/
> 
> Note also that you'll need to set '!requiretty' in sudoers as well.

Thanks, I had actually been running the test as nagios as well but
probably copied and pasted whatever was last in my terminal.

Anyway it looks like it's the requiretty thing, although I can't get the
configuration option right in /etc/sudoers to stop sudo insisting on
having a TTY:
Defaults !requiretty
Doesn't seem to work.

Tim Edwards

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From ae at op5.se  Wed Oct 27 16:59:37 2010
From: ae at op5.se (Andreas Ericsson)
Date: Wed, 27 Oct 2010 16:59:37 +0200
Subject: Nagios and OpenVMS servers
In-Reply-To: <AANLkTi=BOLxMXZVXz7LXzNXjebgEgEaTUnr0avq4btiR@mail.gmail.com>
References: <AANLkTi=BOLxMXZVXz7LXzNXjebgEgEaTUnr0avq4btiR@mail.gmail.com>
Message-ID: <4CC83E59.3080202@op5.se>

On 10/27/2010 04:38 PM, Chris Hudson wrote:
> Anyone here ever configure an OpenVMS server for snmp / Nagios?   Any info
> at all would be greatly appreciated, I'm not having any luck at all.
> 

I once hacked NRPE to work on OpenVMS. It's not quite NRPE anymore
though, but it worked (and still works) for the customer that ordered
the job.

I'll send it to you off-list, as the tarball ended up being quite
large.

If you want support for or help with it, you'll have to contact our
sales people and get a contract. I simply don't have time to delve
into it again, and to be perfectly honest DCL isn't so much fun that
I want to spend my days writing it ;)

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From ras.kumar01 at gmail.com  Wed Oct 27 19:03:08 2010
From: ras.kumar01 at gmail.com (Rajesh Kumar)
Date: Wed, 27 Oct 2010 22:33:08 +0530
Subject: Check_http_Multipple_port
Message-ID: <AANLkTimR+MvogQ_0nfVwyDL8YF8ihjN2iQsV=+CEa5i7@mail.gmail.com>

Hi Sir

   I need to define multiple port in check_http. I defined the command.cfg
as follows, in my environment different port tomcat are running how can i
find the tomcat status

define command{
         command_name    check_http_args
         command_line    $USER1$/check_http -H $ARG1$ -p $ARG2$
         }
for example

http://testingserver:8082
http://tomcatserver:8084

Please help me.


Thanks & Regards

B.Rajeshkumar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101027/4ae04b4d/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From rutger at blokje.net  Wed Oct 27 20:21:50 2010
From: rutger at blokje.net (Rutger Blom)
Date: Wed, 27 Oct 2010 20:21:50 +0200
Subject: Check_http_Multipple_port
In-Reply-To: <AANLkTimR+MvogQ_0nfVwyDL8YF8ihjN2iQsV=+CEa5i7@mail.gmail.com>
References: <AANLkTimR+MvogQ_0nfVwyDL8YF8ihjN2iQsV=+CEa5i7@mail.gmail.com>
Message-ID: <AANLkTi=-mC+92PN1Pq400JO=wGcL2jn5uKCu96TdoRf0@mail.gmail.com>

I think you need to set up 2 checks. One for each port.

Rutger

On Wednesday, October 27, 2010, Rajesh Kumar <ras.kumar01 at gmail.com> wrote:
> Hi Sir
>
> ?? I need to define multiple port in check_http. I defined the?command.cfg as follows, in my environment different port tomcat are running how can i find the tomcat status
>
> define command{
> ???????? command_name??? check_http_args
> ???????? command_line??? $USER1$/check_http -H $ARG1$?-p $ARG2$
> ???????? }
>
> for example
>
> http://testingserver:8082?<http://testingserver:8082/>
> http://tomcatserver:8084?<http://tomcatserver:8084/>
>
> Please help me.
>
>
> Thanks & Regards
>
> B.Rajeshkumar
>

-- 
Rutger Blom
Luzernv?gen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com
about.me/rutgerblom

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From diego.roccia at gmail.com  Wed Oct 27 20:44:21 2010
From: diego.roccia at gmail.com (diego.roccia at gmail.com)
Date: Wed, 27 Oct 2010 18:44:21 +0000
Subject: Check_http_Multipple_port
In-Reply-To: <AANLkTimR+MvogQ_0nfVwyDL8YF8ihjN2iQsV=+CEa5i7@mail.gmail.com>
References: <AANLkTimR+MvogQ_0nfVwyDL8YF8ihjN2iQsV=+CEa5i7@mail.gmail.com>
Message-ID: <726278744-1288205062-cardhu_decombobulator_blackberry.rim.net-657535067-@bda194.bisx.produk.on.blackberry>

As far as I remember there are no options for this in the standard check_http plugin. You can create 2 checks (and maybe a third one that aggregates them and trigger the notifications), or use a wrapper plugin running the 2 checks and "merging" the results. Or you can use check_multi, but maybe it's too much for your needs.

Diego
Sent from my BlackBerry? wireless device

-----Original Message-----
From: Rajesh Kumar <ras.kumar01 at gmail.com>
Date: Wed, 27 Oct 2010 22:33:08 
To: <Nagios-users at lists.sourceforge.net>
Reply-To: Nagios Users List <nagios-users at lists.sourceforge.net>
Subject: [Nagios-users] Check_http_Multipple_port

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From benny at bennyvision.com  Wed Oct 27 21:07:37 2010
From: benny at bennyvision.com (C. Bensend)
Date: Wed, 27 Oct 2010 14:07:37 -0500
Subject: Scheduled checks falling far behind
In-Reply-To: <BB690CA131D24C449394CA847A2CB0D781A4FDE45D@PEPWMV00089.corp.pep.pvt>
References: <213E0EC97FE58F469BB618245B3118BB549362BE68@DEN-MEXMS-001.corp.ebay.com>
	<BB690CA131D24C449394CA847A2CB0D781A4D4F231@PEPWMV00089.corp.pep.pvt>
	<38a7854fcae8f62679e4d94466ab20c9.squirrel@webmail.stinkweasel.net>
	<BB690CA131D24C449394CA847A2CB0D781A4FDE45D@PEPWMV00089.corp.pep.pvt>
Message-ID: <22a1c92e72c689609db20ac1749c902a.squirrel@webmail.stinkweasel.net>


> OK, well, I hope I'm not embarrassing myself with this.  It's a perl
> script and uses Ton Voon's nifty Nagios::Plugins module.  I run checks
> against things I want to know about.  Thinking about it, I guess it would
> be nice to have the failed hosts/services check alert on percentage of
> failures.  Maybe someday.

Fantastic...  Thanks, Mark!  I'll take a look at this when I have
a bit of time.

Benny


-- 
"No matter how many shorts we have in the system, my guards will
be instructed to treat every surveillance camera malfunction as a
full-scale emergency."
                       -- Peter Anspach's Evil Overlord List, #67



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From diego.roccia at gmail.com  Wed Oct 27 23:09:59 2010
From: diego.roccia at gmail.com (diego.roccia at gmail.com)
Date: Wed, 27 Oct 2010 21:09:59 +0000
Subject: passive service and notification email
In-Reply-To: <1288084166.2854.2.camel@b0x>
References: <1288084166.2854.2.camel@b0x>
Message-ID: <489320580-1288213800-cardhu_decombobulator_blackberry.rim.net-361984074-@bda194.bisx.produk.on.blackberry>

"Freshness threshold" is the word :)
Sent from my BlackBerry? wireless device

-----Original Message-----
From: Andrea Imparato <imparato.andrea at gmail.com>
Date: Tue, 26 Oct 2010 11:09:26 
To: <nagios-users at lists.sourceforge.net>
Reply-To: Nagios Users List <nagios-users at lists.sourceforge.net>
Subject: [Nagios-users] passive service and notification email

Hello to all ml,


I have a simple request for you. I have a passive service check
scheduled on my nagios server and a cron script on my clients (they are
all natted) that send me the informations. The question is: which is the
parameter for nagios that say "after some period send me an email if you
see nothing happens?". Sorry but I found the documentation a bit
chaotic :\

Thank you


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From frisvolj at lafayette.edu  Thu Oct 28 17:16:01 2010
From: frisvolj at lafayette.edu (Jason Frisvold)
Date: Thu, 28 Oct 2010 11:16:01 -0400
Subject: host_port objects - Enhancement Request
Message-ID: <4CC993B1.5060302@lafayette.edu>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greetings,

	We are planning on submitting an enhancement request to Nagios with the
intention of having their professional services group code this for us.
 We are interested in having our changes made available to the community
as well, so we wanted to get feedback from the community before we
submit the proposal.  Any and all feedback is welcome.

Thanks.

	
Nagios Enhancement Proposal

Overview

Currently, there are two primary ways to add individual physical ports
for a port-based device.  Each method has both advantages and
disadvantages, but neither fully satisfies the needs of Lafayette and,
likely, other institutions.

Service-based Ports

The first method is to treat ports as a service of a host and add them
as service entries.  The following configuration snippet demonstrates this :

define host {
   use                  cisco-switch-standard
   host_name            switch.lafayette.edu
   address              192.168.0.100
   hostgroups           cisco-switch-standard
   parents              router.lafayette.edu
}

define service {
   use                  service-standard
   hosts                switch.lafayette.edu
   servicegroups        cisco-switch-standard
   service_description  Switch Port Gi1/0/1
   check_command        check_snmp_traffic!-N Gi1/0/1!-C $USER2$
}

In short, this configuration defines a host and then a service for that
host which is, essentially, an snmp check that monitors the traffic on a
specific port.

Advantages
* Cleanly links a port to a switch
* Somewhat easy to add/remove specific hosts that need that port monitored

Disadvantages
* Parent/child relationships are difficult, if not impossible, to define
* Making service changes for a single port requires creating a unique
new service
* Service descriptions can get a bit long when they need to have a
meaningful description associated with them
* Ports with associated addresses are more difficult to define


Host-based Ports

Another method to accomplish this is to create a ?fake? host entry for
each port and then assign services to those ports for monitoring.  The
following configuration snippet demonstrates this :

define host {
   use                  cisco-switch-standard
   host_name            switch.lafayette.edu
   address              192.168.0.100
   hostgroups           cisco-switch-standard
   parents              router.lafayette.edu
}

define host {
   use                  cisco-switch-standard
   host_name            switch-g1-0-1.lafayette.edu
   address              192.168.0.100
   hostgroups           cisco-switch-standard
   _PORT                Gi1/0/1
   parents              switch.lafayette.edu
}

define service {
   use                  service-standard
   hosts                switch.lafayette.edu
   servicegroups        cisco-switch-standard
   service_description  Port Traffic
   check_command        check_snmp_traffic!-N $_HOSTPORT$!-C $USER2$
}

This configuration defines two hosts, a switch and a port on that
switch, and then a service linked to the port.

Advantages
* Parent/child relationships work as expected
* A single service entry can be used for many port entries
* Very easy to deal with address-assigned ports such as router interfaces

Disadvantages
* Every port on every switch has to be defined
* Port host_name entries are often fake
* Port address entries are often duplicated


Proposed Solution

host-port object

define host {
   use                  cisco-switch-standard
   host_name            switch.lafayette.edu
   address              192.168.0.100
   hostgroups           cisco-switch-standard
   parents              router.lafayette.edu
}

define host_port {
   use                  cisco-switch-standard
   host                 switch.lafayette.edu
   port_name            Gi1/0/1
}

define service {
   use                  service-standard
   host                 switch.lafayette.edu
   port_based           true
   servicegroups        cisco-switch-standard
   service_description  Port Traffic
   check_command	check_snmp_traffic!-N $PORTNAME$!-C $USER2$
}

In this proposed configuration, a host is defined, as normal.  A new
object, the host_port object, is defined with port-based information.
The host_port object imports information such as address and host_name
from the host but can override this information if needed.  For
instance, a router interface may have an ip address and hostname.
Finally, a new tag, port_name, identifies the port name to use.  When
displaying the host_port in the GUI, or identifying it in email/SMS, the
port_name should be appended to the host_name.  A similar syntax could
be used for parent/child relationships as well.

The service definition uses a new tag, port_based, to identify that this
service is for the ports of a host, not for the host itself.  This
service should be applied to all ports.  port_name can be used in a
manner similar to host or hostgroups to restrict the service to specific
ports.

Advantages
* Clearly links ports to hosts
* Parent/child relationships can be clearly defined
* A single service entry can be used for many port entries
* Very easy to deal with address-assigned ports such as router interfaces

Disadvantages
* Every port has to be defined
* Concatenated host/port names can get a bit long

- -- 
- ---------------------------
Jason Frisvold
Network Engineer
frisvolj at lafayette.edu
- ---------------------------
"What I cannot create, I do not understand"
   - Richard Feynman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkzJk7EACgkQO80o6DJ8UvkfDACeLtvq+tm2W+Muz32SOopnqo4J
/6MAmgM5Gvmp26npPTOl2oY93NBh+hn0
=u3pW
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From rutger at blokje.net  Thu Oct 28 18:39:05 2010
From: rutger at blokje.net (Rutger Blom)
Date: Thu, 28 Oct 2010 18:39:05 +0200
Subject: host_port objects - Enhancement Request
In-Reply-To: <4CC993B1.5060302@lafayette.edu>
References: <4CC993B1.5060302@lafayette.edu>
Message-ID: <AANLkTi=1NVVnEGLhwwstAVon_YrjizrRn5P_uU-ShZ+Q@mail.gmail.com>

I use check_mk which automatically does a host inventory and adds
active interfaces to the configuration.
Off topic: I have to say the check_mk in combination with
mk_livestatus and multisite make Nagios a much better solution. I
wonder if and when the Nagios team is going to adopt this solution and
make it a part of Nagios Core.

/Rutger

On Thursday, October 28, 2010, Jason Frisvold <frisvolj at lafayette.edu> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Greetings,
>
>  ? ? ? ?We are planning on submitting an enhancement request to Nagios with the
> intention of having their professional services group code this for us.
> ?We are interested in having our changes made available to the community
> as well, so we wanted to get feedback from the community before we
> submit the proposal. ?Any and all feedback is welcome.
>
> Thanks.
>
>
> Nagios Enhancement Proposal
>
> Overview
>
> Currently, there are two primary ways to add individual physical ports
> for a port-based device. ?Each method has both advantages and
> disadvantages, but neither fully satisfies the needs of Lafayette and,
> likely, other institutions.
>
> Service-based Ports
>
> The first method is to treat ports as a service of a host and add them
> as service entries. ?The following configuration snippet demonstrates this :
>
> define host {
>  ? use ? ? ? ? ? ? ? ? ?cisco-switch-standard
>  ? host_name ? ? ? ? ? ?switch.lafayette.edu
>  ? address ? ? ? ? ? ? ?192.168.0.100
>  ? hostgroups ? ? ? ? ? cisco-switch-standard
>  ? parents ? ? ? ? ? ? ?router.lafayette.edu
> }
>
> define service {
>  ? use ? ? ? ? ? ? ? ? ?service-standard
>  ? hosts ? ? ? ? ? ? ? ?switch.lafayette.edu
>  ? servicegroups ? ? ? ?cisco-switch-standard
>  ? service_description ?Switch Port Gi1/0/1
>  ? check_command ? ? ? ?check_snmp_traffic!-N Gi1/0/1!-C $USER2$
> }
>
> In short, this configuration defines a host and then a service for that
> host which is, essentially, an snmp check that monitors the traffic on a
> specific port.
>
> Advantages
> * Cleanly links a port to a switch
> * Somewhat easy to add/remove specific hosts that need that port monitored
>
> Disadvantages
> * Parent/child relationships are difficult, if not impossible, to define
> * Making service changes for a single port requires creating a unique
> new service
> * Service descriptions can get a bit long when they need to have a
> meaningful description associated with them
> * Ports with associated addresses are more difficult to define
>
>
> Host-based Ports
>
> Another method to accomplish this is to create a ?fake? host entry for
> each port and then assign services to those ports for monitoring. ?The
> following configuration snippet demonstrates this :
>
> define host {
>  ? use ? ? ? ? ? ? ? ? ?cisco-switch-standard
>  ? host_name ? ? ? ? ? ?switch.lafayette.edu
>  ? address ? ? ? ? ? ? ?192.168.0.100
>  ? hostgroups ? ? ? ? ? cisco-switch-standard
>  ? parents ? ? ? ? ? ? ?router.lafayette.edu
> }
>
> define host {
>  ? use ? ? ? ? ? ? ? ? ?cisco-switch-standard
>  ? host_name ? ? ? ? ? ?switch-g1-0-1.lafayette.edu
>  ? address ? ? ? ? ? ? ?192.168.0.100
>  ? hostgroups ? ? ? ? ? cisco-switch-standard
>  ? _PORT ? ? ? ? ? ? ? ?Gi1/0/1
>  ? parents ? ? ? ? ? ? ?switch.lafayette.edu
> }
>
> define service {
>  ? use ? ? ? ? ? ? ? ? ?service-standard
>  ? hosts ? ? ? ? ? ? ? ?switch.lafayette.edu
>  ? servicegroups ? ? ? ?cisco-switch-standard
>  ? service_description ?Port Traffic
>  ? check_command ? ? ? ?check_snmp_traffic!-N $_HOSTPORT$!-C $USER2$
> }
>
> This configuration defines two hosts, a switch and a port on that
> switch, and then a service linked to the port.
>
> Advantages
> * Parent/child relationships work as expected
> * A single service entry can be used for many port entries
> * Very easy to deal with address-assigned ports such as router interfaces
>
> Disadvantages
> * Every port on every switch has to be defined
> * Port host_name entries are often fake
> * Port address entries are often duplicated
>
>
> Proposed Solution
>
> host-port object
>
> define host {
>  ? use ? ? ? ? ? ? ? ? ?cisco-switch-standard
>  ? host_name ? ? ? ? ? ?switch.lafayette.edu
>  ? address ? ? ? ? ? ? ?192.168.0.100
>  ? hostgroups ? ? ? ? ? cisco-switch-standard
>  ? parents ? ? ? ? ? ? ?router.lafayette.edu
> }
>
> define host_port {
>  ? use ? ? ? ? ? ? ? ? ?cisco-switch-standard
>  ? host ? ? ? ? ? ? ? ? switch.lafayette.edu
>  ? port_name ? ? ? ? ? ?Gi1/0/1
> }
>
> define service {
>  ? use ? ? ? ? ? ? ? ? ?service-standard
>  ? host ? ? ? ? ? ? ? ? switch.lafayette.edu
>  ? port_based ? ? ? ? ? true
>  ? servicegroups ? ? ? ?cisco-switch-standard
>  ? service_description ?Port Traffic
>  ? check_command ? ? ? ?check_snmp_traffic!-N $PORTNAME$!-C $USER2$
> }
>
> In this proposed configuration, a host is defined, as normal. ?A new
> object, the host_port object, is defined with port-based information.
> The host_port object imports information such as address and host_name
> from the host but can override this information if needed. ?For
> instance, a router interface may have an ip address and hostname.
> Finally, a new tag, port_name, identifies the port name to use. ?When
> displaying the host_port in the GUI, or identifying it in email/SMS, the
> port_name should be appended to the host_name. ?A similar syntax could
> be used for parent/child relationships as well.
>
> The service definition uses a new tag, port_based, to identify that this
> service is for the ports of a host, not for the host itself. ?This
> service should be applied to all ports. ?port_name can be used in a
> manner similar to host or hostgroups to restrict the service to specific
> ports.
>
> Advantages
> * Clearly links ports to hosts
> * Parent/child relationships can be clearly defined
> * A single service entry can be used for many port entries
> * Very easy to deal with address-assigned ports such as router interfaces
>
> Disadvantages
> * Every port has to be defined
> * Concatenated host/port names can get a bit long
>
> - --
> - ---------------------------
> Jason Frisvold
> Network Engineer
> frisvolj at lafayette.edu
> - ---------------------------
> "What I cannot create, I do not understand"
>  ? - Richard Feynman
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkzJk7EACgkQO80o6DJ8UvkfDACeLtvq+tm2W+Muz32SOopnqo4J
> /6MAmgM5Gvmp26npPTOl2oY93NBh+hn0
> =u3pW
> -----END PGP SIGNATURE-----
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in ?U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>

-- 
Rutger Blom
Luzernv?gen 14
227 38 LUND
Sweden
Tel. +46 763 46 99 44
www.rutgerblom.com
about.me/rutgerblom

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From work at paul.dubuc.org  Thu Oct 28 18:54:58 2010
From: work at paul.dubuc.org (Paul M. Dubuc)
Date: Thu, 28 Oct 2010 12:54:58 -0400
Subject: host_port objects - Enhancement Request
In-Reply-To: <4CC993B1.5060302@lafayette.edu>
References: <4CC993B1.5060302@lafayette.edu>
Message-ID: <4CC9AAE2.90802@paul.dubuc.org>

I think this would be a very nice enhancement.  Many of the services we run 
are associated with a host and a port.  We're using the "service-based ports" 
solution that you describe.  Since Nagios requires that the combination 
host_name and service_description be unique, we often have to embed a port 
name in the service_description.  Since the port is also passed as an argument 
to the check_command, it ends up being defined in two places and the 
service_description has to be changed when we change the port being used for 
the service.  Having to configure a separate service for each port on a given 
host also complicates configuration changes.


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From rick at screenscape.net  Thu Oct 28 18:46:55 2010
From: rick at screenscape.net (Rick Munn)
Date: Thu, 28 Oct 2010 13:46:55 -0300
Subject: Nagios/NRPE script getting "No output returned from
	plugin"
Message-ID: <AANLkTi=Z9Yo8YoMbcOJzxsHKKWj4oAzoQ=_u2H1ypdZt@mail.gmail.com>

Hi,

Getting a  "No output returned from plugin" error message from a Nagios/NRPE
script

1) Running Nagios v3.2.2 and v3.2.3(now) and NRPE v2.12
2) The script:

OK_STATE=0
UNAME=`/bin/uname -r`
echo "OK: Kernel Version=$UNAME"
exit $OK_STATE


2) Results on command line on Nagios Server using NRPE

 - Same OK results from both the root and nagios user:

> [nagios at cmonmm03 libexec]$ ./check_nrpe -H dappsi01b.dev.screenscape.local
-c check_kernel
OK: Kernel Version=2.6.18-194.11.3.el5

When I run the check_kernel.sh script on the machine locally it works there
too.

Help, any thoughts or known solution regarding this would be appreciated?

Thank you
Rick B. Munn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101028/fed47d4e/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From frisvolj at lafayette.edu  Thu Oct 28 20:09:52 2010
From: frisvolj at lafayette.edu (Jason Frisvold)
Date: Thu, 28 Oct 2010 14:09:52 -0400
Subject: host_port objects - Enhancement Request
In-Reply-To: <AANLkTi=1NVVnEGLhwwstAVon_YrjizrRn5P_uU-ShZ+Q@mail.gmail.com>
References: <4CC993B1.5060302@lafayette.edu>
	<AANLkTi=1NVVnEGLhwwstAVon_YrjizrRn5P_uU-ShZ+Q@mail.gmail.com>
Message-ID: <4CC9BC70.7070701@lafayette.edu>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/28/2010 12:39 PM, Rutger Blom wrote:
> I use check_mk which automatically does a host inventory and adds
> active interfaces to the configuration.

Does this solve the parent/child problem?  What ends up in the config
for, say, a switch port?  Is that added as a host or a service?

- -- 
- ---------------------------
Jason Frisvold
Network Engineer
frisvolj at lafayette.edu
- ---------------------------
"What I cannot create, I do not understand"
   - Richard Feynman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkzJvHAACgkQO80o6DJ8UvnAxACdEOadhtzsOBZlhDmEDCOagWc/
eeYAnicGnuAuN/+ylU1pnU7BBHnVKJuh
=9b2M
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From jim at jimavery.me.uk  Thu Oct 28 20:24:34 2010
From: jim at jimavery.me.uk (Jim Avery)
Date: Thu, 28 Oct 2010 19:24:34 +0100
Subject: host_port objects - Enhancement Request
In-Reply-To: <4CC993B1.5060302@lafayette.edu>
References: <4CC993B1.5060302@lafayette.edu>
Message-ID: <AANLkTinBJyHWbmRPprMcCkzjWbeHuYQi+RKNfWXYEQ83@mail.gmail.com>

On 28 October 2010 16:16, Jason Frisvold <frisvolj at lafayette.edu> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Greetings,
>
> ? ? ? ?We are planning on submitting an enhancement request to Nagios with the
> intention of having their professional services group code this for us.
> ?We are interested in having our changes made available to the community
> as well, so we wanted to get feedback from the community before we
> submit the proposal. ?Any and all feedback is welcome.
>
> Thanks.

I agree something needs doing to make it easier to monitor multiple
ports on network nodes.  The issue goes a bit wider than just ports on
hosts though.

There are other object relationships which can be tricky to set up
using the limited host/service structure.  Some examples that come to
mind are:

virtual hosts in a VMWare cluster
load-balanced services
clustered applications
various physical and virtual structures in a SAN

My preference would be for a less prescriptive nomencalture with more
flexibility over what can be grouped with what so Nagios will then be
able to cope with whatever groupings and parent relationships we care
to throw at it.

For example, if instead of "host_port", we have "component" then it's
less prescriptive.

I'd like to throw around some other ideas for how the service
definition would work too.  For example:

define service {
  use                  service-standard
  components          switches-cisco/port*
  servicegroups        cisco-switch-standard
  service_description  Port Traffic
  check_command        check_snmp_traffic!-N $PORTNAME$!-C $USER2$
}

That's my 2p anyway.  I'm not a programmer.  For all I know the dev
team might have some ideas already up their sleeve for Nagios 4 or 5.

Cheers,

Jim

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From chrishudson at gmail.com  Thu Oct 28 20:50:40 2010
From: chrishudson at gmail.com (Chris Hudson)
Date: Thu, 28 Oct 2010 13:50:40 -0500
Subject: Nagios and OpenVMS servers
In-Reply-To: <4CC83E59.3080202@op5.se>
References: <AANLkTi=BOLxMXZVXz7LXzNXjebgEgEaTUnr0avq4btiR@mail.gmail.com>
	<4CC83E59.3080202@op5.se>
Message-ID: <AANLkTinW_ic9iPSj6z8Jufo57VxUsf3o3W24ben-9HBN@mail.gmail.com>

Thanks for your offer Andreas, but I was able to work with HP and get SNMP
working without any special hacks or modifications.

 -- Chris


On Wed, Oct 27, 2010 at 9:59 AM, Andreas Ericsson <ae at op5.se> wrote:

> On 10/27/2010 04:38 PM, Chris Hudson wrote:
> > Anyone here ever configure an OpenVMS server for snmp / Nagios?   Any
> info
> > at all would be greatly appreciated, I'm not having any luck at all.
> >
>
> I once hacked NRPE to work on OpenVMS. It's not quite NRPE anymore
> though, but it worked (and still works) for the customer that ordered
> the job.
>
> I'll send it to you off-list, as the tarball ended up being quite
> large.
>
> If you want support for or help with it, you'll have to contact our
> sales people and get a contract. I simply don't have time to delve
> into it again, and to be perfectly honest DCL isn't so much fun that
> I want to spend my days writing it ;)
>
> --
> Andreas Ericsson                   andreas.ericsson at op5.se
> OP5 AB                             www.op5.se
> Tel: +46 8-230225                  Fax: +46 8-230231
>
> Considering the successes of the wars on alcohol, poverty, drugs and
> terror, I think we should give some serious thought to declaring war
> on peace.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101028/85f1833a/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From ae at op5.se  Thu Oct 28 22:14:12 2010
From: ae at op5.se (Andreas Ericsson)
Date: Thu, 28 Oct 2010 22:14:12 +0200
Subject: host_port objects - Enhancement Request
In-Reply-To: <4CC993B1.5060302@lafayette.edu>
References: <4CC993B1.5060302@lafayette.edu>
Message-ID: <4CC9D994.1030905@op5.se>

On 10/28/2010 05:16 PM, Jason Frisvold wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Greetings,
> 

Hi there.

> 	We are planning on submitting an enhancement request to Nagios with the
> intention of having their professional services group code this for us.

Never heard of such a group. Considering I'm a core developer you'd have
thought I would know, but I suppose not. Ah well. Anyways; if you want to
pay for new features, go wild :)

>   We are interested in having our changes made available to the community
> as well, so we wanted to get feedback from the community before we
> submit the proposal.  Any and all feedback is welcome.
> 

Good idea. My reply is below. I've thought of some of those problems myself.

> 	
> Nagios Enhancement Proposal
> 
> Overview
> 
> Currently, there are two primary ways to add individual physical ports
> for a port-based device.  Each method has both advantages and
> disadvantages, but neither fully satisfies the needs of Lafayette and,
> likely, other institutions.
> 
> Service-based Ports
> 
> The first method is to treat ports as a service of a host and add them
> as service entries.  The following configuration snippet demonstrates this :
> 
> define host {
>     use                  cisco-switch-standard
>     host_name            switch.lafayette.edu
>     address              192.168.0.100
>     hostgroups           cisco-switch-standard
>     parents              router.lafayette.edu
> }
> 
> define service {
>     use                  service-standard
>     hosts                switch.lafayette.edu
>     servicegroups        cisco-switch-standard
>     service_description  Switch Port Gi1/0/1
>     check_command        check_snmp_traffic!-N Gi1/0/1!-C $USER2$
> }
> 
> In short, this configuration defines a host and then a service for that
> host which is, essentially, an snmp check that monitors the traffic on a
> specific port.
> 
> Advantages
> * Cleanly links a port to a switch
> * Somewhat easy to add/remove specific hosts that need that port monitored
> 

Agreed.

> Disadvantages
> * Parent/child relationships are difficult, if not impossible, to define

I disagree. The switch is still the parent of whatever hosts are sitting
beyond it, from Nagios' point of view. If one port stops forwarding
traffic but the switch is still up (and thus probably reachable from the
admin interface), the actions a network admin would take are vastly
different. I agree that it would be nice to be able to surpress
notifications for the hosts connected through this particular port, but
that would be easier to solve by making it possible to have services as
parents (like a parent_service, perhaps).


> * Making service changes for a single port requires creating a unique
> new service
> * Service descriptions can get a bit long when they need to have a
> meaningful description associated with them

Agreed on those two (sort of).

> * Ports with associated addresses are more difficult to define
> 

I don't quite follow you here. If you mean that the interface name is
hard to remember (or type), then you can just rename the interface in
the switch itself. Name it kungfupanda for all anyone cares. It's a
piece of hardware, so it won't be offended no matter what you name it.

Other than that, finding it hard to remember is just another reason
why you would want it sent to you in a notification so you can quickly
find which interface it is when you're trying to fix the problem.

> 
> Host-based Ports
> 
> Another method to accomplish this is to create a ?fake? host entry for
> each port and then assign services to those ports for monitoring.  The
> following configuration snippet demonstrates this :
> 
> define host {
>     use                  cisco-switch-standard
>     host_name            switch.lafayette.edu
>     address              192.168.0.100
>     hostgroups           cisco-switch-standard
>     parents              router.lafayette.edu
> }
> 
> define host {
>     use                  cisco-switch-standard
>     host_name            switch-g1-0-1.lafayette.edu
>     address              192.168.0.100
>     hostgroups           cisco-switch-standard
>     _PORT                Gi1/0/1
>     parents              switch.lafayette.edu
> }
> 
> define service {
>     use                  service-standard
>     hosts                switch.lafayette.edu
>     servicegroups        cisco-switch-standard
>     service_description  Port Traffic
>     check_command        check_snmp_traffic!-N $_HOSTPORT$!-C $USER2$
> }
> 
> This configuration defines two hosts, a switch and a port on that
> switch, and then a service linked to the port.
> 
> Advantages
> * Parent/child relationships work as expected

They work no differently than they did before. Or am I missing
something?

> * A single service entry can be used for many port entries
> * Very easy to deal with address-assigned ports such as router interfaces
> 

True.

> Disadvantages
> * Every port on every switch has to be defined

False. Only the ones you need to monitor somewhere have to be
defined.

> * Port host_name entries are often fake

Why? If there is a port you don't want to monitor, just remove the
service definition, or set it to "register 0"

> * Port address entries are often duplicated
> 

This I don't understand. Can you elaborate?

> 
> Proposed Solution
> 
> host-port object
> 
> define host {
>     use                  cisco-switch-standard
>     host_name            switch.lafayette.edu
>     address              192.168.0.100
>     hostgroups           cisco-switch-standard
>     parents              router.lafayette.edu
> }
> 
> define host_port {
>     use                  cisco-switch-standard
>     host                 switch.lafayette.edu
>     port_name            Gi1/0/1
> }
> 
> define service {
>     use                  service-standard
>     host                 switch.lafayette.edu
>     port_based           true
>     servicegroups        cisco-switch-standard
>     service_description  Port Traffic
>     check_command	check_snmp_traffic!-N $PORTNAME$!-C $USER2$
> }
> 
> In this proposed configuration, a host is defined, as normal.  A new
> object, the host_port object, is defined with port-based information.
> The host_port object imports information such as address and host_name
> from the host but can override this information if needed.  For
> instance, a router interface may have an ip address and hostname.
> Finally, a new tag, port_name, identifies the port name to use.  When
> displaying the host_port in the GUI, or identifying it in email/SMS, the
> port_name should be appended to the host_name.  A similar syntax could
> be used for parent/child relationships as well.
> 
> The service definition uses a new tag, port_based, to identify that this
> service is for the ports of a host, not for the host itself.  This
> service should be applied to all ports.  port_name can be used in a
> manner similar to host or hostgroups to restrict the service to specific
> ports.
> 
> Advantages
> * Clearly links ports to hosts
> * Parent/child relationships can be clearly defined
> * A single service entry can be used for many port entries
> * Very easy to deal with address-assigned ports such as router interfaces
> 
> Disadvantages
> * Every port has to be defined
> * Concatenated host/port names can get a bit long
> 

Sorry, but this is just plain dumb. You're trading one set of
advantages and disadvantages for something else. How about something
like this instead?

define host {
   use             some-template
   host_name       some-host

   service_params {
      traffic_ports       G1(30%,70%)!CHARLIE(60%,70%)!G3,G4
   }
}

define service {
   use                  some-service-template
   lalala               yadayada
   service_description  Traffic port %?
   foreach_param        traffic_ports?60%,80%
   check_command        check_traffic!%?!%1!%2
}

define checkcommand { 
   command_name            check_traffic
   command_line            $USER1$/check_traffic --iface=$ARG1$ --warn=$ARG2$ --crit=$ARG3$
}

This would then result in the host getting 4 services, named
G1, CHARLIE, G3 and G4, where G3 and G4 have 60% and 80% as
their $ARG2$ and $ARG3$, respectively, and G1 and CHARLIE
have 30%/70% and 60%/70% as their $ARG2$/$ARG3$, respectively.

One service-definition and everything is controlled from the hosts.
For extra bonuses, make the service_params variables accept a +,
preferrably as a keyword suffix rather than as a value prefix, to
add more stuff to the list. If that was the case, the above
service_params block could be written as such:

   service_params {
      traffic_ports        G1(30%,70%)
      traffic_ports+       CHARLIE(60%,70%)
      traffic_ports+       G3,G4
   }

to produce the same result. This should prevent extremely long
lines from turning up in the config files. Note the distinction
between putting the +-sign as a keyword suffix rather than a value
prefix though. Since the values are more or less free-form, adding
prefixes and suffixes to them restricts use and makes it a lot
harder to parse with various tools.

But since you're paying, you get to choose, I suppose. If the
professional services support group turn out to be too expensive
I might be willing to implement something like this. Let me know
in that case and we'll see what can be done.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From tonvoon at gmail.com  Fri Oct 29 01:35:00 2010
From: tonvoon at gmail.com (Ton Voon)
Date: Fri, 29 Oct 2010 00:35:00 +0100
Subject: host_port objects - Enhancement Request
In-Reply-To: <4CC993B1.5060302@lafayette.edu>
References: <4CC993B1.5060302@lafayette.edu>
Message-ID: <68EF14E8-D7C3-4AE3-BB66-0E9874FB2D25@gmail.com>


On 28 Oct 2010, at 16:16, Jason Frisvold wrote:

> Nagios Enhancement Proposal
>
> Overview
>
> Currently, there are two primary ways to add individual physical ports
> for a port-based device.  Each method has both advantages and
> disadvantages, but neither fully satisfies the needs of Lafayette and,
> likely, other institutions.

Opsview (http://opsview.com) has the "Service-based Ports" way of  
doing this. You assign "host attributes" with X number of items to a  
host and then Opsview will generate X service checks against it. An  
example of this is urls or disks or processes.

But the most common request for X number of things is interfaces, so  
we've designed some special pages for that. There's a discovery page  
where you click "Query Host" and you get a list of all your interfaces  
and you just tick which ones you want monitored, with your desired  
thresholds. And there's a Host Interfaces page where you can see a  
graph of all your interfaces with throughput and errors/discards.

See our screencast at http://bit.ly/dnWPJI  (from 02:10 onwards) to  
watch it in action.

Ton


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From xml.devel at gmail.com  Fri Oct 29 10:51:22 2010
From: xml.devel at gmail.com (Kumar, Ashish)
Date: Fri, 29 Oct 2010 14:21:22 +0530
Subject: Nagios/NRPE script getting "No output returned
 from plugin"
In-Reply-To: <AANLkTi=Z9Yo8YoMbcOJzxsHKKWj4oAzoQ=_u2H1ypdZt@mail.gmail.com>
References: <AANLkTi=Z9Yo8YoMbcOJzxsHKKWj4oAzoQ=_u2H1ypdZt@mail.gmail.com>
Message-ID: <AANLkTi=vpSAWzk8zZRsW0PqeEz=T+QsQS8F4jm4J5y_n@mail.gmail.com>

> Help, any thoughts or known solution regarding this would be appreciated?
>
>
Try setting debug=1, re-run the command and check /var/log/messages, it
usually helps :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101029/5d7fec7d/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From mail at catsnest.co.uk  Fri Oct 29 13:04:21 2010
From: mail at catsnest.co.uk (mail at catsnest.co.uk)
Date: Fri, 29 Oct 2010 12:04:21 +0100
Subject: Wildcards in hostgroup definitions
In-Reply-To: <83268.24072.qm@web30802.mail.mud.yahoo.com>
References: <407432.15472.qm@web30802.mail.mud.yahoo.com>
	<013901cb70ff$fb4ba080$f1e2e180$@dcl.co.uk>
	<936852.64011.qm@web30803.mail.mud.yahoo.com>
	<025701cb7140$f2cedd00$d86c9700$@dcl.co.uk>
	<83268.24072.qm@web30802.mail.mud.yahoo.com>
Message-ID: <AANLkTik=DLesHY=yvd=-hrbfS_zJS60DH-a=XKVk3DAR@mail.gmail.com>

Not sure if this is the same but...
I use members instead of hostgroup_members and it works for me

define hostgroup {
        hostgroup_name  search-servers
        alias          Search Servers
        members         search.*
}


--
Fnord...
<-- http://23.me.uk --> <-- http://wiki.s23.org --> <--
http://twitter.com/23me -->
<- -Only the lavender prairie dogs know the key to unlock the secret
of the tumble-weeds. -->



On Thu, Oct 21, 2010 at 9:03 PM,  <olourkin-nagios at yahoo.com> wrote:
> Thanks again Duncan, it's good to at least know you got the same result.
>
>
> ----- Original Message ----
> From: Duncan Berriman <duncan at dcl.co.uk>
> To: Nagios Users List <nagios-users at lists.sourceforge.net>
> Sent: Thu, October 21, 2010 9:56:47 AM
> Subject: Re: [Nagios-users] Wildcards in hostgroup definitions
>
> Looks ok to me ?- my test was
>
> define hostgroup{
> ? ? ? ?hostgroup_name ?ALL-SERVERS ; The name of the hostgroup
> ? ? ? ?alias ?ALL-SERVERS ; The name of the hostgroup
> ? ? ? ?hostgroup_members ? ? ? ? .*
> ? ? ? ?}
>
> That parses ok but I end up with nothing in the group when I look at the
> nagios display.
>
> If I use individual members it works and they appear in the nagios display.
>
> Looks like it doesn't work at any rate.
>
> I just upgrade to the latest version as I was having issues with wildcards
> but I think that was more down to my understanding. I've been trying to use
> them for escalations. I think I finally got there (I think - time will tell)
> but I had to add a lot of service groups to make it work the way I wanted.
>
> Duncan
>
> -----Original Message-----
> From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com]
> Sent: 21 October 2010 17:07
> To: Nagios Users List
> Subject: Re: [Nagios-users] Wildcards in hostgroup definitions
>
> Thanks for checking it out, Duncan. ?Here are the config snippets to
> illustrate the mystery:
>
> define hostgroup {
> ? ? ? ?hostgroup_name ? ? ? ? ?ecomUs
> ? ? ? ?alias ? ? ? ? ? ? ? ? ? ecom servers - US
> ? ? ? ?members ? ? ? ? ? ? ? ? .*
> }
>
> - This works. ?We get an ecomUs hostgroup with all our hosts.
>
>
> define hostgroup {
> ? ? ? ?hostgroup_name ? ? ? ? ?ecomUs
> ? ? ? ?alias ? ? ? ? ? ? ? ? ? ?ecom servers - US
> ? ? ? ?hostgroup_members ? ? ? .*
> }
>
> - This doesn't work. ?We get this error after running a config verification:
>
> "Error: Could not find member group '.*' specified in hostgroup (config
> file '/etc/nagios/conf.d/tier12/env-specific/vdev/hostgroup.d/ecomUs.cfg',
> starting on line 7)."
>
> Cheers,
> Erik
>
>
> ----- Original Message ----
> From: Duncan Berriman <duncan at dcl.co.uk>
> To: Nagios Users List <nagios-users at lists.sourceforge.net>
> Sent: Thu, October 21, 2010 2:11:44 AM
> Subject: Re: [Nagios-users] Wildcards in hostgroup definitions
>
> Hi Erik,
>
> Appears to work just fine for me if I am testing your case correctly.
>
> Perhaps you could post the config file (or snip of) that's causing the
> issue.
>
> Duncan
>
> -----Original Message-----
> From: olourkin-nagios at yahoo.com [mailto:olourkin-nagios at yahoo.com]
> Sent: 20 October 2010 22:45
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Wildcards in hostgroup definitions
>
> Hi all -
>
> Got a mystery regarding the use of regex matching that I hope someone on the
> listserv might clear. ?We have the appropriate config options to use regex,
> and
> it works just fine for the members directive - ie. "members ? ?.*" expands
> just
> as we'd expect.
>
> But "hostgroup_members ? ?.*" returns an error along the lines of "Could not
>
> find member group '.*' specified in hostgroup....", leading us to believe
> that Nagios is simply ignoring regex matching for the hostgroup_members
> directive.
> Anyone know if we're off our rockers, or if Nagios really does handle things
> this way?
>
> Thanks,
> Erik Larkin
>
>
> ----------------------------------------------------------------------------
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in ?U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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 message has been scanned for viruses and dangerous content by
> MailScanner, and is believed to be clean.
>
>
> ----------------------------------------------------------------------------
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in ?U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
>
> ----------------------------------------------------------------------------
> --
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in ?U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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 message has been scanned for viruses and dangerous content by
> MailScanner, and is believed to be clean.
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in ?U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in ?U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From rick at screenscape.net  Fri Oct 29 13:43:26 2010
From: rick at screenscape.net (Rick Munn)
Date: Fri, 29 Oct 2010 08:43:26 -0300
Subject: Nagios/NRPE script getting "No output returned
 from plugin"
In-Reply-To: <AANLkTi=vpSAWzk8zZRsW0PqeEz=T+QsQS8F4jm4J5y_n@mail.gmail.com>
References: <AANLkTi=Z9Yo8YoMbcOJzxsHKKWj4oAzoQ=_u2H1ypdZt@mail.gmail.com>
	<AANLkTi=vpSAWzk8zZRsW0PqeEz=T+QsQS8F4jm4J5y_n@mail.gmail.com>
Message-ID: <AANLkTi=V4Tj-apwruh-+kpJvskWxbrZqaB6hBt80NGyU@mail.gmail.com>

Thank you, your direction put me in the correct direction:

Problem, I wasn't passing an attribute value in my service definition; thus,
I was trying to execute the NREP without an attribute value (e.g check_nrpe
-H hostname -c check_kernel -a).

Solved by adding "!attribute" text to my service check_command syntax.  It
doesn't do anything but satisfy my NRPE command_line command's
parsing/execution.

(1) define service{
        use                     generic-service
        host_name               DEV-APP1A-dappsi01a
        servicegroups           dev-services
        service_description     Kernel Version
        check_command           check_nrpe!check_kernel!attribute
        }
(2) define command{
        command_name check_nrpe
        command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$
        }

Cheers,
Rick


On Fri, Oct 29, 2010 at 5:51 AM, Kumar, Ashish <xml.devel at gmail.com> wrote:

>
> Help, any thoughts or known solution regarding this would be appreciated?
>>
>>
> Try setting debug=1, re-run the command and check /var/log/messages, it
> usually helps :)
>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101029/39593ca4/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From chrishudson at gmail.com  Fri Oct 29 15:57:26 2010
From: chrishudson at gmail.com (Chris Hudson)
Date: Fri, 29 Oct 2010 08:57:26 -0500
Subject: Nagios training?
Message-ID: <AANLkTinubhr6=f3=nBejHLHbRppwjeD6707E4iK9xNqo@mail.gmail.com>

My employer has ok'ed me getting Nagios training, and has told me that
web-based training is preferred.  Anyone have any suggestions for good
Nagios training courses?

Thanks,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101029/015141e3/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From nagios at flatto.net  Fri Oct 29 16:08:00 2010
From: nagios at flatto.net (Assaf Flatto)
Date: Fri, 29 Oct 2010 15:08:00 +0100
Subject: Nagios training?
In-Reply-To: <AANLkTinubhr6=f3=nBejHLHbRppwjeD6707E4iK9xNqo@mail.gmail.com>
References: <AANLkTinubhr6=f3=nBejHLHbRppwjeD6707E4iK9xNqo@mail.gmail.com>
Message-ID: <4CCAD540.7030007@flatto.net>

  I was unaware that such a thing exist , most of us just read the 
documentation , buy a book and muck about and learn it as we go along ( 
oh, and "annoy"  the other members of the group for help :-) ).


Assaf


On 29/10/10 14:57, Chris Hudson wrote:
> My employer has ok'ed me getting Nagios training, and has told me that 
> web-based training is preferred.  Anyone have any suggestions for good 
> Nagios training courses?
> Thanks,
> Chris
>

-- 
Never,Ever Cut A Deal With a Dragon


Next year I will be doing the London to Paris bike ride to
raise money for the DogTrust (www.dogstrust.co.uk) .
Please Sponsor me at http://www.justgiving.com/Assaf-Flatto


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From chrishudson at gmail.com  Fri Oct 29 16:15:01 2010
From: chrishudson at gmail.com (Chris Hudson)
Date: Fri, 29 Oct 2010 09:15:01 -0500
Subject: Nagios training?
In-Reply-To: <4CCAD540.7030007@flatto.net>
References: <AANLkTinubhr6=f3=nBejHLHbRppwjeD6707E4iK9xNqo@mail.gmail.com>
	<4CCAD540.7030007@flatto.net>
Message-ID: <AANLkTikD3F0R3kc9LMxm4yD1OqePEcxwY9N=ouwVxEnw@mail.gmail.com>

Well yes, that is what I am currently doing (grin).  Just wanted to see if
anyone knew of anything a bit more structured.  :-)

Thanks,
Chris



On Fri, Oct 29, 2010 at 9:08 AM, Assaf Flatto <nagios at flatto.net> wrote:

>  I was unaware that such a thing exist , most of us just read the
> documentation , buy a book and muck about and learn it as we go along (
> oh, and "annoy"  the other members of the group for help :-) ).
>
>
> Assaf
>
>
> On 29/10/10 14:57, Chris Hudson wrote:
> > My employer has ok'ed me getting Nagios training, and has told me that
> > web-based training is preferred.  Anyone have any suggestions for good
> > Nagios training courses?
> > Thanks,
> > Chris
> >
>
> --
> Never,Ever Cut A Deal With a Dragon
>
>
> Next year I will be doing the London to Paris bike ride to
> raise money for the DogTrust (www.dogstrust.co.uk) .
> Please Sponsor me at http://www.justgiving.com/Assaf-Flatto
>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101029/c74cb751/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From jmoseley at corp.xanadoo.com  Fri Oct 29 16:18:49 2010
From: jmoseley at corp.xanadoo.com (James Moseley)
Date: Fri, 29 Oct 2010 09:18:49 -0500
Subject: Nagios training?
In-Reply-To: <AANLkTikD3F0R3kc9LMxm4yD1OqePEcxwY9N=ouwVxEnw@mail.gmail.com>
References: <AANLkTinubhr6=f3=nBejHLHbRppwjeD6707E4iK9xNqo@mail.gmail.com>
	<4CCAD540.7030007@flatto.net>
	<AANLkTikD3F0R3kc9LMxm4yD1OqePEcxwY9N=ouwVxEnw@mail.gmail.com>
Message-ID: <AANLkTinaXSn6MLrbNApDogipYWFaZfcvqbnn4aJKgUAX@mail.gmail.com>

I'm sure these guys can do something for you:

http://www.nagios.com/services

This is the professional support services group for Nagios.

-- 
James Moseley


On Fri, Oct 29, 2010 at 9:15 AM, Chris Hudson <chrishudson at gmail.com> wrote:

> Well yes, that is what I am currently doing (grin).  Just wanted to see if
> anyone knew of anything a bit more structured.  :-)
>
> Thanks,
> Chris
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101029/dcbde414/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From a31modela at hotmail.com  Fri Oct 29 16:49:03 2010
From: a31modela at hotmail.com (steve f)
Date: Fri, 29 Oct 2010 10:49:03 -0400
Subject: Nagios training?
In-Reply-To: <AANLkTikD3F0R3kc9LMxm4yD1OqePEcxwY9N=ouwVxEnw@mail.gmail.com>
References: <AANLkTinubhr6=f3=nBejHLHbRppwjeD6707E4iK9xNqo@mail.gmail.com>,
	<4CCAD540.7030007@flatto.net>,
	<AANLkTikD3F0R3kc9LMxm4yD1OqePEcxwY9N=ouwVxEnw@mail.gmail.com>
Message-ID: <BLU105-W137D17D60555ED66D5AEE6A2450@phx.gbl>


if you have not yet picked it up, I would recommend getting Learning Nagios 3.0 ( assuming you are using 3.0 ) by Wojciech Kocjan. Has clarified alot ( but not all ) questions I have.

Steve

Date: Fri, 29 Oct 2010 09:15:01 -0500
From: chrishudson at gmail.com
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Nagios training?

Well yes, that is what I am currently doing (grin).  Just wanted to see if anyone knew of anything a bit more structured.  :-)  
 
Thanks, 
Chris 


 
On Fri, Oct 29, 2010 at 9:08 AM, Assaf Flatto <nagios at flatto.net> wrote:

 I was unaware that such a thing exist , most of us just read the
documentation , buy a book and muck about and learn it as we go along (

oh, and "annoy"  the other members of the group for help :-) ).


Assaf





On 29/10/10 14:57, Chris Hudson wrote:
> My employer has ok'ed me getting Nagios training, and has told me that
> web-based training is preferred.  Anyone have any suggestions for good

> Nagios training courses?
> Thanks,
> Chris
>

--
Never,Ever Cut A Deal With a Dragon


Next year I will be doing the London to Paris bike ride to
raise money for the DogTrust (www.dogstrust.co.uk) .

Please Sponsor me at http://www.justgiving.com/Assaf-Flatto


------------------------------------------------------------------------------

Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing

Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________

Nagios-users mailing list
Nagios-users at 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



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101029/19b91914/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From frisvolj at lafayette.edu  Fri Oct 29 17:21:18 2010
From: frisvolj at lafayette.edu (Jason Frisvold)
Date: Fri, 29 Oct 2010 11:21:18 -0400
Subject: host_port objects - Enhancement Request
In-Reply-To: <4CC9D994.1030905@op5.se>
References: <4CC993B1.5060302@lafayette.edu> <4CC9D994.1030905@op5.se>
Message-ID: <4CCAE66E.7020906@lafayette.edu>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/28/2010 04:14 PM, Andreas Ericsson wrote:
> Never heard of such a group. Considering I'm a core developer you'd have
> thought I would know, but I suppose not. Ah well. Anyways; if you want to
> pay for new features, go wild :)

Generic name I guess.  I couldn't find an actual name for whatever
department within Nagios Enterprises would do the work.  Maybe it's the
core developers?  I'm not completely familiar with how the company is
put together..

>> Disadvantages
>> * Parent/child relationships are difficult, if not impossible, to define
> 
> I disagree. The switch is still the parent of whatever hosts are sitting
> beyond it, from Nagios' point of view. If one port stops forwarding
> traffic but the switch is still up (and thus probably reachable from the
> admin interface), the actions a network admin would take are vastly
> different. I agree that it would be nice to be able to surpress
> notifications for the hosts connected through this particular port, but
> that would be easier to solve by making it possible to have services as
> parents (like a parent_service, perhaps).

Right.  I understand that the switch, as a whole, would be the parent of
a server, but we were looking for a way to have the port be the parent
so we can have finer control over alerting.

parent_service is actually a pretty good idea, I hadn't thought of that.

>> * Ports with associated addresses are more difficult to define
> 
> I don't quite follow you here. If you mean that the interface name is
> hard to remember (or type), then you can just rename the interface in
> the switch itself. Name it kungfupanda for all anyone cares. It's a
> piece of hardware, so it won't be offended no matter what you name it.
> 
> Other than that, finding it hard to remember is just another reason
> why you would want it sent to you in a notification so you can quickly
> find which interface it is when you're trying to fix the problem.

It's not really a naming issue.  If we look at a router instead of a
switch, then ports on the router can potentially have addresses
associated with them.  If we're using services to define ports, then how
do I tell the service to use a specific address for the port instead of
the host address.  The situation gets a bit more confused when you have
a router doing both layer 2 and 3 and ports may or may not have addresses.

>> * Parent/child relationships work as expected
> 
> They work no differently than they did before. Or am I missing
> something?

Ports can now be parents of individual hosts rather than the entire switch.

>> Disadvantages
>> * Every port on every switch has to be defined
> 
> False. Only the ones you need to monitor somewhere have to be
> defined.

Sure.  The assumption here is that I want to monitor most or all of the
ports.

>> * Port host_name entries are often fake
> 
> Why? If there is a port you don't want to monitor, just remove the
> service definition, or set it to "register 0"

Because the host_name has to be unique.  So if I have a switch with 5
ports, ethernet0 through ethernet4, I need to have a host_name for the
switch itself, switch.lafayette.edu, and then host_names for each port,
switch-ethernet0.lafayette.edu, etc.  However, these are switch ports
and are layer 2 only, so there are no addresses associated with them.  I
can make the host_names of the ports CNAMEs to the switch host_name, but
I don't see the point.

>> * Port address entries are often duplicated
> 
> This I don't understand. Can you elaborate?

This falls in with the previous remark about host_names.  Each host
entry requires an address.  The only address that makes sense here is
the address of the switch itself.  So, we have that address multiple
times in the configuration, once for the switch, and once for each port.

> Sorry, but this is just plain dumb. You're trading one set of
> advantages and disadvantages for something else. How about something
> like this instead?
> 
> define host {
>    use             some-template
>    host_name       some-host
> 
>    service_params {
>       traffic_ports       G1(30%,70%)!CHARLIE(60%,70%)!G3,G4
>    }
> }
> 
> define service {
>    use                  some-service-template
>    lalala               yadayada
>    service_description  Traffic port %?
>    foreach_param        traffic_ports?60%,80%
>    check_command        check_traffic!%?!%1!%2
> }
> 
> define checkcommand { 
>    command_name            check_traffic
>    command_line            $USER1$/check_traffic --iface=$ARG1$ --warn=$ARG2$ --crit=$ARG3$
> }
> 
> This would then result in the host getting 4 services, named
> G1, CHARLIE, G3 and G4, where G3 and G4 have 60% and 80% as
> their $ARG2$ and $ARG3$, respectively, and G1 and CHARLIE
> have 30%/70% and 60%/70% as their $ARG2$/$ARG3$, respectively.
> 
> One service-definition and everything is controlled from the hosts.
> For extra bonuses, make the service_params variables accept a +,
> preferrably as a keyword suffix rather than as a value prefix, to
> add more stuff to the list. If that was the case, the above
> service_params block could be written as such:
> 
>    service_params {
>       traffic_ports        G1(30%,70%)
>       traffic_ports+       CHARLIE(60%,70%)
>       traffic_ports+       G3,G4
>    }
> 
> to produce the same result. This should prevent extremely long
> lines from turning up in the config files. Note the distinction
> between putting the +-sign as a keyword suffix rather than a value
> prefix though. Since the values are more or less free-form, adding
> prefixes and suffixes to them restricts use and makes it a lot
> harder to parse with various tools.

And this is exactly why I submitted this to the list before I submitted
it to Nagios Enterprises.  I'm looking for feedback.

I like how this condenses in the configuration and definitely looks like
it would work well.  However, how would you go about making a port a
parent of a host?  That's really the crux of what I'm looking for.

> But since you're paying, you get to choose, I suppose. If the
> professional services support group turn out to be too expensive
> I might be willing to implement something like this. Let me know
> in that case and we'll see what can be done.

Do you work for Nagios Enterprises, or are you an OSS developer?

- -- 
- ---------------------------
Jason Frisvold
Network Engineer
frisvolj at lafayette.edu
- ---------------------------
"What I cannot create, I do not understand"
   - Richard Feynman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkzK5m4ACgkQO80o6DJ8Uvn98wCgjHlyOwrJvuEHiIzVgPQzjQJ1
SqUAn22KAzAHzj68u8Y1ClJnAdAF7x3V
=+HYd
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From benny at bennyvision.com  Fri Oct 29 18:07:13 2010
From: benny at bennyvision.com (C. Bensend)
Date: Fri, 29 Oct 2010 11:07:13 -0500
Subject: host_port objects - Enhancement Request
In-Reply-To: <4CCAE66E.7020906@lafayette.edu>
References: <4CC993B1.5060302@lafayette.edu> <4CC9D994.1030905@op5.se>
	<4CCAE66E.7020906@lafayette.edu>
Message-ID: <d3a8bbb81aa27372272c70e1c87b1a56.squirrel@webmail.stinkweasel.net>


> parent_service is actually a pretty good idea, I hadn't thought of that.

I very, very much wish Nagios had the concept of parent_services
(notice the plural, no reason not to give a parent service the
same multi-parent capabilities as a regular parent host scenario).

That way, you could get finer-grained control (it's just the
switch port) and deal with multi-homed hosts with that same
level of granularity (host A depends on switch 1 port 6 AND switch
2 port 12).

Oooohhhh, that would be nice...

Benny


-- 
"No matter how many shorts we have in the system, my guards will
be instructed to treat every surveillance camera malfunction as a
full-scale emergency."
                       -- Peter Anspach's Evil Overlord List, #67



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From rick at screenscape.net  Fri Oct 29 18:23:14 2010
From: rick at screenscape.net (Rick Munn)
Date: Fri, 29 Oct 2010 13:23:14 -0300
Subject: Reporting add-ons for Nagios
Message-ID: <AANLkTinguy-_BQ8KsdqfANE9rhR2g55bVTQCeiMoL8G7@mail.gmail.com>

Hi,

Any recommendation on monitoring and graphing performance tools/addons for
Nagios.   Sample services I'd like to collect stats on e.g. network
bandwidth, tomcat, mysql, linux(centos and redhat), etc.

Thank you,
Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101029/e6fdee9e/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From AHKAPLAN at PARTNERS.ORG  Fri Oct 29 18:37:38 2010
From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.)
Date: Fri, 29 Oct 2010 12:37:38 -0400
Subject: Reporting add-ons for Nagios
In-Reply-To: <AANLkTinguy-_BQ8KsdqfANE9rhR2g55bVTQCeiMoL8G7@mail.gmail.com>
References: <AANLkTinguy-_BQ8KsdqfANE9rhR2g55bVTQCeiMoL8G7@mail.gmail.com>
Message-ID: <F76F46ADD6410C4BBBB7F0A6E4A331A303A27BF1@PHSXMB26.partners.org>

Hi there --
 
I am using pnp4nagios, and it works without any issue. 

________________________________

From: Rick Munn [mailto:rick at screenscape.net] 
Sent: Friday, October 29, 2010 12:23 PM
To: Nagios Users List
Subject: [Nagios-users] Reporting add-ons for Nagios


Hi,

Any recommendation on monitoring and graphing performance tools/addons for
Nagios.   Sample services I'd like to collect stats on e.g. network bandwidth,
tomcat, mysql, linux(centos and redhat), etc.

Thank you,
Rick



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101029/47e1aca3/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From rick at screenscape.net  Fri Oct 29 21:56:34 2010
From: rick at screenscape.net (Rick Munn)
Date: Fri, 29 Oct 2010 16:56:34 -0300
Subject: Reporting add-ons for Nagios
In-Reply-To: <F76F46ADD6410C4BBBB7F0A6E4A331A303A27BF1@PHSXMB26.partners.org>
References: <AANLkTinguy-_BQ8KsdqfANE9rhR2g55bVTQCeiMoL8G7@mail.gmail.com>
	<F76F46ADD6410C4BBBB7F0A6E4A331A303A27BF1@PHSXMB26.partners.org>
Message-ID: <AANLkTinEO1nqjNHs5LMxS5kODOjtC-+zg6OiQxvBtRoy@mail.gmail.com>

Thanks Andrew, I'll check it out.

Cheers
Rick

On Fri, Oct 29, 2010 at 1:37 PM, Kaplan, Andrew H. <AHKAPLAN at partners.org>wrote:

>  Hi there --
>
> I am using pnp4nagios, and it works without any issue.
>
>  ------------------------------
> *From:* Rick Munn [mailto:rick at screenscape.net]
> *Sent:* Friday, October 29, 2010 12:23 PM
> *To:* Nagios Users List
> *Subject:* [Nagios-users] Reporting add-ons for Nagios
>
> Hi,
>
> Any recommendation on monitoring and graphing performance tools/addons for
> Nagios.   Sample services I'd like to collect stats on e.g. network
> bandwidth, tomcat, mysql, linux(centos and redhat), etc.
>
> Thank you,
> Rick
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101029/d53424b4/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From mcc171 at psu.edu  Fri Oct 29 22:20:03 2010
From: mcc171 at psu.edu (Mark Campbell)
Date: Fri, 29 Oct 2010 16:20:03 -0400
Subject: Reporting add-ons for Nagios
In-Reply-To: <AANLkTinEO1nqjNHs5LMxS5kODOjtC-+zg6OiQxvBtRoy@mail.gmail.com>
References: <AANLkTinguy-_BQ8KsdqfANE9rhR2g55bVTQCeiMoL8G7@mail.gmail.com>	<F76F46ADD6410C4BBBB7F0A6E4A331A303A27BF1@PHSXMB26.partners.org>
	<AANLkTinEO1nqjNHs5LMxS5kODOjtC-+zg6OiQxvBtRoy@mail.gmail.com>
Message-ID: <4CCB2C73.4070401@psu.edu>

  Have you setup pnp4nagios and used mysql for storing the results.  We 
get thousands of little file left there that are never cleaned up.  Not 
sure if they are left over from the check or it is where pnp4nagios 
stores the resulting performance data so wasn't sure about deleting them.

I though mysql might solve this problem.

Mark


On 10/29/2010 3:56 PM, Rick Munn wrote:
> Thanks Andrew, I'll check it out.
>
> Cheers
> Rick
>
> On Fri, Oct 29, 2010 at 1:37 PM, Kaplan, Andrew H. 
> <AHKAPLAN at partners.org <mailto:AHKAPLAN at partners.org>> wrote:
>
>     Hi there --
>     I am using pnp4nagios, and it works without any issue.
>
>     ------------------------------------------------------------------------
>     *From:* Rick Munn [mailto:rick at screenscape.net
>     <mailto:rick at screenscape.net>]
>     *Sent:* Friday, October 29, 2010 12:23 PM
>     *To:* Nagios Users List
>     *Subject:* [Nagios-users] Reporting add-ons for Nagios
>
>     Hi,
>
>     Any recommendation on monitoring and graphing performance
>     tools/addons for Nagios.   Sample services I'd like to collect
>     stats on e.g. network bandwidth, tomcat, mysql, linux(centos and
>     redhat), etc.
>
>     Thank you,
>     Rick
>
>
>     The information in this e-mail is intended only for the person to
>     whom it is
>     addressed. If you believe this e-mail was sent to you in error and
>     the e-mail
>     contains patient information, please contact the Partners
>     Compliance HelpLine at
>     http://www.partners.org/complianceline . If the e-mail was sent to
>     you in error
>     but does not contain patient information, please contact the
>     sender and properly
>     dispose of the e-mail.
>
>     ------------------------------------------------------------------------------
>     Nokia and AT&T present the 2010 Calling All Innovators-North
>     America contest
>     Create new apps & games for the Nokia N8 for consumers in  U.S.
>     and Canada
>     $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
>     marketing
>     Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi
>     Store
>     http://p.sf.net/sfu/nokia-dev2dev
>     _______________________________________________
>     Nagios-users mailing list
>     Nagios-users at lists.sourceforge.net
>     <mailto:Nagios-users at 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
>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps&  games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101029/a24707bc/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From lists at matthewjwhite.co.uk  Sat Oct 30 03:10:33 2010
From: lists at matthewjwhite.co.uk (Matt White)
Date: Sat, 30 Oct 2010 02:10:33 +0100
Subject: Reporting add-ons for Nagios
In-Reply-To: <AANLkTinguy-_BQ8KsdqfANE9rhR2g55bVTQCeiMoL8G7@mail.gmail.com>
References: <AANLkTinguy-_BQ8KsdqfANE9rhR2g55bVTQCeiMoL8G7@mail.gmail.com>
Message-ID: <313BAF5407E567438608F6666AD8E4E00334C925500E@HOME-VIR-EX07.home.bisnet>

Hi Rick,

Also worth checking out Opsview (Nagios on steroids) http://www.opsview.com - SQL based config, graphing and Jasper reports built into the enterprise version. Very good

From: Rick Munn [mailto:rick at screenscape.net]
Sent: 29 October 2010 17:23
To: Nagios Users List
Subject: [Nagios-users] Reporting add-ons for Nagios

Hi,

Any recommendation on monitoring and graphing performance tools/addons for Nagios.   Sample services I'd like to collect stats on e.g. network bandwidth, tomcat, mysql, linux(centos and redhat), etc.

Thank you,
Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101030/eeb8fa58/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From rick at screenscape.net  Sat Oct 30 03:08:17 2010
From: rick at screenscape.net (Rick Munn)
Date: Fri, 29 Oct 2010 22:08:17 -0300
Subject: Reporting add-ons for Nagios
In-Reply-To: <4CCB2C73.4070401@psu.edu>
References: <AANLkTinguy-_BQ8KsdqfANE9rhR2g55bVTQCeiMoL8G7@mail.gmail.com>
	<F76F46ADD6410C4BBBB7F0A6E4A331A303A27BF1@PHSXMB26.partners.org>
	<AANLkTinEO1nqjNHs5LMxS5kODOjtC-+zg6OiQxvBtRoy@mail.gmail.com>
	<4CCB2C73.4070401@psu.edu>
Message-ID: <AANLkTikbRtS6q17+bwr0HpdY7A9JvCgTdpPOJSY2U03B@mail.gmail.com>

Hi Mark,

I haven't set it up yet, but was considering mysql for storage if it made
sense with pnp4.

Rick

On Fri, Oct 29, 2010 at 5:20 PM, Mark Campbell <mcc171 at psu.edu> wrote:

>  Have you setup pnp4nagios and used mysql for storing the results.  We get
> thousands of little file left there that are never cleaned up.  Not sure if
> they are left over from the check or it is where pnp4nagios stores the
> resulting performance data so wasn't sure about deleting them.
>
> I though mysql might solve this problem.
>
> Mark
>
>
>
> On 10/29/2010 3:56 PM, Rick Munn wrote:
>
> Thanks Andrew, I'll check it out.
>
> Cheers
> Rick
>
> On Fri, Oct 29, 2010 at 1:37 PM, Kaplan, Andrew H. <AHKAPLAN at partners.org>wrote:
>
>>  Hi there --
>>
>> I am using pnp4nagios, and it works without any issue.
>>
>>  ------------------------------
>> *From:* Rick Munn [mailto:rick at screenscape.net]
>> *Sent:* Friday, October 29, 2010 12:23 PM
>> *To:* Nagios Users List
>> *Subject:* [Nagios-users] Reporting add-ons for Nagios
>>
>>   Hi,
>>
>> Any recommendation on monitoring and graphing performance tools/addons for
>> Nagios.   Sample services I'd like to collect stats on e.g. network
>> bandwidth, tomcat, mysql, linux(centos and redhat), etc.
>>
>> Thank you,
>> Rick
>>
>>
>> The information in this e-mail is intended only for the person to whom it
>> is
>> addressed. If you believe this e-mail was sent to you in error and the
>> e-mail
>> contains patient information, please contact the Partners Compliance
>> HelpLine at
>> http://www.partners.org/complianceline . If the e-mail was sent to you in
>> error
>> but does not contain patient information, please contact the sender and
>> properly
>> dispose of the e-mail.
>>
>>
>> ------------------------------------------------------------------------------
>> Nokia and AT&T present the 2010 Calling All Innovators-North America
>> contest
>> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
>> marketing
>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>> http://p.sf.net/sfu/nokia-dev2dev
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
>>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev
>
>
> _______________________________________________
> Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://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
>
>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101029/11bc3914/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From tyarusso at nagios.com  Sat Oct 30 05:28:18 2010
From: tyarusso at nagios.com (Tony Yarusso)
Date: Fri, 29 Oct 2010 22:28:18 -0500
Subject: Nagios training?
In-Reply-To: <AANLkTinaXSn6MLrbNApDogipYWFaZfcvqbnn4aJKgUAX@mail.gmail.com>
References: <AANLkTinubhr6=f3=nBejHLHbRppwjeD6707E4iK9xNqo@mail.gmail.com>
	<4CCAD540.7030007@flatto.net>
	<AANLkTikD3F0R3kc9LMxm4yD1OqePEcxwY9N=ouwVxEnw@mail.gmail.com>
	<AANLkTinaXSn6MLrbNApDogipYWFaZfcvqbnn4aJKgUAX@mail.gmail.com>
Message-ID: <1288409298.12185.1.camel@timmins>

On Fri, 2010-10-29 at 09:18 -0500, James Moseley wrote:
> I'm sure these guys can do something for you:
> 
> http://www.nagios.com/services
> 
> This is the professional support services group for Nagios.

We don't have anything for that just yet, but expect to launch two
training options shortly - one by the end of the year for sure and the
other soon after that.  Details are still being worked out a bit, but at
least one if not both should fit your needs once available.

-- 
Tony Yarusso
Technical Team
___
Nagios Enterprises, LLC
Email:  tyarusso at nagios.com
Web:    www.nagios.com


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From quanta.linux at gmail.com  Sat Oct 30 13:26:57 2010
From: quanta.linux at gmail.com (quanta)
Date: Sat, 30 Oct 2010 11:26:57 +0000
Subject: Check_http_Multipple_port
In-Reply-To: <AANLkTimR+MvogQ_0nfVwyDL8YF8ihjN2iQsV=+CEa5i7@mail.gmail.com>
References: <AANLkTimR+MvogQ_0nfVwyDL8YF8ihjN2iQsV=+CEa5i7@mail.gmail.com>
Message-ID: <4CCC0101.5040802@gmail.com>

  Try to write a wrapper of check_http for yourself: 
http://www.theillien.com/Sys_Admin_v12/html/v14/i12/a6_l2.htm

On 10/27/2010 05:03 PM, Rajesh Kumar wrote:
> Hi Sir
>    I need to define multiple port in check_http. I defined 
> the command.cfg as follows, in my environment different port tomcat 
> are running how can i find the tomcat status
> define command{
>          command_name    check_http_args
>          command_line    $USER1$/check_http -H $ARG1$ -p $ARG2$
>          }
> for example
> http://testingserver:8082 <http://testingserver:8082/>
> http://tomcatserver:8084 <http://tomcatserver:8084/>
> Please help me.
> Thanks & Regards
> B.Rajeshkumar
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps&  games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101030/bc5fdaa9/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From javier.domingo at focusonemotions.com  Sat Oct 30 11:25:15 2010
From: javier.domingo at focusonemotions.com (Javier Domingo)
Date: Sat, 30 Oct 2010 11:25:15 +0200
Subject: Advanced notifications configuration questions.
Message-ID: <AANLkTi=-wamkY0khYiOX=J_HKSTiEj+55EO6GwQDUXMA@mail.gmail.com>

Hi everybody:
I'm working hard with Nagios 3.0.4 on Debian Lenny.
I have some questions. I can't find any information about these issues.
I have hosts with a first_notification_delay of 60 minutes.
And I have the whole day a Nagios controlling the same hosts. It's good to
know if the same host is turned on during the night, but my work period
begins at 10:00 am and it finish at 22:00 pm, I'm not a lucky boy [?]  So I
have configured a notification Period to 10:00 am to 22:00 pm.

Question 1: If a host goes into hard state CRITICAL, I know that Nagios
waits 60 minutes to send a notification, but What happens if the host
recovers before the first_notification_delay period ( for example, 30 min
before)?
Does it send the recovery notification or not?
Question 2: If a hard state happens at 21:59. Does Nagios wait until the
10:00 am of the day after to send the notification?
If the host recovers at 9:00 am of the day after is the notification message
cancelled?

Thanks a lot in advantace.

-- 
Xavier Domingo Navarro

javier.domingo at focusonemotions.com
Mov +34 657 522 736
Gtalk: javier.domingo at focusonemotions.com
Tel +34 93 368 99 85  ext 7015
Fax +34 93 415 39 79
Focus on Emotions S.L
Avda. Diagonal 428 - 1?, 08037 Barcelona
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101030/60fca0cd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 33D.gif
Type: image/gif
Size: 104 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101030/60fca0cd/attachment.gif>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From pitchfork at ederdrom.de  Sat Oct 30 13:23:35 2010
From: pitchfork at ederdrom.de (Joerg Linge)
Date: Sat, 30 Oct 2010 13:23:35 +0200
Subject: Reporting add-ons for Nagios
In-Reply-To: <4CCB2C73.4070401@psu.edu>
References: <AANLkTinguy-_BQ8KsdqfANE9rhR2g55bVTQCeiMoL8G7@mail.gmail.com>	<F76F46ADD6410C4BBBB7F0A6E4A331A303A27BF1@PHSXMB26.partners.org>	<AANLkTinEO1nqjNHs5LMxS5kODOjtC-+zg6OiQxvBtRoy@mail.gmail.com>
	<4CCB2C73.4070401@psu.edu>
Message-ID: <4CCC0037.9010203@ederdrom.de>

pnp4nagios is based on rrdtool and not mysql

http://docs.pnp4nagios.org/pnp-0.6/about#storage

Joerg

Am 29.10.10 22:20, schrieb Mark Campbell:
>  Have you setup pnp4nagios and used mysql for storing the results.  We
> get thousands of little file left there that are never cleaned up.  Not
> sure if they are left over from the check or it is where pnp4nagios
> stores the resulting performance data so wasn't sure about deleting them.
> 
> I though mysql might solve this problem.
> 
> Mark
> 
> 
> On 10/29/2010 3:56 PM, Rick Munn wrote:
>> Thanks Andrew, I'll check it out.
>>
>> Cheers
>> Rick
>>
>> On Fri, Oct 29, 2010 at 1:37 PM, Kaplan, Andrew H.
>> <AHKAPLAN at partners.org <mailto:AHKAPLAN at partners.org>> wrote:
>>
>>     Hi there --
>>     I am using pnp4nagios, and it works without any issue.
>>
>>    
>> ------------------------------------------------------------------------
>>     *From:* Rick Munn [mailto:rick at screenscape.net
>>     <mailto:rick at screenscape.net>]
>>     *Sent:* Friday, October 29, 2010 12:23 PM
>>     *To:* Nagios Users List
>>     *Subject:* [Nagios-users] Reporting add-ons for Nagios
>>
>>     Hi,
>>
>>     Any recommendation on monitoring and graphing performance
>>     tools/addons for Nagios.   Sample services I'd like to collect
>>     stats on e.g. network bandwidth, tomcat, mysql, linux(centos and
>>     redhat), etc.
>>
>>     Thank you,
>>     Rick
>>
>>
>>     The information in this e-mail is intended only for the person to
>>     whom it is
>>     addressed. If you believe this e-mail was sent to you in error and
>>     the e-mail
>>     contains patient information, please contact the Partners
>>     Compliance HelpLine at
>>     http://www.partners.org/complianceline . If the e-mail was sent to
>>     you in error
>>     but does not contain patient information, please contact the
>>     sender and properly
>>     dispose of the e-mail.
>>
>>    
>> ------------------------------------------------------------------------------
>>
>>     Nokia and AT&T present the 2010 Calling All Innovators-North
>>     America contest
>>     Create new apps & games for the Nokia N8 for consumers in  U.S.
>>     and Canada
>>     $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
>>     marketing
>>     Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi
>>     Store
>>     http://p.sf.net/sfu/nokia-dev2dev
>>     _______________________________________________
>>     Nagios-users mailing list
>>     Nagios-users at lists.sourceforge.net
>>     <mailto:Nagios-users at 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
>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> Nokia and AT&T present the 2010 Calling All Innovators-North America
>> contest
>> Create new apps&  games for the Nokia N8 for consumers in  U.S. and
>> Canada
>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
>> marketing
>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
>> http://p.sf.net/sfu/nokia-dev2dev
>>
>>
>> _______________________________________________
>> Nagios-users mailing list
>> Nagios-users at 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
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
> http://p.sf.net/sfu/nokia-dev2dev
> 
> 
> 
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From trm.nagios at gmail.com  Sat Oct 30 17:53:12 2010
From: trm.nagios at gmail.com (trm asn)
Date: Sat, 30 Oct 2010 21:23:12 +0530
Subject: Nagios Performance Issue
Message-ID: <AANLkTikwQ7g+LfyW8QcA-xDXwKU_pZm8AZMjVdi82+YN@mail.gmail.com>

Dear List ,

I am getting frequent Nagios screen issue. The checks are not updating
properly . Below is my nagios.cfg  file with nagiostats. Please let me know
is there anywhere I can fine tune the Nagios. I am using a Xeon 2.0 GH X 2 ,
4 GB RAM , .



log_file=/usr/local/nagios/var/nagios.log
cfg_file=/usr/local/nagios/etc/objects/commands.cfg
cfg_file=/usr/local/nagios/etc/objects/contacts.cfg
cfg_file=/usr/local/nagios/etc/objects/timeperiods.cfg
cfg_file=/usr/local/nagios/etc/objects/contactgroups.cfg
cfg_file=/usr/local/nagios/etc/objects/dependencies.cfg
cfg_file=/usr/local/nagios/etc/objects/escalations.cfg
cfg_file=/usr/local/nagios/etc/objects/hosts.cfg
cfg_file=/usr/local/nagios/etc/objects/hostgroups.cfg
cfg_file=/usr/local/nagios/etc/objects/services.cfg
cfg_file=/usr/local/nagios/etc/objects/servicegroups.cfg
object_cache_file=/usr/local/nagios/var/objects.cache
precached_object_file=/usr/local/nagios/var/objects.precache
resource_file=/usr/local/nagios/etc/resource.cfg
status_file=/usr/local/nagios/var/status.dat
aggregate_status_updates=0
status_update_interval=10
nagios_user=nagios
nagios_group=nagios
check_external_commands=1
command_check_interval=-1
command_file=/usr/local/nagios/var/rw/nagios.cmd
external_command_buffer_slots=4096
lock_file=/usr/local/nagios/var/nagios.lock
temp_file=/usr/local/nagios/var/nagios.tmp
temp_path=/tmp
event_broker_options=-1
log_rotation_method=d
log_archive_path=/usr/local/nagios/var/archives
use_syslog=1
log_notifications=1
log_service_retries=1
log_host_retries=1
log_event_handlers=1
log_initial_states=1
log_external_commands=1
log_passive_checks=1
service_inter_check_delay_method=s
max_service_check_spread=30
service_interleave_factor=s
host_inter_check_delay_method=s
max_host_check_spread=30
max_concurrent_checks=0
check_result_reaper_frequency=5
max_check_result_reaper_time=20
check_result_path=/usr/local/nagios/var/spool/checkresults
max_check_result_file_age=3600
cached_host_check_horizon=15
cached_service_check_horizon=15
enable_predictive_host_dependency_checks=1
enable_predictive_service_dependency_checks=1
soft_state_dependencies=0
auto_reschedule_checks=0
auto_rescheduling_interval=30
auto_rescheduling_window=180
sleep_time=0.25
service_check_timeout=120
host_check_timeout=30
event_handler_timeout=30
notification_timeout=30
ocsp_timeout=5
perfdata_timeout=5
retain_state_information=1
state_retention_file=/usr/local/nagios/var/retention.dat
retention_update_interval=60
use_retained_program_state=1
use_retained_scheduling_info=1
retained_host_attribute_mask=0
retained_service_attribute_mask=0
retained_process_host_attribute_mask=0
retained_process_service_attribute_mask=0
retained_contact_host_attribute_mask=0
retained_contact_service_attribute_mask=0
interval_length=60
use_aggressive_host_checking=0
execute_service_checks=1
accept_passive_service_checks=1
execute_host_checks=1
accept_passive_host_checks=1
enable_notifications=1
enable_event_handlers=1
process_performance_data=0
obsess_over_services=0
obsess_over_hosts=0
translate_passive_host_checks=0
passive_host_checks_are_soft=0
check_for_orphaned_services=1
check_for_orphaned_hosts=1
check_service_freshness=1
service_freshness_check_interval=60
check_host_freshness=0
host_freshness_check_interval=60
additional_freshness_latency=15
enable_flap_detection=1
low_service_flap_threshold=5.0
high_service_flap_threshold=20.0
low_host_flap_threshold=5.0
high_host_flap_threshold=20.0
date_format=us
p1_file=/usr/local/nagios/bin/p1.pl
enable_embedded_perl=1
use_embedded_perl_implicitly=1
illegal_object_name_chars=`~!$%^*|'"<>?,()=
illegal_macro_output_chars=`~$&|'"<>
use_regexp_matching=0
use_true_regexp_matching=0
daemon_dumps_core=0
use_large_installation_tweaks=0
enable_environment_macros=1
debug_level=2
debug_verbosity=2
debug_file=/usr/local/nagios/var/nagios.debug
max_debug_file_size=1000000
broker_module=/usr/local/lib/mk-livestatus/livestatus.o
/usr/local/nagios/var/rw/live
event_broker_options=-1

-----------------------------------------------------------------------------------------------------------------------------------

CURRENT STATUS DATA
------------------------------------------------------
Status File:                            /usr/local/nagios/var/status.dat
Status File Age:                        0d 0h 0m 4s
Status File Version:                    3.0.3

Program Running Time:                   0d 0h 10m 55s
Nagios PID:                             21581
Used/High/Total Command Buffers:        0 / 0 / 4096

Total Services:                         6747
Services Checked:                       6747
Services Scheduled:                     6747
Services Actively Checked:              6747
Services Passively Checked:             0
Total Service State Change:             0.000 / 41.580 / 0.077 %
Active Service Latency:                 0.090 / 351.086 / 191.014 sec
Active Service Execution Time:          0.013 / 60.096 / 0.472 sec
Active Service State Change:            0.000 / 41.580 / 0.077 %
Active Services Last 1/5/15/60 min:     365 / 1365 / 1747 / 5490
Passive Service Latency:                0.000 / 0.000 / 0.000 sec
Passive Service State Change:           0.000 / 0.000 / 0.000 %
Passive Services Last 1/5/15/60 min:    0 / 0 / 0 / 0
Services Ok/Warn/Unk/Crit:              6539 / 82 / 13 / 113
Services Flapping:                      4
Services In Downtime:                   0

Total Hosts:                            1925
Hosts Checked:                          1925
Hosts Scheduled:                        1925
Hosts Actively Checked:                 1925
Host Passively Checked:                 0
Total Host State Change:                0.000 / 23.550 / 5.055 %
Active Host Latency:                    0.000 / 124.702 / 111.270 sec
Active Host Execution Time:             0.014 / 4.335 / 0.089 sec
Active Host State Change:               0.000 / 23.550 / 5.055 %
Active Hosts Last 1/5/15/60 min:        521 / 1925 / 1925 / 1925
Passive Host Latency:                   0.000 / 0.000 / 0.000 sec
Passive Host State Change:              0.000 / 0.000 / 0.000 %
Passive Hosts Last 1/5/15/60 min:       0 / 0 / 0 / 0
Hosts Up/Down/Unreach:                  1907 / 18 / 0
Hosts Flapping:                         8
Hosts In Downtime:                      0

Active Host Checks Last 1/5/15 min:     633 / 3345 / 9068
   Scheduled:                           625 / 3297 / 8997
   On-demand:                           8 / 48 / 71
   Parallel:                            625 / 3303 / 9007
   Serial:                              0 / 0 / 0
   Cached:                              8 / 43 / 61
Passive Host Checks Last 1/5/15 min:    0 / 0 / 0
Active Service Checks Last 1/5/15 min:  421 / 1948 / 2452
   Scheduled:                           421 / 1948 / 2452
   On-demand:                           0 / 0 / 0
   Cached:                              0 / 0 / 0
Passive Service Checks Last 1/5/15 min: 0 / 0 / 0

External Commands Last 1/5/15 min:      0 / 0 / 0




Thanks & Regards,
dE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101030/36fc393f/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From andy.graybeal at casanueva.com  Sat Oct 30 20:12:21 2010
From: andy.graybeal at casanueva.com (Andy Graybeal)
Date: Sat, 30 Oct 2010 14:12:21 -0400
Subject: NSCA w/ secondary nagios machine monitoring separate
	network segment
Message-ID: <4CCC6005.2080900@casanueva.com>

I've read this http://nagios.sourceforge.net/docs/3_0/distributed.html a 
few times, but I'm having a hard time understanding it.  I will keep 
reading it until it makes sense.

I'm running Ubuntu 10.04.  I've installed nagios and nsca with the 
package manager.


I have most hosts/services on 192.168.2.x network, but there are a few 
on a 10.0.0.x network behind a gateway machine 192.168.2.200<->10.0.0.1.

My nagios box is 192.168.2.201

The nsca daemon is running fine.  I can do a send_nsca from 
192.168.2.200 and get an Okay Packet sent.  In my syslog it says:

Oct 30 14:04:36 nagios nsca[713]: Connection from 192.168.2.200 port 8853
Oct 30 14:04:36 nagios nsca[713]: Handling the connection...
Oct 30 14:04:37 nagios nsca[713]: SERVICE CHECK -> Host Name: 'monarch', 
Service Description: 'TestMessage', Return Code: '0', Output: 'This is a 
test message'
Oct 30 14:04:37 nagios nsca[713]: Command file 
'/var/lib/nagios3/rw/nagios.cmd' does not exist, attempting to use 
alternate dump file '/var/run/nagios/nsca.dump' for output
Oct 30 14:04:37 nagios nsca[713]: Could not open alternate dump file 
'/var/run/nagios/nsca.dump' for appending
Oct 30 14:04:37 nagios nsca[713]: End of connection...

I wonder why nagios.cmd does not exist, if I touch this manually, the 
error goes away, but it happens again if I restart the nagios service.

Does anyone have example config files of a distributed nagios where the 
only reason that it's distributed is because of network topology, not 
for redundancy.

I'm sorry I don't understand the documentation and need a little more 
hand holding.

-Andy

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From ras.kumar01 at gmail.com  Sat Oct 30 20:45:59 2010
From: ras.kumar01 at gmail.com (Rajesh Kumar)
Date: Sun, 31 Oct 2010 02:45:59 +0800
Subject: Check_http_Multipple_port
In-Reply-To: <4CCC0101.5040802@gmail.com>
References: <AANLkTimR+MvogQ_0nfVwyDL8YF8ihjN2iQsV=+CEa5i7@mail.gmail.com>
	<4CCC0101.5040802@gmail.com>
Message-ID: <AANLkTikEf=uNi_M+neqcgfj1iFAdZJ_MXyxcb4DSB6VL@mail.gmail.com>

Hi

  OK,  Let we check and update to you. Thanks for your support.


On Sat, Oct 30, 2010 at 7:26 PM, quanta <quanta.linux at gmail.com> wrote:

>  Try to write a wrapper of check_http for yourself:
> http://www.theillien.com/Sys_Admin_v12/html/v14/i12/a6_l2.htm
>
>
> On 10/27/2010 05:03 PM, Rajesh Kumar wrote:
>
> Hi Sir
>
>    I need to define multiple port in check_http. I defined the command.cfg
> as follows, in my environment different port tomcat are running how can i
> find the tomcat status
>
> define command{
>          command_name    check_http_args
>          command_line    $USER1$/check_http -H $ARG1$ -p $ARG2$
>          }
>  for example
>
> http://testingserver:8082
> http://tomcatserver:8084
>
> Please help me.
>
>
> Thanks & Regards
>
> B.Rajeshkumar
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
>
>
> _______________________________________________
> Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://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
>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101031/1241aded/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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

From jon at netdork.net  Sun Oct 31 01:35:11 2010
From: jon at netdork.net (Jonathan Angliss)
Date: Sat, 30 Oct 2010 18:35:11 -0500
Subject: NSCA w/ secondary nagios machine monitoring
 separate network segment
In-Reply-To: <4CCC6005.2080900@casanueva.com>
References: <4CCC6005.2080900@casanueva.com>
Message-ID: <iaia3h$37l$1@dough.gmane.org>

On 10/30/10 13:12, Andy Graybeal wrote:
> I've read this http://nagios.sourceforge.net/docs/3_0/distributed.html a
> few times, but I'm having a hard time understanding it.  I will keep
> reading it until it makes sense.
>
> I'm running Ubuntu 10.04.  I've installed nagios and nsca with the
> package manager.
>
>
> I have most hosts/services on 192.168.2.x network, but there are a few
> on a 10.0.0.x network behind a gateway machine 192.168.2.200<->10.0.0.1.
>
> My nagios box is 192.168.2.201
>
> The nsca daemon is running fine.  I can do a send_nsca from
> 192.168.2.200 and get an Okay Packet sent.  In my syslog it says:
>
> Oct 30 14:04:36 nagios nsca[713]: Connection from 192.168.2.200 port 8853
> Oct 30 14:04:36 nagios nsca[713]: Handling the connection...
> Oct 30 14:04:37 nagios nsca[713]: SERVICE CHECK ->  Host Name: 'monarch',
> Service Description: 'TestMessage', Return Code: '0', Output: 'This is a
> test message'
> Oct 30 14:04:37 nagios nsca[713]: Command file
> '/var/lib/nagios3/rw/nagios.cmd' does not exist, attempting to use
> alternate dump file '/var/run/nagios/nsca.dump' for output
> Oct 30 14:04:37 nagios nsca[713]: Could not open alternate dump file
> '/var/run/nagios/nsca.dump' for appending
> Oct 30 14:04:37 nagios nsca[713]: End of connection...
>
> I wonder why nagios.cmd does not exist, if I touch this manually, the
> error goes away, but it happens again if I restart the nagios service.

Have you checked the nagios.cfg file and ensured the path for 
command_file is the same in both the nagios.cfg and nsca.cfg? Nagios 
should be creating the command file on start up.  If they are the same, 
check that nagios has write permissions to /var/lib/nagios3/rw.  Also, 
the command file is a pipe, not a simple file, so "touch" isn't good 
enough, you'll need to use mkfifo or mknod.

-- 
Jonathan Angliss


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at 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




From rick at screenscape.net  Sun Oct 31 14:12:30 2010
From: rick at screenscape.net (Rick Munn)
Date: Sun, 31 Oct 2010 10:12:30 -0300
Subject: Check_http_Multipple_port
In-Reply-To: <4CCC0101.5040802@gmail.com>
References: <AANLkTimR+MvogQ_0nfVwyDL8YF8ihjN2iQsV=+CEa5i7@mail.gmail.com>
	<4CCC0101.5040802@gmail.com>
Message-ID: <AANLkTineNyLCm4SyixC_YtpYPf9rtX+GiJ8qDY=Wfg-p@mail.gmail.com>

Here's a method we use:

Here's something that might help.  This check looks for a specific string in
a file hosted by the Tomcat instance being checked.

define service{
        use                     generic-service
        host_name               hostname_here
        servicegroups           tomcat-services
        service_description     Tomcat Probe Instance 8082
        check_command       check_http!-H tomcat_hostname_here -p 8082 -u
/probe/adm/check.xml.htm -a userid:password -s ok
        }



On Sat, Oct 30, 2010 at 8:26 AM, quanta <quanta.linux at gmail.com> wrote:

>  Try to write a wrapper of check_http for yourself:
> http://www.theillien.com/Sys_Admin_v12/html/v14/i12/a6_l2.htm
>
> On 10/27/2010 05:03 PM, Rajesh Kumar wrote:
>
> Hi Sir
>
>    I need to define multiple port in check_http. I defined the command.cfg
> as follows, in my environment different port tomcat are running how can i
> find the tomcat status
>
> define command{
>          command_name    check_http_args
>          command_line    $USER1$/check_http -H $ARG1$ -p $ARG2$
>          }
>  for example
>
> http://testingserver:8082
> http://tomcatserver:8084
>
> Please help me.
>
>
> Thanks & Regards
>
> B.Rajeshkumar
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev
>
>
> _______________________________________________
> Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://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
>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101031/d3ed26a1/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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