[Nagios-users] Defining passive checks

2012-08-15 Thread Jonathan Gazeley
I'm a long-time user of Nagios with active checks. Today I started using passive checks with NSCA and I'm having a problem. The documentation states A service must be defined in Nagios before you can submit passive check results for it. I defined a config block like this, to define a service

[Nagios-users] check_http and self signed certs

2012-08-15 Thread Masoud Tabrizi
All, We are using version 4.1.13 for the check_http for checking our URLs. it seems like the check_http is not able to get through the self signed certs we have installed; Are there any options or suggestions to get around this? thanks in advance Masoud Tabrizi

Re: [Nagios-users] check_http and self signed certs

2012-08-15 Thread Claudio Kuenzler
This should work, also with self-signed certs. Doing this in my Nagios config as well. Whats the check_http command you're launching? What's the error message? On Wed, Aug 15, 2012 at 4:15 PM, Masoud Tabrizi masoud.tabr...@gmail.comwrote: All, We are using version 4.1.13 for the check_http for

Re: [Nagios-users] Defining passive checks

2012-08-15 Thread Mark Elsen
I'm a long-time user of Nagios with active checks. Today I started using passive checks with NSCA and I'm having a problem. The documentation states A service must be defined in Nagios before you can submit passive check results for it. I defined a config block like this, to define a

Re: [Nagios-users] check_http and self signed certs

2012-08-15 Thread masoud . tabrizi
Using -H url -I IP -s string -f follow and -p where applicable Timeout seems to be the issue yet the URLs are loading fine in less than a second, (-t is set to 45 seconds as well) Thanks -Original Message- From: Claudio Kuenzler c...@claudiokuenzler.com Date: Wed, 15 Aug 2012 16:29:19

Re: [Nagios-users] check_http and self signed certs

2012-08-15 Thread Claudio Kuenzler
On Wed, Aug 15, 2012 at 5:03 PM, masoud.tabr...@gmail.com wrote: Using -H url -I IP -s string -f follow and -p where applicable Timeout seems to be the issue yet the URLs are loading fine in less than a second, (-t is set to 45 seconds as well) Thanks Generally you can use -S and -p 443 for

[Nagios-users] Issues with check_by_ssh

2012-08-15 Thread Eduardo Montes de Oca S.
Hi list, I have some issues with the plugin check_by_ssh. In particular, there is one error: When I run a shell script located in another server, from the Nagios server using the check_by_ssh plugin, I don't have any errors and I can see the result of the script, like this: *root@nagioserver#

[Nagios-users] AUTO: Chan, Brian is away from the office (returning 16/08/2012)

2012-08-15 Thread Brian Chan
I am out of the office until 16/08/2012. I will respond to your message when I return. If this is a request for support, click here to open an ITRequest--: mailto:itrequ...@shawcor.com Alternatively, all questions can be directed to the Help Desk at 416-744-5557 Brian Chan Note: This is an

[Nagios-users] Issues with check_by_ssh

2012-08-15 Thread Eduardo Montes de Oca S.
Hi list, I have some issues with the plugin check_by_ssh. In particular, there is one error: When I run a shell script located in another server, from the Nagios server using the check_by_ssh plugin, I don't have any errors and I can see the result of the script, like this: *root@nagioserver#

Re: [Nagios-users] Issues with check_by_ssh

2012-08-15 Thread Badri Pillai
Hi, since the plugin is executed as user nagios, check if the command (including all params) works as user nagios (or whatever user id it is running as) Problem could be: 1) Nagios user can’t read the ssh key file as it resides in root directory 2) Or it can’t write the

Re: [Nagios-users] Issues with check_by_ssh

2012-08-15 Thread Morris, Patrick
It’s highly unlikely that the Nagios user has permissions to use a key owned by root, and that’s a good thing. From: Eduardo Montes de Oca S. [mailto:edren...@gmail.com] Sent: Wednesday, August 15, 2012 10:52 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Issues with

Re: [Nagios-users] Issues with check_by_ssh

2012-08-15 Thread Eduardo Montes de Oca S.
Hi friends, Also, I've been doing some tests with the user nagios but I obteined the same result. In this case, I tried in the context of the user Nagios but it works through the terminal: *nagios@nagioserver:~$ /usr/lib/nagios/plugins/check_by_ssh -l nagios -H 172.16.31.2 -C