[Nagios-users] R: check_memory does not work properly

2012-08-01 Thread Marco Borsani
Commands.cfg # 'check_local_memory' command definition define command{ command_namecheck_local_memory command_line$USER1$/check_memory -w $ARG1$ -c $ARG2$ } Services.cfg define service{ use

Re: [Nagios-users] R: check_memory does not work properly

2012-08-01 Thread RichTea
On Wed, Aug 1, 2012 at 8:19 AM, Marco Borsani m.bors...@it.net wrote: Commands.cfg ** ** # 'check_local_memory' command definition define command{ command_namecheck_local_memory command_line$USER1$/check_memory -w $ARG1$ -c $ARG2$

[Nagios-users] R: R: check_memory does not work properly

2012-08-01 Thread Marco Borsani
I use in many checks the “%” symbol without problem Regards Da: RichTea [mailto:m...@catsnest.co.uk] Inviato: mercoledì 1 agosto 2012 10:49 A: Nagios Users List Oggetto: Re: [Nagios-users] R: check_memory does not work properly On Wed, Aug 1, 2012 at 8:19 AM, Marco Borsani

[Nagios-users] How Do I Find the no of connections in Tomcat?

2012-08-01 Thread Aravinth Anto Intern
Hi all, I'm very new to Nagios. I have certain doubts. I need to find a way to find the number of tomcat connections. More precisely, I need to know: If Number of connections ( 500 for 1 min) or else alert. Is that possible to do so? Thanks in advance. Regard's, Anto.

Re: [Nagios-users] How Do I Find the no of connections in Tomcat?

2012-08-01 Thread Mark Elsen
Hi all, I'm very new to Nagios. I have certain doubts. I need to find a way to find the number of tomcat connections. More precisely, I need to know: If Number of connections ( 500 for 1 min) or else alert. Is that possible to do so ? There are a number of plugins out there to

Re: [Nagios-users] How Do I Find the no of connections in Tomcat?

2012-08-01 Thread Paul Dubuc
Mark Elsen wrote: � Hi all, I'm very new to Nagios. I have certain doubts. I need to find a way to find the number of tomcat connections. More precisely, I need to know: If Number of connections ( 500 for 1 min) or else alert. Is that possible to do so ? �

[Nagios-users] Creating a criteria:

2012-08-01 Thread Aravinth Anto Intern
Hi all, I'm new to nagios. And trying to figure out how do I do this : Response time 2s for 10 continuous requests in a 5 minutes. If this is the case then I need to create a alert. I defined a template for this : define host{ host_nametest ;other

Re: [Nagios-users] Creating a criteria:

2012-08-01 Thread Alex Griffin
No, this will only check once every 5 minutes. The max_check_attempts directive is for retrying after a failed check. You need to find or write a plugin that does all 10 requests itself and then set it up as a *passive* check in Nagios. I believe it must be passive, otherwise Nagios will kill

Re: [Nagios-users] Creating a criteria:

2012-08-01 Thread Paul Dubuc
Alex Griffin wrote: Aravinth Anto Intern wrote: Hi all, I'm new to nagios. And trying to figure out how do I do this : Response time 2s for 10 continuous requests in a 5 minutes. If this is the case then I need to create a alert. I defined a template for this : define host{

[Nagios-users] Trouble with check_radius.

2012-08-01 Thread Luis H. Forchesatto
Hi. Figuring out how to configure the check_radius plugin to check a remote server that run radius I'v look at the configuration file it request and mine config file are default, it was never used but is needed to make check_radius work. Which parameter should I look to adjust it as needed to

Re: [Nagios-users] Derive service settings from hosts definition

2012-08-01 Thread Chris Beattie
On 7/31/2012 11:24 AM, David Fulton wrote: Also keep in mind you can use user defined host based macros that can be defined in the templates to make parameters to the service checks inherited from the host as well. I've been using Nagios since it was Netsaint and never figured out what I

Re: [Nagios-users] Derive service settings from hosts definition

2012-08-01 Thread Vladislav Staroselskiy
This helped a lot - thank you both for explanations! I saw this link earlier, but somehow missed implied inheritance part of it. Vlad. -Original Message- From: David Fulton Sent: Tuesday, July 31, 2012 11:24 AM To: Nagios Users List Subject: Re: [Nagios-users] Derive service settings

Re: [Nagios-users] Creating a criteria:

2012-08-01 Thread Aravinth Anto Intern
Thanks for replying. So doing this : define host{ host_nametest ;other stufs ;check command so that response time is less than 2s check_interval 0.5 retry_interval 1

[Nagios-users] Installing Plugin In Nagios.

2012-08-01 Thread Aravinth Anto Intern
Hi all, I'm very new to nagios. I need to install several other plugins in nagios system. I'm using Ubuntu 12.04 and I installed the nagios system using : sudo apt-get install -y nagios3 This command. Its up and running. Lets say for example I need to install check_tomcat plugin.. How I can

[Nagios-users] How Do I Generally Specify timing constraint in Nagios?

2012-08-01 Thread Aravinth Anto Intern
Hi all, I'm new to nagios. I need to know how I can specify the timing constraints. For example if I want to do something : if something is down for 10 min then alert me. In this case where do I specify the timing constraints? Thanks in advance.