[Nagios-users] NRPE allowed_hosts directive

2012-02-29 Thread Wadud Miah (ITCS)
Hello,

I am using NRPE version 2.7 and want to configured the allowed_hosts directive 
so that it can take a network address in the form network_address/netmask. 
However, it doesn't seem to support this, so I tried putting the IP addresses 
of all the hosts in the network. However, when I assign this variable to all 
the IP addresses (which is very long), I get this error:

Feb 29 10:49:30 cn004 nrpe[22540]: No variable value specified in config file 
'/etc/nagios/nrpe.cfg' - Line 65
Feb 29 10:49:30 cn004 nrpe[22540]: Config file '/etc/nagios/nrpe.cfg' contained 
errors, aborting...

When I truncate a number of IP addresses, it works fine. Do you know if the 
newer version of NRPE resolves this issue? Namely, can it accept network 
addresses (network_address/netmask) and/or take a long list of IP addresses? 
The former will be more convenient.

Regards,

--
Wadud Miah, High Performance Computing Systems Developer
Research Computing Services, University of East Anglia
Web: http://www.uea.ac.uk/~xca10fju/
Telephone: 01603 593856

Information Services
--



--
Virtualization  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


[Nagios-users] Nagios check frequency

2012-01-23 Thread Wadud Miah (ITCS)
Hello Nagios users,

I would like Nagios to increase the check frequency once the service is in a 
critical state. For example, if a check has a frequency of every 60 minutes, 
once it has reached a critical state, I want the check frequency to run at, 
say, every 10 minutes until the check has reached an OK state. 

I have set the max_check_attempts to three, and wanted to know if this is the 
case when nrpe times out. Does it check nrpe checks 3 times even if it times 
out on the first attempt?

Thanks in advance for your help.
Wadud.

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null


Re: [Nagios-users] Nagios check frequency

2012-01-23 Thread Wadud Miah (ITCS)
Hi Andreas,

Thanks for the reply. The retry_interval will retry to ensure the service is 
actually down, which is the case here. This is set to three in my 
configuration. However, once it exceeds retry_interval and the service is 
deemed as not-OK, it is then that I want it to increase the check frequency. I 
couldn't find anything in the documentation.

Regards,
Wadud.

-Original Message-
From: Andreas Ericsson [mailto:a...@op5.se]
Sent: Monday, January 23, 2012 12:20 PM
To: Nagios Users List
Cc: Wadud Miah (ITCS)
Subject: Re: [Nagios-users] Nagios check frequency

On 01/23/2012 12:48 PM, Wadud Miah (ITCS) wrote:
 Hello Nagios users,

 I would like Nagios to increase the check frequency once the service
 is in a critical state. For example, if a check has a frequency of
 every 60 minutes, once it has reached a critical state, I want the
 check frequency to run at, say, every 10 minutes until the check has
 reached an OK state.


Use retry_interval.

 I have set the max_check_attempts to three, and wanted to know if
 this is the case when nrpe times out. Does it check nrpe checks 3
 times even if it times out on the first attempt?


That depends on how you've configured it. Timeouts doesn't matter in
the slightest for Nagios' scheduling logic though, so it will run the
check 3 times if that's what you've configured.

--
Andreas Ericsson   andreas.erics...@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.

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null