Re: [Nagios-users] Codes for NRPE

2012-07-30 Thread Yu Watanabe
Hi. I was looking for versions that can be compatible with following libssl version. libssl-dev : 0.9.8g-16ubuntu3 So , I was thinking older than v 2.12 might do so. Thanks, Yu Edwin Zoeller さんは書きました: What version are you looking for? - Original Message - From: Yu Watanabe

Re: [Nagios-users] How to deal with hosts that are not always on

2012-07-30 Thread Assaf Flatto
If a host i down in known time period ,than create a new time period for that host to be monitored and exclude it from the 24x7 default time definition. you can also put your hosts in scheduled downtime - this will still show as faults on the CGI , but for reporting it will not have any impact

[Nagios-users] Differentiate receivers based on alert severity?

2012-07-30 Thread Ruslan Valiyev
Hi, I was wondering if it's possible to achieve something a la: - when CPU alerts are warning, they should go to us...@foo.com - when CPU alerts are critical, they should go to us...@foo.com Ruslan -- Live Security

Re: [Nagios-users] Differentiate receivers based on alert severity?

2012-07-30 Thread Assaf Flatto
Yes , you can use two different contacts , one that has only warning , and the other only for critical . On 30/07/12 09:54, Ruslan Valiyev wrote: Hi, I was wondering if it's possible to achieve something a la: - when CPU alerts are warning, they should go to us...@foo.com

Re: [Nagios-users] Differentiate receivers based on alert severity?

2012-07-30 Thread Ruslan Valiyev
Does it mean I have to create two different service templates and specify my emails there? On Mon, Jul 30, 2012 at 11:13 AM, Assaf Flatto nag...@flatto.net wrote: ** Yes , you can use two different contacts , one that has only warning , and the other only for critical . On 30/07/12

[Nagios-users] customizable php script

2012-07-30 Thread Kaushal Shriyan
Hi, I have the php script which outputs the below variables along with the values. #php solr_discount_check.php PHP Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0 OutOfStock:15105 DiffId:0 DiffAtbt:0 InSync:15257 Is there a way to set

[Nagios-users] Plug in to monitor apache status

2012-07-30 Thread vishesh kumar
Hi All, I need to get a plug-in to monitor Apache. I have server-status on and tried check_apache2. But pnp4nagios is giving below error. Please check the documentation for information about the following error. Template

Re: [Nagios-users] Differentiate receivers based on alert severity?

2012-07-30 Thread vishesh kumar
No , I think in same service definition , you can write notification_options w contact_group us...@foo.com notification_options c contact_group us...@foo.com us...@foo.com Thanks On Mon, Jul 30, 2012 at 2:50 PM, Ruslan Valiyev linux...@gmail.com wrote: Does it mean I have to create two

Re: [Nagios-users] Differentiate receivers based on alert severity?

2012-07-30 Thread Assaf Flatto
Correction , you can not specify an email address in the service def. you will need to create a contact and then define the contact in the server : contacts foo or if he is part of a group contact_group Faa but you specify the service notifications as notification_options w,c and in

Re: [Nagios-users] Differentiate receivers based on alert severity?

2012-07-30 Thread Chris Beattie
On 7/30/2012 5:20 AM, Ruslan Valiyev wrote: Does it mean I have to create two different service templates and specify my emails there? No, you can have just one template for service check if you like. You determine what kinds of notifications a contact can receive with the

[Nagios-users] check_file_age help

2012-07-30 Thread Jeremy Page
Hello list, I am trying to use check_file_age on Ubuntu 10.04 to check a local file system. When I specify the file name it works but using a wildcard fails saying it cannot find the file. I need to use the wildcard - the files have unique names based on the date created. Both work when run

Re: [Nagios-users] check_file_age help

2012-07-30 Thread Justin T Pryzby
Nagios probably doesn't use the shell, which is how wildcards get expanded, so the plugin is just seeing * instead of a filename. I suggest to use a shell wrapper, like #! /bin/sh set -e d=/stuff/backup pp=/usr/lib/nagios/plugins x=`ls -lt $d` 12 || exit 3 x=`echo $x |sed q` exec

Re: [Nagios-users] check_file_age help

2012-07-30 Thread Roger Burton West
On Mon, Jul 30, 2012 at 12:57:21PM -0400, Jeremy Page wrote: Hello list, I am trying to use check_file_age on Ubuntu 10.04 to check a local file system. When I specify the file name it works but using a wildcard fails saying it cannot find the file. I need to use the wildcard - the files have

[Nagios-users] Derive service settings from hosts definition

2012-07-30 Thread Vladislav Staroselskiy
Hello! Is there any way to derive certain service options from the host definition? Is there any default inheritance behavior for it? I.e.: --- cut --- define service { use production-service hostgroup_name ping contacts

Re: [Nagios-users] customizable php script

2012-07-30 Thread Kaushal Shriyan
On Mon, Jul 30, 2012 at 4:05 PM, Kaushal Shriyan kaushalshri...@gmail.com wrote: Hi, I have the php script which outputs the below variables along with the values. #php solr_discount_check.php PHP Deprecated: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown